Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

psci.h

Blame
    • Patrick Delaunay's avatar
      1a047c23
      arm: psci: save context id for cpu_on PSCI command · 1a047c23
      Patrick Delaunay authored
      
      Save and use the 3rd parameter of PSCI CPU_ON request: context_id.
      
      The context_id parameter is only meaningful to the caller.
      U-Boot PSCI preserves a copy of the value passed in this parameter.
      Following wakeup from a  powerdown state, U-BOOT PSCI places
      this value in R0 when it first enters the OS.
      
      NB: this context id is not (yet?) used by Linux but it is mandatory
          to be PSCI compliant.
      
      update armv7 psci functions:
      - psci_save_target_pc(): keep for backward compatibility with
        current platform (only save PC and force context id to 0)
        => should be removed when all platform migrate to the new API
      
      - psci_save(): new API to use by ARMv7 platform with PSCI,
        save pc (= entry_point_address) and context_id
      
      Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
      Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      1a047c23
      History
      arm: psci: save context id for cpu_on PSCI command
      Patrick Delaunay authored
      
      Save and use the 3rd parameter of PSCI CPU_ON request: context_id.
      
      The context_id parameter is only meaningful to the caller.
      U-Boot PSCI preserves a copy of the value passed in this parameter.
      Following wakeup from a  powerdown state, U-BOOT PSCI places
      this value in R0 when it first enters the OS.
      
      NB: this context id is not (yet?) used by Linux but it is mandatory
          to be PSCI compliant.
      
      update armv7 psci functions:
      - psci_save_target_pc(): keep for backward compatibility with
        current platform (only save PC and force context id to 0)
        => should be removed when all platform migrate to the new API
      
      - psci_save(): new API to use by ARMv7 platform with PSCI,
        save pc (= entry_point_address) and context_id
      
      Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
      Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>