Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp51095lqb; Thu, 14 Mar 2024 05:25:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtetnXkvfR5ZAqSHQ/pOHmWL5DY5CpNG2WQGDwWZ+v1yg2h+SKuHuckL+XgW7WcNmkEDeFCcSIQCek1FzulQcF/QLe7f3YR6KXERTMbw== X-Google-Smtp-Source: AGHT+IEav6t8EL2fS+6iwburyz0WuNy6SoD4di3VpNZvHkrH3hF4ugCYTKdTIVfnAIE8GWyUJ35C X-Received: by 2002:a05:620a:40c1:b0:788:5e65:2207 with SMTP id g1-20020a05620a40c100b007885e652207mr2195347qko.34.1710419116682; Thu, 14 Mar 2024 05:25:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710419116; cv=pass; d=google.com; s=arc-20160816; b=p50yMcg/mbaZ87H2NRn5LF/lN28bni88Z6BUCEZuNjcsY8ErhU7hoTpGoBExtLhkYt gOqmXWqy/UDcxBAK0A1ybaIp5H7TOHDLyeFZAIavC0Ji7cftoP99u8YQTmG6Oel+vxRz l1hv/0XN3BI2Je7eashRDu9Jc9obHoMPQVDECEqXD/hrglDUpup7MAe5Rp6pxPq4lsiL h9UBYdA+2Hn5X/dnEUxvwalx3IHoknWpL1Ki+QwOaZgojF2/Q//C+DCFEP7+Kz8p69XW v3dE1SG3gdYHWAsAnmWsHrvP8/YHSnGr62udRMbig4lfrUsMtQLaDGYp+S66aySqv6CS 5G2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=y+P8hvh9Ldav0OLMzi3F22QUUsRjtA0tW9GN0GADzX8=; fh=Gn/Yk8Gxbc4+hmDkx3f9NPdfmzJSnziR52yiCW7UGp4=; b=yFy0+2YD+TeQ7BciVww+M1N3UO9SSByLLEPhLSZ7pR+SwtR3SG0sjHTUJv27YVbf/x eH4yFddqc5/kb9XAos1wEMVMgPB3MiVKDRwYQMfDNGtjkExxMEvL4Aj1N+UI0yUZeYEA VlIJHOlXyUeh687sxLBY6GLAvezxqeVisnKzU0zhmGv94CeZu4rztH7SIqR10n18ZBKY kuhYAviaXcAR9sy235Er/HiA/UhkHtLNQ8mfTOp1ENsfPe3rNexeUNSv8Dfv31lpB0Bj F8uHzQj4JHOcNV1w8bhA8Y0HyfU4fQ9cRwDW2GQK2UncRlzRHp+FlD9W2nVr3c8zg5OC +ikw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=CFHKsm3e; arc=pass (i=1 spf=pass spfdomain=lexina.in dkim=pass dkdomain=lexina.in dmarc=pass fromdomain=lexina.in); spf=pass (google.com: domain of linux-kernel+bounces-103235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=lexina.in Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id az39-20020a05620a172700b007887461effbsi1541861qkb.3.2024.03.14.05.25.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 05:25:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103235-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; dkim=pass header.i=@lexina.in header.s=dkim header.b=CFHKsm3e; arc=pass (i=1 spf=pass spfdomain=lexina.in dkim=pass dkdomain=lexina.in dmarc=pass fromdomain=lexina.in); spf=pass (google.com: domain of linux-kernel+bounces-103235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=lexina.in 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 DB4311C21595 for ; Thu, 14 Mar 2024 12:25:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACB976F533; Thu, 14 Mar 2024 12:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lexina.in header.i=@lexina.in header.b="CFHKsm3e" Received: from mx.msync.work (mx.msync.work [62.182.159.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D18DC6F51A for ; Thu, 14 Mar 2024 12:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.182.159.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710419111; cv=none; b=mw9iB8IJ+ppqR79qiG+yI8RlrzdiVNQMyD1g2p+0uikHgysqajFaexoMv+OregUWK8wv6LoeyIYJnWeD2J3cv8updavTlLFwiQN6qUDPoRZ0ypJEZ9U3BK/6NzaYLOszI8stn73j2/mXyq/eLYEFtrC/qqXYvmgM669bWbWf0Ow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710419111; c=relaxed/simple; bh=V1M/Gqza5xGtBIaLU8WrDhEuB6ZDDq73sASc+hKn6xg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TardmHFKOEka9Oh1E3lT6kHzlviVmKrPFnFuZQR7jY/vCaUd7+PwNQU/qtUjAQnNK+KDFp1lhCsgXtzBIJkV00ODuDIYNmrF5l7BxYPlf0JL9RPt+lkfrj+UQwqc9UGfDVsvvrvwiqeTKRGBlWVK80xCRX4LygWn+a8SmCh26Ag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lexina.in; spf=pass smtp.mailfrom=lexina.in; dkim=pass (2048-bit key) header.d=lexina.in header.i=@lexina.in header.b=CFHKsm3e; arc=none smtp.client-ip=62.182.159.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lexina.in Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lexina.in Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6F3EC11F8EA; Thu, 14 Mar 2024 12:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1710419104; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references:autocrypt; bh=y+P8hvh9Ldav0OLMzi3F22QUUsRjtA0tW9GN0GADzX8=; b=CFHKsm3eYSnsR2sqv19cIwEf6DSHS1mrIJKtU2geXNvXq51eQPLCrBiL7p0JxXunAs7mvo xT9aBLygWGPkpPVb900grvdbTBhZS7tddruowpeS0dTy+7UFufroqtNuV1UpING0pzKp0x LOcW09ihgVS9oiVoxHpAvs6MIaXErpn7D3NBp/1uiR9Uo2WiKw4ro05uKD1B/sWme5oboC XBtZfb8MJgsikh+jaugg9DGKR+m6NFMqh4oFpXxYMl0rqALA8V3qe/HDfjhAmMiq5Xf3GT fwaI4ObpcRwHgSAnBOt1sm49Q1e1QASk9eU/Sv+Zfjsgi5Pmq/v9hr930toexQ== Message-ID: <62d45d81-1366-440f-81e1-e66395707eb9@lexina.in> Date: Thu, 14 Mar 2024 15:25:02 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/4] soc: amlogic: add new meson-gx-socinfo-sm driver Content-Language: en-US, ru-RU To: Sudeep Holla Cc: Neil Armstrong , 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 References: <20240314070433.4151931-1-adeep@lexina.in> From: Viacheslav Autocrypt: addr=adeep@lexina.in; keydata= xsDNBF+1fsQBDADh4przgt1LU4l+B6rIWel42Mg3hgdgbZ2nlIkKnaaNLXkm5rK0EJJeStd7 8sxsdk9n7UQFB3mkmgjc89zyAG+CDG/+KZQMWOsc5IvWlDebKlefieyvf9yvV4qcQTeudr3C CgUxq8qsp1fDX9jdSjz5/OMJKrxCElMxLxJTFF+FHtWvUIMr4txesE8NP7f7VnIYILEeMM8q gvptNUrWQr6KTv4XnRD/BvsRZJWnQ/a5MzMGQWzw7LeT4vhV4lYqJsXmxbGLUOKi+5ZpslR3 Ffby2kdL1Xyq6Y7Gi70RhUpKP0xGJ6gDVs6SjFSb9UxgrjwNBWZcFeSJkc6pR5JbgbYMRvdA W5CNnA8TzdfhPgO3HEDFlsVqberSBI/tMiwHWPze7jkv7ttx/Wg9+RZybFfCkGm4XvKh7aP4 jG3Td43mqhyHGzOd/EUxNITebqxqpEJTmRCisgpjr3M76aht4UFz11tP/QEuCrpDX0bOMPYA 4aohmhw5FLyWUPg0JllH6kEAEQEAAc0SIDxhZGVlcEBsZXhpbmEuaW4+wsDwBBMBCgAaBAsJ CAcCFQoCFgECGQEFgl+1fsQCngECmwMACgkQ7jaxEAJajfrgvAwA051C6jUKS6Wp4oy2Or0i B1HXCDDaCS2zgWDCa+nuI+8qVDzTx0TAlurt+S3AUv8+DHjkc4XjEHtDdigabp2nGsk51w3C WyGD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+rOkVnK6fq0ady43a7RxKP5nW0pDVclTvsAWr1CcdFrCVpH2idj7fjtAmZlMbuiEMXoo kaDXdhJtS60VrwS4xUlw4ZPQjMZdQdvpu4vGtZUfJr+8vJ757d9N3EGpFUrk+5QWozjktLVm gdQ0nlD9ji3RpwjhQWCIoi6GmdWpfdj3LzDO/DwWRLlz8iAdZG3pHSGsCmM2MJ16HbPnsSxr YrKwM/HVpqTSVsprnQogPL/xM0AH11uAbqNvIvm6sUkEmx2kdBzTKjY0YdSkpUgTauWn13bg Ay+0xfqxRvYBSsHpWpnSnsI12861OVGnYsnB8gJlJLSQjOl3Kwq36MeWbAg6Bs4PnNU4i+uO rz9PJ4vHmMYfmMDJLYWJI6pcLyAoZSE/bSTLaRV73/zjtlX85mtEL3fvh6G342uRCvAwqgI= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 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. > -- Best regards Viacheslav