Message ID | 20230307140522.2311461-42-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 870E6C678D4 for <linux-arm-kernel@archiver.kernel.org>; Tue, 7 Mar 2023 14:45:29 +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=7hCANmuC2cM1QPAIWCJTOeMlGsz0c0VRy69dtOiziVk=; b=pM8Xg+mN4H5sZs pMRi/mpRHBpJo2yZYri0eo8EWnH2XjcY3RaNaA2LDhaz7YapCC7ZVCwWQZXHFogdpDxlCE/wA0A5a AkJzdONhoyzeF3gL2OuE4UXDCOYpeBNR/NB8OweI/h8HwldyYYOaUtTDK3GnKIj3u5q0pFu24kafY W0N69MD1epmvjmAaCyI4CCNPcbi8OoHo6IisNoHcPxgQHiJ4E7yydcKN6FnIbzUMtMn/bYX000/kK Z8zmV4lRz6yjQ8UdJg20ru82MZdnVXqHDx+ApdxCyrNUvx+xgdxYCvY2KotvBQmXtq8LXjA9SxICC jMVOI6JPrG54/3zZvoWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZYYE-000ujg-34; Tue, 07 Mar 2023 14:44:26 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZXzG-000ehN-84 for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2023 14:08:21 +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 A38D961463; Tue, 7 Mar 2023 14:08:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E93CC433D2; Tue, 7 Mar 2023 14:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678198097; bh=KyeVOWyCVtFoTF1LJWtSXOxn+egSaaC3be0AkldlV1c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JMooe098dHSvS1lQPK7GmT7Datna6P62s4X6DVa9UodJ25o24vy8IvaPovzlhZhgG DIeE4wDoRcH6WNduY/7q7KGv8XTiqORo/6W+CHdDx1uxzfmzdpmSv+CdLTAFceAz20 6tpY1cp4859he3ucXZgwPCMVYwWeZFrnel7Lkefp4Lc1WGwgADULkfgx4VMVW2MhrR vdg8ExweFZYZwhCNN0mjkKWfUR+r9xhBYxzvX0scTbnA6NgTWnqAGs0bujVcPQAQco CZlrATLopOmqR7jPD4OjQGl2kHgmjZIJppgtTszZJl/giF9ybnm7QQee/ECV1syOwy sRAtUk8wQn7dw== From: Ard Biesheuvel <ardb@kernel.org> To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel <ardb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Ryan Roberts <ryan.roberts@arm.com>, Anshuman Khandual <anshuman.khandual@arm.com>, Kees Cook <keescook@chromium.org> Subject: [PATCH v3 41/60] arm64/mm: Add FEAT_LPA2 specific TCR_EL1.DS field Date: Tue, 7 Mar 2023 15:05:03 +0100 Message-Id: <20230307140522.2311461-42-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307140522.2311461-1-ardb@kernel.org> References: <20230307140522.2311461-1-ardb@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=961; i=ardb@kernel.org; h=from:subject; bh=FGpJVT/P4QQvSVy9l1/wAhcmiWJoU30A2wDupoSxpoU=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIYXdJfvh8eUxgbdFyxc4HVixJr01y795zapFhS8Ckox+s ky5dWRJRykLgxgHg6yYIovA7L/vdp6eKFXrPEsWZg4rE8gQBi5OAZiIUhTD/7AN6ZNfPoxb19Pz 7aDW9+ucZb91gw/ze8w6t1jw1N4E5vMM/z32PtH7UHRtf9nVLfOyLrmkMGzes3uN5A3FjP9KLgy hUfwA X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230307_060818_374181_D80D0904 X-CRM114-Status: GOOD ( 11.70 ) 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: Add support for LPA2 at stage1 and WXN
|
expand
|
diff --git a/arch/arm64/include/asm/pgtable-hwdef.h b/arch/arm64/include/asm/pgtable-hwdef.h index f658aafc47dfa29a..c4ad7fbb12c5c07a 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.