Home
last modified time | relevance | path

Searched full:psci (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/openbmc/linux/Documentation/devicetree/bindings/arm/
H A Dpsci.yaml4 $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 …]
/openbmc/u-boot/arch/arm/dts/
H A Dthunderx-88xx.dtsi15 psci {
16 compatible = "arm,psci-0.2";
28 enable-method = "psci";
34 enable-method = "psci";
40 enable-method = "psci";
46 enable-method = "psci";
52 enable-method = "psci";
58 enable-method = "psci";
64 enable-method = "psci";
70 enable-method = "psci";
[all …]
H A Dfsl-imx8-ca53.dtsi21 entry-method = "psci";
26 arm,psci-suspend-param = <0x0000000>;
35 arm,psci-suspend-param = <0x1000000>;
48 enable-method = "psci";
57 enable-method = "psci";
66 enable-method = "psci";
75 enable-method = "psci";
85 psci {
86 compatible = "arm,psci-1.0";
H A Dfsl-imx8-ca35.dtsi19 enable-method = "psci";
27 enable-method = "psci";
35 enable-method = "psci";
43 enable-method = "psci";
59 psci {
60 compatible = "arm,psci-1.0";
/openbmc/linux/arch/arm64/boot/dts/cavium/
H A Dthunder-88xx.dtsi56 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 …]
/openbmc/linux/include/uapi/linux/
H A Dpsci.h3 * 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 …]
/openbmc/qemu/linux-headers/linux/
H A Dpsci.h3 * 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 …]
/openbmc/u-boot/include/linux/
H A Dpsci.h2 * ARM Power State and Coordination Interface (PSCI) header
4 * This header holds common PSCI defines and macros shared
15 * PSCI v0.1 interface
17 * The PSCI v0.1 function numbers are implementation defined.
19 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED,
21 * to PSCI v0.1.
24 /* PSCI v0.2 interface */
49 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
59 /* PSCI v0.2 affinity level state returned by AFFINITY_INFO */
64 /* PSCI v0.2 multicore support in Trusted OS returned by MIGRATE_INFO_TYPE */
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/
H A DKconfig80 bool "PSCI implementation in secure monitor firmware"
83 This config enables the ARMv8 PSCI implementation in secure monitor
84 firmware. This is a private PSCI implementation and different from
85 those implemented under the common ARMv8 PSCI framework.
97 bool "Use PSCI for reset and shutdown"
113 Most armv8 systems have PSCI support enabled in EL3, either through
119 Select Y here to make use of PSCI calls for system reset
122 bool "Enable PSCI support" if EXPERT
125 PSCI is Power State Coordination Interface defined by ARM.
126 The PSCI in U-boot provides a general framework and each platform
[all …]
H A Dpsci.S5 * This file implements LS102X platform PSCI SYSTEM-SUSPEND function
10 #include <asm/psci.h>
12 /* Default PSCI function, return -1, Not Implemented */
20 /* PSCI function and ID table definition*/
27 /* 32 bits PSCI default functions */
73 /* 64 bits PSCI default functions */
100 /* PSCI call is Fast Call(atomic), so mask DAIF */
132 /* Caller must put PSCI function-ID table base in x9 */
135 1: ldr x10, [x9] /* Load PSCI function table */
140 b.eq 2f /* PSCI function found */
[all …]
H A Dcpu-dt.c7 #include <asm/psci.h>
15 * If the PSCI in SEC Firmware didn't work, avoid to update the in psci_update_dt()
16 * device node of PSCI. But still return 0 instead of an error in psci_update_dt()
17 * number to support detecting PSCI dynamically and then switching in psci_update_dt()
18 * the SMP boot method between PSCI and spin-table. in psci_update_dt()
/openbmc/u-boot/drivers/firmware/
H A Dpsci.c5 * Based on drivers/firmware/psci.c from Linux:
17 #include <linux/psci.h>
19 #define DRIVER_NAME "psci"
49 /* No SYSTEM_RESET support for PSCI 0.1 */ in psci_bind()
50 if (device_is_compatible(dev, "arm,psci-0.2") || in psci_bind()
51 device_is_compatible(dev, "arm,psci-1.0")) { in psci_bind()
54 /* bind psci-sysreset optionally */ in psci_bind()
55 ret = device_bind_driver(dev, "psci-sysreset", "psci-sysreset", in psci_bind()
58 pr_debug("PSCI System Reset was not bound.\n"); in psci_bind()
89 * void do_psci_probe() - probe PSCI firmware driver
[all …]
/openbmc/linux/arch/arm64/boot/dts/arm/
H A Dfoundation-v8-psci.dtsi4 * 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";
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm4450.dtsi39 enable-method = "psci";
42 power-domain-names = "psci";
63 enable-method = "psci";
66 power-domain-names = "psci";
81 enable-method = "psci";
84 power-domain-names = "psci";
99 enable-method = "psci";
102 power-domain-names = "psci";
117 enable-method = "psci";
120 power-domain-names = "psci";
[all …]
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap810-ap0-octa-core.dtsi20 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";
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-psci.c3 * PSCI CPU idle driver.
9 #define pr_fmt(fmt) "CPUidle PSCI: " fmt
20 #include <linux/psci.h>
29 #include "cpuidle-psci.h"
178 "cpuidle/psci:online", in psci_idle_init_cpuhp()
201 int err = of_property_read_u32(np, "arm,psci-suspend-param", state); in psci_dt_parse_state_node()
204 pr_warn("%pOF missing arm,psci-suspend-param property\n", np); in psci_dt_parse_state_node()
209 pr_warn("Invalid PSCI power state %#x\n", *state); in psci_dt_parse_state_node()
270 pr_debug("psci-power-state %#x index %d\n", psci_states[i], i); in psci_dt_cpu_init_idle()
293 * If the PSCI cpu_suspend function hook has not been initialized in psci_cpu_init_idle()
[all …]
/openbmc/linux/arch/arm64/boot/dts/hisilicon/
H A Dhip05.dtsi16 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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6755.dtsi16 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";
/openbmc/u-boot/arch/arm/lib/
H A Dpsci-dt.c11 #include <asm/psci.h>
30 /* add 'enable-method = "psci"' to each cpu node */ in fdt_psci()
50 fdt_setprop_string(fdt, tmp, "enable-method", "psci"); in fdt_psci()
53 nodeoff = fdt_path_offset(fdt, "/psci"); in fdt_psci()
61 nodeoff = fdt_add_subnode(fdt, nodeoff, "psci"); in fdt_psci()
75 "compatible", "arm,psci-1.0"); in fdt_psci()
82 "compatible", "arm,psci-0.2"); in fdt_psci()
89 * The Secure firmware framework isn't able to support PSCI version 0.1. in fdt_psci()
93 "compatible", "arm,psci"); in fdt_psci()
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Damlogic-t7.dtsi53 enable-method = "psci";
60 enable-method = "psci";
67 enable-method = "psci";
74 enable-method = "psci";
81 enable-method = "psci";
88 enable-method = "psci";
95 enable-method = "psci";
102 enable-method = "psci";
114 psci {
115 compatible = "arm,psci-1.0";
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0043-firmware-psci-Fix-bind_smccc_features-psci-check.patch4 Subject: [PATCH] firmware: psci: Fix bind_smccc_features psci check
9 According to PSCI specification DEN0022F, PSCI_FEATURES is used to check
16 drivers/firmware/psci.c | 5 ++++-
20 diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c
22 --- a/drivers/firmware/psci.c
23 +++ b/drivers/firmware/psci.c
/openbmc/linux/drivers/firmware/psci/
H A DKconfig6 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
H A Dpsci.c7 #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 …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2530.dtsi53 enable-method = "psci";
57 enable-method = "psci";
61 enable-method = "psci";
65 enable-method = "psci";
69 psci {
70 compatible = "arm,psci-0.2";
/openbmc/linux/arch/arm64/boot/dts/amazon/
H A Dalpine-v3.dtsi27 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 …]

12345678910>>...19