]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI x86: always use conf1 to access config space below 256 bytes
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Mon, 14 Jan 2008 22:31:09 +0000 (17:31 -0500)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:27 +0000 (11:47 -0700)
commitb39bf4a535df7afb304cc3884b669210036cb960
tree303670331afae848d4ef65defb1179290ccc43af
parentd25532f4d8283edb7f844ae5a7770cbd51d05dc8
PCI x86: always use conf1 to access config space below 256 bytes

[upsteam commit: a0ca9909]

Thanks to Loic Prylli <loic@myri.com>, who originally proposed
this idea.

Always using legacy configuration mechanism for the legacy config space
and extended mechanism (mmconf) for the extended config space is
a simple and very logical approach. It's supposed to resolve all
known mmconf problems. It still allows per-device quirks (tweaking
dev->cfg_size). It also allows to get rid of mmconf fallback code.

This patch fixes a boot hang on Intel Q35 chipset as detailed at:
  http://bugs.gentoo.org/198810

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Pagano <mpagano@gentoo.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/pci/mmconfig-shared.c
arch/x86/pci/mmconfig_32.c
arch/x86/pci/mmconfig_64.c
arch/x86/pci/pci.h