From nobody Tue Dec 16 23:10:08 2025 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 49A8F27A93E for ; Tue, 6 May 2025 11:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746531757; cv=none; b=RZaFN4LhxQ2SigvZ0UC1ksjAxjeqwCk3f9vf32LSf/7uKxwxW4FDuZ4r+R5gtR5eip+UT6XfbP1ecdDJDYEFqnVDT/RZ8VXscJF+pMHSPaEWU/Ap6T58hElZ48u1xqPDQTYfnwzD9HOYNOo4lYqGw7uhx6eJ22la+7Zvm32rIwY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746531757; c=relaxed/simple; bh=gsVA8ADxmNU5sFAxcN6FUauD6AhKeHsJ1+2Sh2Sunl8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZntxLjsFzpyNTeZenUJJ2yrLF4WUAap8wGTKvTlYX0UPQXETr3peO+2E2hhcxDGeMxhrQD1fPjtjcyLfv79xusMSqBGYzct5zAtA06N1FL96Eshv9sxK32YSI+XKSTvEsWQifI89uaPl1B2tAgSHvjgHzupSWfMYj5NDL8WhqCA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=um/8Z1k5; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="um/8Z1k5" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3995ff6b066so2627201f8f.3 for ; Tue, 06 May 2025 04:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746531753; x=1747136553; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=61Iqgtu46/FNdhFy61CVblGgsvlOmM6sXXaQm3S4mzk=; b=um/8Z1k5zhv3S5SsgCKXeDuZI5btuRH9N1jWhKqGv7T0FnukE6DLR3Qjftr1I8ydXP WTEdXp2kzRrZeTAenwTRgw5We8PtKfIDJWV+B760tpsXEMNfYtDytPIgbO3jS+8+kLrI E4jDWKH4R8gMj609scv45fwoyM+CqgOcfahM+bLcCopnCoe4gkKUg4AudCEu35y5rjRI fXuoRH6sB4MCknnnuGlP3E1zG6wc6Gf6juLh2nkDSyuQgNGMWZsdKkqqa+U6g6vuafYd +DqVqEYqHRzMmSg6JFc2Kqcm6d8oRq+fRIHl9XqNAgXTmLsQitS1tR3+GHLJyaGfpf/l 9CnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746531753; x=1747136553; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=61Iqgtu46/FNdhFy61CVblGgsvlOmM6sXXaQm3S4mzk=; b=Zfzob1evJG3xPWVQ7f60e0XXMHJ1DL7usH4EIj4BlH2V8QNCkeuSm8eleNag1DpWTx W0XhiPLW+YBWhENlNBpo0bhn2uU/HY1C+i8s96cvaPN9njzCUowM/wJMb35BWaYjacA7 yqoIyzgA7IQM1oGnGvzn2O64+69mIPPT1CtXKGT/iTkA/dLHmZoHuy98+weP76WtyVYQ BKuon0jEC+GFAOKNNs58URAvUwUysruLYbMK1kbHqew2zG1qEDw66A67Q528TzMHoQca 900eSaWrv9QGwa+Wv61UDBVX85df95C0Jp1RGeLjMZiQKCUatIwinSI3Z/oqWrH2kKPO q1EA== X-Forwarded-Encrypted: i=1; AJvYcCVO9jtpESzchRK0CNEhtRr4RTq/9d6PKTNBIr0e6iIvW6IuHUeuL0FQisKdwY/iPpj7PkzjtLGcAYG9P6Q=@vger.kernel.org X-Gm-Message-State: AOJu0YxzMnX6KsI3TB5L+kt50kiVgQOKO+cUkpCsOuRhjRASYLQwgzWy HrOccpEwwtkyYemQnDjA1vSfl1NjnjaySSX0RWdL4wxR71P+wzE4dW0U28E+6jc= X-Gm-Gg: ASbGncuVYuyL2tj6BvI3aEEZQv8bxFUaox/j2Pd1Cg3rY+rOEYVI+W5iO6w2kYjJ8fo xMLtvceaZ1uWGVT+XwpZY3UMQ6iNzhXXXlgt/4K12kYgQ3j7114O/3BCRSNqjPrw7UdEnqR86Ss KrFc+KCPiR/9rn05WUfcB55AvCgzMSBI7acDxKAp95s+pjIRVe1DdMrPif4hBNd5xE2W7O9zX6h YzBOsKfxJ2/gmp+94ujJjs/KMjWhjCA1wIIAX0+gmJDvvmuRJyJ0tXgwsaC0EkOpbvzmyB056Hh LoBIHv7A5foJccDXaiRA20ZSutdJ+Ot6+QlnWKyNbR0fzu8= X-Google-Smtp-Source: AGHT+IGOdg/E7hDqzaYj4d5eAC+LYCA9Y7Nh4kV6qn5WCG2sjJC4tu8qT06CrXeaclDgMwZbgMGuJw== X-Received: by 2002:a05:6000:402b:b0:39c:2692:4259 with SMTP id ffacd0b85a97d-3a09fd7a2d5mr9000895f8f.21.1746531753539; Tue, 06 May 2025 04:42:33 -0700 (PDT) Received: from ho-tower-lan.lan ([77.81.75.81]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a099ae344esm13198473f8f.25.2025.05.06.04.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 04:42:33 -0700 (PDT) From: James Clark Date: Tue, 06 May 2025 12:41:33 +0100 Subject: [PATCH 01/10] arm64: sysreg: Add new PMSIDR_EL1 and PMSFCR_EL1 fields 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250506-james-perf-feat_spe_eft-v1-1-dd480e8e4851@linaro.org> References: <20250506-james-perf-feat_spe_eft-v1-0-dd480e8e4851@linaro.org> In-Reply-To: <20250506-james-perf-feat_spe_eft-v1-0-dd480e8e4851@linaro.org> To: Catalin Marinas , Will Deacon , Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Jonathan Corbet , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Zenghui Yu , leo.yan@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, James Clark , linux-doc@vger.kernel.org, kvmarm@lists.linux.dev X-Mailer: b4 0.14.0 Add new fields and registers that are introduced for the features FEAT_SPE_CRR (call return records), FEAT_SPE_EFT (extended filtering), FEAT_SPE_FPF (floating point flag), FEAT_SPE_FDS (data source filtering), FEAT_SPE_ALTCLK and FEAT_SPE_SME. Signed-off-by: James Clark --- arch/arm64/tools/sysreg | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index bdf044c5d11b..80d57c83a5f5 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -2205,11 +2205,20 @@ Field 0 RND EndSysreg =20 Sysreg PMSFCR_EL1 3 0 9 9 4 -Res0 63:19 +Res0 63:53 +Field 52 SIMDm +Field 51 FPm +Field 50 STm +Field 49 LDm +Field 48 Bm +Res0 47:21 +Field 20 SIMD +Field 19 FP Field 18 ST Field 17 LD Field 16 B -Res0 15:4 +Res0 15:5 +Field 4 FDS Field 3 FnE Field 2 FL Field 1 FT @@ -2226,7 +2235,12 @@ Field 15:0 MINLAT EndSysreg =20 Sysreg PMSIDR_EL1 3 0 9 9 7 -Res0 63:25 +Res0 63:33 +Field 32 SME +Field 31:28 ALTCLK +Field 27 FPF +Field 26 EFT +Field 25 CRR Field 24 PBT Field 23:20 FORMAT Enum 19:16 COUNTSIZE @@ -2244,7 +2258,7 @@ Enum 11:8 INTERVAL 0b0111 3072 0b1000 4096 EndEnum -Res0 7 +Field 7 FDS Field 6 FnE Field 5 ERND Field 4 LDS @@ -2287,6 +2301,10 @@ Field 16 COLL Field 15:0 MSS EndSysreg =20 +Sysreg PMSDSFR_EL1 3 0 9 10 4 +Field 63:0 S +EndSysreg + Sysreg PMBIDR_EL1 3 0 9 10 7 Res0 63:12 Enum 11:8 EA --=20 2.34.1