Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp139048lqb; Thu, 14 Mar 2024 07:30:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkk4s1dSKgSP7wLrun1cjjq307VSBJqSMLP+x1bzka01yeq3S8zulq65iEI6LZReSYggul3+RvMTa3FI7cCFWd0/7b/QD8xWhct/wacQ== X-Google-Smtp-Source: AGHT+IEX7928MRXF5aoNgEpzMfERTyrfSQBR3XlrzV+fY8/VZXsG1tvuGDkhiLBw4nOBlf3rAeJ1 X-Received: by 2002:a05:6214:f24:b0:691:15c4:7983 with SMTP id iw4-20020a0562140f2400b0069115c47983mr5297779qvb.0.1710426635882; Thu, 14 Mar 2024 07:30:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710426635; cv=pass; d=google.com; s=arc-20160816; b=GhIXTBHG465Ska+DYe2ysI552H1Mw0QsqY139mBzOHJGstAeF94pYTcii46Y0kgSoj m5nifuj2zhi27irQOZWUI2af11ShOicQ1txduylevm8KaHASAWVUxuZOy0Nxabyrer8j labrxSuVlAvwAve0nKOg+qphMp4/7dKw5qd0BRC0BKx83052sMa73zCI57xue8kjrty6 QIciJhMr0+EHRRUfujwcjDZjzWkVAkq7vOeGxpOVrwb3BajtFWkQtA6RRoNJo0CfgE6O GBmkwQKrVEJv5ef/FS7e5tg5OFCwkLnE9tSgA460cZFb/4xEY13ItWFcHXEVl8f5xfCJ rZ+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Yv6nb4Kt55cGfhyxDbaKkrMgi74Cg6P884t2YNpOK4U=; fh=VT/i+20KI9Qa5mlA1Ar1KflDlxuSWdyPXQ9pr+pBGK4=; b=Sv27VnfkiNk2IbiHnA6k2TvKq/zVXXV7ACQvk9dEAlUQmqAYUsbke2JzOzpzAqWfAr kc5TSSPKO1xNaajffw0N2xJ8Ixel2Kv4CIfNBHYsg6GPrFp6xrXm9T0OMm8IJ9QaCdl1 2uqrBtG9p45MCSIcLKb7GJaCKCYvxXXaI5reorxY/OcQV6V0cr8/PZolSYqTEtYg/Qzi RWCOsCMRVQeV1iIWvy6yzxa494AJIlZ1ZIFfHBvsUBmPyOT+b4DqQk2VoI2/Ac1me22k m1DEzU6pgl0EZwDz7gSldRMXB4h/dqY3MfLYN74LIzhwF159VEYpvS2jieP7ImxZO7kz D/wQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-103398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h9-20020ac85849000000b0042eaf9b3a7csi1647716qth.660.2024.03.14.07.30.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 07:30:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-103398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 981381C20BD1 for ; Thu, 14 Mar 2024 14:30:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 267391DFE4; Thu, 14 Mar 2024 14:30:29 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D5861A38F1 for ; Thu, 14 Mar 2024 14:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710426628; cv=none; b=EBEYxbaCqjG/l5v+H+Y02zLBbNswkADMAnmhR/WnxxhQaSk01DcpQoSMwWxFEZJH8ILiSXq07B/kT48mtNI6b5st2IXhz/dneUIFntbs0hfUGGB0MB3Qfp4UdIIJcBWBCSjGvgeUp2vqrl9kXa//DGiKPyUKxla7Cm0uMoLyiVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710426628; c=relaxed/simple; bh=GepO+rRnr8mGIl2frn5Ar2Zz8CTdmmXLPwQtnbQ9OkA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Hma4ooyYcwvF+IpDMzkywWyMT9CEG/pkaLKNIXuJVDeQmeiJSJjXLzHsgK7nowPAzgOl4kSN2KSvK7ee6Ml+hHA+2gdxucwP+lUiFy7kZPVMdQeW+9nKktNFebkhAGWg43ipPYsIqk/eWDNK1x7M50HyNByXUNrVeZcg6KzTQ0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 D95E81007; Thu, 14 Mar 2024 07:31:01 -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 231BE3F762; Thu, 14 Mar 2024 07:30:24 -0700 (PDT) Date: Thu, 14 Mar 2024 14:30:21 +0000 From: Sudeep Holla To: Viacheslav 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> <62d45d81-1366-440f-81e1-e66395707eb9@lexina.in> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62d45d81-1366-440f-81e1-e66395707eb9@lexina.in> 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. -- Regards, Sudeep