Message ID | 20221124123932.2648991-3-ardb@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 B3C00C433FE for <linux-arm-kernel@archiver.kernel.org>; Thu, 24 Nov 2022 12:41:22 +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=Y45BHGSSGy2BuXI6vDcSU9WqH4a6/ipbhYebrKRenZY=; b=zBGdRyMzDO/jsd r0orC8B+bwJarafpzSKg/LajBR9Z81b9DQuq7YjTpuLM7F192kI61CpQ2PcuMRgCLtMVhC8sP6ym0 UocfvqjE00u54Qe3RTqejqpNeHeSF6DhhPpgWgMaMNeIHbfCWFVf/sHDaQy4m0/VQtMlRDewKeiZK 2aRi20Ya2zrRA3I/HkSkRDg/fwYyCNEGFeQbHClAOfsgX3UjNX6V42EeWTIbIVLZFtkp8roNm7l+D yWhsMnWD7QtHjvUY4Mu+TihnbP579psYHQEIcS0PyjLR1X8/EoPEi8k+yACEfejK8juqVaxlfLBo+ WlWG8PG/PZ/LrrLv5oOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyBWc-008OV2-V9; Thu, 24 Nov 2022 12:40:19 +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 1oyBWI-008OJt-6Y for linux-arm-kernel@lists.infradead.org; Thu, 24 Nov 2022 12:39:59 +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 BDBA462119; Thu, 24 Nov 2022 12:39:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DD48C4347C; Thu, 24 Nov 2022 12:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669293597; bh=PpzT1Qz99YbomlQ4NisMUyGFgf+yzCr/p1fvYsKo6F4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tY/+TYRDyADlzSYV6i3H16Tw2A2sLZZbvVxIw/sPU92r79VcrX9kYCvudiSiBUhz1 Ktdiy0kQ4nn6IPjq269Bq/uYOi3V6Ak7A8Xxianj4Z+Js+IHFkxj4ll6a46kpJXVNM 4ZfW8QdPkruryR4XDClVDtd/4cfqhTCNhY0VDI3crSCPAANKsXktdKKEKbI5rb6CoT 36HR3Own5BpuhxDqQQ8RGoz+E8sTckf2ymAn7OzjA6BqLcuEZvHYA9uqYW6/nctaJn wOakipM5wjlfk5r+9QAe/0XA7bF0XNXry9Wsk2BxX95rj/MeQU4I1h/+vQTf8sMRRM 5YogmZtOFSGEA== From: Ard Biesheuvel <ardb@kernel.org> To: linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel <ardb@kernel.org>, Marc Zyngier <maz@kernel.org>, Will Deacon <will@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Kees Cook <keescook@chromium.org>, Catalin Marinas <catalin.marinas@arm.com>, Mark Brown <broonie@kernel.org>, Anshuman Khandual <anshuman.khandual@arm.com>, Richard Henderson <richard.henderson@linaro.org>, Ryan Roberts <ryan.roberts@arm.com> Subject: [PATCH v2 02/19] arm64/mm: Add FEAT_LPA2 specific TCR_EL1.DS field Date: Thu, 24 Nov 2022 13:39:15 +0100 Message-Id: <20221124123932.2648991-3-ardb@kernel.org> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog In-Reply-To: <20221124123932.2648991-1-ardb@kernel.org> References: <20221124123932.2648991-1-ardb@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221124_043958_303091_21447929 X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64: Enable LPA2 support for 4k and 16k pages
|
expand
|
diff --git a/arch/arm64/include/asm/pgtable-hwdef.h b/arch/arm64/include/asm/pgtable-hwdef.h index f658aafc47df..c4ad7fbb12c5 100644 --- a/arch/arm64/include/asm/pgtable-hwdef.h +++ b/arch/arm64/include/asm/pgtable-hwdef.h @@ -276,6 +276,7 @@ #define TCR_E0PD1 (UL(1) << 56) #define TCR_TCMA0 (UL(1) << 57) #define TCR_TCMA1 (UL(1) << 58) +#define TCR_DS (UL(1) << 59) /* * TTBR.