linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Disable kcov for slb routines.
@ 2019-03-04  8:25 Mahesh J Salgaonkar
  2019-03-05  3:31 ` Andrew Donnellan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mahesh J Salgaonkar @ 2019-03-04  8:25 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: syzkaller, Paul Mackerras, Nicholas Piggin, Andrew Donnellan

From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

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>
---
 arch/powerpc/mm/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile
index d4d32e229ace..f9cb40684746 100644
--- a/arch/powerpc/mm/Makefile
+++ b/arch/powerpc/mm/Makefile
@@ -60,3 +60,4 @@ 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
+KCOV_INSTRUMENT_slb.o := n


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-20 12:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04  8:25 [PATCH] Disable kcov for slb routines Mahesh J Salgaonkar
2019-03-05  3:31 ` Andrew Donnellan
2019-03-07  4:37 ` Satheesh Rajendran
2019-03-14 11:43 ` Michael Ellerman
2019-03-15  5:01   ` Mahesh Jagannath Salgaonkar
2019-03-20 12:51     ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).