Skip to content

Commit 3700976

Browse files
powerpc: Add check to select PPC_RADIX_BROADCAST_TLBIE
Commit 3d45a3d ("powerpc: Define config option for processors with broadcast TLBIE") added a config option PPC_RADIX_BROADCAST_TLBIE to support processors with broadcast TLBIE. Since this option is relevant only for RADIX_MMU, add a check as a dependency to enable PPC_RADIX_BROADCAST_TLBIE in both powernv and pseries configs. This fixes the unmet config dependency warning reported WARNING: unmet direct dependencies detected for PPC_RADIX_BROADCAST_TLBIE Depends on [n]: PPC_RADIX_MMU [=n] Selected by [y]: - PPC_PSERIES [=y] && PPC64 [=y] && PPC_BOOK3S [=y] Reported-by: kernel test robot <lkp@intel.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Closes: https://lore.kernel.org/oe-kbuild-all/202504051857.jRqxM60c-lkp@intel.com/ Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250407084029.357710-1-maddy@linux.ibm.com
1 parent 534f5a8 commit 3700976

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/powerpc/platforms/powernv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ config PPC_POWERNV
1717
select MMU_NOTIFIER
1818
select FORCE_SMP
1919
select ARCH_SUPPORTS_PER_VMA_LOCK
20-
select PPC_RADIX_BROADCAST_TLBIE
20+
select PPC_RADIX_BROADCAST_TLBIE if PPC_RADIX_MMU
2121
default y
2222

2323
config OPAL_PRD

arch/powerpc/platforms/pseries/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ config PPC_PSERIES
2323
select FORCE_SMP
2424
select SWIOTLB
2525
select ARCH_SUPPORTS_PER_VMA_LOCK
26-
select PPC_RADIX_BROADCAST_TLBIE
26+
select PPC_RADIX_BROADCAST_TLBIE if PPC_RADIX_MMU
2727
default y
2828

2929
config PARAVIRT

0 commit comments

Comments
 (0)