Skip to content

Commit 19d6907

Browse files
maheshsalmpe
authored andcommitted
powerpc/mm: Disable kcov for SLB routines
The kcov instrumentation inside SLB routines causes duplicate SLB entries to be added resulting into SLB multihit machine checks. Disable kcov instrumentation on slb.o Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent e585f51 commit 19d6907

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/powerpc/mm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ obj-$(CONFIG_PPC_MEM_KEYS) += pkeys.o
5252
# This is necessary for booting with kcov enabled on book3e machines
5353
KCOV_INSTRUMENT_tlb_nohash.o := n
5454
KCOV_INSTRUMENT_fsl_booke_mmu.o := n
55+
56+
# Instrumenting the SLB fault path can lead to duplicate SLB entries
57+
KCOV_INSTRUMENT_slb.o := n

0 commit comments

Comments
 (0)