freebsd-skq/sys
jhibbits 2dbc3fb187 powerpc64: Print current MSR on printtrap()
Summary:
Print current MSR on printtrap(). Currently, printtrap just prints srr1, which
contains part of the MSR prior to the exception. I find useful to dump the
current value of the MSR, since it changes when there is an interruption.

With this patch, this is the new printtrap model:

handled user trap:

    exception       = 0x700 (program)
    srr0            = 0x100008a0 (0x100008a0)
    srr1            = 0x800000000002f032
    current msr     = 0x8000000000009032
    lr              = 0x1000089c (0x1000089c)
    curthread       = 0x7a50000
	pid = 714, comm = ttrap2

Submitted by:	Breno Leitao
Reviewed by:	nwhitehorn
Differential Revision: https://reviews.freebsd.org/D14600
2018-04-08 16:55:28 +00:00
..
amd64 Handle Skylake-X errata SKZ63. 2018-04-07 17:06:13 +00:00
arm Move fdt_is_type to be a Marvell specific function. It's not used by any 2018-04-08 12:20:06 +00:00
arm64 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
bsm
cam Do not fail devices just for errors in descriptor format. 2018-04-06 19:47:44 +00:00
cddl 9434 Speculative prefetch is blocked by device removal code. 2018-04-03 21:16:41 +00:00
compat Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
conf Add an unused _COMPAT_LINUX32 option to ensure opt_compat.h exists on 2018-04-06 19:11:22 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
dev Revert r332277, it contained an unintended extra change 2018-04-08 15:21:12 +00:00
dts [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
fs Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gnu bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default 2018-02-13 17:43:54 +00:00
i386 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern locks: tweak backoff a little bit 2018-04-08 16:34:10 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
modules Update VMCI license based on comments from core, the FreeBSD Foundation, 2018-04-08 01:32:56 +00:00
net Remove the thread argument from ifr_buffer_*() accessors. 2018-04-06 23:25:54 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Fix a logical inversion bug. 2018-04-08 12:08:20 +00:00
netinet6 Fix a logical inversion bug. 2018-04-08 12:08:20 +00:00
netipsec Set the proper vnet in IPsec callback functions. 2018-03-20 17:05:23 +00:00
netpfil pf: Improve ioctl validation 2018-04-06 19:36:35 +00:00
netsmb Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs Remove infrastructure for token-ring networks. 2018-03-28 23:33:26 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
powerpc powerpc64: Print current MSR on printtrap() 2018-04-08 16:55:28 +00:00
riscv Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
sys Add the ioctl definitions for spigen get/set spi mode. Should have been 2018-04-07 20:53:34 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Handle Skylake-X errata SKZ63. 2018-04-07 17:06:13 +00:00
x86 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile