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 X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FCD3C2B9F7 for ; Wed, 26 May 2021 09:02:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E799B613BF for ; Wed, 26 May 2021 09:02:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233539AbhEZJEN (ORCPT ); Wed, 26 May 2021 05:04:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:44252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233436AbhEZJEJ (ORCPT ); Wed, 26 May 2021 05:04:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 26156613BF; Wed, 26 May 2021 09:02:37 +0000 (UTC) Date: Wed, 26 May 2021 10:02:34 +0100 From: Catalin Marinas To: Stephen Rothwell Cc: Andrew Morton , Will Deacon , Jisheng Zhang , Linux Kernel Mailing List , Linux Next Mailing List , Mike Rapoport , Mike Rapoport Subject: Re: linux-next: manual merge of the akpm tree with the arm64-fixes tree Message-ID: <20210526090234.GB19992@arm.com> References: <20210526164910.564f598f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526164910.564f598f@canb.auug.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Wed, May 26, 2021 at 04:49:10PM +1000, Stephen Rothwell wrote: > diff --cc arch/arm64/mm/mmu.c > index cbcbd64818eb,e3b639e2461d..000000000000 > --- a/arch/arm64/mm/mmu.c > +++ b/arch/arm64/mm/mmu.c > @@@ -515,8 -516,7 +516,7 @@@ static void __init map_mem(pgd_t *pgdp > */ > BUILD_BUG_ON(pgd_index(direct_map_end - 1) == pgd_index(direct_map_end)); > > - if (rodata_full || crash_mem_map || debug_pagealloc_enabled() || > - IS_ENABLED(CONFIG_KFENCE)) > - if (can_set_direct_map() || crash_mem_map) > ++ if (can_set_direct_map() || crash_mem_map || IS_ENABLED(CONFIG_KFENCE)) > flags |= NO_BLOCK_MAPPINGS | NO_CONT_MAPPINGS; It looks fine. Thanks Stephen. -- Catalin