[IA64] fix mis-setting ed bit for itlb entry for hvm domain.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 03:24:58 +0000 (12:24 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 03:24:58 +0000 (12:24 +0900)
commitd77e8b2664b19f16bdb90be4e7eca1ca04a2ba31
tree2e610cd685cd8630918630f43ae4e8cc9dc5463f
parent658c654a059ed2cc1148302946e8bd054827508d
[IA64] fix mis-setting ed bit for itlb entry for hvm domain.

This patch fixes a windows BSOD issue caused by mis-setting pte's ED bit
for itlb entry.
For hash vTLB, it uses unified tlb and doesn't differentiate itc and dtc
in its implementation, so itlb_miss handler may reference dtlb entry in
hash vTLB.
But it may result in issues, because dtlb's ED bit may be different with
itlb's setting.
Since the case is very rare, so just purge the corresponding entry in hash
vTLB and let guest OS to determin how to set ED bit for itlb mapping once
found it.

Signed-off-by : Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/ia64/vmx/vtlb.c