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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS 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 8C30BC46471 for ; Mon, 6 Aug 2018 22:54:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5088521A53 for ; Mon, 6 Aug 2018 22:54:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5088521A53 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387483AbeHGBF7 (ORCPT ); Mon, 6 Aug 2018 21:05:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44106 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732135AbeHGBF6 (ORCPT ); Mon, 6 Aug 2018 21:05:58 -0400 Received: from localhost.localdomain (c-24-4-125-7.hsd1.ca.comcast.net [24.4.125.7]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8E187EC3; Mon, 6 Aug 2018 22:54:41 +0000 (UTC) Date: Mon, 6 Aug 2018 15:54:40 -0700 From: Andrew Morton To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , Dan Williams , Michael Ellerman , linuxppc-dev Subject: Re: Build regressions/improvements in v4.17-rc1 Message-Id: <20180806155440.9dcb271a3b075bd964aec60f@linux-foundation.org> In-Reply-To: References: <1523884165-17044-1-git-send-email-geert@linux-m68k.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Aug 2018 12:39:21 +0200 Geert Uytterhoeven wrote: > CC Dan, Michael, AKPM, powerpc > > On Mon, Apr 16, 2018 at 3:10 PM Geert Uytterhoeven wrote: > > Below is the list of build error/warning regressions/improvements in > > v4.17-rc1[1] compared to v4.16[2]. > > I'd like to point your attention to: > > > + warning: vmlinux.o(.text+0x376518): Section mismatch in reference from the function .devm_memremap_pages() to the function .meminit.text:.arch_add_memory(): => N/A > > + warning: vmlinux.o(.text+0x376d64): Section mismatch in reference from the function .devm_memremap_pages_release() to the function .meminit.text:.arch_remove_memory(): => N/A hm. Dan isn't around at present so we're on our own with this one. x86 doesn't put arch_add_memory and arch_remove_memory into __meminit. x86 does #ifdef CONFIG_MEMORY_HOTPLUG int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock) { ... So I guess powerpc should do that as well?