History

drivers: firmware: psci: add PSCI_FEATURES call

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.

Lorenzo Pieralisi committed 11 years ago

Commit 5f004e01 parent 068654c2 files · +8 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/psci.h+2−0
@@ -46,6 +46,8 @@ · 45 unmodified lines
4646 #define PSCI_0_2_FN64_MIGRATE PSCI_0_2_FN64(5)
4747 #define PSCI_0_2_FN64_MIGRATE_INFO_UP_CPU PSCI_0_2_FN64(7)
4848
49+#define PSCI_1_0_FN_PSCI_FEATURES PSCI_0_2_FN(10)
50+
4951 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
5052 #define PSCI_0_2_POWER_STATE_ID_MASK 0xffff
5153 #define PSCI_0_2_POWER_STATE_ID_SHIFT 0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t