|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86-64: refine access permission check for wrmsr to
We really don't want the mmconf window to move/disappear whenever we
use is ourselves, not only when we enabled it.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- 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) &
x86_64-fam10-mmconf-wrmsr-2.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86-64: refine access permission check for wrmsr to MSR_FAM10H_MMIO_CONF_BASE,
Jan Beulich <=
|
|
|
|
|