Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp300942lqk; Thu, 14 Mar 2024 03:41:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnEqI7vG0lxyXCjn7/wuQsBwfA9mPEaApU/9umHHoyy/5RIscaBI2+9mdKBo+PnLTfGRVEz9m+ZLV6RyFGhwBDKvTbGffNpRqHWveZwQ== X-Google-Smtp-Source: AGHT+IEBP3+UP6tpClwdIAvAPtBFdUmPH7YifyFfokuGcH7AV+seKx+ggN1cswXFEELGAPI7OK2B X-Received: by 2002:a0c:f68c:0:b0:691:4e7e:805a with SMTP id p12-20020a0cf68c000000b006914e7e805amr1017818qvn.40.1710412869256; Thu, 14 Mar 2024 03:41:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710412869; cv=pass; d=google.com; s=arc-20160816; b=BqSrEQqgy5naugoChxk0w4/hHM8jyOHBtrLwKeFKp0CxtjMSfrWPcJGbyVcEJDJZKb IyGIMkBZBHxXdS3JNkBx8ZrZvulCyoNRD7PBufz7/U0y0ioDvfXD/hYnw6hgN9VAJsUN wCx/2MzINl7Jae8M/NiF9q2f+qqLALn61mtxQ/33MUd2Ko7na9L2ITWcxoRkN3yPe3Zy O/o+4Gy9vR4OzpYMlAU2hs5Opv+HCaXA4acH9psM/lTy+cxWsTcmsW48PFntlwtN14FV G4FGc1BybLfWnxQKs3CZqjOkEPTWuD4NbnTf7RUzC8LJHz+qYSJ4PhnW23uWl8XjkI/w JsNw== 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=F9g9qewpdTPAPYMelyl3jaE1CF9GcILkcmzNVwBy2uU=; fh=s3Bx92cu5s6ix8QfQ7LakGbPKMQJg6pEq38cshIvMWg=; b=ttt6uKxNCi2Jxd19zCyA3OFD3vgKEtPDnMyxurQZPZcvU1KyTfx30JlaG/Y3aSbLmk Na3Y8YlKVfyGgiMmDWKGjywDva3IXhMfUzUtnphJX5MxS0LC+HvC1ugBZOL/7xJbfn8X jIfebRAJoDnZeyEcq8IFYAHNDjwvPVrN4Edus9TYcd7i6PTfH41H0xde91H+qUsrm14N gGeQA+lWz2Xh5L9qz9SH8qjDpMk59ftGGjkEq0Tce/iPeDOotG18eITX5A6Nx/anrjrF +pLPsq+y3LK2SA/f+rCxBGJdHhBfqiH+Y55HREAhOHGjAThKKnV5idj2JCW7bia/PdA7 87+w==; 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-103138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103138-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q13-20020a05621419ed00b00690dc27fb97si352202qvc.494.2024.03.14.03.41.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 03:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-103138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103138-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 ECF8B1C20BA6 for ; Thu, 14 Mar 2024 10:41:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 959BE6CDC1; Thu, 14 Mar 2024 10:40:58 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC5356EB49 for ; Thu, 14 Mar 2024 10:40:55 +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=1710412858; cv=none; b=OELjq4ALiRhPl9gjms1Pt4ZAqRVRESwHZjv2zxamEWJ/sI+SgqVAfmPfIB5ohM2oc5NhuihiDJiFcWP1SJrw2esyq1h6taq/5GF7R5DTv+txqJ1TdR1Ovgyk7rmTNqsgZjUxOLqjCZtpg6lMGHDx+DRLf5g5hJLBCBcKW/K8i6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710412858; c=relaxed/simple; bh=3Uu+DDKFl8I6QZLxbU1n7j7cxGoRwBqynxfwwny0T/I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YyfVrhvUDvArewvRVh71/QhEK04miIz6MrQF0/aPVH6mY39UNPsTtzTWondhzzZT+qNKgq90P/BI03GztmhZPONNY8dR7bdDG01YGMKQ+n5VirHeOutAOHYT/Pj3BM4nssCLTRzQo5TOo773OZ9z9kErrVUMEvmvMsSEnK10+FY= 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 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> 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: <20240314070433.4151931-1-adeep@lexina.in> 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