diff --git a/xen/arch/arm/vpsci.c b/xen/arch/arm/vpsci.c index d1615be8a6..9f660b8ab4 100644 --- a/xen/arch/arm/vpsci.c +++ b/xen/arch/arm/vpsci.c @@ -116,21 +116,6 @@ static uint32_t do_psci_0_2_version(void) return PSCI_VERSION(1, 1); } -static register_t do_psci_0_2_cpu_suspend(uint32_t power_state, - register_t entry_point, - register_t context_id) -{ - struct vcpu *v = current; - - /* - * Power off requests are treated as performing standby - * as this simplifies Xen implementation. - */ - - vcpu_block_unless_event_pending(v); - return PSCI_SUCCESS; -} - static int32_t do_psci_0_2_cpu_off(void) { return do_psci_cpu_off(0); @@ -203,8 +188,6 @@ static int32_t do_psci_1_0_features(uint32_t psci_func_id) switch ( psci_func_id ) { case PSCI_0_2_FN32_PSCI_VERSION: - case PSCI_0_2_FN32_CPU_SUSPEND: - case PSCI_0_2_FN64_CPU_SUSPEND: case PSCI_0_2_FN32_CPU_OFF: case PSCI_0_2_FN32_CPU_ON: case PSCI_0_2_FN64_CPU_ON: @@ -312,18 +295,6 @@ bool do_vpsci_0_2_call(struct cpu_user_regs *regs, uint32_t fid) return true; } - case PSCI_0_2_FN32_CPU_SUSPEND: - case PSCI_0_2_FN64_CPU_SUSPEND: - { - uint32_t pstate = PSCI_ARG32(regs, 1); - register_t epoint = PSCI_ARG(regs, 2); - register_t cid = PSCI_ARG(regs, 3); - - perfc_incr(vpsci_cpu_suspend); - PSCI_SET_RESULT(regs, do_psci_0_2_cpu_suspend(pstate, epoint, cid)); - return true; - } - case PSCI_0_2_FN32_AFFINITY_INFO: case PSCI_0_2_FN64_AFFINITY_INFO: {