Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp804796pxj; Thu, 27 May 2021 12:02:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx14DFZ0jGERdsfXqpN9IX5sD4pSGM2qy5mRR1XgN8fMlY3tBOyeCCh31/e42YBDB42ECw3 X-Received: by 2002:a05:6402:1719:: with SMTP id y25mr5925642edu.304.1622142154015; Thu, 27 May 2021 12:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622142154; cv=none; d=google.com; s=arc-20160816; b=IT3UyIuwIu1Lc7V8truceNI9b3nx9BuegwXtmR1BZA0xYxB/8Srh6M8isewCSPl6q/ peQE80VJ4GprXJOM2akMWZr2SibX2hNwf3HF9EtnNlkbeyKQ8432Vck1wcAM6aMxyw7N UtXYtkg7yTlBFqqCil4Tnb+KzJ7mePWSLAItxdkCimEnfLEwwW1oVPA5OwtS/1ZQC+mG +kOTMb53X2qVd6zPgF0URnEOX7ST+9XvllVEHm399uslXqvjyU8lbzm4kuSOPCAL7NGX xQtkGMkopHsC6HRUCF332be/37kI0q5ML2mwXYADgPNLWl4wKkIxi3YsTizBBaJTz+at zBpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1oD6JLE5EWjRlufSYDZsjObMxsyCJ+JD3Wt9caURjkQ=; b=C978F4Aan5U6mP3hn41JwMX7skiDDG5tdmqmEEyU+/wfLZtw94y9a1CZtO3ByrCFnm M3KvFKmuhqDhCP/lS636631TPEq5y+XKd3W08UDPKvd3nmHj/Ysou0rXspX9iO5lwcyv oHUjfgMtEvhSqg05l8xb30DGKbdQEyqwcFz1m/k1FYF4n5cdkaL4SmXgJRGnHl2Wnlcx Q+wIk4jVx3Q8cXAWEINGkJ0l3METlyl29htd2r9oD3xSwnwq6X7fYWPJBX8H25Mrn9KH MD3R4Oh2FrHw2i/jqBAMtZKK6q3DTMTa6R06p+SKRsjORWZvrD5D7bomVPc8iKXiNEa4 puVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r22si2967907ejy.129.2021.05.27.12.02.09; Thu, 27 May 2021 12:02:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234629AbhE0Q53 (ORCPT + 99 others); Thu, 27 May 2021 12:57:29 -0400 Received: from outbound-smtp22.blacknight.com ([81.17.249.190]:43722 "EHLO outbound-smtp22.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233979AbhE0Q52 (ORCPT ); Thu, 27 May 2021 12:57:28 -0400 Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp22.blacknight.com (Postfix) with ESMTPS id 16E3EBAA56 for ; Thu, 27 May 2021 17:55:54 +0100 (IST) Received: (qmail 24881 invoked from network); 27 May 2021 16:55:53 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 27 May 2021 16:55:53 -0000 Date: Thu, 27 May 2021 17:55:52 +0100 From: Mel Gorman To: Randy Dunlap Cc: Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Tom Rix Subject: Re: [PATCH] x86: fixmap: use CONFIG_NR_CPUS instead of NR_CPUS Message-ID: <20210527165552.GF30378@techsingularity.net> References: <20210521195918.2183-1-rdunlap@infradead.org> <59676378-1b52-cae7-7944-adeffd27190e@infradead.org> <20210527135328.GD30378@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 27, 2021 at 08:48:02AM -0700, Randy Dunlap wrote: > > Dropping "mm/early_ioremap: add prototype for early_memremap_pgprot_adjust" > > is one option. Alternatively, this should also work and it's a more > > sensible dependency. > > > > diff --git a/include/asm-generic/early_ioremap.h b/include/asm-generic/early_ioremap.h > > index 022f8f908b42..d95c693de640 100644 > > --- a/include/asm-generic/early_ioremap.h > > +++ b/include/asm-generic/early_ioremap.h > > @@ -3,7 +3,7 @@ > > #define _ASM_EARLY_IOREMAP_H_ > > > > #include > > -#include > > +#include > > > > /* > > * early_ioremap() and early_iounmap() are for temporary early boot-time > > > > That patch also lots of (different) problems: > Ok, thanks. Turns out the header dependencies are many and it ends either including a bunch of headers or else just mm_types.h. That's a lot to import just to get a working definition of pgprot_t and some other configuration could still be missed leaving linux-next broken for same people. Andrew, can you drop mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust-fix.patch from mmotm please? It's caused more hassle than it's worth. -- Mel Gorman SUSE Labs