From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com ([141.146.126.69]:31126 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451AbcC0Fl7 (ORCPT ); Sun, 27 Mar 2016 01:41:59 -0400 Subject: Re: Build error in 3.18.y-stable-queue (s390) To: Guenter Roeck References: <56F210BD.1060301@roeck-us.net> <56F219B0.3040107@roeck-us.net> <56F3DFC3.8060600@oracle.com> <20160324180155.GA15991@roeck-us.net> Cc: stable From: Sasha Levin Message-ID: <56F7727A.5020806@oracle.com> Date: Sun, 27 Mar 2016 01:41:14 -0400 MIME-Version: 1.0 In-Reply-To: <20160324180155.GA15991@roeck-us.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 03/24/2016 02:01 PM, Guenter Roeck wrote: > On Thu, Mar 24, 2016 at 08:38:27AM -0400, Sasha Levin wrote: >> Thanks for the report Guenter! >> >> On 03/23/2016 12:21 AM, Guenter Roeck wrote: >>> On 03/22/2016 08:42 PM, Guenter Roeck wrote: >>>> Hi Sasha, >>>> >>>> s390 builds in v3.18.y-stable-queue fail as follows. >>>> >>>> ./arch/s390/include/asm/mmu_context.h: In function 'init_new_context': >>>> ./arch/s390/include/asm/mmu_context.h:33:3: error: implicit declaration of function 'mm_inc_nr_pmds' >>>> >>>> Culprit appears to be 's390/mm: four page table levels vs. fork'. It uses mm_inc_nr_pmds(), >>>> which does not exist in v3.18. >> >> Should be fixed, I backported "mm: account pmd page tables to the process" as well. >> >>>> I noticed that arm64:allmodconfig builds fail as well, but that is not a new problem and >>>> only seen with gcc 5.2 (or at least not with gcc 4.9.1). I'll see if I can track this down. >>>> >>> >>> Fixing the arm64 problem will require patch f5e0a12ca2d9 ("arm64: psci: move psci firmware >>> calls out of line"). The patch doesn't apply cleanly; there is a minor conflict in the >>> arm64 Makefile. Let me know if you need me to send a backport. >> >> I've grabbed that commit. >> > > Now I get: > > alpha, m32r, m68k, microblaze, parisc, sparc: > > mm/mmap.c: In function 'exit_mmap': > mm/mmap.c:2786:2: error: 'PUD_SHIFT' undeclared > > s390: > > ./arch/s390/include/asm/mmu_context.h: In function 'init_new_context': > ./arch/s390/include/asm/mmu_context.h:30:22: error: > '_ASCE_TYPE_REGION3' undeclared Should be fixed now, I hope. I better get more than just x86/ARM for cross compiling :/ Thanks, Sasha