All of lore.kernel.org
 help / color / mirror / Atom feed
* Build error in 3.18.y-stable-queue (s390)
@ 2016-03-23  3:42 Guenter Roeck
  2016-03-23  4:21 ` Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-03-23  3:42 UTC (permalink / raw)
  To: stable, Sasha Levin

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.

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.

Guenter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-23  3:42 Build error in 3.18.y-stable-queue (s390) Guenter Roeck
@ 2016-03-23  4:21 ` Guenter Roeck
  2016-03-24 12:38   ` Sasha Levin
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-03-23  4:21 UTC (permalink / raw)
  To: stable, Sasha Levin

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.
>
> 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.

Thanks,
Guenter


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-23  4:21 ` Guenter Roeck
@ 2016-03-24 12:38   ` Sasha Levin
  2016-03-24 18:01     ` Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: Sasha Levin @ 2016-03-24 12:38 UTC (permalink / raw)
  To: Guenter Roeck, stable

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.


Thanks,
Sasha


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-24 12:38   ` Sasha Levin
@ 2016-03-24 18:01     ` Guenter Roeck
  2016-03-27  5:41       ` Sasha Levin
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-03-24 18:01 UTC (permalink / raw)
  To: Sasha Levin; +Cc: stable

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

Guenter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-24 18:01     ` Guenter Roeck
@ 2016-03-27  5:41       ` Sasha Levin
  2016-03-27 15:35         ` Guenter Roeck
  0 siblings, 1 reply; 7+ messages in thread
From: Sasha Levin @ 2016-03-27  5:41 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: stable

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-27  5:41       ` Sasha Levin
@ 2016-03-27 15:35         ` Guenter Roeck
  2016-03-28 17:07           ` Sasha Levin
  0 siblings, 1 reply; 7+ messages in thread
From: Guenter Roeck @ 2016-03-27 15:35 UTC (permalink / raw)
  To: Sasha Levin; +Cc: stable

Hi Sasha,

On 03/26/2016 10:41 PM, Sasha Levin wrote:
...
>
> Should be fixed now, I hope.
>

Builds now all pass, but now I get runtime errors on arm and microblaze qemu tests.

WARNING: CPU: 0 PID: 33 at mm/mmap.c:2787 exit_mmap+0x1ac/0x230()

You'll need to also pick up commit b30fe6c7ced7 ("mm: fix false-positive warning
on exit due mm_nr_pmds(mm)") to fix that.

The s390 qemu test now builds, but the test itself gets a RCU stall and hangs.
Reverting "s390/mm: four page table levels vs. fork" fixes the problem.

Guenter


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build error in 3.18.y-stable-queue (s390)
  2016-03-27 15:35         ` Guenter Roeck
@ 2016-03-28 17:07           ` Sasha Levin
  0 siblings, 0 replies; 7+ messages in thread
From: Sasha Levin @ 2016-03-28 17:07 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: stable

On 03/27/2016 11:35 AM, Guenter Roeck wrote:
> Hi Sasha,
> 
> On 03/26/2016 10:41 PM, Sasha Levin wrote:
> ...
>>
>> Should be fixed now, I hope.
>>
> 
> Builds now all pass, but now I get runtime errors on arm and microblaze qemu tests.
> 
> WARNING: CPU: 0 PID: 33 at mm/mmap.c:2787 exit_mmap+0x1ac/0x230()
> 
> You'll need to also pick up commit b30fe6c7ced7 ("mm: fix false-positive warning
> on exit due mm_nr_pmds(mm)") to fix that.
> 
> The s390 qemu test now builds, but the test itself gets a RCU stall and hangs.
> Reverting "s390/mm: four page table levels vs. fork" fixes the problem.

I'm just going to remove "s390/mm: four page table levels vs. fork" and all commits
I've added as a prereq and will ask the maintainers for a proper backport.


Thanks,
Sasha

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-28 17:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-23  3:42 Build error in 3.18.y-stable-queue (s390) Guenter Roeck
2016-03-23  4:21 ` Guenter Roeck
2016-03-24 12:38   ` Sasha Levin
2016-03-24 18:01     ` Guenter Roeck
2016-03-27  5:41       ` Sasha Levin
2016-03-27 15:35         ` Guenter Roeck
2016-03-28 17:07           ` Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.