Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp312061rdb; Thu, 15 Feb 2024 00:19:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWKb+gqLgXwO8bfvm4b//Gk1IAKqsP3H2sHt2R2E/EYjzhHTDiE952N2sc6PVJwPCrGYrF6Q9d9TuEH6oK2W/2qRorzJYCZ9CS5JXk9BA== X-Google-Smtp-Source: AGHT+IE4z+MVkm93w20loMIiZLCKpTAD9Ui3k4wBMLyh3kXwm+j7R5/L5gHz/wa8gevgItErXtYv X-Received: by 2002:a17:90b:368d:b0:299:1d16:38c6 with SMTP id mj13-20020a17090b368d00b002991d1638c6mr106245pjb.34.1707985162056; Thu, 15 Feb 2024 00:19:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707985162; cv=pass; d=google.com; s=arc-20160816; b=V23/5UN2hWMHCbQR8cvmG+OdopCmWhMHaJ7FiyxTu1oKXVzbieBQj3WuRMvxEm55ch nn28spRsqxsrL66XEGA6ZSDwWdkOvC/FvLjbBAG+fDyGX+Y7FA1cDrpLp1KX+22slF3F oxYQgwuUKLrFGmNETMJ3jFJ/hed+ojTYdsXpdbEoCK4yzb6iKss+2wuAQwX1RCGdcNDo P+UoaTpwTJnodhRF+PCliZMszifgmHZPUDrPYKVuw2E+So6tcAOlYjPeSzJfcbsxUlDZ SJiajQ9peimbIap2rWtYoGVuKzNln7a/FQ1kDAj91XNMeTZyaSbiSj3dk92IWrNNS/bJ NaqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature; bh=7AHv/SxYVffHZqpFmvlnc3bx9IrzPM/zYa78cJyclZ0=; fh=H15g6zky8WFqrx8zmNU5YKHtKrgPTE/1uKIHhoOyduI=; b=rkE1kc7XHT4oUs7ZHAS0IMI8GBQnuPd0SdD+9Y4dwU8sFoSOeUoTG3L6+Feda9xO5h 9oTry6GX18+ienKBsIHlpJUnwvgUn5qBfvdhNN0MP6xKL5PSfnPQ0N7zk7lsN00mNYaU 6FX99Ti+UvpLNAdSxfQfhY3auTMEmxXT90jGJeIFvGDOvVXmSQ3sUsF9sOZonERZHV/I LoY6RIv9PyFBHausX9o4TNE2imvj4uyW4UstQBr95gz2i58CNp2j6/1iL8orNxB0Inmg LfiS/3p9KronP8NVRY9HNmTIoG+c3X2M9SLgBJhge3Xplh9hIzMB6k0ekYo7MXzYdt1p tL0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RI2mOhZe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fz9-20020a17090b024900b0028e63fbc789si2601311pjb.107.2024.02.15.00.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 00:19:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RI2mOhZe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-66402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8FBCD283702 for ; Thu, 15 Feb 2024 08:19:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CA2D13FEE; Thu, 15 Feb 2024 08:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RI2mOhZe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36CCE13AE9 for ; Thu, 15 Feb 2024 08:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707985108; cv=none; b=miid6TbpW0ZPm+AwFY3vLaBWpzml7TFQwHH2RSDQqKSDakREbbW4FojV//a2XBwBUWaSteF0buZ81KvNPB3uzHcLOyV+GTQXEb3d84P64jO1y8tw2pTW33DTfier4D024Xf+AZzc4XyyQReotsK4oEfh8sytabWOBUlboInf7oU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707985108; c=relaxed/simple; bh=NEWD24GsuqxxNTq5YzGqWj/5Tc8Dg9+/4oyhQh0vAoc=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=tdq1KNG90Jcbm4NEs2xYJpGnNwi8FJjx0SEGgsfiP3nLkeStVHvt09IjYssVFvU29IK+RC2tEoe9QLYS5X5Ar2MLq56xrEdeOpyBvJSsBpB3STk2+h5o59x4zHQRMDPmlEBi4SFkW1SesCjw3F6eVVvG9wQjOw+WEJboiPXmEBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RI2mOhZe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4366EC43394; Thu, 15 Feb 2024 08:18:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707985107; bh=NEWD24GsuqxxNTq5YzGqWj/5Tc8Dg9+/4oyhQh0vAoc=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=RI2mOhZerlcJeWdxcgS9GAF0WVcFz0gTdhizDRZrhvX7nbJ0dQmULNaS5IMxZ60vB Ho0x0k6qUX3D2khqcpIUoijc/1NtJulkMAMThldsJz8dUmJWUfogSDYu0Y1cl67Tqs 7X7AWDGj2xVaFuCQTiF5+drthE+6VOuRi0EA+7+tOEgX5w4oFqTatq9MR8stbYWTT0 YYtzze+07Kuq+lcTk2tBRl8T6oPHuxMnEYr53fLML3ZJivwuPtTSUQ8YflXSBVReen Qf3jkSEp6svCGEHxSK9k0amZcgDoKC65zD3xZQGsGhC1JEKataG+bIdVSKLx+fdvKk +AdFi8ftPfenQ== Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfauth.nyi.internal (Postfix) with ESMTP id 1E8601200043; Thu, 15 Feb 2024 03:18:26 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 15 Feb 2024 03:18:26 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudelgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugeskhgvrhhnvghlrdhorhhgqeenucggtffrrg htthgvrhhnpedvveeigfetudegveeiledvgfevuedvgfetgeefieeijeejffeggeehudeg tdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkeehudejtddv gedqvdekjedttddvieegqdgrrhhnugeppehkvghrnhgvlhdrohhrghesrghrnhgusgdrug gv X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8DEBCB6008D; Thu, 15 Feb 2024 03:18:25 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: References: Date: Thu, 15 Feb 2024 09:16:29 +0100 From: "Arnd Bergmann" To: "Peter Bergner" , linux-api@vger.kernel.org, Linux-Arch , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" Cc: "Adhemerval Zanella Netto" , "Szabolcs Nagy" , "Nick Piggin" , "Michael Ellerman" Subject: Re: [PATCH v2] uapi/auxvec: Define AT_HWCAP3 and AT_HWCAP4 aux vector, entries Content-Type: text/plain On Wed, Feb 14, 2024, at 23:34, Peter Bergner wrote: > The powerpc toolchain keeps a copy of the HWCAP bit masks in our TCB for fast > access by the __builtin_cpu_supports built-in function. The TCB space for > the HWCAP entries - which are created in pairs - is an ABI extension, so > waiting to create the space for HWCAP3 and HWCAP4 until we need them is > problematical. Define AT_HWCAP3 and AT_HWCAP4 in the generic uapi header > so they can be used in glibc to reserve space in the powerpc TCB for their > future use. > > I scanned through the Linux and GLIBC source codes looking for unused AT_* > values and 29 and 30 did not seem to be used, so they are what I went > with. This has received Acked-by's from both GLIBC and Linux kernel > developers and no reservations or Nacks from anyone. > > Arnd, we seem to have consensus on the patch below. Is this something > you could take and apply to your tree? > I don't mind taking it, but it may be better to use the powerpc tree if that is where it's actually being used. If Michael takes it, please add Acked-by: Arnd Bergmann Arnd