Kconfig (eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009) Kconfig (cf9bc0efcce2c324314cf7f5138c08f85ef7b5eb)
1# SPDX-License-Identifier: GPL-2.0
2source "arch/powerpc/platforms/Kconfig.cputype"
3
4config CC_HAS_ELFV2
5 def_bool PPC64 && $(cc-option, -mabi=elfv2)
6
7config CC_HAS_PREFIXED
8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed)

--- 559 unchanged lines hidden (view full) ---

568 def_bool y if PPC32
569 def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlittle-endian) if PPC64 && CPU_LITTLE_ENDIAN
570 def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbig-endian) if PPC64 && CPU_BIG_ENDIAN
571
572config PPC_FTRACE_OUT_OF_LINE
573 def_bool PPC64 && ARCH_USING_PATCHABLE_FUNCTION_ENTRY
574 select ARCH_WANTS_PRE_LINK_VMLINUX
575
1# SPDX-License-Identifier: GPL-2.0
2source "arch/powerpc/platforms/Kconfig.cputype"
3
4config CC_HAS_ELFV2
5 def_bool PPC64 && $(cc-option, -mabi=elfv2)
6
7config CC_HAS_PREFIXED
8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed)

--- 559 unchanged lines hidden (view full) ---

568 def_bool y if PPC32
569 def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mlittle-endian) if PPC64 && CPU_LITTLE_ENDIAN
570 def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh $(CC) -mbig-endian) if PPC64 && CPU_BIG_ENDIAN
571
572config PPC_FTRACE_OUT_OF_LINE
573 def_bool PPC64 && ARCH_USING_PATCHABLE_FUNCTION_ENTRY
574 select ARCH_WANTS_PRE_LINK_VMLINUX
575
576config PPC_FTRACE_OUT_OF_LINE_NUM_RESERVE
577 int "Number of ftrace out-of-line stubs to reserve within .text"
578 depends on PPC_FTRACE_OUT_OF_LINE
579 default 32768
580 help
581 Number of stubs to reserve for use by ftrace. This space is
582 reserved within .text, and is distinct from any additional space
583 added at the end of .text before the final vmlinux link. Set to
584 zero to have stubs only be generated at the end of vmlinux (only
585 if the size of vmlinux is less than 32MB). Set to a higher value
586 if building vmlinux larger than 48MB.
587
576config HOTPLUG_CPU
577 bool "Support for enabling/disabling CPUs"
578 depends on SMP && (PPC_PSERIES || \
579 PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE)
580 help
581 Say Y here to be able to disable and re-enable individual
582 CPUs at runtime on SMP machines.
583

--- 740 unchanged lines hidden ---
588config HOTPLUG_CPU
589 bool "Support for enabling/disabling CPUs"
590 depends on SMP && (PPC_PSERIES || \
591 PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE)
592 help
593 Say Y here to be able to disable and re-enable individual
594 CPUs at runtime on SMP machines.
595

--- 740 unchanged lines hidden ---