diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-01-26 20:07:27 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-01 00:44:09 +0000 |
| commit | 88d7b12068b95731c280af8ce88e8ee9561f96de (patch) | |
| tree | e94af9db79fc126034fca936266df374ccbc73a2 /tools/lib/api/debug.c | |
| parent | migrate: hugetlb: check for hugetlb shared PMD in node migration (diff) | |
| download | kernel-88d7b12068b95731c280af8ce88e8ee9561f96de.tar.gz kernel-88d7b12068b95731c280af8ce88e8ee9561f96de.zip | |
highmem: round down the address passed to kunmap_flush_on_unmap()
We already round down the address in kunmap_local_indexed() which is the
other implementation of __kunmap_local(). The only implementation of
kunmap_flush_on_unmap() is PA-RISC which is expecting a page-aligned
address. This may be causing PA-RISC to be flushing the wrong addresses
currently.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Fixes: 298fa1ad5571 ("highmem: Provide generic variant of kmap_atomic*")
Reviewed-by: Ira Weiny <[email protected]>
Cc: "Fabio M. De Francesco" <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Bagas Sanjaya <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions
