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.
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -30,8 +30,6 @@ struct psci_operations { · 29 unmodified lines | ||
| 30 | 30 | int (*affinity_info)(unsigned long target_affinity, |
| 31 | 31 | unsigned long lowest_affinity_level); |
| 32 | 32 | int (*migrate_info_type)(void); |
| 33 | − enum arm_smccc_conduit conduit; | |
| 34 | − u32 smccc_version; | |
| 35 | 33 | }; |
| 36 | 34 | |
| 37 | 35 | extern struct psci_operations psci_ops; |