mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07:00
0f69f9596b
[ Upstream commit 509d36a941a3466b78d4377913623d210b162458 ]
When page size larger than 16KB, arguments "vaddr + size(16KB)" in
"ioremap_page_range(vaddr, vaddr + size,...)" called by
"add_legacy_isa_io" is not page-aligned.
As loongson64 needs at least page size 16KB to get rid of cache alias,
and "vaddr" is 64KB-aligned, and 64KB is largest page size supported,
rounding "size" up to PAGE_SIZE is enough for all page size supported.
Fixes:
|
||
---|---|---|
.. | ||
cop2-ex.c | ||
cpucfg-emul.c | ||
dma.c | ||
env.c | ||
hpet.c | ||
init.c | ||
Kconfig | ||
Makefile | ||
numa.c | ||
Platform | ||
platform.c | ||
pm.c | ||
reset.c | ||
setup.c | ||
smp.c | ||
smp.h | ||
time.c | ||
vbios_quirk.c |