]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pci: don't use PCI BIOS service for configuration space accesses
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 4 May 2012 13:29:46 +0000 (14:29 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 May 2012 16:16:21 +0000 (12:16 -0400)
commitaac807cd58bf00090ec3fdea36c2c5128b746f58
tree64da15c892104735332bc1fe2783579aac7f3793
parentfaada5ee7f2b030c5e45b701d2d33c6142b20ace
xen/pci: don't use PCI BIOS service for configuration space accesses

The accessing PCI configuration space with the PCI BIOS32 service does
not work in PV guests.

On systems without MMCONFIG or where the BIOS hasn't marked the
MMCONFIG region as reserved in the e820 map, the BIOS service is
probed (even though direct access is preferred) and this hangs.

CC: stable@kernel.org
Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
[v1: Fixed compile error when CONFIG_PCI is not set]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c