Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1900877rbb; Tue, 27 Feb 2024 05:04:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX06AfxOcyuR6d444kSogudNWAXyfQDziAHio4XTi63ZHl82Yx/f3gLb0LxmAYKkeUh7XyRPf8r/wZzqL2A42/WXMbf/xwzQHKsXBTjhg== X-Google-Smtp-Source: AGHT+IFWx6JpMZ1gMcOI+ak+cc7N/WATLc2aqsLAtb5s89SCMnUKva24NwhlQbfc5dt6PnVT+eSH X-Received: by 2002:aa7:d9c8:0:b0:565:ebf3:e28a with SMTP id v8-20020aa7d9c8000000b00565ebf3e28amr4167266eds.31.1709039062372; Tue, 27 Feb 2024 05:04:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709039062; cv=pass; d=google.com; s=arc-20160816; b=KO/Hr+fvyOZhKRnsfrv9cnOFQvHBGIpKQdOvRrUuwIBYzLx9/dmMvXoLnHfVNrusdj VUVLG9otY5vIfC8zI4VrAcDxh+zdJPs9kWCIKswpJckJDZgLjrjgNElDcOwL4nVk+C5z KZKjdPHIJBLxtUNl8PKMvbZYewnoa8d92s769M8iMYZrDovMKSVEM7CIP+F8AyMdkT6g mhGvzf8Yc+Rrwvqn0w888Fe+2t3ZABb0ch1H9zucLBLEmBrU5OUUiFhcSy2psJeiin4l CQK3cl9ZqldjXzc3eSHMZqe32ETZXgC8y9QKNBj3F6FzQbSJ03kMwp+dvnBepgKGUDtO nLyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=HptIF1yWZvMjjphHz7xj8eIlIunqnVXVXD3nCrOY+7Q=; fh=6Nv8VGfKj9V2m8bwvoA7w5anHxljL7dWwwcCIySQ++M=; b=W95/GwEnunMiymQJSa8mWP0KuM2OPEExgixLis2O//NCE8CJItZg9K7XRdxH4CJRgY cLzrlhV598q9bH+z4CWIduUniJEnhZ24aC371GBLG2linWWfVZN6uimPp3kCTPMbXcKe WVzJ8g4IQ7n4V5nzT/hqCIQQjeehaNbekFHaxKZ2OML9u19fMCJf1yq19oYthE8GnUCP iIEInerbEw9O7f41GwarebAs1RrfHWBT9TlpVMwUBtS3jUgkyBx9ly8SpJK3yyEQfBGi aPxlYHYLQL4IZub1gFfwA+F/00dnt39Bq+RVLJ7dtaIcCKjZhMv4YtQ9RLpX1VSU3KBN o3Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kezAT0w6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u1-20020a50d501000000b0056601e9fbacsi702951edi.616.2024.02.27.05.04.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 05:04:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kezAT0w6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id F130F1F26188 for ; Tue, 27 Feb 2024 13:04:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B665113AA49; Tue, 27 Feb 2024 13:04:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kezAT0w6" Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24AFE13329D; Tue, 27 Feb 2024 13:04:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709039050; cv=none; b=Gjm3wxOCkDQTwAWQzgSY2b4p76y3e0stCg/yXLwF/uPbueT7szcfWypJksxfOhOQeZ3l9+LvhUd3dnVqWDv/S3pJ6YHPVEI90EvwySAO15vCiiVo3IZUajwh2GN4LgaJipj1VVP8EtwcBdRdkWZieUn+p2JPSOpeOf6iBx3PAsI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709039050; c=relaxed/simple; bh=NlcmpxMFcKuSWGfjXh3Cy0nln/RX9DconWQ2TonOgzs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WbsUiPcOQP2YruyQKF6s1IlQtMz1YOrvMGhYlYmT/P5oS/+j6G/f3riXC0+U6MFfH60PSw/f9RgeMQu4dURUoZ063Klv5YEKcJ6/ahuUeB5AV7e+E3Ef9lbFjCTzKW9exrb0WcGYVt4u+fGR7bRXZMONjJoaaavVFe/2DkVR4Cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kezAT0w6; arc=none smtp.client-ip=209.85.161.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-5a058b9bd2dso1958012eaf.2; Tue, 27 Feb 2024 05:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709039048; x=1709643848; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HptIF1yWZvMjjphHz7xj8eIlIunqnVXVXD3nCrOY+7Q=; b=kezAT0w6/Q0XrbrYHmQJF10Tn8UolVQL0oHiV2Ji3n6WAtCZTFSRmqJ/9Tg2jn/wmP s84uFlOVVgmtWJpgFb6pLbeiVqBsg96mWcfzZiGQSDq0YA9diZXibFIVTP51QZOGfDQg pbkcWsxI71RlpqQBbpn0W+WIRD5QgQDpshwTsZr10OBgzMM/K9KqVkl1kBpO5DVE+thw +KXPatmrFaQdrx/ZDT5Rd6ev3OzrdvoojPiyLLxddc6FZIFC0za37NyLG85aznvN0j3P dPn2GnH1iUgNG9iTuFbrsMzoldgKQPNE5WnqwKvB4zJ0q1YNLGNk9XskQ7LpdRAII9bj xAhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709039048; x=1709643848; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HptIF1yWZvMjjphHz7xj8eIlIunqnVXVXD3nCrOY+7Q=; b=FMV8nvRMQmBnC5s81dIlnppJf2v3jrxGP2J0fx+pMVHXZmqMD76Lyx8waotBsLGekW YYdY2UXIU+c0Pv3D/+R9sTvNENqknXFCSQz2vjaNCE5M6upX4JUgmpTZtbBhPTIX1183 dT1iViiXzw7gKU3Jpj/G3nKX6n9zeo5ZRMExoEUTzJs54hdxig1kh/IrmxQEesJPKRLU bRfdeynKe4J2r3vuD+13NYeFfBOVQ9Rd7yEwazp6eBnC2mdMIGmqMpYnrZHuZ6qiSKzW Vhj1Ismuge7P+GbQN73VjmgD2FlDP3Ck80qwudE6/6kdFjakSANivwSgUfdGuNhIrYjL k6bA== X-Forwarded-Encrypted: i=1; AJvYcCXWI7zVsitsFUKihQFTElf0s/UWCDyvBWklDu0oY4TPi2ywtzCE3N7XVp4gM0v4YYEOXLWc37ZMbLKxbnfvhj3vk0h/MKUQ9fN/pnBSMtuyqX8TsP1ULFa2wBpaUrxgLQxNkqhxfUsgCw== X-Gm-Message-State: AOJu0YzVqJfU6nMn5hcWmLX/RmUFHGBmT8q1mqrr3bYQbrajYKbQgDXm 6KCPT7rvM6y7/r5phdcaXXOW75G4biOlklNebkacL21e+x+RsuOV0rc/gATNQRQL1J2tHQccVYQ ehFz5P4WfHQOGzrg1kcq2PbIVMfA= X-Received: by 2002:a4a:6f4d:0:b0:5a0:30af:6b6f with SMTP id i13-20020a4a6f4d000000b005a030af6b6fmr8367251oof.7.1709039047973; Tue, 27 Feb 2024 05:04:07 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240205171930.968-1-linux.amoon@gmail.com> <20240205171930.968-4-linux.amoon@gmail.com> <4248e19e-5f2f-4e4f-a869-a0fec81b16bd@lexina.in> In-Reply-To: From: Anand Moon Date: Tue, 27 Feb 2024 18:33:51 +0530 Message-ID: Subject: Re: [PATCHv1 3/5] arm64: dts: amlogic: Add cache information to the Amlogic G12A SoCS To: Christian Hewitt Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree , linux-arm-kernel@lists.infradead.org, AML , LKML , Viacheslav Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Christian / Viacheslav, On Tue, 6 Feb 2024 at 13:23, Christian Hewitt wrote: > > > On 6 Feb 2024, at 11:48=E2=80=AFam, Viacheslav wrote: > > > > You missed the AXG family with the Cortex-A53 CPU. The datasheet does n= ot provide information on cache sizes. Given that the A113X/A113D are equip= ped with the Arm Cortex-A53 processor, it is assumed they use the same cach= e size as the S905/S905X/S905X2 models. > > GXM is also missing, and also using A53 cores. > > Christian > This patch is valid if the hardware supports perf PMU events, see below I dont have the hardware. Best way to let the Amlogic SoC members comment on the CPU L1/ /L2 cache s= ize. But with the lack of pref PMU events we cannot test this feature. alarm@archl-librecm ~]$ sudo perf list List of pre-defined events (to be used in -e or -M): branch-instructions OR branches [Hardware event] branch-misses [Hardware event] bus-cycles [Hardware event] cache-misses [Hardware event] cache-references [Hardware event] cpu-cycles OR cycles [Hardware event] instructions [Hardware event] alignment-faults [Software event] bpf-output [Software event] cgroup-switches [Software event] context-switches OR cs [Software event] cpu-clock [Software event] cpu-migrations OR migrations [Software event] dummy [Software event] emulation-faults [Software event] major-faults [Software event] minor-faults [Software event] page-faults OR faults [Software event] task-clock [Software event] duration_time [Tool event] user_time [Tool event] system_time [Tool event] armv8_cortex_a53: L1-dcache-loads OR armv8_cortex_a53/L1-dcache-loads/ L1-dcache-load-misses OR armv8_cortex_a53/L1-dcache-load-misses/ L1-dcache-prefetch-misses OR armv8_cortex_a53/L1-dcache-prefetch-misses/ L1-icache-loads OR armv8_cortex_a53/L1-icache-loads/ L1-icache-load-misses OR armv8_cortex_a53/L1-icache-load-misses/ dTLB-load-misses OR armv8_cortex_a53/dTLB-load-misses/ iTLB-load-misses OR armv8_cortex_a53/iTLB-load-misses/ branch-loads OR armv8_cortex_a53/branch-loads/ branch-load-misses OR armv8_cortex_a53/branch-load-misses/ node-loads OR armv8_cortex_a53/node-loads/ node-stores OR armv8_cortex_a53/node-stores/ br_immed_retired OR armv8_cortex_a53/br_immed_retired/[Kernel PMU event] br_mis_pred OR armv8_cortex_a53/br_mis_pred/ [Kernel PMU event] br_pred OR armv8_cortex_a53/br_pred/ [Kernel PMU event] bus_access OR armv8_cortex_a53/bus_access/ [Kernel PMU event] bus_cycles OR armv8_cortex_a53/bus_cycles/ [Kernel PMU event] cid_write_retired OR armv8_cortex_a53/cid_write_retired/[Kernel PMU event= ] cpu_cycles OR armv8_cortex_a53/cpu_cycles/ [Kernel PMU event] exc_return OR armv8_cortex_a53/exc_return/ [Kernel PMU event] > > > > Best regards, > > -- > > Viacheslav Bocharov > > > > _______________________________________________ > > linux-amlogic mailing list > > linux-amlogic@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-amlogic > >