From patchwork Tue Aug 1 10:00:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 13336134 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 818DBEB64DD for ; Tue, 1 Aug 2023 10:01:30 +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: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:In-Reply-To:References: List-Owner; bh=wozx5fDO+6etWbVAbnnV/roaQ3cmLmfWKAf8zb2rPzo=; b=IAWFpcwLpXApoC HkLZm8E0CnLUwJYdVfudLimiIAxp8GG8F5E9KWlvvXE4Xez9q9cAHd+sEu4uBmhhviYTk/QnPPraL pMZsU3po/i9lCTDHfxqCwmLOuV0wqEevKo7GhS0SZ/Pgt2Gm8yhm1/qEztiGFo6P7HtgmMenh4bvz XQnfZdxADbdK96SRdx6jDZvj5yfn+XGr1kMfk8CK0ATmmM5D3zbYzoqB++zoTsDMg72XIMwy0hlcZ C5LICFT46Jqv/ErpFdJukqmdX8c/UQG2Xc8AHhoKHtM6MpRhNLGwDSi5FYnJb2BJPDus199ip8AXl 3gWxXl38Bda+Xnd+hYUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQmBb-001iI6-1u; Tue, 01 Aug 2023 10:01:03 +0000 Received: from mail-dbaeur03on20603.outbound.protection.outlook.com ([2a01:111:f400:fe1a::603] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQmBY-001iGe-2g for linux-arm-kernel@lists.infradead.org; Tue, 01 Aug 2023 10:01:02 +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=IKpsKUB8pJUKKcIFApCDQXuKFHSBk2eRfnoKLUeAc7U=; b=jSXVtDUQUlB1SvSMwy359NgmQcBwGRy+7advQ6Nyxusw8AboQPuGm8bczB0jKmFdxiB2P+dgJrvo7OgsuoTsp/J0qY/rh27POO+JADxauuA7672m5/3KGbxR15TVF6OWNU3zLXZRlC9XmTNWRk4qg/3Ua+I/ZtGA8DCOPTrTQhw= Received: from AS9PR07CA0043.eurprd07.prod.outlook.com (2603:10a6:20b:46b::6) by AM0PR08MB5394.eurprd08.prod.outlook.com (2603:10a6:208:183::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44; Tue, 1 Aug 2023 10:00:55 +0000 Received: from AM7EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46b:cafe::cc) by AS9PR07CA0043.outlook.office365.com (2603:10a6:20b:46b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.18 via Frontend Transport; Tue, 1 Aug 2023 10:00:55 +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 AM7EUR03FT024.mail.protection.outlook.com (100.127.140.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44 via Frontend Transport; Tue, 1 Aug 2023 10:00:55 +0000 Received: ("Tessian outbound ba2f3d95109c:v145"); Tue, 01 Aug 2023 10:00:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b836de27df168a05 X-CR-MTA-TID: 64aa7808 Received: from e6e926b4c9cd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F3615831-7502-4804-87B1-C5CB7045BA8C.1; Tue, 01 Aug 2023 10:00:15 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e6e926b4c9cd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 01 Aug 2023 10:00:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RXPq81OZ72nfPEmDWXIXXPlWp3c0GJpsgXxabheFEc48T2+ATHqN3VYazDOUTBcI1wIuaCK7fXbNVDw//pH6Yt70E5xaK7Qt+NrcAHkzHlw9Mu9FFpuYtJabB8mZpYdLlxL17sVjlh+kCd3yFRN5s9OSupY1/KTp17qedAnNNes54kh/MrN14qGBPPxx/cl65D9lXrTgU4BrWp8iGCCz+C1XVLn/3p106W05J4AjXeOV2YX0Y4ZwfrVljM1CNSW+fFtQznDvLD0q3N8Su06r1OwrztbIq605xcTY/9HZVj4hVU7TPtOCzh0DSidvyksHXF4HSpSSzmHxOuck16UC3g== 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=IKpsKUB8pJUKKcIFApCDQXuKFHSBk2eRfnoKLUeAc7U=; b=ZXRelae6EmGtNw8nCVl5C7CaMqmC3KDJSm8GWmuHdnpmUeRgvnJizL9zW3UViD926qm5FH9DcTYH8EsOJu7tM8SvAwe8vBM9d+jxqwTXH98YefvIj5df/FhkKy/mHqMmUGVFmGcIZ2hG9EjqHYY7utIrXe/SZh5fiRhhRiCCHofkNcGkK/m54PEUfLCfVDsBEplacAHp0Yl45lFx+QTcZhJ/onBQZT4NEM19BxFoiW29QF10AOqSaial1EisSU1obLRXCDb4lnwtmybdV2NXPrCeD6V7tB+cjCEZpky69GnGNzMTpGAon4kg5yfIVBNDmmBQJCyP/bY86g6748Y0DA== 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=IKpsKUB8pJUKKcIFApCDQXuKFHSBk2eRfnoKLUeAc7U=; b=jSXVtDUQUlB1SvSMwy359NgmQcBwGRy+7advQ6Nyxusw8AboQPuGm8bczB0jKmFdxiB2P+dgJrvo7OgsuoTsp/J0qY/rh27POO+JADxauuA7672m5/3KGbxR15TVF6OWNU3zLXZRlC9XmTNWRk4qg/3Ua+I/ZtGA8DCOPTrTQhw= Received: from AM8P189CA0020.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:218::25) by AS8PR08MB6039.eurprd08.prod.outlook.com (2603:10a6:20b:23c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44; Tue, 1 Aug 2023 10:00:11 +0000 Received: from AM7EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:218:cafe::ee) by AM8P189CA0020.outlook.office365.com (2603:10a6:20b:218::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44 via Frontend Transport; Tue, 1 Aug 2023 10:00:11 +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 AM7EUR03FT049.mail.protection.outlook.com (100.127.140.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6631.44 via Frontend Transport; Tue, 1 Aug 2023 10:00:11 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 1 Aug 2023 10:00:09 +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, 1 Aug 2023 10:00:09 +0000 From: Joey Gouly To: CC: , , , Subject: [PATCH v1 0/2] HWCAP for FEAT_HBC Date: Tue, 1 Aug 2023 11:00:06 +0100 Message-ID: <20230801100008.3125054-1-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT049:EE_|AS8PR08MB6039:EE_|AM7EUR03FT024:EE_|AM0PR08MB5394:EE_ X-MS-Office365-Filtering-Correlation-Id: 9b81b0b2-89ec-4eb8-1b8d-08db927632b2 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: 80a9GcggLcO4UgwclL60dwp+bKk3vnG23XmigGCYrvxnYlxb9N9YqDRxTmNZ5sq1m2cacrWTYDIYe2kJy2YRnNVbGevau5oWXjJG4tugLleGjNQH1dt3GpNnszxyV30Vcxv67tb1Mhl5TGOKJX0lyZcbB4QGDtTzDsq7lub4eZYmv4XgkuAxhq3KDonh8asSLnDosrmuN3luUUtoek8x4kA97X6HGlaetuAs4Go1cQzkp/jJDk6y8Ldcmw1mAhCBqGc/lieJ+IOHyJ+6IKRawmljC1cWzIcg4vQ6l/Cq98itBmn4nwrCxJqfFPomAo049/4P4aJ9HKgvn3viQ3tl0ZN4dRJp8X34LtPpn+Oahdgozrvy2ui/htdBvEGQ6qikAWDEDlJGJ6VR7sJccV4h3zGcHHGk9TsOOpO2PIMUHqaD0HTQSuU1BF2iZAaUfKaQPH1TwXyx2LhghKYVHBKv9IXypoExZdbLfi6tqJhJINcdXXAKwuJChX/1isc7RLHW5H+KBx7JofNjDZ5J7jPFTLQqTmZV5QUQF3ix6hIaSZbi9KQsGPTghKUUZILgrfn1IVSJNkPVkBqNMzZSHd4ZRJPrTDEWXLsU/aZjcMPPv0ZnjSU+QYOwSsr+Acp2Iq33awtyrp/y/+fZN6Z3IlDoe9Hg0sINJB2zIgWS9BHvd+rhPksEuraGPiMNxh52dQTdMfOnjaIaq+rszp50fYqsU4pxy/jaMbUF0Q553etT1KBBALiBai7mkCoUh9DSgQc1N38E6Y4KRcQwdvBom+iHXw== 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:(13230028)(4636009)(346002)(136003)(39860400002)(376002)(396003)(82310400008)(451199021)(36840700001)(40470700004)(46966006)(8936002)(8676002)(36756003)(41300700001)(7696005)(478600001)(2616005)(2906002)(4744005)(426003)(6666004)(44832011)(83380400001)(26005)(47076005)(316002)(186003)(336012)(86362001)(1076003)(5660300002)(70586007)(70206006)(36860700001)(82740400003)(40460700003)(54906003)(81166007)(4326008)(6916009)(356005)(40480700001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6039 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 0683d057-65d9-4c22-54f5-08db92761834 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OdnQxz9sNWfPJDOqZIi2pst37oS8QYCjunFgtoO0loR5gAuCFxGljBCQRn+pt3eM6KsiXcFLG2nYkXI2HZHhbk2Gb9qDTnL/pEcer10Xs179QQEnfh5rj4VcoFLFrJJq7y+DE4KlSG4Pybgf9OB/+gdGK+849+9HXhLWgEFRgTEVVaBfA2UZtvRtHIQxWijkqi/gHjBCsV06IA7jct/EdRwYl6ieRdK4TL66DehswWWXwd8dXp8kj+sy+K+9kpdgaPDUx7jSM6U6aNqckujtzxkoSCGoJxRiOrwLBNOExj4GGKin8csMwww3f3vcAg8L8Ro0qUUF8roWOHxjcsRCS4y2G2VXb83eWO3COZik9VlY+yPNQRxNNhohiEEnrNUqGfIAeHyheZVPNLmXV09u28lJ+rzdekug2DSSZ9MkB9WSTSo+0oj3mJO2Ar77DAe6+B52ktnysdpw5IgfnwSzQUwps9RYZ+/3f7QrOlX0vmsMDxzIb0P39qmmGztsV+SMonkAV7HrUbYva4sM/z9NwP6eyydTqEV9IWQqfa1utpwF+6yi4egLxH+s6DGvkiWhJ/sakGbaC0/M3sF/HfLzF9tCn1+BaeOYSYmZkDf0ntQUAl43+nlYG0wW46XaVSh/q2AkICEMLH02tgyswJsE4zBnq9vlswrUU3a5cEG1JF42je7293MrohSCRXZDkoXRGJMl2B5GWDZiSmuwrg2Gii4yI+rx0gu+rxR1Dgnfja8/1PALOMMlE+4p30V8htro 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:(13230028)(4636009)(346002)(136003)(39860400002)(376002)(396003)(82310400008)(451199021)(36840700001)(40470700004)(46966006)(8936002)(8676002)(36756003)(41300700001)(7696005)(478600001)(2616005)(2906002)(4744005)(426003)(6666004)(44832011)(83380400001)(26005)(47076005)(316002)(186003)(336012)(86362001)(1076003)(5660300002)(70586007)(70206006)(36860700001)(82740400003)(40460700003)(54906003)(81166007)(4326008)(6916009)(107886003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2023 10:00:55.6917 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b81b0b2-89ec-4eb8-1b8d-08db927632b2 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: AM7EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5394 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230801_030100_873277_4ACC4E86 X-CRM114-Status: UNSURE ( 7.25 ) X-CRM114-Notice: Please train this message. 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 Hi, Small series for adding a HWCAP for FEAT_HBC (hinted conditional branches). Thanks, Joey Joey Gouly (2): arm64: add HWCAP for FEAT_HBC (hinted conditional branches) selftests/arm64: add HWCAP2_HBC test arch/arm64/include/asm/hwcap.h | 1 + arch/arm64/include/uapi/asm/hwcap.h | 1 + arch/arm64/kernel/cpufeature.c | 3 ++- arch/arm64/kernel/cpuinfo.c | 1 + tools/testing/selftests/arm64/abi/hwcap.c | 15 +++++++++++++++ 5 files changed, 20 insertions(+), 1 deletion(-)