From: Viktor Malik <[email protected]>

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 <[email protected]>

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

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to