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 DC63FC433F5 for ; Thu, 10 Feb 2022 11:38:17 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Db6HQIEHffKGaEaxslQWwUU4eMXmNkE2LmoUZGCa3Z0=; b=epICUbmuCOhFqj zaQAUP7MSJS8vSM9hDtP3qC3m7oqTj1ZmAGgCzkvyayjc3JWallawU93O7ZaTHd5RLTH7+18d8d7K Z93/GuK3mSKjyC9BX5P3z+cq3iNAIgxDWr5CMEaFhz7QVsFiKQmSgJPyIXDjDWRJWreyrT9PmYnpy 6jmdER20ED5a7OnzmiLIApFpDBfZ1lHIfe9KS+rAB1bCObziLBTV15/BUuuzmNI6ToeOCZJ5wvW+Q B2L7DoUGF5zWs95rrnCYoXxOi9PVfZuf7/9/NmWJOLDDhQeuCWJGPOnqm4Iwi1Chffgui+IDxKM2k Y3EfJwyY6O+WbWC011bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI7l0-003cZs-7G; Thu, 10 Feb 2022 11:37:02 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI7kr-003cXK-EL for linux-arm-kernel@lists.infradead.org; Thu, 10 Feb 2022 11:36:58 +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 F165661D12; Thu, 10 Feb 2022 11:36:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B049C004E1; Thu, 10 Feb 2022 11:36:49 +0000 (UTC) Date: Thu, 10 Feb 2022 11:36:46 +0000 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan , Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v11 02/40] arm64: Always use individual bits in CPACR floating point enables Message-ID: References: <20220207152109.197566-1-broonie@kernel.org> <20220207152109.197566-3-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220207152109.197566-3-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220210_033653_541065_C48A0474 X-CRM114-Status: GOOD ( 12.60 ) 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 On Mon, Feb 07, 2022 at 03:20:31PM +0000, Mark Brown wrote: > CPACR_EL1 has several bitfields for controlling traps for floating point > features to EL1, each of which has a separate bits for EL0 and EL1. Marc > Zyngier noted that we are not consistent in our use of defines to > manipulate these, sometimes using a define covering the whole field and > sometimes using defines for the individual bits. Make this consistent by > expanding the whole field defines where they are used (currently only in > the KVM code) and deleting them so that no further uses can be > introduced. > > Suggested-by: Marc Zyngier > Signed-off-by: Mark Brown Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel