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 29AA5CF8864 for ; Sat, 5 Oct 2024 00:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Kx9qzU92kyHqTwri3jFUVTr5ksfSCQTies39AnaK0eM=; b=cjZohX4eGTZz4/iAzAmdaVkba9 qdHQfHLnqQwXsfOohSPU6wLdsmXGw1Sy9LPkOEJYRJBGXDrrUFXaW3D13Fc7l25B00VQQDyuvt3JF tQZSP+QG2t442pbRobjTzSQy6Pq4P/uHFeU0DOOlfIShUfPdRgzi4AUAf5qG4nqle/Xk9tnJu7mCL yiabQsTKzK+kINf9HjJANCXmi41Vf+KR2P29SdEHI9Uzm3xFqJr8gK9YZYwolTMe7hMvsOqKn98DJ H9Ub5pcue5+d0I4UhqXGxtOe9uDejrURujFm/ScRU50okbK3dGnoNHpnjhdnlxN2QXA7ThMZQX+Nx dmC7mN3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swsai-0000000EWm0-3vxe; Sat, 05 Oct 2024 00:24:12 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swsZT-0000000EWcf-0TqX for linux-arm-kernel@lists.infradead.org; Sat, 05 Oct 2024 00:22:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E95CB5C49D3; Sat, 5 Oct 2024 00:22:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC4D4C4CEC6; Sat, 5 Oct 2024 00:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728087773; bh=HJMZ6PnZCoTT1n9NH76YDRZ9HwK8UlBnG0DS9nj4p5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cV5eoI6yCYT+WisILZ4zH0tSjWDryYKEanlWryrvyvNsi5OseFkccxCuwlUdhWmcv cY1UzTOj3CYuD1I2VmdX7t6fbUAkz8h9b20bGufUAY4ggjIwrOWtc7dKkKJ5XqFSMi k5w9KznpMI/LAlWImgcNTs25uVLJ/OzTc/KhrLHFs4qWGZepd3VlAWx/qLcPSNnrOy ex9v22GPUwskvjXcMjW8wH6fdIiUPEmS8OLOhu6a9YzEBVDl+tpY86RcT5Z/IfhbgI 7MhAA8geXkqkdAuoZtePxY1hdz3Gcnmm/h7GA6uY78a6X8FoKdFF9sGbFc2VnbV58p lPToIz7dNIN3w== Date: Fri, 4 Oct 2024 17:22:50 -0700 From: Kees Cook To: Mark Brown Cc: Alexander Viro , Christian Brauner , Jan Kara , Eric Biederman , Catalin Marinas , Will Deacon , Jonathan Corbet , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yury Khrustalev , Wilco Dijkstra , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org Subject: Re: [PATCH RFC v2 1/2] binfmt_elf: Wire up AT_HWCAP3 at AT_HWCAP4 Message-ID: <202410041721.0B633082@keescook> References: <20241004-arm64-elf-hwcap3-v2-0-799d1daad8b0@kernel.org> <20241004-arm64-elf-hwcap3-v2-1-799d1daad8b0@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241004-arm64-elf-hwcap3-v2-1-799d1daad8b0@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_172255_217312_0AEBCE95 X-CRM114-Status: UNSURE ( 9.45 ) 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 On Fri, Oct 04, 2024 at 09:26:29PM +0100, Mark Brown wrote: > AT_HWCAP3 and AT_HWCAP4 were recently defined for use on PowerPC in commit > 3281366a8e79 ("uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector, > entries"). Since we want to start using AT_HWCAP3 on arm64 add support for (Side note: I wonder what auxvec 29 and 30 used to be?) > exposing both these new hwcaps via binfmt_elf. This seems fine to me, feel free to carry this via the arm64 tree. Acked-by: Kees Cook -- Kees Cook