Skip to content

Commit 0b2bfb4

Browse files
Ivan KokshayskyLinus Torvalds
authored andcommitted
[PATCH] ACPI: increase PCIBIOS_MIN_IO on x86
We have increased PCIBIOS_MIN_IO to 0x4000, but still want motherboard resources to be allocated properly. So we need to state 0x1000 (according to the comment) limit explicitely. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 71db63a commit 0b2bfb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/acpi/motherboard.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ACPI_MODULE_NAME ("acpi_motherboard")
4343
*/
4444
#define IS_RESERVED_ADDR(base, len) \
4545
(((len) > 0) && ((base) > 0) && ((base) + (len) < IO_SPACE_LIMIT) \
46-
&& ((base) + (len) > PCIBIOS_MIN_IO))
46+
&& ((base) + (len) > 0x1000))
4747

4848
/*
4949
* Clearing the flag (IORESOURCE_BUSY) allows drivers to use

0 commit comments

Comments
 (0)