From patchwork Tue Sep 19 16:27:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 13391603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B14FCE79A8 for ; Tue, 19 Sep 2023 16:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q1iPyR9Mpe8TLwM+A+IrKYApcSdbRJXD6QIfmKbq4Hg=; b=BtFOJG7I00EGk3 QmzLdKoKSSNE7pt95ndraEY5tpB5kbA1FRYgatx8UrB3ccUJMU2l6bnLAJuQiKe7R4WvF1dyo5JWg RtyxhnkdOOcMtRnIe+6Te3MlCPv01MqDVgsgBaKivghUoQBatUMbO7qfu4+w8OCagC58qllLBVrpi wm11O5RzQlBOfcEHaF1hiL3gmfi6ut4ApRJJipcuhlaPHhWG9ZZYDbvQzct9u/jIzIGms/4OwAJc9 RRODNj9RNeLQgds3D4MaRuECJGdzTs7qMyy18y5JC7oQcP9eixLg28kL7RfdyVDqTNmKIeG8XAMTl XC9ZyYdl9Ab8FqpdG1hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qidoz-000skh-2o; Tue, 19 Sep 2023 16:43:33 +0000 Received: from mail-he1eur04on0600.outbound.protection.outlook.com ([2a01:111:f400:fe0d::600] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qidox-000skH-0v for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 16:43:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gvebk5wjcVRxS6gispSJllq9eYOcRuxPdeHec4C1uV0=; b=TQo+ZjB5u3CAD/gMuh+rTr8rijq9bB5WZQ+QvUty02L/AOoab7N+OxVV5cOwtwWq8VFjbws6STqlZguYOnRHdWX9KYGAwz4cenxhrTTiLOfjEBw9KdUKGnGmwEqykNEWZoI5qcgEe8oNBzCqYMDP84udwBWAvAHGDO7JARLxHQw= Received: from AS4PR10CA0028.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5d8::13) by DB9PR08MB6457.eurprd08.prod.outlook.com (2603:10a6:10:23e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Tue, 19 Sep 2023 16:28:51 +0000 Received: from VI1EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:5d8:cafe::37) by AS4PR10CA0028.outlook.office365.com (2603:10a6:20b:5d8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27 via Frontend Transport; Tue, 19 Sep 2023 16:28:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VI1EUR03FT028.mail.protection.outlook.com (100.127.144.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.16 via Frontend Transport; Tue, 19 Sep 2023 16:28:50 +0000 Received: ("Tessian outbound d084e965c4eb:v175"); Tue, 19 Sep 2023 16:28:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 79558c876b548360 X-CR-MTA-TID: 64aa7808 Received: from d7c489cca1b6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 74C60B8F-7B4C-4466-BC0C-52058E53A2C7.1; Tue, 19 Sep 2023 16:28:12 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d7c489cca1b6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 19 Sep 2023 16:28:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oCbMdan5vIYqTZzVQpa5312bqpyyibCCZj8lHnByjtLG57TJekmxRR1EE0v8+bFooBDciFB3X84HjXoiW4Ai8p/e8m1+paRP4zi7MrZU2BDxHAxbNE8vG+DVZzmKvDUIUxe1SGC39OBdi42AvQuaOc0sSLcJtG6SJFCHLXjOTlM4wb25O+ejIAfjCQ92BtbZ/9vzhpG979MDLM4EulMPNeRCFHMthRZqE+Q1zzYr3Cxw9E3KWXYN4MQplv8ITtxVR+baL8ZO2y9JFRW/8LEwemIikbOngadORy5/a1hA3jRBt6PB5HlKRtyfRbR2sCLtRfiGvfw+mtMDoCCd1eAVFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gvebk5wjcVRxS6gispSJllq9eYOcRuxPdeHec4C1uV0=; b=jBox+QI+xzLW75h5kSnHC5i3bpFQ/vLm3k2ol1O8nZOfgM0KotczGppEQDVU1rv/3vTtZUMlYZHojP2kNi1++OjCP2+U7uo7meLq+rvpw7nbeKCW3uzLgh24pKdUvA2fZMKT1K4ih1glgyatJIwwNED6NiuiWaoo/iLQ1xtaDPgd2BFFpr2MLU7wtkU53rGCcz1/kNbwOgz9Dyo6oq3hoftzDJiPRSeljPuAroIzu1vKf8zvbEf20pWBHFBHNpCGFvuYtH9aH/TOHDLUO5vA6MG+uQRxS5x9EZDBCbctbakqkFbwoY7bsDqJSvvSlqjJWi0+b0/fTijfKsXGwya4vQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gvebk5wjcVRxS6gispSJllq9eYOcRuxPdeHec4C1uV0=; b=TQo+ZjB5u3CAD/gMuh+rTr8rijq9bB5WZQ+QvUty02L/AOoab7N+OxVV5cOwtwWq8VFjbws6STqlZguYOnRHdWX9KYGAwz4cenxhrTTiLOfjEBw9KdUKGnGmwEqykNEWZoI5qcgEe8oNBzCqYMDP84udwBWAvAHGDO7JARLxHQw= Received: from AM5PR04CA0025.eurprd04.prod.outlook.com (2603:10a6:206:1::38) by AM7PR08MB5304.eurprd08.prod.outlook.com (2603:10a6:20b:10e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Tue, 19 Sep 2023 16:28:09 +0000 Received: from AM7EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:1:cafe::6e) by AM5PR04CA0025.outlook.office365.com (2603:10a6:206:1::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27 via Frontend Transport; Tue, 19 Sep 2023 16:28:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT025.mail.protection.outlook.com (100.127.140.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6813.18 via Frontend Transport; Tue, 19 Sep 2023 16:28:09 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 19 Sep 2023 16:28:07 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Tue, 19 Sep 2023 16:28:07 +0000 From: Joey Gouly To: CC: , , , Subject: [PATCH v1 1/2] arm64: add FEAT_LRCPC3 HWCAP Date: Tue, 19 Sep 2023 17:27:56 +0100 Message-ID: <20230919162757.2707023-2-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230919162757.2707023-1-joey.gouly@arm.com> References: <20230919162757.2707023-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT025:EE_|AM7PR08MB5304:EE_|VI1EUR03FT028:EE_|DB9PR08MB6457:EE_ X-MS-Office365-Filtering-Correlation-Id: 2deb9b9e-ca51-4551-97c9-08dbb92d81ba x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: McLAcS3q1O/p794eJjxQ/U7pI8177mqWOPzLD53O1gnds/5+a+5YmLHySoKBI8e4No518TRjwlykJBrxdUCNiwVro2EencNw6qOOzy+ddIDQsML2V/SPhqE508Ahp2CfdVdJAbu6P4Qi2XX1uSSASAYfsx5jdvxeVKmKWpYZnFTdz8geg+zNWX8GE/6fCrRlatfDMmQYpIHGedRoNZXWhAAoKL48v/Z33OX3H9nGB0fDUw97FdLSDSKhNJpFJCXvw4DuC578AE1IsBHb1dX4U+3LgvcsXRMRxHSjxxQ3jdlm5zXYU0LcJabizcjGR60HDBk4dPiek/HtluGQ+nmFVSNXDtcoty5Ay11DiA94meI8YnHfbd+3cui07nkAz0CbyZI5jYWQKrBN22JUSCuryP9s7KAvIukkNn88zsP8p+OIWYw0t0uIkwlTCBpTGiSooog49L6Axry47/o1Tr7u0WUUCVodSxwYJ5DAea68bWVssLqsgcVIdy2jjWFZb9dx3OzJC4mKlq0kNm4Pu5ixDTkJ34agfeXVcOFDGUovrfoWExhlm4DilS0R1LolBd7FS0TUfYqyzbUNJ8Tq6SdCf3C7V+Cx3hfr+M8ylRtJktwspEyv/czKeoB/YgDCE0kDjcbI7zrhAZsUJZpr79urqJvZLvVbuNNX2jsBdNdKxAlFrYBcpNB+qksY/aYjRYOpJUiTP9mArwsPfB5S3ulSqCV5jAyeEsRr0Bd/HljUCUnRrykK7+QEvAMdn4V/cuM+ X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(376002)(396003)(136003)(39850400004)(346002)(451199024)(1800799009)(186009)(82310400011)(46966006)(36840700001)(6666004)(7696005)(1076003)(82740400003)(40480700001)(356005)(86362001)(81166007)(36756003)(36860700001)(26005)(4326008)(47076005)(2906002)(426003)(478600001)(6916009)(8936002)(8676002)(5660300002)(2616005)(316002)(41300700001)(44832011)(54906003)(70206006)(336012)(70586007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5304 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: fa6764e9-6eac-4cd1-6dd2-08dbb92d6925 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qmG8J24ap7fVVx0n5DB0+yNZZ4gSoaSoxbfPSbl2mkTKQ5H72ErE2VU+hPF86s2Cld1Kfh58gqdDX9VOUoYqzDz3ofKecB+aFoGikYqYKMtStICaMMvgEG7pspi5ArfimYvTk/lw5hXl92WT57QQaeFUh+zJOvoZlM0bq9Jwm62NPFKHDHyRexq1AC1LiyFjBM0aaWpmG2+2zVZx1nWYwv2yQxyVnCeeOTRg33Sbuxb7JrPXmwh699zUkUPG2DLsnKfLBrx/LFT6+84gB5ZgXSvOGEKmpkn+ca7H4Nk+FkNKRZwceLPxxFABcpMFPRdzYruo/URRH2Ubz4gwJedCp+ONllVHEr9r0JunJwnLZAAos6f+bb2WJXTab94FvGAk/5FeaGpQTBJB5Lo2iMULMxbkCqAjgDEVwg4DT/fAX/xo3uS9RRS57huucdfyrGYGJf1dOVoc0d/v8xpBUlOMLH8/PGT3oDocFoQf+A9/QXXJ4nLUlNXIz8w2S0KWQA1K/6h1k+pg+0C0vfDmoXKs8rPFPp7rF7DSHCaSTArgjtQOL8IZfsnbL3svhzxZ6j1Ft+/vRAPmllzG65CLHZodPUAm2IB8PnN3d5QaKSP2GdK+58FajpmnY7a9XJ9lldbGvCh2BEmoKEFrDqj1fzFmuLhmIjcYI+p1SCSJx4UuyV0Dt7he5EivtPYDy6VUtPMt/KIqDeNM/uimWp4khRzYbMcbCQ4YLq9K6ODdPLlUamnEaHp49jBe0VY/R4ncL/AA X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(376002)(136003)(396003)(186009)(1800799009)(451199024)(82310400011)(40470700004)(36840700001)(46966006)(40460700003)(7696005)(6666004)(36756003)(82740400003)(81166007)(86362001)(47076005)(107886003)(36860700001)(2616005)(336012)(426003)(40480700001)(1076003)(26005)(70586007)(70206006)(54906003)(316002)(6916009)(41300700001)(2906002)(44832011)(5660300002)(8936002)(4326008)(8676002)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2023 16:28:50.3119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2deb9b9e-ca51-4551-97c9-08dbb92d81ba X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6457 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_094331_355467_8075E7F8 X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org FEAT_LRCPC3 adds more instructions to support the Release Consistency model. Add a HWCAP so that userspace can make decisions about instructions it can use. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon --- Documentation/arch/arm64/elf_hwcaps.rst | 3 +++ arch/arm64/include/asm/hwcap.h | 1 + arch/arm64/include/uapi/asm/hwcap.h | 1 + arch/arm64/kernel/cpufeature.c | 1 + arch/arm64/kernel/cpuinfo.c | 1 + arch/arm64/tools/sysreg | 1 + 6 files changed, 8 insertions(+) diff --git a/Documentation/arch/arm64/elf_hwcaps.rst b/Documentation/arch/arm64/elf_hwcaps.rst index 76ff9d7398fd..3cc1d7662f0a 100644 --- a/Documentation/arch/arm64/elf_hwcaps.rst +++ b/Documentation/arch/arm64/elf_hwcaps.rst @@ -308,6 +308,9 @@ HWCAP2_MOPS HWCAP2_HBC Functionality implied by ID_AA64ISAR2_EL1.BC == 0b0001. +HWCAP2_LRCPC3 + Functionality implied by ID_AA64ISAR1_EL1.LRCPC == 0b0011. + 4. Unused AT_HWCAP bits ----------------------- diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h index 521267478d18..802e74cdb6ad 100644 --- a/arch/arm64/include/asm/hwcap.h +++ b/arch/arm64/include/asm/hwcap.h @@ -139,6 +139,7 @@ #define KERNEL_HWCAP_SME_F16F16 __khwcap2_feature(SME_F16F16) #define KERNEL_HWCAP_MOPS __khwcap2_feature(MOPS) #define KERNEL_HWCAP_HBC __khwcap2_feature(HBC) +#define KERNEL_HWCAP_LRCPC3 __khwcap2_feature(LRCPC3) /* * This yields a mask that user programs can use to figure out what diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index 53026f45a509..5d24fdc8f5b4 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -104,5 +104,6 @@ #define HWCAP2_SME_F16F16 (1UL << 42) #define HWCAP2_MOPS (1UL << 43) #define HWCAP2_HBC (1UL << 44) +#define HWCAP2_LRCPC3 (1UL << 45) #endif /* _UAPI__ASM_HWCAP_H */ diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 444a73c2e638..5f6c8389ff43 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -2807,6 +2807,7 @@ static const struct arm64_cpu_capabilities arm64_elf_hwcaps[] = { HWCAP_CAP(ID_AA64ISAR1_EL1, FCMA, IMP, CAP_HWCAP, KERNEL_HWCAP_FCMA), HWCAP_CAP(ID_AA64ISAR1_EL1, LRCPC, IMP, CAP_HWCAP, KERNEL_HWCAP_LRCPC), HWCAP_CAP(ID_AA64ISAR1_EL1, LRCPC, LRCPC2, CAP_HWCAP, KERNEL_HWCAP_ILRCPC), + HWCAP_CAP(ID_AA64ISAR1_EL1, LRCPC, LRCPC3, CAP_HWCAP, KERNEL_HWCAP_LRCPC3), HWCAP_CAP(ID_AA64ISAR1_EL1, FRINTTS, IMP, CAP_HWCAP, KERNEL_HWCAP_FRINT), HWCAP_CAP(ID_AA64ISAR1_EL1, SB, IMP, CAP_HWCAP, KERNEL_HWCAP_SB), HWCAP_CAP(ID_AA64ISAR1_EL1, BF16, IMP, CAP_HWCAP, KERNEL_HWCAP_BF16), diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 98fda8500535..4b8a06c9cbe3 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -127,6 +127,7 @@ static const char *const hwcap_str[] = { [KERNEL_HWCAP_SME_F16F16] = "smef16f16", [KERNEL_HWCAP_MOPS] = "mops", [KERNEL_HWCAP_HBC] = "hbc", + [KERNEL_HWCAP_LRCPC3] = "lrcpc3", }; #ifdef CONFIG_COMPAT diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 76ce150e7347..aa701aa56c0f 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1305,6 +1305,7 @@ UnsignedEnum 23:20 LRCPC 0b0000 NI 0b0001 IMP 0b0010 LRCPC2 + 0b0011 LRCPC3 EndEnum UnsignedEnum 19:16 FCMA 0b0000 NI