[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.3] x86/pci: Store VF's memory space displacement in a 64-bit value
commit 997af141831646c874c203f87e65f3c4ab093d88 Author: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> AuthorDate: Fri Mar 14 17:36:09 2014 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Mar 14 17:36:09 2014 +0100 x86/pci: Store VF's memory space displacement in a 64-bit value VF's memory space offset can be greater than 4GB and therefore needs to be stored in a 64-bit variable. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> master commit: 001bdcee7bc19be3e047d227b4d940c04972eb02 master date: 2014-02-13 10:49:55 +0100 --- xen/arch/x86/msi.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c index d5192c2..a8cb93e 100644 --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -589,7 +589,8 @@ static int msi_capability_init(struct pci_dev *dev, static u64 read_pci_mem_bar(u16 seg, u8 bus, u8 slot, u8 func, u8 bir, int vf) { u8 limit; - u32 addr, base = PCI_BASE_ADDRESS_0, disp = 0; + u32 addr, base = PCI_BASE_ADDRESS_0; + u64 disp = 0; if ( vf >= 0 ) { -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.3 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |