Kconfig (782f46cbce5328da9380f166bd31cd17a04a7b10) Kconfig (eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009)
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)

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

564
565config ARCH_USING_PATCHABLE_FUNCTION_ENTRY
566 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
567 depends on $(cc-option,-fpatchable-function-entry=2)
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
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)

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

564
565config ARCH_USING_PATCHABLE_FUNCTION_ENTRY
566 depends on FUNCTION_TRACER && (PPC32 || PPC64_ELF_ABI_V2)
567 depends on $(cc-option,-fpatchable-function-entry=2)
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
572config HOTPLUG_CPU
573 bool "Support for enabling/disabling CPUs"
574 depends on SMP && (PPC_PSERIES || \
575 PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE)
576 help
577 Say Y here to be able to disable and re-enable individual
578 CPUs at runtime on SMP machines.
579

--- 740 unchanged lines hidden ---
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 ---