Files
Helge Deller 2c98a8fbd6 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: c6d96328fe ("parisc: Add cacheflush() syscall")
Cc: <stable@vger.kernel.org> # v6.5+
Signed-off-by: Helge Deller <deller@gmx.de>
2026-03-15 09:28:49 +01:00
..
2025-02-21 09:54:01 +01:00
2025-02-21 09:54:01 +01:00
2022-01-11 11:57:37 +01:00
2023-05-09 14:04:56 +02:00
2024-11-07 14:25:15 -08:00
2025-02-03 19:27:00 +01:00
2024-11-07 14:25:15 -08:00
2022-03-11 19:49:30 +01:00
2024-09-09 08:53:17 +02:00