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 3535DC00140 for ; Thu, 18 Aug 2022 21:37:26 +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=lpWHKCf38r6gphr3ekYMoIQ+Po62xfnCh91fj959a7E=; b=KvTMV3Fkw+zgn2 OLxSRBV1u8vxwSqoXwokSlp6bO+83cDTTa9E2SpIGBsIN85+JhmU1KQPTJEwuewYS2ZmX+ED3oftZ WcWSi0valXPusDn3/L716Pe98GaZZoW3Y3tP+xeevOMrHGeLHJDtNFeqOAIAd31AH7lJXScZ7DU42 T/mJfuAOFJHRVGcfPAA4DlKf3SemRMANnXIGd00XgO/vwxMkg0YxUHwfdf1ePM0cCeYZaaG2/Uo4F 41ROoFKEv36fWDUhxaQ2HLVk0pEszZXlJtFXX/6oqv5zOI7G6WDaWuybE2TGkyF3V8OdBYiM1Pv97 Ie2XKQY47syEkDARFnZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOnBi-009uyb-Jq; Thu, 18 Aug 2022 21:36:26 +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 1oOnBe-009uu2-Hi for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 21:36:24 +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 400D661589; Thu, 18 Aug 2022 21:36:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FF96C433C1; Thu, 18 Aug 2022 21:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660858580; bh=qPJ7aGLXwR6s9PU5l16Y7QPii1SLUDqBDBfNskExtkU=; h=From:To:Cc:Subject:Date:From; b=UArTZyiVlO9xSXMDHR/uwpg5ophoHoBqmvy9v2fDaF9R56zO4v/UgkeI+lWS22nu4 JOX5qA6+hkPn9Lex8OzrpBIlaLWVKPKYP3ArhqdOwUpUrngOo5ieeFD/k1LUnBzY+y jCem0g/n7v11I/kz2wo3HHD1P285l71yG1AZPaWOkdchCCF3qqkqoSkhc9qhQCcIHd 0/FFO3RvrX20g/c3ZmPPZ3uUaT3CefzNtHnijQwikbiE5cuh1ILPzsVVHHyeQIWN0p E2mPsPFHt145onRWDS7GShEjwKK/snBkGc8Wqzg5LW/JzL1tuXfSesOLQfP93NzTAb 5KYL3SgQAllWw== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark.Rutland@arm.com, linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v2 0/3] arm64/cache: Fix cache_type_cwg() for register generation Date: Thu, 18 Aug 2022 22:36:10 +0100 Message-Id: <20220818213613.733091-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=846; i=broonie@kernel.org; h=from:subject; bh=qPJ7aGLXwR6s9PU5l16Y7QPii1SLUDqBDBfNskExtkU=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBi/rDJjUboa2E/lePk7sM5S2HoH4KUMlYdQv3nNN+c RvEzfrWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYv6wyQAKCRAk1otyXVSH0EEjB/ 9oU1RCkzJd01ziJa/GpF9wzofdzM5CKubpWUaICYQSmomOobAYyL0QmaI0Nth0omUSnrg+kC91Fk29 t1ycLeN3iRAG+HzZMSg5nE/ZwpxqV/iAs5R7KToaNxOUOXAqTNnBE9ZiIsS/F+PDphm4aTdsIm9uca ATqQoiyK+a6mewyD6otlaL86ouLsq0IGIp7T+YjHJWNa2eLEbV08TlNfvjQNjNhlFlBe1pKMwMuUO2 knBWHtulBc0jnwglQ7MAjh0VGbC4kanIg04f9IcIiknlIrA+qW+7FwPJZLjOiS8qGl4/gr+cf5VQNb CREbO4+grR1jZtnNoUd7R3dLgyISKI 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-20220818_143622_700525_3DE3E025 X-CRM114-Status: GOOD ( 12.48 ) 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 Ard noticed that in converting CTR_EL0 to automatic generation we broke cache_type_cwg() since it was using a non-standard way of specifying _MASK that masks after rather than before shifting to retrieve the value. We could fix this directly in a single patch but there has been demand to also convert to use the SYS_FIELD_GET() accessor which requires a few preparatory patches to make that safe for direct use in cache.h. v2: - Use SYS_FIELD_GET() Mark Brown (3): arm64/sysreg: Directly include bitfield.h arm64/sysreg: Guard SYS_FIELD_ macros for asm arm64/cache: Fix cache_type_cwg() for register generation arch/arm64/include/asm/cache.h | 2 +- arch/arm64/include/asm/sysreg.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel