/linux/Documentation/devicetree/bindings/arm/ |
H A D | psci.yaml | 4 $id: http://devicetree.org/schemas/arm/psci.yaml# 7 title: Power State Coordination Interface (PSCI) 13 Firmware implementing the PSCI functions described in ARM document number 21 Functions are invoked by trapping to the privilege level of the PSCI 31 [2] Power State Coordination Interface (PSCI) specification 36 const: psci 41 For implementations complying to PSCI versions prior to 0.2. 42 const: arm,psci 45 For implementations complying to PSCI 0.2. 47 PSCI 0.2 support, but are permitted to be present for compatibility [all …]
|
/linux/arch/arm64/boot/dts/cavium/ |
H A D | thunder-88xx.dtsi | 56 psci { 57 compatible = "arm,psci-0.2"; 69 enable-method = "psci"; 75 enable-method = "psci"; 81 enable-method = "psci"; 87 enable-method = "psci"; 93 enable-method = "psci"; 99 enable-method = "psci"; 105 enable-method = "psci"; 111 enable-method = "psci"; [all …]
|
/linux/include/uapi/linux/ |
H A D | psci.h | 3 * ARM Power State and Coordination Interface (PSCI) header 5 * This header holds common PSCI defines and macros shared 16 * PSCI v0.1 interface 18 * The PSCI v0.1 function numbers are implementation defined. 20 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED, 22 * to PSCI v0.1. 25 /* PSCI v0.2 interface */ 72 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ 82 /* PSCI extended power state encoding for CPU_SUSPEND function */ 89 /* PSCI v0.2 affinity level state returned by AFFINITY_INFO */ [all …]
|
/linux/arch/arm64/boot/dts/amd/ |
H A D | elba-16core.dtsi | 47 enable-method = "psci"; 55 enable-method = "psci"; 63 enable-method = "psci"; 71 enable-method = "psci"; 86 enable-method = "psci"; 94 enable-method = "psci"; 102 enable-method = "psci"; 110 enable-method = "psci"; 125 enable-method = "psci"; 133 enable-method = "psci"; [all …]
|
/linux/drivers/cpuidle/ |
H A D | cpuidle-psci.c | 3 * PSCI CPU idle driver. 9 #define pr_fmt(fmt) "CPUidle PSCI: " fmt 20 #include <linux/psci.h> 29 #include "cpuidle-psci.h" 184 "cpuidle/psci:online", in psci_idle_init_cpuhp() 207 int err = of_property_read_u32(np, "arm,psci-suspend-param", state); in psci_dt_parse_state_node() 210 pr_warn("%pOF missing arm,psci-suspend-param property\n", np); in psci_dt_parse_state_node() 215 pr_warn("Invalid PSCI power state %#x\n", *state); in psci_dt_parse_state_node() 230 data->dev = dt_idle_attach_cpu(cpu, "psci"); in psci_dt_cpu_init_topology() 277 pr_debug("psci-power-state %#x index %d\n", psci_states[i], i); in psci_dt_cpu_init_idle() [all …]
|
/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hip05.dtsi | 16 psci { 17 compatible = "arm,psci-0.2"; 88 enable-method = "psci"; 96 enable-method = "psci"; 104 enable-method = "psci"; 112 enable-method = "psci"; 120 enable-method = "psci"; 128 enable-method = "psci"; 136 enable-method = "psci"; 144 enable-method = "psci"; [all …]
|
H A D | hip07.dtsi | 16 psci { 17 compatible = "arm,psci-0.2"; 271 enable-method = "psci"; 280 enable-method = "psci"; 289 enable-method = "psci"; 298 enable-method = "psci"; 307 enable-method = "psci"; 316 enable-method = "psci"; 325 enable-method = "psci"; 334 enable-method = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | foundation-v8-psci.dtsi | 4 * ARMv8 Foundation model DTS (PSCI configuration) 8 psci { 9 compatible = "arm,psci-1.0"; 15 enable-method = "psci"; 19 enable-method = "psci"; 23 enable-method = "psci"; 27 enable-method = "psci";
|
H A D | juno-r1.dts | 31 psci { 32 compatible = "arm,psci-0.2"; 67 entry-method = "psci"; 71 arm,psci-suspend-param = <0x0010000>; 80 arm,psci-suspend-param = <0x1010000>; 92 enable-method = "psci"; 109 enable-method = "psci"; 126 enable-method = "psci"; 143 enable-method = "psci"; 160 enable-method = "psci"; [all …]
|
H A D | juno.dts | 30 psci { 31 compatible = "arm,psci-0.2"; 66 entry-method = "psci"; 70 arm,psci-suspend-param = <0x0010000>; 79 arm,psci-suspend-param = <0x1010000>; 91 enable-method = "psci"; 109 enable-method = "psci"; 127 enable-method = "psci"; 145 enable-method = "psci"; 163 enable-method = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-ap810-ap0-octa-core.dtsi | 20 enable-method = "psci"; 26 enable-method = "psci"; 32 enable-method = "psci"; 38 enable-method = "psci"; 44 enable-method = "psci"; 50 enable-method = "psci"; 56 enable-method = "psci"; 62 enable-method = "psci";
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6755.dtsi | 16 psci { 17 compatible = "arm,psci-0.2"; 28 enable-method = "psci"; 35 enable-method = "psci"; 42 enable-method = "psci"; 49 enable-method = "psci"; 56 enable-method = "psci"; 63 enable-method = "psci"; 70 enable-method = "psci"; 77 enable-method = "psci";
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums9620.dtsi | 52 enable-method = "psci"; 60 enable-method = "psci"; 68 enable-method = "psci"; 76 enable-method = "psci"; 84 enable-method = "psci"; 92 enable-method = "psci"; 100 enable-method = "psci"; 108 enable-method = "psci"; 114 entry-method = "psci"; 121 arm,psci-suspend-param = <0x00010000>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm4450.dtsi | 54 enable-method = "psci"; 57 power-domain-names = "psci"; 80 enable-method = "psci"; 83 power-domain-names = "psci"; 100 enable-method = "psci"; 103 power-domain-names = "psci"; 120 enable-method = "psci"; 123 power-domain-names = "psci"; 140 enable-method = "psci"; 143 power-domain-names = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | amlogic-t7.dtsi | 55 enable-method = "psci"; 62 enable-method = "psci"; 69 enable-method = "psci"; 76 enable-method = "psci"; 83 enable-method = "psci"; 90 enable-method = "psci"; 97 enable-method = "psci"; 104 enable-method = "psci"; 116 psci { 117 compatible = "arm,psci-1.0";
|
/linux/arch/arm64/boot/dts/amazon/ |
H A D | alpine-v3.dtsi | 27 enable-method = "psci"; 41 enable-method = "psci"; 55 enable-method = "psci"; 69 enable-method = "psci"; 83 enable-method = "psci"; 97 enable-method = "psci"; 111 enable-method = "psci"; 125 enable-method = "psci"; 139 enable-method = "psci"; 153 enable-method = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynosautov920.dtsi | 91 enable-method = "psci"; 98 enable-method = "psci"; 105 enable-method = "psci"; 112 enable-method = "psci"; 119 enable-method = "psci"; 126 enable-method = "psci"; 133 enable-method = "psci"; 140 enable-method = "psci"; 147 enable-method = "psci"; 154 enable-method = "psci"; [all …]
|
/linux/drivers/firmware/psci/ |
H A D | psci.c | 7 #define pr_fmt(fmt) "psci: " fmt 18 #include <linux/psci.h> 23 #include <uapi/linux/psci.h> 280 WARN(1, "Unexpected PSCI conduit %d\n", conduit); in set_conduit() 452 return PTR_ERR_OR_ZERO(debugfs_create_file("psci", 0444, NULL, NULL, in psci_debugfs_init() 606 * Conveniently, the SMCCC and PSCI versions are encoded the in psci_init_smccc() 616 pr_info("Using standard PSCI v0.2 function IDs\n"); in psci_0_2_set_functions() 634 * Probe function for PSCI firmware versions >= 0.2 645 pr_err("Conflicting PSCI version detected.\n"); in psci_probe() 667 * PSCI init function for PSCI versions >=0.2 [all …]
|
H A D | Kconfig | 6 bool "ARM PSCI checker" 9 Run the PSCI checker during startup. This checks that hotplug and 10 suspend operations work correctly when using PSCI. 12 The torture tests may interfere with the PSCI checker by turning CPUs 13 on and off through hotplug, so for now torture tests and PSCI checker
|
/linux/Documentation/devicetree/bindings/ |
H A D | numa.txt | 178 enable-method = "psci"; 186 enable-method = "psci"; 193 enable-method = "psci"; 200 enable-method = "psci"; 207 enable-method = "psci"; 214 enable-method = "psci"; 221 enable-method = "psci"; 228 enable-method = "psci"; 235 enable-method = "psci"; 243 enable-method = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | s32g3.dtsi | 64 enable-method = "psci"; 72 enable-method = "psci"; 80 enable-method = "psci"; 88 enable-method = "psci"; 96 enable-method = "psci"; 104 enable-method = "psci"; 112 enable-method = "psci"; 120 enable-method = "psci"; 144 psci: psci { label 145 compatible = "arm,psci-1.0";
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2530.dtsi | 53 enable-method = "psci"; 57 enable-method = "psci"; 61 enable-method = "psci"; 65 enable-method = "psci"; 69 psci { 70 compatible = "arm,psci-0.2";
|
/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 309 [2] ARM Linux Kernel documentation - PSCI bindings 310 Documentation/devicetree/bindings/arm/psci.yaml 338 This assumes that the "enable-method" property is set to "psci" in the cpu 341 const: psci 372 arm,psci-suspend-param: 375 power_state parameter to pass to the ARM PSCI suspend call. 377 Device tree nodes that require usage of PSCI CPU_SUSPEND function 378 (i.e. idle states node with entry-method property is set to "psci") 451 enable-method = "psci"; 460 enable-method = "psci"; [all …]
|
/linux/arch/arm64/boot/dts/nuvoton/ |
H A D | nuvoton-npcm845.dtsi | 20 enable-method = "psci"; 29 enable-method = "psci"; 38 enable-method = "psci"; 47 enable-method = "psci"; 66 psci { 67 compatible = "arm,psci-1.0";
|
/linux/arch/arm64/kvm/ |
H A D | psci.c | 42 * in section 5.4.1 of PSCI v0.2 specification (ARM DEN 0022A). in kvm_psci_vcpu_suspend() 45 * stand-by request as-per section 5.4.2 clause 3 of PSCI v0.2 in kvm_psci_vcpu_suspend() 99 * NOTE: We always update r0 (or x0) because for PSCI v0.1 in kvm_psci_vcpu_on() 172 * actual request is made. Since we are implementing PSCI and a in kvm_prepare_system_event() 173 * caller of PSCI reboot and shutdown expects that the system shuts in kvm_prepare_system_event() 232 * Prevent 32 bit guests from calling 64 bit PSCI functions. in kvm_psci_check_allowed_function() 290 * VCPU should see internal failure from PSCI return in kvm_psci_0_2_call() 292 * PSCI return value INTERNAL_FAILURE. in kvm_psci_0_2_call() 301 * with PSCI return value INTERNAL_FAILURE. in kvm_psci_0_2_call() 426 * kvm_psci_call - handle PSCI call if r0 value is in range [all …]
|