From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48566C54E67 for ; Thu, 14 Mar 2024 10:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Cvgcqq0dsukJWMLhBjwBNpnqh+fsSd69MCpxBS6pCQk=; b=P1N/4HpkZpUF6c fSbmGZ4DxxsJ5YlXKJnSllA8gVWZ/bWj22S6uE9tAdDmyhRVLALDEV5W9qfxkPTdLvzOyaSzmYU9j 6Pecc/hEvxEfeeAXMtHxxBrpFtgSM0vufRLOfImcg49ygYczDjNWD/3ScVi+n56b+Pgpo1PtKdPQZ Gth2eQ2Mx+LxYHav57DtzoGbH4/l4fTu+xjb61+Y1meTg+IAtzR8s5zYW2bSq3VVevqyTDFta0AVV UJuLLUrVCPfzSfRgS8olraahRs+cPJUn9EzUDq/2CYWM5tikoQYAJi513sXq0QgHBHqFbJJqumAoT mZ77dhP/bmXWiiFluetQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkiWD-0000000DwrG-1HwQ; Thu, 14 Mar 2024 10:41:01 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkiW9-0000000Dwo6-2zpl; Thu, 14 Mar 2024 10:40:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F0E9EDA7; Thu, 14 Mar 2024 03:41:30 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2CC3D3F73F; Thu, 14 Mar 2024 03:40:53 -0700 (PDT) Date: Thu, 14 Mar 2024 10:40:50 +0000 From: Sudeep Holla To: Viacheslav Bocharov Cc: Neil Armstrong , Sudeep Holla , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Rob Herring , Krzysztof Kozlowski Subject: Re: [PATCH v3 0/4] soc: amlogic: add new meson-gx-socinfo-sm driver Message-ID: References: <20240314070433.4151931-1-adeep@lexina.in> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240314070433.4151931-1-adeep@lexina.in> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240314_034058_177505_4857E9CB X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel