Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pci: increase alignment to make more space for hidden code

As reported in

http://bugzilla.kernel.org/show_bug.cgi?id=13940

on some system when acpi are enabled, acpi clears some BAR for some
devices without reason, and kernel will need to allocate devices for
them. It then apparently hits some undocumented resource conflict,
resulting in non-working devices.

Try to increase alignment to get more safe range for unassigned devices.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Yinghai Lu and committed by
Linus Torvalds
15b812f1 f144c78e

+2 -2
+2 -2
arch/x86/kernel/e820.c
··· 1378 1378 if (mb < 16) 1379 1379 return 1024*1024; 1380 1380 1381 - /* To 32MB for anything above that */ 1382 - return 32*1024*1024; 1381 + /* To 64MB for anything above that */ 1382 + return 64*1024*1024; 1383 1383 } 1384 1384 1385 1385 #define MAX_RESOURCE_SIZE ((resource_size_t)-1)