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

Add PSCI driver #30911

Merged
merged 2 commits into from
Jan 18, 2021
Merged

Add PSCI driver #30911

merged 2 commits into from
Jan 18, 2021

Commits on Jan 6, 2021

  1. drivers: PSCI: Add driver and subsystem

    Firmware implementing the PSCI functions described in ARM document
    number ARM DEN 0022A ("Power State Coordination Interface System
    Software on ARM processors") can be used by Zephyr to initiate various
    CPU-centric power operations.
    
    It is needed for virtualization, it is used to coordinate OSes and
    hypervisors and it provides the functions used for SMP bring-up such as
    CPU_ON and CPU_OFF.
    
    A new PSCI driver is introduced to setup a proper subsystem used to
    communicate with the PSCI firmware, implementing the basic operations:
    get_version, cpu_on, cpu_off and affinity_info.
    
    The current implementation only supports PSCI 0.2 and PSCI 1.0
    
    The PSCI conduit (SMC or HVC) is setup reading the corresponding
    property in the DTS node.
    
    Signed-off-by: Carlo Caione <[email protected]>
    carlocaione committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    ed12b1f View commit details
    Browse the repository at this point in the history
  2. tests: psci: Introduce PSCI test

    Add a simple test to the the PSCI driver
    
    Signed-off-by: Carlo Caione <[email protected]>
    carlocaione committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    7b08351 View commit details
    Browse the repository at this point in the history