aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorRob Gardner <rob.gardner@oracle.com>2017-09-08 16:34:21 -0600
committerDavid S. Miller <davem@davemloft.net>2017-09-09 20:20:11 -0700
commitb6fe1089667a7afcc2cf92cdaec590c7b8381715 (patch)
treee300988d2780268cf3cb66250732f5f403c110e8 /drivers/tty
parentsparc64: speed up etrap/rtrap on NG2 and later processors (diff)
downloadlinux-dev-b6fe1089667a7afcc2cf92cdaec590c7b8381715.tar.xz
linux-dev-b6fe1089667a7afcc2cf92cdaec590c7b8381715.zip
sparc64: Handle additional cases of no fault loads
Load instructions using ASI_PNF or other no-fault ASIs should not cause a SIGSEGV or SIGBUS. A garden variety unmapped address follows the TSB miss path, and when no valid mapping is found in the process page tables, the miss handler checks to see if the access was via a no-fault ASI. It then fixes up the target register with a zero, and skips the no-fault load instruction. But different paths are taken for data access exceptions and alignment traps, and these do not respect the no-fault ASI. We add checks in these paths for the no-fault ASI, and fix up the target register and TPC just like in the TSB miss case. Signed-off-by: Rob Gardner <rob.gardner@oracle.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions