Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 03:47:22 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318130 - head/sys/cddl/dev/fbt/powerpc
Message-ID:  <201705100347.v4A3lMl1017857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Wed May 10 03:47:22 2017
New Revision: 318130
URL: https://svnweb.freebsd.org/changeset/base/318130

Log:
  Fix the encoded instruction for FBT traps on powerpc
  
  r314370 changed EXC_DTRACE to a different instruction, but neglected to
  make the same change to fbt, so dtrace didn't actually pick it up,
  resulting in entering KDB instead of trapping for dtrace.
  
  MFC after:	1 week

Modified:
  head/sys/cddl/dev/fbt/powerpc/fbt_isa.c

Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c
==============================================================================
--- head/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Wed May 10 03:20:20 2017	(r318129)
+++ head/sys/cddl/dev/fbt/powerpc/fbt_isa.c	Wed May 10 03:47:22 2017	(r318130)
@@ -37,7 +37,7 @@
 
 #include "fbt.h"
 
-#define FBT_PATCHVAL		0x7c810808
+#define FBT_PATCHVAL		0x7ffff808
 #define FBT_MFLR_R0		0x7c0802a6
 #define FBT_MTLR_R0		0x7c0803a6
 #define FBT_BLR			0x4e800020



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705100347.v4A3lMl1017857>