[3/6] irqchip/gicv3: Export arm_smccc_get_soc_id_xx funcs

Message ID 20230418113459.12860-4-sumitg@nvidia.com
State New
Headers
Series CPPC_CPUFREQ improvements for Tegra241 |

Commit Message

Sumit Gupta April 18, 2023, 11:34 a.m. UTC
  Export arm_smccc_get_soc_id_version() function which is needed
in CPPC_CPUFREQ to check and apply workaround for Tegra241 SoC.
Also, exporting arm_smccc_get_soc_id_revision() function as it
might be needed in future.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
---
 drivers/firmware/smccc/smccc.c | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Florian Fainelli April 26, 2023, 7:33 p.m. UTC | #1
On 4/18/23 04:34, Sumit Gupta wrote:
> Export arm_smccc_get_soc_id_version() function which is needed
> in CPPC_CPUFREQ to check and apply workaround for Tegra241 SoC.
> Also, exporting arm_smccc_get_soc_id_revision() function as it
> might be needed in future.
> 
> Signed-off-by: Sumit Gupta <sumitg@nvidia.com>

The commit subject seems off, maybe you re-used the last one that was 
done in the tree (35727af2b15d irqchip/gicv3: Workaround for NVIDIA 
erratum T241-FABRIC-4), it should rather be: "firmware: smccc: Export 
arm_smccc_get_soc_id_xx funcs"
  

Patch

diff --git a/drivers/firmware/smccc/smccc.c b/drivers/firmware/smccc/smccc.c
index db818f9dcb8e..b4224da46988 100644
--- a/drivers/firmware/smccc/smccc.c
+++ b/drivers/firmware/smccc/smccc.c
@@ -64,11 +64,13 @@  s32 arm_smccc_get_soc_id_version(void)
 {
 	return smccc_soc_id_version;
 }
+EXPORT_SYMBOL_GPL(arm_smccc_get_soc_id_version);
 
 s32 arm_smccc_get_soc_id_revision(void)
 {
 	return smccc_soc_id_revision;
 }
+EXPORT_SYMBOL_GPL(arm_smccc_get_soc_id_revision);
 
 static int __init smccc_devices_init(void)
 {