Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-07-02 Thread Larry Finger
On 07/01/2018 11:16 PM, Michael Ellerman wrote: Linus Torvalds writes: On Fri, Jun 29, 2018 at 1:42 PM Larry Finger wrote: I have more information regarding this BUG. Line 700 of page-flags.h is the macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded the macro, and

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-07-01 Thread Michael Ellerman
Linus Torvalds writes: > On Fri, Jun 29, 2018 at 1:42 PM Larry Finger > wrote: >> >> I have more information regarding this BUG. Line 700 of page-flags.h is the >> macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded >> the macro, and found that the bug line is

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-30 Thread Larry Finger
On 06/30/2018 04:31 AM, christophe leroy wrote: Le 29/06/2018 à 22:42, Larry Finger a écrit : My PowerBook G4 Aluminum crashes on boot with 4.18-rcX kernels with a kernel BUG at include/linux/page-flags.h:700! The problem was bisected to commit 1d40a5ea01d5 ("mm: mark pages in use for page

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-30 Thread christophe leroy
Le 29/06/2018 à 22:42, Larry Finger a écrit : My PowerBook G4 Aluminum crashes on boot with 4.18-rcX kernels with a kernel BUG at include/linux/page-flags.h:700! The problem was bisected to commit 1d40a5ea01d5 ("mm: mark pages in use for page tables"). It is not possible to capture the bug

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-30 Thread Aneesh Kumar K.V
On 06/30/2018 03:16 AM, Kirill A. Shutemov wrote: On Fri, Jun 29, 2018 at 02:01:46PM -0700, Linus Torvalds wrote: On Fri, Jun 29, 2018 at 1:42 PM Larry Finger wrote: I have more information regarding this BUG. Line 700 of page-flags.h is the macro PAGE_TYPE_OPS(Table, table). For further

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Denise Finger
On 06/29/2018 04:01 PM, Linus Torvalds wrote: On Fri, Jun 29, 2018 at 1:42 PM Larry Finger wrote: I have more information regarding this BUG. Line 700 of page-flags.h is the macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded the macro, and found that the bug line is

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Linus Torvalds
On Fri, Jun 29, 2018 at 2:46 PM Kirill A. Shutemov wrote: > > Looks like pgtable_page_dtor() gets called in __pte_free_tlb() path twice. > Once in __pte_free_tlb() itself and the second time in pgtable_free(). Ahh, that would certainly do it,. and explains why this hits ppc32 but not x86, for

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Segher Boessenkool
On Fri, Jun 29, 2018 at 02:01:46PM -0700, Linus Torvalds wrote: > On Fri, Jun 29, 2018 at 1:42 PM Larry Finger > wrote: > But the real question is what the problem was the *first* time around. > I assume that has scrolled off the screen? This part: > > _exception_pkey+0x58/0x128 >

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Kirill A. Shutemov
On Fri, Jun 29, 2018 at 02:01:46PM -0700, Linus Torvalds wrote: > On Fri, Jun 29, 2018 at 1:42 PM Larry Finger > wrote: > > > > I have more information regarding this BUG. Line 700 of page-flags.h is the > > macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually > > expanded > >

Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Linus Torvalds
On Fri, Jun 29, 2018 at 1:42 PM Larry Finger wrote: > > I have more information regarding this BUG. Line 700 of page-flags.h is the > macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded > the macro, and found that the bug line is VM_BUG_ON_PAGE(!PageTable(page), > page)

[Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5

2018-06-29 Thread Larry Finger
My PowerBook G4 Aluminum crashes on boot with 4.18-rcX kernels with a kernel BUG at include/linux/page-flags.h:700! The problem was bisected to commit 1d40a5ea01d5 ("mm: mark pages in use for page tables"). It is not possible to capture the bug with anything other than a camera. The first few