From mboxrd@z Thu Jan 1 00:00:00 1970 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 6986FC43334 for ; Mon, 20 Jun 2022 13:20:33 +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=e9p8XMMZyA6YOB6NwbyfJogGcY3ZmkIgPMONScMEeGQ=; b=yaaE5zWNPeD8xV vH5UlwUVlFEh90Bf5+0YQ3iae8f8ELRXd153gBd9/LfuQT2TwUW6iJrePiRU6jzDq6/JE0jeCHXl4 xfsrPr/Nk/gv4V+Wlq/53HK7fVUlTg8YgqoiuLJCXkTQLVMxg865FnkE3+LAfcAq+P5AGiY5zmRpL WIzlY4xjdAzqHql/qBXdxSlhQM43CPpPMv8rVsiVHEdhhhJCytNyKTEfErupe3vbSljNUFaTBdWtu QjDRLi8qtDRfgIjoDjTdAnQc7Nydr6k53zsOONDVYiww1xD34+oF3z7OoG+nfj4W6H1yGv1ZR5n7t z1LXpST7ROaJRzZNL4rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3HJM-000m0X-0M; Mon, 20 Jun 2022 13:19:24 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3Gvk-000aUM-Lc for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2022 12:55:02 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 55824614F4; Mon, 20 Jun 2022 12:54:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EF1BC3411C; Mon, 20 Jun 2022 12:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655729697; bh=fY8qtWIvyg/sK+GbHBqAmRwHNrNxiwf76wwOCUXLaTY=; h=From:To:Cc:Subject:Date:From; b=AA+u7aaMcbbtC/kL277qV/J/r4/qI3X57O1EOnzld8v43dgktP6wQexJm2cYcZsMv oumYU96R0SwvLof6d4m851w3TDbZ1MXPmzyBncOSaLy/IFmov2ZA92T/VG42df27iD bngXAwdN3xIEw4/iTzpppCkJQQZYGDKaJv1EYha+jvJEITtn53qWwdPKBvl0op/jSV 70bKGD34PktiIYhaaEF7RihkUXJ/oC4dUq3KBJoKbNfr+JLnH7G3kFSwJD7BKXCCYi 2DibvrMEFIfgozlUZ1sMSt3O2Em+VrzdiuGn6l9MXQgTtoLPhYiUK3bKU7LZbiE/0j URsDiK83XXWIg== From: Mark Brown To: Catalin Marinas , Will Deacon , Eric Biederman , Kees Cook Cc: Suzuki K Poulose , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v2 0/4] arm64: Add AT_HWCAP3 Date: Mon, 20 Jun 2022 13:54:47 +0100 Message-Id: <20220620125451.653507-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1481; h=from:subject; bh=fY8qtWIvyg/sK+GbHBqAmRwHNrNxiwf76wwOCUXLaTY=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBisG4WtGGAsD0OqKmQasY5X5EJuuvaDwio3sjJvRJX YylXeruJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYrBuFgAKCRAk1otyXVSH0CW1B/ 0WHQCXNaGCtaOwewLBryIz0LQsNyR4FwNsT5kh5XkbKkmypp49PfYWO2unQyX8BTcIMNDI9a1CANXQ XEkvh2Gim9uvmwR8rE0MrCXG+HXcAQZC2Wt1Pmh12bKo2+Y9aMwC9phNj1tsVBvvqkhZV9X93RXzFj nOcBA7H0RPKpXyGd1sIdWUokK26Fu/5PO8xSdjLFLlpZos1tAjW4KQx9Gr9xTUhK1RM2HjAfsV0fCW 7BGSi2EWHMFpj+mKCOXL07nWYV97TL7TcYt+yToPBOAu38Ohl2NqjA65OcQ/i241dFrajQDuM03XW7 ACKNSqSuel4ye0ISi/l3suraCakV8y X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220620_055500_804011_E63824FC X-CRM114-Status: GOOD ( 12.14 ) 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: , 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 Currently for arm64 we expose hwcaps to userspace using the low 32 bits of AT_HWCAP and AT_HWCAP2. Due to the ever expanding capabilties of the architecture we have now allocated all the available bits in this scheme so we need to expand, either using the higher bits or adding a new AT_HWCAP3. Discussions with glibc developers suggested that AT_HWCAP3 would be cleaner for them so the series adopts that approach. The final patch adds an initial value in AT_HWCAP3 reporting the presence of FEAT_EBF16, this will conflict with my series converting ID_AA64ISAR1_EL1 to be generated. I've got a version based on top of that which I can send if that's convenient. v2: - Rebase onto v5.19-rc3. Mark Brown (4): arm64/cpufeature: Store elf_hwcaps as an array rather than unsigned long elf: Allow architectures to provide AT_HWCAP3 arm64/cpufeature: Support AT_HWCAP3 arm64/hwcap: Support FEAT_EBF16 Documentation/arm64/elf_hwcaps.rst | 10 +++++++--- arch/arm64/include/asm/cpufeature.h | 5 ++++- arch/arm64/include/asm/hwcap.h | 17 ++++++++++++----- arch/arm64/include/uapi/asm/hwcap.h | 5 +++++ arch/arm64/kernel/cpufeature.c | 28 +++++++++++++++++++++------- arch/arm64/kernel/cpuinfo.c | 1 + fs/binfmt_elf.c | 3 +++ include/uapi/linux/auxvec.h | 1 + 8 files changed, 54 insertions(+), 16 deletions(-) base-commit: a111daf0c53ae91e71fd2bfe7497862d14132e3e -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel