Skip to content

Commit

Permalink
doc: Update s390 kernel prerequisite
Browse files Browse the repository at this point in the history
Signed-off-by: Sumanth Korikkar <[email protected]>
  • Loading branch information
sumanthkorikkar authored and Sumanth Korikkar committed Feb 23, 2023
1 parent a45c17f commit 324a437
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/s390-upstream-prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- eed38cd2f46f s390/nospec: generate single register thunks if possible
- 2268169c14e5 s390: remove unused expoline to BC instructions
- f0003a9e4c18 s390/entry: remove unused expoline thunk
- ded466e18066 s390/unwind: fix fgraph return address recovery

**v5.16:**
- torvalds/linux@f6ac18f sched: Improve try_invoke_on_locked_down_task()
Expand Down

3 comments on commit 324a437

@john-cabaj
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like d81675b60d09 "s390/unwind: recover kretprobe modified return address in stacktrace" is also required for a clean cherry-pick of ded466e18066 "s390/unwind: fix fgraph return address recovery".

At any rate, I've had success with using kpatch with all commits above prior to including any s390/unwind patches (with UBSAN disabled, as discussed in #1328). Is this preventing particular kpatch functionality?

@joe-lawrence
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @john-cabaj : missing d81675b60d09 ("s390/unwind: recover kretprobe modified return address in stacktrace") can cause livepatch transition problems when ftrace graph tracing is in effect. See SUSE/qa_test_klp#17 for a test case. AFAIK there is nothing kpatch specific about that commit, but it is similarly affected since it's leveraging kernel livepatch.

@sumanthkorikkar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@john-cabaj ,agree to what Joe mentioned, Would be essential for live patch transitions. Thanks

Please sign in to comment.