From: Viktor Malik vmalik@redhat.com
redhat/configs: Add CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE
Add new config option CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE added by upstream commit cf9bc0efcce2 ("powerpc64/ftrace: Support .text larger than 32MB with out-of-line stubs").
Set the value to the default 32768 as it is suitable for vmlinux with .text section up to 48MB. Currently, RHEL vmlinux on ppc64le has 18MB.
Signed-off-by: Viktor Malik vmalik@redhat.com
diff --git a/redhat/configs/rhel/generic/powerpc/CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE b/redhat/configs/rhel/generic/powerpc/CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/powerpc/CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE @@ -0,0 +1 @@ +CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE=32768
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784
From: Patrick Talbert on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784#note_2428447...
@vmalikrh afaict this is already present for rhel, just not arch specific:
https://gitlab.com/cki-project/kernel-ark/-/blob/os- build/redhat/configs/rhel/generic/CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE
and for fedora under powerpc:
https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/redhat/configs/fed... a/generic/powerpc/CONFIG_PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784#note_2428468...
Ah, good spot, I missed those, thanks!
Since the config is powerpc-specific, is it preferred moving it from generic under powerpc in RHEL (i.e. the same as in Fedora) or do we just leave it as it is?
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784#note_2428468...
Ah, good spot, I missed those, thanks!
Since the config is powerpc-specific, is it preferred moving it from generic under powerpc in RHEL (i.e. the same as in Fedora) or do we just leave it as it is?
Edit: I'll do the same in c10s afterwards.
From: Patrick Talbert on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784#note_2428475...
If the config is only present/relevant to powerpc then imho it should have been put under the powerpc/ folder. But it works either way.
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3784#note_2428477...
Agreed, let me move it under powerpc to have it consistent.
kernel@lists.fedoraproject.org