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 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 766F2C48260 for ; Fri, 16 Feb 2024 17:36:03 +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=/+kl4NGkcyx8F+ZJ7CnuRjqt2Ne8LYj0zPDxQdoPWBM=; b=4SoY3FOhF4eVhp wctWEq8oVZ+kArrDBe1zsFWzZWccr8hJ/Z7dmdhpXqkshQ9Sw2FN/zm0Z9oJXamubM5t4L+P6qlV1 kcWGqZdia/YKl6R94U2kUk+mlVW5RfJKLlV6i8dTpz9Ys0BhiitfDbO4XUgma8Nav8xw54spwK8C/ BI7y7CK3KVKVkh39SopytuwlL9TvvqIGAf9b3sNVsSRBb216sOVqUwoC2xuB894qiUnesTGbavsUB eJTVGULhIMS3+0swuUE2KPdqikTUziTEikTiYD1TaFuR4YDlIcHKzCt89qWwOml1wprMrL/fbmfEm yzQxrJOivaAYlfqAhMpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rb27l-00000003DYv-0fla; Fri, 16 Feb 2024 17:35:45 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rb27h-00000003DWu-14h8 for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 17:35:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 45A6ACE2C7E; Fri, 16 Feb 2024 17:35:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78EEDC433C7; Fri, 16 Feb 2024 17:35:36 +0000 (UTC) From: Catalin Marinas To: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel Cc: Will Deacon , Ard Biesheuvel , Marc Zyngier , Mark Rutland , Ryan Roberts , Anshuman Khandual , Kees Cook Subject: Re: [PATCH v8 00/43] arm64: Add support for LPA2 and WXN at stage 1 Date: Fri, 16 Feb 2024 17:35:34 +0000 Message-Id: <170810439864.589251.1526990737780573683.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240214122845.2033971-45-ardb+git@google.com> References: <20240214122845.2033971-45-ardb+git@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_093541_689676_4F1A0E9A X-CRM114-Status: GOOD ( 16.07 ) 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 On Wed, 14 Feb 2024 13:28:46 +0100, Ard Biesheuvel wrote: > This v8 covers the remaining changes that implement support for LPA2 and > WXN at stage 1, now that some of the prerequisites are in place. > > v4: https://lore.kernel.org/r/20230912141549.278777-63-ardb@google.com/ > v5: https://lore.kernel.org/r/20231124101840.944737-41-ardb@google.com/ > v6: https://lore.kernel.org/r/20231129111555.3594833-43-ardb@google.com/ > v7: https://lore.kernel.org/r/20240123145258.1462979-52-ardb%2Bgit%40google.com/ > > [...] I queued this series via the arm64 tree (for-next/stage1-lpa2). I tried a couple of releases ago but for some reason my tests started failing at it was very close to the merging window, so dropped. This time around, if anything goes wrong, we have a bit of time to fix (it might as well have been my test scripts and nothing to do with these patches). The last patch introducing WXN has ABI implications but it's default off. I think we should keep the patch as certain markets will likely turn it on. Surprisingly, there are no conflicts with Ryan's contpte series AFAICT (I did a merge locally). Thanks. [01/43] arm64: kernel: Manage absolute relocations in code built under pi/ https://git.kernel.org/arm64/c/48157aa39286 [02/43] arm64: kernel: Don't rely on objcopy to make code under pi/ __init https://git.kernel.org/arm64/c/a86aa72eb3b0 [03/43] arm64: head: move relocation handling to C code https://git.kernel.org/arm64/c/734958ef0b54 [04/43] arm64: idreg-override: Move to early mini C runtime https://git.kernel.org/arm64/c/e223a4491255 [05/43] arm64: kernel: Remove early fdt remap code https://git.kernel.org/arm64/c/9c4cd2a7d12c [06/43] arm64: head: Clear BSS and the kernel page tables in one go https://git.kernel.org/arm64/c/aa99aad798a8 [07/43] arm64: Move feature overrides into the BSS section https://git.kernel.org/arm64/c/30687dec5ed5 [08/43] arm64: head: Run feature override detection before mapping the kernel https://git.kernel.org/arm64/c/dcfe969a6419 [09/43] arm64: head: move dynamic shadow call stack patching into early C runtime https://git.kernel.org/arm64/c/8a6e40e1f68e [10/43] arm64: cpufeature: Add helper to test for CPU feature overrides https://git.kernel.org/arm64/c/35876f35f482 [11/43] arm64: kaslr: Use feature override instead of parsing the cmdline again https://git.kernel.org/arm64/c/af73b9a2dd39 [12/43] arm64: idreg-override: Create a pseudo feature for rodata=off https://git.kernel.org/arm64/c/9ddd9baa42a0 [13/43] arm64: Add helpers to probe local CPU for PAC and BTI support https://git.kernel.org/arm64/c/a669c6a49356 [14/43] arm64: head: allocate more pages for the kernel mapping https://git.kernel.org/arm64/c/8d47b8e5c74a [15/43] arm64: head: move memstart_offset_seed handling to C code https://git.kernel.org/arm64/c/aa6a52b2470c [16/43] arm64: mm: Make kaslr_requires_kpti() a static inline https://git.kernel.org/arm64/c/293d865f0af5 [17/43] arm64: mmu: Make __cpu_replace_ttbr1() out of line https://git.kernel.org/arm64/c/82ca151da7d5 [18/43] arm64: head: Move early kernel mapping routines into C code https://git.kernel.org/arm64/c/97a6f43bb049 [19/43] arm64: mm: Use 48-bit virtual addressing for the permanent ID map https://git.kernel.org/arm64/c/e6128a8e523c [20/43] arm64: pgtable: Decouple PGDIR size macros from PGD/PUD/PMD levels https://git.kernel.org/arm64/c/34b98e55f684 [21/43] arm64: kernel: Create initial ID map from C code https://git.kernel.org/arm64/c/84b04d3e6bdb [22/43] arm64: mm: avoid fixmap for early swapper_pg_dir updates https://git.kernel.org/arm64/c/567a70c181df [23/43] arm64: mm: omit redundant remap of kernel image https://git.kernel.org/arm64/c/ba5b0333a847 [24/43] arm64: Revert "mm: provide idmap pointer to cpu_replace_ttbr1()" https://git.kernel.org/arm64/c/e0f92f0d1b51 [25/43] arm64: mm: Handle LVA support as a CPU feature https://git.kernel.org/arm64/c/9cce9c6c2c3b [26/43] arm64: mm: Add feature override support for LVA https://git.kernel.org/arm64/c/68aec33f8f5a [27/43] arm64: Avoid #define'ing PTE_MAYBE_NG to 0x0 for asm use https://git.kernel.org/arm64/c/60d043c10176 [28/43] arm64: Add ESR decoding for exceptions involving translation level -1 https://git.kernel.org/arm64/c/7ac8d5b2423c [29/43] arm64: mm: Wire up TCR.DS bit to PTE shareability fields https://git.kernel.org/arm64/c/db95ea787bd1 [30/43] arm64: mm: Add LPA2 support to phys<->pte conversion routines https://git.kernel.org/arm64/c/925a0eb48044 [31/43] arm64: mm: Add definitions to support 5 levels of paging https://git.kernel.org/arm64/c/a6bbf5d4d9d1 [32/43] arm64: mm: add LPA2 and 5 level paging support to G-to-nG conversion https://git.kernel.org/arm64/c/2b6c8f96cc47 [33/43] arm64: Enable LPA2 at boot if supported by the system https://git.kernel.org/arm64/c/9684ec186f8f [34/43] arm64: mm: Add 5 level paging support to fixmap and swapper handling https://git.kernel.org/arm64/c/6ed8a3a094b4 [35/43] arm64: kasan: Reduce minimum shadow alignment and enable 5 level paging https://git.kernel.org/arm64/c/0383808e4d99 [36/43] arm64: mm: Add support for folding PUDs at runtime https://git.kernel.org/arm64/c/0dd4f60a2c76 [37/43] arm64: ptdump: Disregard unaddressable VA space https://git.kernel.org/arm64/c/16f22981b6d7 [38/43] arm64: ptdump: Deal with translation levels folded at runtime https://git.kernel.org/arm64/c/d40900fcb397 [39/43] arm64: kvm: avoid CONFIG_PGTABLE_LEVELS for runtime levels https://git.kernel.org/arm64/c/95e059b5db60 [40/43] arm64: Enable 52-bit virtual addressing for 4k and 16k granule configs https://git.kernel.org/arm64/c/352b0395b505 [41/43] arm64: defconfig: Enable LPA2 support https://git.kernel.org/arm64/c/5d101654226d [42/43] mm: add arch hook to validate mmap() prot flags https://git.kernel.org/arm64/c/cb1a393c40ee [43/43] arm64: mm: add support for WXN memory translation attribute https://git.kernel.org/arm64/c/50e3ed0f93f4 -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel