Flush icache after dma operations for ia64
commitaaf630a4dd27f8d6e7b4b4c3e44d537a310624f6
authorJes Sorensen <jes@sgi.com>
Mon, 25 May 2009 13:12:49 +0000 (25 15:12 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 7 Jun 2009 06:28:11 +0000 (7 09:28 +0300)
tree33277ed9dbb9c135ba3e9ec0089275b7a781b26d
parent75a7c9b46d50c249118666b570764adfccf22033
Flush icache after dma operations for ia64

ia64 system depends on that platform issues snoop cycle to flush
icache for memory touched by DMA write operations, but virtual DMA
operations is emulated by memcpy, so use explict instrustions to flush
the related icache, otherwise, guest may use obsolete icache.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
cache-utils.h
cutils.c
dma-helpers.c
exec.c
target-ia64/cpu.h
target-ia64/fake-exec.c