History

firmware: smccc: Refactor SMCCC specific bits into separate file

In order to add newer SMCCC v1.1+ functionality and to avoid cluttering PSCI firmware driver with SMCCC bits, let us move the SMCCC specific details under drivers/firmware/smccc/smccc.c We can also drop conduit and smccc_version from psci_operations structure as SMCCC was the sole user and now it maintains those. No functionality change in this patch though.

Sudeep Holla committed 6 years ago

Commit f2ae9701 parent ad5a57d6 files · +45 −18Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/psci.h+0−2
@@ -30,8 +30,6 @@ struct psci_operations { · 29 unmodified lines
30 int (*affinity_info)(unsigned long target_affinity,30 int (*affinity_info)(unsigned long target_affinity,
31 unsigned long lowest_affinity_level);31 unsigned long lowest_affinity_level);
32 int (*migrate_info_type)(void);32 int (*migrate_info_type)(void);
33 enum arm_smccc_conduit conduit;
34 u32 smccc_version;
35};33};
36 34
37extern struct psci_operations psci_ops;35extern struct psci_operations psci_ops;