Files
linux/drivers/acpi
Anup Patel fce8d4599b ACPI: RISC-V: Fix FFH_CPPC_CSR error handling
commit 5b3706597b upstream.

The cppc_ffh_csr_read() and cppc_ffh_csr_write() returns Linux error
code in "data->ret.error" so cpc_read_ffh() and cpc_write_ffh() must
not use sbi_err_map_linux_errno() for FFH_CPPC_CSR.

Fixes: 30f3ffbee8 ("ACPI: RISC-V: Add CPPC driver")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.dev>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Nutty Liu <nutty.liu@hotmail.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250818143600.894385-2-apatel@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-09 18:58:26 +02:00
..
2024-04-08 16:10:27 +02:00
2024-09-03 21:15:30 -07:00
2024-05-28 11:53:35 +02:00
2024-05-28 11:53:35 +02:00
2024-05-28 11:53:35 +02:00
2024-03-27 16:36:45 +01:00
2024-07-19 10:10:33 -05:00
2025-05-22 14:29:46 +02:00
2022-01-22 08:33:37 +02:00
2020-11-09 19:08:06 +01:00
2023-03-27 20:50:28 +02:00
2024-07-04 14:36:03 +01:00
2020-11-09 19:08:06 +01:00