]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86/pci: Intel ioh bus num reg accessing fix
authorYinghai Lu <yinghai@kernel.org>
Tue, 22 Dec 2009 23:40:40 +0000 (15:40 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 4 Jan 2010 21:21:51 +0000 (13:21 -0800)
commita557aae29cf5916295c234d4b10ba3f8f29b8a96
tree157bc14fd71d335130973d3e0a2a0980df67a8cb
parent9dad0fd5a73d4048dff18069733c0b515f68df74
x86/pci: Intel ioh bus num reg accessing fix

It is above 0x100 (PCI-Express extended register space), so if mmconf
is not enable, we can't access it.

[ hpa: changed the bound from 0x200 to 0x120, which is the tight
  bound. ]

Reported-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1261525263-13763-3-git-send-email-yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/pci/intel_bus.c