PSCI v1.0 introduces a PSCI_FEATURES call that allows to probe for features related to a specific function identifier. This patch adds PSCI_FEATURES support to the PSCI firmware layer.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -46,6 +46,8 @@ · 45 unmodified lines | |||
| 46 | #define PSCI_0_2_FN64_MIGRATE PSCI_0_2_FN64(5) | 46 | #define PSCI_0_2_FN64_MIGRATE PSCI_0_2_FN64(5) |
| 47 | #define PSCI_0_2_FN64_MIGRATE_INFO_UP_CPU PSCI_0_2_FN64(7) | 47 | #define PSCI_0_2_FN64_MIGRATE_INFO_UP_CPU PSCI_0_2_FN64(7) |
| 48 | 48 | ||
| 49 | #define PSCI_1_0_FN_PSCI_FEATURES PSCI_0_2_FN(10) | ||
| 50 | |||
| 49 | /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ | 51 | /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ |
| 50 | #define PSCI_0_2_POWER_STATE_ID_MASK 0xffff | 52 | #define PSCI_0_2_POWER_STATE_ID_MASK 0xffff |
| 51 | #define PSCI_0_2_POWER_STATE_ID_SHIFT 0 | 53 | #define PSCI_0_2_POWER_STATE_ID_SHIFT 0 |