]> git.baikalelectronics.ru Git - kernel.git/commit
PCI Quirk: 1k I/O space IOBL_ADR fix on P64H2
authorDaniel Yeisley <dan.yeisley@unisys.com>
Thu, 21 Dec 2006 19:34:57 +0000 (14:34 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:05 +0000 (15:50 -0800)
commit3ceccdaedc1e2d56166319621c9c1afc8d339fd5
tree6db2fde4b3c8589f94f532e09f4e105c703b7606
parent187f1583c3a924fccf9bd9cdd05ee79d97418d67
PCI Quirk: 1k I/O space IOBL_ADR fix on P64H2

There's an existing quirk for the kernel to use 1k IO space granularity
on the Intel P64H2.  It turns out however that pci_setup_bridge() in
drivers/pci/setup-bus.c reads in the IO base and limit address register
masks it off to the nearest 4k, and writes it back.  This causes the
kernel to be on 1k boundaries and the hardware to be 4k aligned.  The
patch below fixes the problem.

Signed-off-by: Dan Yeisley <dan.yeisley@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c