[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

Erhard F. (erhar...@mailbox.org) changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |CODE_FIX

--- Comment #11 from Erhard F. (erhar...@mailbox.org) ---
Fix landed in 5.6-rc3, works now as expected. Thanks!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #10 from Erhard F. (erhar...@mailbox.org) ---
Sure. Thanks!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #9 from Christophe Leroy (christophe.le...@c-s.fr) ---
Great. Can we add your Tested-by: to the commit ?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #8 from Erhard F. (erhar...@mailbox.org) ---
(In reply to Christophe Leroy from comment #7)
> Can you try version v2 of the patch,
> https://patchwork.ozlabs.org/patch/1237387/
I can confirm that v2 works as intended. The G4 completes booting with
VMAP_STACK enabled and without producing further stack traces. Thanks!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #7 from Christophe Leroy (christophe.le...@c-s.fr) ---
Can you try version v2 of the patch,
https://patchwork.ozlabs.org/patch/1237387/

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #6 from Christophe Leroy (christophe.le...@c-s.fr) ---
I found the reason I think. I just realised that the things saved to SPRN_SPRG
and in thread struct get overwriten by the DSI taken at stack write.

I'll prepare something to fix that.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #5 from Christophe Leroy (christophe.le...@c-s.fr) ---
Interesting.

NIP:  0550
NIP:  045c
NIP:  0c38
NIP:  0370

The kernel seems to badly fault on the first write to the stack. This suggests
that there is no page allocated for the stack yet. Which is unexpected because
in copy_thread_tls() several writes to the stack are performed so the pages
must exist in page tables.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #4 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 287329
  --> https://bugzilla.kernel.org/attachment.cgi?id=287329=edit
dmesg (5.6.0-rc1 + Fix DSI and ISI... patch , PowerMac G4 DP)

First patch was not successful, I got no stacktrace but the boot process still
got still stuck.

Second patch was succesful to the point where the G4 was able to boot up to the
point of revealing a dmesg full of other problems, e.g. some 'Unrecoverable
exceptions' ;)

Please find the dmesg attached.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #3 from Christophe Leroy (christophe.le...@c-s.fr) ---
Could you also test the patch https://patchwork.ozlabs.org/patch/1236804/
instead of the above patch.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

Christophe Leroy (christophe.le...@c-s.fr) changed:

   What|Removed |Added

 CC||christophe.le...@c-s.fr

--- Comment #2 from Christophe Leroy (christophe.le...@c-s.fr) ---
Created attachment 287321
  --> https://bugzilla.kernel.org/attachment.cgi?id=287321=edit
powerpc/32s: Fix add_hash_page() for CONFIG_VMAP_STACK

Please test this patch.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[Bug 206501] Kernel 5.6-rc1 fails to boot on a PowerMac G4 3,6 with CONFIG_VMAP_STACK=y: Oops! Machine check, sig: 7 [#1]

2020-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206501

--- Comment #1 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 287313
  --> https://bugzilla.kernel.org/attachment.cgi?id=287313=edit
kernel .config (5.6.0-rc1, PowerMac G4 DP)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.