Skip to content
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

Closed
wants to merge 3 commits into from
Closed

Commits on Feb 22, 2024

  1. cpuidle: RISC-V: Move few functions to arch/riscv

    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>
    vlsunil authored and Björn Töpel committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    a2a4e95 View commit details
    Browse the repository at this point in the history
  2. ACPI: RISC-V: Add LPI driver

    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>
    vlsunil authored and Björn Töpel committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    6c9ade5 View commit details
    Browse the repository at this point in the history
  3. ACPI: Enable ACPI_PROCESSOR for RISC-V

    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>
    vlsunil authored and Björn Töpel committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    78a867c View commit details
    Browse the repository at this point in the history