Message ID | 20240314070433.4151931-1-adeep@lexina.in (mailing list archive) |
---|---|
Headers | show |
Series | soc: amlogic: add new meson-gx-socinfo-sm driver | expand |
On Thu, Mar 14, 2024 at 09:59:50AM +0300, Viacheslav Bocharov wrote: > The Amlogic Meson SoC Secure Monitor implements a call to retrieve an > unique SoC ID starting from the GX Family and all new families. > But GX-family chips (e.g. GXB, GXL and newer) supports also 128-bit > chip ID. 128-bit chip ID consists 32-bit SoC version and 96-bit OTP data. > How old or new are these SoCs ? The reason I ask is that it is really sad to see vendors still creating their custom interfaces for such things despite the standard SMCCC interface SOC_ID introduced in SMCCC v1.2 some time in 2020. Hopefully they migrated to the std interface and just use the driver in the kernel without needing to add this every time they fancy playing with the interface for no reason.
Hi! 14/03/2024 13.40, Sudeep Holla wrote: > On Thu, Mar 14, 2024 at 09:59:50AM +0300, Viacheslav Bocharov wrote: >> The Amlogic Meson SoC Secure Monitor implements a call to retrieve an >> unique SoC ID starting from the GX Family and all new families. >> But GX-family chips (e.g. GXB, GXL and newer) supports also 128-bit >> chip ID. 128-bit chip ID consists 32-bit SoC version and 96-bit OTP data. >> > > How old or new are these SoCs ? The reason I ask is that it is really > sad to see vendors still creating their custom interfaces for such things > despite the standard SMCCC interface SOC_ID introduced in SMCCC v1.2 some > time in 2020. Most of these SoC were created before 2020. > > Hopefully they migrated to the std interface and just use the driver in > the kernel without needing to add this every time they fancy playing > with the interface for no reason. >
On Thu, Mar 14, 2024 at 03:25:02PM +0300, Viacheslav wrote: > Hi! > > 14/03/2024 13.40, Sudeep Holla wrote: > > On Thu, Mar 14, 2024 at 09:59:50AM +0300, Viacheslav Bocharov wrote: > > > The Amlogic Meson SoC Secure Monitor implements a call to retrieve an > > > unique SoC ID starting from the GX Family and all new families. > > > But GX-family chips (e.g. GXB, GXL and newer) supports also 128-bit > > > chip ID. 128-bit chip ID consists 32-bit SoC version and 96-bit OTP data. > > > > > > > How old or new are these SoCs ? The reason I ask is that it is really > > sad to see vendors still creating their custom interfaces for such things > > despite the standard SMCCC interface SOC_ID introduced in SMCCC v1.2 some > > time in 2020. > > Most of these SoC were created before 2020. > Fair enough then. Hope they use SOC_ID on newer SoCs.