diff options
| author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2019-03-04 03:25:51 -0500 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-03-11 23:06:12 -0400 |
| commit | 19d6907521b04206676741b26e05a1524662f9d2 (patch) | |
| tree | 4f1995a0ee1df6f0d866f1d48a867e7970dd6f45 | |
| parent | e585f51c4ee00046175ace52ca87ea4726302688 (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>
| -rw-r--r-- | arch/powerpc/mm/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile index d52ec118e09d..3c1bd9fa23cd 100644 --- a/arch/powerpc/mm/Makefile +++ b/arch/powerpc/mm/Makefile | |||
| @@ -52,3 +52,6 @@ obj-$(CONFIG_PPC_MEM_KEYS) += pkeys.o | |||
| 52 | # This is necessary for booting with kcov enabled on book3e machines | 52 | # This is necessary for booting with kcov enabled on book3e machines |
| 53 | KCOV_INSTRUMENT_tlb_nohash.o := n | 53 | KCOV_INSTRUMENT_tlb_nohash.o := n |
| 54 | KCOV_INSTRUMENT_fsl_booke_mmu.o := n | 54 | 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 | ||
