{"action":"created","issue":{"url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/324","labels_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/324/comments","events_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/324/events","html_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/324","id":90157672,"number":324,"title":"PSCI: Add SYSTEM_SUSPEND API support","user":{"login":"soby-mathew","id":6860836,"avatar_url":"https://avatars.githubusercontent.com/u/6860836?v=3","gravatar_id":"","url":"https://api.github.com/users/soby-mathew","html_url":"https://github.com/soby-mathew","followers_url":"https://api.github.com/users/soby-mathew/followers","following_url":"https://api.github.com/users/soby-mathew/following{/other_user}","gists_url":"https://api.github.com/users/soby-mathew/gists{/gist_id}","starred_url":"https://api.github.com/users/soby-mathew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soby-mathew/subscriptions","organizations_url":"https://api.github.com/users/soby-mathew/orgs","repos_url":"https://api.github.com/users/soby-mathew/repos","events_url":"https://api.github.com/users/soby-mathew/events{/privacy}","received_events_url":"https://api.github.com/users/soby-mathew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-22T17:13:36Z","updated_at":"2015-07-03T09:55:35Z","closed_at":"2015-07-02T15:17:11Z","pull_request":{"url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/pulls/324","html_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/324","diff_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/324.diff","patch_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/324.patch"},"body":"This patch adds support for SYSTEM_SUSPEND API as mentioned in the PSCI 1.0\r\nspecification. This API, on being invoked on the last running core on a\r\nsupported platform, will put the system into a low power mode with memory\r\nretention.\r\n\r\nThe psci_afflvl_suspend() internal API has been reused as most of the actions\r\nto suspend a system are the same as invoking the PSCI CPU_SUSPEND API with the\r\ntarget affinity level as 'system'. This API needs the 'power state' parameter\r\nfor the target low power state. This parameter is not passed by the caller of\r\nthe SYSTEM_SUSPEND API. Hence, the platform needs to implement the\r\nget_sys_suspend_power_state() platform function to provide this information.\r\nAlso, the platform also needs to add support for suspending the system to the\r\nexisting 'plat_pm_ops' functions: affinst_suspend() and\r\naffinst_suspend_finish().\r\n\r\nChange-Id: Ib6bf10809cb4e9b92f463755608889aedd83cef5"},"comment":{"url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/comments/118303178","html_url":"https://github.com/ARM-software/arm-trusted-firmware/pull/324#issuecomment-118303178","issue_url":"https://api.github.com/repos/ARM-software/arm-trusted-firmware/issues/324","id":118303178,"user":{"login":"danh-arm","id":5684642,"avatar_url":"https://avatars.githubusercontent.com/u/5684642?v=3","gravatar_id":"","url":"https://api.github.com/users/danh-arm","html_url":"https://github.com/danh-arm","followers_url":"https://api.github.com/users/danh-arm/followers","following_url":"https://api.github.com/users/danh-arm/following{/other_user}","gists_url":"https://api.github.com/users/danh-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/danh-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danh-arm/subscriptions","organizations_url":"https://api.github.com/users/danh-arm/orgs","repos_url":"https://api.github.com/users/danh-arm/repos","events_url":"https://api.github.com/users/danh-arm/events{/privacy}","received_events_url":"https://api.github.com/users/danh-arm/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T09:55:35Z","updated_at":"2015-07-03T09:55:35Z","body":"You can ask, but I can't promise we'll always be so responsive!"}}