Displaying 1 result from an estimated 1 matches for "pci_check_enable_amd_mmconf".
2011 Jan 10
0
[PATCH] x86-64: refine access permission check for wrmsr to MSR_FAM10H_MMIO_CONF_BASE
...novell.com>
--- a/xen/arch/x86/traps.c
+++ b/xen/arch/x86/traps.c
@@ -2297,8 +2297,7 @@ static int emulate_privileged_op(struct
goto fail;
if (
#ifdef CONFIG_X86_64
- (pci_probe & PCI_PROBE_MMCONF) &&
- (pci_probe & PCI_CHECK_ENABLE_AMD_MMCONF) ?
+ (pci_probe & PCI_PROBE_MASK) == PCI_PROBE_MMCONF ?
val != msr_content :
#endif
((val ^ msr_content) &
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.co...