[Bug 1202727] New: Upstream kernel commit 30de14b1884ba makes s390 to stop working on qemu
https://bugzilla.suse.com/show_bug.cgi?id=1202727
Bug ID: 1202727
Summary: Upstream kernel commit 30de14b1884ba makes s390 to
stop working on qemu
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: S/390-64
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
Assignee: kernel-bugs@opensuse.org
Reporter: mpdesouza@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
If the following commit is reverted
commit 30de14b1884ba609fc1acfba5b40309e3a6ccefe
Author: Sven Schnelle
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c1
--- Comment #1 from Marcos de Souza
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c2
Marcos de Souza
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c3
--- Comment #3 from Claudio Fontana
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c4
--- Comment #4 from Marcos de Souza
Hi Marcos,
does this problem affect bare metal also, or does this only show up with QEMU/kvm?
Unfortunately, I couldn't test on bare metal. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c5
--- Comment #5 from Marcos de Souza
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c6
--- Comment #6 from Marcos de Souza
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c7
--- Comment #7 from Marcos de Souza
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c8
--- Comment #8 from Petr Tesa����k
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c9
Marcos de Souza
Let me think...
One difference between the inline function and a global register value is that the function contained an "asm volatile", so the compiler was not allowed to re-order execution. Is KLP using the value of "current_stack_pointer" in a context that might change %r15 by any chance?
If that's the case, you may have to save the stack pointer into another variable like this:
const unsigned long current_sp = current_stack_pointer
The "const" qualifier may be needed to tell the compiler that the value is initialized once and never changed.
But do you see a reason for that commit to make the boot process stuck? -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1202727
https://bugzilla.suse.com/show_bug.cgi?id=1202727#c10
Petr Tesa����k
But do you see a reason for that commit to make the boot process stuck?
Of course, something similar might also be in the boot path. However, I misunderstood this bug. I saw "livepatch" in the log dump, so I thought it was affecting only KLP. If normal boot is also broken, then let me debug it there. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com