|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86/msi: fix inverted masks in c/s 22182:
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1287397907 -3600
# Node ID fc2242ac90e1f60d93c598e03f02abe8ada0ca73
# Parent 7831b8e5aae2ef5b4c1c2e91a1eeabb163a67c7b
x86/msi: fix inverted masks in c/s 22182:68cc3c514a0a
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/arch/x86/msi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 7831b8e5aae2 -r fc2242ac90e1 xen/arch/x86/msi.c
--- a/xen/arch/x86/msi.c Mon Oct 18 11:30:10 2010 +0100
+++ b/xen/arch/x86/msi.c Mon Oct 18 11:31:47 2010 +0100
@@ -549,14 +549,14 @@ static u64 read_pci_mem_bar(u8 bus, u8 s
return 0;
if ( (addr & PCI_BASE_ADDRESS_MEM_TYPE_MASK) ==
PCI_BASE_ADDRESS_MEM_TYPE_64 )
{
- addr &= ~PCI_BASE_ADDRESS_MEM_MASK;
+ addr &= PCI_BASE_ADDRESS_MEM_MASK;
if ( ++bir >= limit )
return 0;
return addr |
((u64)pci_conf_read32(bus, slot, func,
PCI_BASE_ADDRESS_0 + bir * 4) << 32);
}
- return addr & ~PCI_BASE_ADDRESS_MEM_MASK;
+ return addr & PCI_BASE_ADDRESS_MEM_MASK;
}
/**
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86/msi: fix inverted masks in c/s 22182:68cc3c514a0a,
Xen patchbot-unstable <=
|
|
|
|
|