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 ABC88C001DD for ; Thu, 15 Jun 2023 11:40:14 +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:References:In-Reply-To: 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: List-Owner; bh=4cWa/KvCv44Jk9sXE1jSHVG7Te51hh/exS7rCnTJ1yc=; b=S5PmGmSGTElGl7 gD37C0N+pkOT70If3hgB+sp+uuXdjLSAvQuA8O7hFFDUMYey/2LkoMdfE9uC5tAD6bHGaQhU5nqN9 a24E3/rr8b2RXhOEkhwSZm5npwCPmv3e4uuqv5s3t99PHagPisVnu4HQG1i7nO8SFo6SJRVagQRVs VYTKRZAASw7QCZpPoOu/kQkvKfnMWDsKGsJt7ACB+B8U0NG5E+4pnEvv7gUUzxDn9WWSjoLBL5MAR hKAL8i0rv7tZdD0sCUqchKW/yf8PwCyY4Fni2i43vbIXWyb0Hs3vOVEWU4Vzz59uEDrmPVLHQyV3e pj5PP9VQYWtT65cekavw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9lKX-00EjkF-0C; Thu, 15 Jun 2023 11:39:57 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9lKR-00Ejgd-1y for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2023 11:39:55 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0CBE06140F; Thu, 15 Jun 2023 11:39:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8308C433C8; Thu, 15 Jun 2023 11:39:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686829190; bh=xUyf5LkmVWcJM1kAFRvNbQdgsFnxwmpbs/uEy87eLQE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pGa6I6lBfwnoU4IdDRHj2RfWL/A9Rzq9eRPwuDqhfwMbQUJBMNl/N4eH7t3X9x7ec xMvMkEdtppadantUrO0SP6O1ZEOc7wD8fWu+T9oUzPJFnudxFHD9rKM7gjDtu9ft0L CBYa1kalPtNoPVoPHLcxOnRpqFPszXfbKQ/h10wUPR+WEoixItQyTRuQh1ERR5AdPY uWyIKpRtcXRWhxspbrzEXMRGTIBlA0c7Bi/HRt2/HWGHOfBUfIf+Qt+o9w1QoYHVso oabXtjSX3Fi6qeAxJlKynYvqC3tSYB0ivcbVM9hKHQziAEo3BvQY5HW9EykmIZfW1P Nuej+zdH7myPQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Marc Zyngier , Cornelia Huck , Steven Price , Oliver Upton , Sasha Levin , catalin.marinas@arm.com, will@kernel.org, broonie@kernel.org, james.morse@arm.com, kristina.martsenko@arm.com, robh@kernel.org, jintack.lim@linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.4 5/8] arm64: Add missing Set/Way CMO encodings Date: Thu, 15 Jun 2023 07:39:35 -0400 Message-Id: <20230615113938.649627-5-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615113938.649627-1-sashal@kernel.org> References: <20230615113938.649627-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.247 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_043951_728139_FE193132 X-CRM114-Status: UNSURE ( 8.78 ) 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: , 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 From: Marc Zyngier [ Upstream commit 8d0f019e4c4f2ee2de81efd9bf1c27e9fb3c0460 ] Add the missing Set/Way CMOs that apply to tagged memory. Signed-off-by: Marc Zyngier Reviewed-by: Cornelia Huck Reviewed-by: Steven Price Reviewed-by: Oliver Upton Link: https://lore.kernel.org/r/20230515204601.1270428-2-maz@kernel.org Signed-off-by: Sasha Levin --- arch/arm64/include/asm/sysreg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 5b3bdad66b27e..1ff93878c8132 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -102,8 +102,14 @@ #define SB_BARRIER_INSN __SYS_BARRIER_INSN(0, 7, 31) #define SYS_DC_ISW sys_insn(1, 0, 7, 6, 2) +#define SYS_DC_IGSW sys_insn(1, 0, 7, 6, 4) +#define SYS_DC_IGDSW sys_insn(1, 0, 7, 6, 6) #define SYS_DC_CSW sys_insn(1, 0, 7, 10, 2) +#define SYS_DC_CGSW sys_insn(1, 0, 7, 10, 4) +#define SYS_DC_CGDSW sys_insn(1, 0, 7, 10, 6) #define SYS_DC_CISW sys_insn(1, 0, 7, 14, 2) +#define SYS_DC_CIGSW sys_insn(1, 0, 7, 14, 4) +#define SYS_DC_CIGDSW sys_insn(1, 0, 7, 14, 6) #define SYS_OSDTRRX_EL1 sys_reg(2, 0, 0, 0, 2) #define SYS_MDCCINT_EL1 sys_reg(2, 0, 0, 2, 0) -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel