New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RISC-V: ACPI: Add LPI support #465
Conversation
Upstream branch: 5a2cf77 |
Upstream branch: c4e4b79 |
747bd78
to
861a160
Compare
Upstream branch: d3e591a |
861a160
to
04c64af
Compare
Upstream branch: 17a4608 |
04c64af
to
a23d2a2
Compare
Upstream branch: d4abde5 |
a23d2a2
to
c4527ba
Compare
Upstream branch: d4abde5 |
c4527ba
to
4c16fa3
Compare
Upstream branch: e5075d8 |
4c16fa3
to
3d35a8f
Compare
Upstream branch: 3a6dd5f |
3d35a8f
to
86a8d8f
Compare
Upstream branch: e2d6b54 |
86a8d8f
to
ec6240e
Compare
Upstream branch: e2d6b54 |
ec6240e
to
3e5a04a
Compare
Upstream branch: cb4ede9 |
3e5a04a
to
ef25d85
Compare
86689b1
to
43a5b17
Compare
Upstream branch: 45e0b0f |
To support ACPI Low Power Idle (LPI), few functions are required which are currently static functions in the DT based cpuidle driver. Hence, move them under arch/riscv so that ACPI driver also can use them. Since they are no longer static functions, append "riscv_" prefix to the function name. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Enable Low Power Idle (LPI) based cpuidle driver for RISC-V platforms. It depends on SBI HSM calls for idle state transitions. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
The ACPI processor driver is not currently enabled for RISC-V. This is required to enable CPU related functionalities like LPI and CPPC. Hence, enable ACPI_PROCESSOR for RISC-V. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
ef25d85
to
78a867c
Compare
Pull request for series with
subject: RISC-V: ACPI: Add LPI support
version: 1
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=816074