Hi All,

I am currently working on enabling kpatch application on our platform s390x. I have made few required changes to kpatch-build and it seems to work with the upstream kernel.

My current work on s390x:
- Marking the profiling functions.
- Addition of s390x specific compile flags.
- Handling of s390x specific sections.
- Analyzing the output of various patches and checking for correctness


I checked out the optimization which is being performed in kpatch_line_macro_change_only(). To test this: - Added few comments in fs/namei.c, which contains various WARN_ON()/BUG_ON() - upstream kernel. - Currently shows as "no functional changes found" on s390x, without implementing kpatch_line_macro_change_only() function, which seems to be correct. - Then, I also performed some quick test on x86 by commenting out kpatch_line_macro_change_only() function and returning 0. - This actually provided the same result "no functional changes found" found. But as per my understanding, this should have shown various
  section changes due to change in their line number

I was also searching for pattern which was suggested in commit 6b03bc8e ("fix WARN*_ONCE detection on newer kernels") on x86 upstream kernel, but could not get these patterns. May be I am missing something.

Could you provide some feedback on these?

Thank you.


Best Regards
Sumanth Korikkar

--
Sumanth Korikkar


_______________________________________________
kpatch mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/kpatch

Reply via email to