• Sudeep Holla's avatar
    drivers: firmware: psci: add system suspend support · faf7ec4a
    Sudeep Holla authored
    PSCI v1.0 introduces a new API called PSCI_SYSTEM_SUSPEND. This API
    provides the mechanism by which the calling OS can request entry into
    the deepest possible system sleep state.
    
    It meets all the necessary preconditions for entering suspend to RAM
    state in Linux. This patch adds support for PSCI_SYSTEM_SUSPEND in psci
    firmware and registers a psci system suspend operation to implement the
    suspend-to-RAM(s2r) in a generic way on all the platforms implementing
    PSCI.
    
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    Acked-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    faf7ec4a
psci.c 10.7 KB