[RFC PATCH] soc: Amlogic: Add secure monitor driver

Carlo Caione carlo at caione.org
Mon May 23 04:16:19 PDT 2016


On 23/05/16 13:09, Matthias Brugger wrote:
 
[...]
> >>>diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> >>>index 76b3b6d..e4017c3 100644
> >>>--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> >>>+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> >>>@@ -98,6 +98,10 @@
> >>>               method = "smc";
> >>>       };
> >>>
> >>>+     sm {
> >>>+             compatible = "amlogic,meson-sm";
> >>>+     };
> >>
> >>We should have more specific strings, at least in addition to this.
> >
> >Agree, not sure what I can add though.
> 
> I would say someting linke "amlogic,gxbb-sm" to specify the SoC.

If you look at v2 of this patchset [1] I separated the SoC specific
SMC32 function definitions in a separate header file so I think the main
driver is generic enough to be called meson-sm.

Cheers,

[1] http://www.spinics.net/lists/arm-kernel/msg505087.html

-- 
Carlo Caione



More information about the linux-arm-kernel mailing list