Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp731347ybl; Fri, 10 Jan 2020 05:53:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxjBRPup0Zh5xKciQQEFmcL0f1KfkDPDtvLC1Qj2hFLFVFhcPGh9wlnYd+MXNLG+Is/aqdG X-Received: by 2002:a05:6808:2c4:: with SMTP id a4mr2163340oid.22.1578664437257; Fri, 10 Jan 2020 05:53:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578664437; cv=none; d=google.com; s=arc-20160816; b=vc0PmNUgWeqqs1rzYVCRoWhw6N5lCbJ/eL/rZ4y3t/7QaZ266z7H5SaEd3C3fngpZP gvALdGBMm93JYJzDUusm94GUqtcGHXZKpqZTGwnqFBY3myyatsOEHjtDuP7DAW+iwFG0 8cR2YO/jcMJ+Lg+7yq9XCT0oe+6QlbDN6pP7TBpho6TjOM7V7BP6XwIpZ1fl3yjtaUkz R6THx3xv0Fo08rwCKbtAplwDdZo4nHaT/d+6f++Z71oefDJHnH3R5cAWpYc9N4fAV221 SKZf2t234MsI735SSo+d+39FqVpsdEFDbO+GcBBxrrW8QLAGmJ2ElMMpEnTBlSKMdp0M jgog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=6Ob4qIcyR3AQHSBdVAAxHoH4a4rBj3d0wJyODMYn8wg=; b=B1hvNokOS9WnwQX+KJ/TjuvDhCzmlxaQsXi9TxyUsphxaYB0WcF+dbMFyIvOuMEGDt Ujy6zzq3sgWFckOULP6PKlMmu9FqmFPd8YuZ7u6KdWCOgovPVZmmMLSeyLpZM5qNObNq uzP3DEG2OlH1okCG85uzekLkhqMuxgNwff/sjENOVaEG/pzaiLO0lAH9awiHkjgts61n eBzff2C+oqZZhfHhWPQ+XuHgo2QIBtcqPwuBzVNTKEnw06f8xlCw/u28qPe88ZiRzFnn hzHbnSyGhfjyUMb+PpetFco1ohO2S0egZgVX9LCbfzo+e+YiM52RumSwaakt/wPHe9xW qTQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si1744102otr.219.2020.01.10.05.53.44; Fri, 10 Jan 2020 05:53:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727904AbgAJNwn (ORCPT + 99 others); Fri, 10 Jan 2020 08:52:43 -0500 Received: from foss.arm.com ([217.140.110.172]:44904 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727641AbgAJNwn (ORCPT ); Fri, 10 Jan 2020 08:52:43 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E138D328; Fri, 10 Jan 2020 05:52:42 -0800 (PST) Received: from arm.com (e112269-lin.cambridge.arm.com [10.1.194.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 22C2C3F534; Fri, 10 Jan 2020 05:52:42 -0800 (PST) Date: Fri, 10 Jan 2020 13:52:38 +0000 From: Steven Price To: Anders Roxell , Andrew Morton Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: Tree for Jan 10 Message-ID: <20200110135238.GA9315@arm.com> References: <20200110190737.65d8881b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2020 at 10:11:41AM +0000, Anders Roxell wrote: > On Fri, 10 Jan 2020 at 09:07, Stephen Rothwell wrote: > > > > Hi all, > > > > Changes since 20200109: > > I see the following build error on arm64: > > ../arch/arm64/mm/dump.c: In function ‘ptdump_walk’: > ../arch/arm64/mm/dump.c:326:2: error: too few arguments to function > ‘ptdump_walk_pgd’ > ptdump_walk_pgd(&st.ptdump, info->mm); > ^~~~~~~~~~~~~~~ > In file included from ../arch/arm64/mm/dump.c:18: > ../include/linux/ptdump.h:20:6: note: declared here > void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, > pgd_t *pgd); > ^~~~~~~~~~~~~~~ > ../arch/arm64/mm/dump.c: In function ‘ptdump_check_wx’: > ../arch/arm64/mm/dump.c:364:2: error: too few arguments to function > ‘ptdump_walk_pgd’ > ptdump_walk_pgd(&st.ptdump, &init_mm); > ^~~~~~~~~~~~~~~ > In file included from ../arch/arm64/mm/dump.c:18: > ../include/linux/ptdump.h:20:6: note: declared here > void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, > pgd_t *pgd); > ^~~~~~~~~~~~~~~ > make[3]: *** [../scripts/Makefile.build:266: arch/arm64/mm/dump.o] Error 1 > make[3]: Target '__build' not remade because of errors. > make[2]: *** [../scripts/Makefile.build:503: arch/arm64/mm] Error 2 > make[2]: Target '__build' not remade because of errors. > make[1]: *** [/srv/jenkins/kernel/randconfig/Makefile:1683: arch/arm64] Error 2 > > I think something happened when applying patch [1], the changes in > arch/arm64/mm/dump.c > got dropped somehow. What that intended ? > Indeed this chunk appears to be missing in Andrew's version of the patch[1] too. Clearly the interface change needs to be included in the arm64 code. Perhaps the "x86" tag in the subject caused confusion? Steve [1] https://ozlabs.org/~akpm/mmots/broken-out/x86-mm-avoid-allocating-struct-mm_struct-on-the-stack.patch > > Cheers, > Anders > [1] https://lore.kernel.org/lkml/20200108145710.34314-1-steven.price@arm.com/