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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51332CCA47F for ; Wed, 15 Jun 2022 10:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235408AbiFOKQQ (ORCPT ); Wed, 15 Jun 2022 06:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbiFOKQP (ORCPT ); Wed, 15 Jun 2022 06:16:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEF7037BF4; Wed, 15 Jun 2022 03:16:14 -0700 (PDT) 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 87DE960C70; Wed, 15 Jun 2022 10:16:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECB11C34115; Wed, 15 Jun 2022 10:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655288174; bh=LzuKKmeaKzYyf1F4EGCFzObtFswa551XpejD5PM/0gU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=V2e4eedCwuT64uSq8EWZIlqOealrKlJhOjYwUPwzUjmJe3h1gZVozcylD0pHKd3xB Ak6Oc8tweWPYhMTh9H3oadcrNqf+QiU9LPyAX/6yzLb9dednhlxc8YlZ9ce8PuC1Ja NHZaZBVX97va3bcZW8Ev5S8x4pj3H+aSGwSujEXKe2YYokqjbd8o8kqjr+IR6la6s3 b+BdazS+sViwet2f8F/vjuwIdaqpG4Joh9L6TTujDPf1UclgVXVsul3UoHplJbGy38 U2r67XkRS9chQDQXsUdeJiHunFShBZ/xGbDIlCLcdCYRVMWuiRl/HXRfVkZxuaPp3H f3taqgo3g7DTQ== Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-fe32122311so15874740fac.7; Wed, 15 Jun 2022 03:16:13 -0700 (PDT) X-Gm-Message-State: AJIora+HD5Dw5zsrzOD9yOe2H3eSWf8FMogwYJhfqJoeB/wpjeY/apXX 0L4LqohiaEksf3oqP2Cs38MLpxhqC6LnnQOYEro= X-Google-Smtp-Source: AGRyM1uN/3D1+5Ut4Xt2mabIT0hR6gzAEW7Im9WVGqBeGn3OnhJh0XIUKAqRs97/yUL1cD2/EM5eYL4/9b9oQIafJWE= X-Received: by 2002:a05:6871:5c8:b0:f3:3c1c:126f with SMTP id v8-20020a05687105c800b000f33c1c126fmr5067969oan.126.1655288162336; Wed, 15 Jun 2022 03:16:02 -0700 (PDT) MIME-Version: 1.0 References: <20220614092156.1972846-1-mawupeng1@huawei.com> In-Reply-To: From: Ard Biesheuvel Date: Wed, 15 Jun 2022 12:15:51 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 0/5] introduce mirrored memory support for arm64 To: Mike Rapoport Cc: Wupeng Ma , Jonathan Corbet , Will Deacon , Catalin Marinas , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , X86 ML , "H. Peter Anvin" , Darren Hart , Andy Shevchenko , Andrew Morton , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Paul E. McKenney" , Kees Cook , songmuchun@bytedance.com, Randy Dunlap , damien.lemoal@opensource.wdc.com, Stephen Boyd , Wei Liu , Robin Murphy , David Hildenbrand , Anshuman Khandual , Zhen Lei , Kefeng Wang , gpiccoli@igalia.com, Huacai Chen , Geert Uytterhoeven , vijayb@linux.microsoft.com, Linux Doc Mailing List , Linux Kernel Mailing List , Linux ARM , linux-efi , platform-driver-x86@vger.kernel.org, Linux Memory Management List , linux-riscv Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Wed, 15 Jun 2022 at 09:54, Mike Rapoport wrote: > > On Tue, Jun 14, 2022 at 05:21:51PM +0800, Wupeng Ma wrote: > > From: Ma Wupeng > > > > Patch #1 introduce mirrored memory support form arm64. > > Patch #2-#4 fix some bugs for arm64 if memory reliable is enabled. > > Patch #5 disable mirror feature if kernelcore is not specified. > > > > Thanks to Ard Biesheuvel's hard work [1], now kernel will perfer mirrored > > memory if kaslr is enabled. > > > > [1] https://lore.kernel.org/linux-arm-kernel/CAMj1kXEPVEzMgOM4+Yj6PxHA-jFuDOAUdDJSiSxy_XaP4P7LSw@mail.gmail.com/T/ > > > > > > Ma Wupeng (5): > > efi: arm64: Introduce ability to find mirrored memory ranges > > mm: Ratelimited mirrored memory related warning messages > > mm: Limit warning message in vmemmap_verify() to once > > arm64: mm: Only remove nomap flag for initrd > > memblock: Disable mirror feature if kernelcore is not specified > > > > arch/arm64/mm/init.c | 2 +- > > arch/x86/include/asm/efi.h | 4 ---- > > arch/x86/platform/efi/efi.c | 23 ----------------------- > > drivers/firmware/efi/efi-init.c | 1 + > > drivers/firmware/efi/efi.c | 23 +++++++++++++++++++++++ > > include/linux/efi.h | 3 +++ > > mm/internal.h | 2 ++ > > mm/memblock.c | 7 +++++-- > > mm/page_alloc.c | 2 +- > > mm/sparse-vmemmap.c | 2 +- > > 10 files changed, 37 insertions(+), 32 deletions(-) > > For the series: Acked-by: Mike Rapoport > Thanks all, I've queued these up now.