aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHuang Pei <huangpei@loongson.cn>2021-03-24 11:24:51 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-25 10:48:42 +0100
commit509d36a941a3466b78d4377913623d210b162458 (patch)
treeb65378c508aa369a1c3fd1e6ef817ed6177a1ec0 /tools/perf/scripts/python/export-to-postgresql.py
parentMIPS: ralink: define stubs for clk_set_parent to fix compile testing (diff)
downloadlinux-dev-509d36a941a3466b78d4377913623d210b162458.tar.xz
linux-dev-509d36a941a3466b78d4377913623d210b162458.zip
MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
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: 6d0068ad15e4 ("MIPS: Loongson64: Process ISA Node in DeviceTree") Signed-off-by: Huang Pei <huangpei@loongson.cn> Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions