The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=7ca55fcc541b375c83eaf75f0658b79f250c82fd

commit 7ca55fcc541b375c83eaf75f0658b79f250c82fd
Author:     Andrew Turner <[email protected]>
AuthorDate: 2023-01-29 19:32:11 +0000
Commit:     Andrew Turner <[email protected]>
CommitDate: 2023-01-29 19:33:41 +0000

    Only call SMCCC init on arm64
    
    We don't build the smccc code on arm so don't call into it there.
---
 sys/dev/psci/psci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/psci/psci.c b/sys/dev/psci/psci.c
index 41a48e36dec9..65ce85572cc1 100644
--- a/sys/dev/psci/psci.c
+++ b/sys/dev/psci/psci.c
@@ -344,7 +344,9 @@ psci_attach(device_t dev, psci_initfn_t psci_init, int 
default_version)
        if (psci_init(dev, default_version))
                return (ENXIO);
 
+#ifdef __aarch64__
        smccc_init();
+#endif
 
        psci_softc = sc;
 

Reply via email to