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 047FAC433FE for ; Wed, 26 Oct 2022 05:51:56 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=oJpR9csbLULr+st1/csJAmKwhbxLCFUALo1nBFJ4Xyc=; b=iYYsf1xalWMnWp PF/tSRtpciLZBzRKl3FXfDF/EnqLAlq33RNP6MGyZqwRTeni0KcSgLQkRcB6578fQTuFbU0zKS4J+ LvMyjBwGL3Lcnr0s6szNikwzNW0+AlHQqJGnlomIokahXAy47S48uRMe9t5cYR+ABz1kW/DHr2ufP DrMufc5eDEboKcrunqlKak65UpkIcZKu7O65v6LArWzL8QyZ58fliTByiYcHBiqLQefIXjthr/HKj TwzxypVFjjPY+CpoApG4q4K1ZB6nNNEBM2iddT39hO7rrZ9gbxAENF/fJ+WqB6I83IxZOph+bDZzi U2iqnp8PS4sSLaotA8Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onZJR-0082tm-Rb; Wed, 26 Oct 2022 05:50:49 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onZJM-0082sF-V3 for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 05:50:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 930B523A; Tue, 25 Oct 2022 22:50:45 -0700 (PDT) Received: from a077416.blr.arm.com (unknown [10.162.42.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 770C73F7B4; Tue, 25 Oct 2022 22:50:37 -0700 (PDT) From: Amit Daniel Kachhap To: Russell King Cc: patches@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, Amit Daniel Kachhap Subject: [PATCH 0/8] ARM: Expose Armv8 AArch32 features via hwcap Date: Wed, 26 Oct 2022 11:19:53 +0530 Message-Id: <20221026055001.12986-1-amit.kachhap@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221025_225045_086282_0A0BC622 X-CRM114-Status: UNSURE ( 8.60 ) 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi All, This series advertise availability of Armv8 features present in AArch32 state. These features are mostly Advanced SIMD(fphp, asimdhp, dp, fhm, bf16, i8mm) and few others(sb ssbs). These features are already exposed to user in arm64 kernel. A similar series advertising the features in arm64 kernel in compat mode will be sent separately. Some other remaining features(SPECRES, ETS, nTLBPA, CSV3, LSMAOC) are not advertised in arm64 kernel so left here also. The entire series is divided feature wise as present in Armv8 manual. The details of these features can be found in Armv8 architecture reference manual available from https://developer.arm.com/documentation/ddi0487/gb/?lang=en All the changes have been tested on Arm FVP Base Revc model after adding necessary model parameters. The series is based on Linux 6.1-rc1. Thanks, Amit Daniel Amit Daniel Kachhap (8): ARM: Define Armv8 registers in AArch32 state ARM: vfp: Add hwcap FPHP and ASIMDHP for FEAT_FP16 ARM: vfp: Add hwcap for FEAT_DotProd ARM: vfp: Add hwcap for FEAT_FHM ARM: vfp: Add hwcap for FEAT_AA32BF16 ARM: vfp: Add hwcap for FEAT_AA32I8MM ARM: Add hwcap for Speculation Barrier(SB) ARM: Add hwcap for Speculative Store Bypassing Safe arch/arm/include/asm/cputype.h | 4 ++++ arch/arm/include/asm/vfp.h | 6 ++++++ arch/arm/include/uapi/asm/hwcap.h | 8 ++++++++ arch/arm/kernel/setup.c | 22 +++++++++++++++++++++ arch/arm/vfp/vfpmodule.c | 32 +++++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel