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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AA9CC433EF for ; Thu, 10 Feb 2022 11:34:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240991AbiBJLee (ORCPT ); Thu, 10 Feb 2022 06:34:34 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235635AbiBJLee (ORCPT ); Thu, 10 Feb 2022 06:34:34 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CD611001 for ; Thu, 10 Feb 2022 03:34:35 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 803B9CE243E for ; Thu, 10 Feb 2022 11:34:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8D65C004E1; Thu, 10 Feb 2022 11:34:28 +0000 (UTC) Date: Thu, 10 Feb 2022 11:34:25 +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 01/40] arm64: Define CPACR_EL1_FPEN similarly to other floating point controls Message-ID: References: <20220207152109.197566-1-broonie@kernel.org> <20220207152109.197566-2-broonie@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207152109.197566-2-broonie@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Mon, Feb 07, 2022 at 03:20:30PM +0000, Mark Brown wrote: > The base floating point, SVE and SME all have enable controls for EL0 and > EL1 in CPACR_EL1 which have a similar layout and function. Currently the > basic floating point enable FPEN is defined differently to the SVE control, > specified as a single define in kvm_arm.h rather than in sysreg.h. Move the > define to sysreg.h and provide separate EL0 and EL1 control bits so code > managing the different floating point enables can look consistent. > > Signed-off-by: Mark Brown Acked-by: Catalin Marinas