linux/drivers/acpi/riscv
Anup Patel 5b3706597b ACPI: RISC-V: Fix FFH_CPPC_CSR error handling
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>
2025-09-04 16:25:50 -06:00
..
Makefile ACPI: RISC-V: Implement function to reorder irqchip probe entries 2024-08-27 15:48:35 +02:00
cppc.c ACPI: RISC-V: Fix FFH_CPPC_CSR error handling 2025-09-04 16:25:50 -06:00
cpuidle.c ACPI: RISC-V: Add LPI driver 2024-03-19 17:51:39 -07:00
init.c ACPI: introduce acpi_arch_init() 2024-11-22 21:32:25 +01:00
init.h ACPI: RISC-V: Initialize GSI mapping structures 2024-08-27 15:48:35 +02:00
irq.c ACPI: RISC-V: Implement function to add implicit dependencies 2024-08-27 15:48:35 +02:00
rhct.c RISC-V: ACPI: RHCT: Add function to get CBO block sizes 2023-10-26 09:40:33 -07:00