diff options
author | Helge Deller <deller@gmx.de> | 2023-03-15 21:25:15 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-05-03 18:43:26 +0300 |
commit | d755bd2caeb47fd806e12399fe8b56798fa5d2cc (patch) | |
tree | 1a66d9d3713b25085cd6c09718d642dfc41ec6ce /tools/perf/scripts/python/stackcollapse.py | |
parent | 829632dae8321787525ee37dc4828bbe6edafdae (diff) | |
download | linux-d755bd2caeb47fd806e12399fe8b56798fa5d2cc.tar.xz |
parisc: Ensure page alignment in flush functions
Matthew Wilcox noticed, that if ARCH_HAS_FLUSH_ON_KUNMAP is defined
(which is the case for PA-RISC), __kunmap_local() calls
kunmap_flush_on_unmap(), which may call the parisc flush functions with
a non-page-aligned address and thus the page might not be fully flushed.
This patch ensures that flush_kernel_dcache_page_asm() and
flush_kernel_dcache_page_asm() will always operate on page-aligned
addresses.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.0+
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions