]> err.no Git - linux-2.6/commit
[PATCH] mmconfig: Fix x86_64 ioremap base_address
authorOGAWA Hirofumi <hogawa@miraclelinux.com>
Tue, 13 Feb 2007 12:26:20 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:20 +0000 (13:26 +0100)
commitfaed197b7b44a6c4e6b81dd2db649fd452b0a7ef
tree74f428fc64fadade1d80dd181158e2c414bca456
parent6a0668fc41fa479df617151c2d4e297299a4ffe2
[PATCH] mmconfig: Fix x86_64 ioremap base_address

Current mmconfig has some problems of remapped range.

a) In the case of broken MCFG tables on Asus etc., we need to remap 256M
   range, but currently only remap 1M.

b) The base address always corresponds to bus number 0, but currently we
   are assuming it corresponds to start bus number.

This patch fixes the above problems.

(akpm: Arjan suggests that if the MCFG table is broken we just shouldn't use
it, rather than try to work around things).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/x86_64/pci/mmconfig.c