path: root/arch
diff options
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2019-03-04 08:25:51 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2019-03-12 03:06:12 (GMT)
commit19d6907521b04206676741b26e05a1524662f9d2 (patch)
tree4f1995a0ee1df6f0d866f1d48a867e7970dd6f45 /arch
parente585f51c4ee00046175ace52ca87ea4726302688 (diff)
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>
Diffstat (limited to 'arch')
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile
index d52ec118..3c1bd9f 100644
--- a/arch/powerpc/mm/Makefile
+++ b/arch/powerpc/mm/Makefile
@@ -52,3 +52,6 @@ obj-$(CONFIG_PPC_MEM_KEYS) += pkeys.o
# This is necessary for booting with kcov enabled on book3e machines
KCOV_INSTRUMENT_tlb_nohash.o := n
KCOV_INSTRUMENT_fsl_booke_mmu.o := n
+# Instrumenting the SLB fault path can lead to duplicate SLB entries

Privacy Policy