diff options
| author | Helge Deller <deller@gmx.de> | 2026-03-09 15:16:37 +0100 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-03-15 09:28:49 +0100 |
| commit | 2c98a8fbd6aa647414c6248dacf254ebe91c79ad (patch) | |
| tree | f1f22cdf86f6de71887cd8aafe60f4a6896cfd22 /samples/hw_breakpoint | |
| parent | 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681 (diff) | |
parisc: Flush correct cache in cacheflush() syscall
The assembly flush instructions were swapped for I- and D-cache flags:
SYSCALL_DEFINE3(cacheflush, ...)
{
if (cache & DCACHE) {
"fic ...\n"
}
if (cache & ICACHE && error == 0) {
"fdc ...\n"
}
Fix it by using fdc for DCACHE, and fic for ICACHE flushing.
Reported-by: Felix Lechner <felix.lechner@lease-up.com>
Fixes: c6d96328fecd ("parisc: Add cacheflush() syscall")
Cc: <stable@vger.kernel.org> # v6.5+
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions
