aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/uartlite.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-02-03 16:28:23 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-03 16:28:23 -0800
commit9b02605826903203d5301049c1f52e722584785c (patch)
tree9f4c04e822ab9fff151d9d7aeb907915d8c79b20 /drivers/serial/uartlite.c
parent47a4a0e766e3152dee667ea8fcca8465c8a0759f (diff)
sparc64: Kill bogus TPC/address truncation during 32-bit faults.
This builds upon eeabac7386ca13bfe1a58afeb04326a9e1a3a20e ("sparc64: Validate kernel generated fault addresses on sparc64.") Upon further consideration, we actually should never see any fault addresses for 32-bit tasks with the upper 32-bits set. If it does every happen, by definition it's a bug. Whatever context created that fault would only have that fault satisfied if we used the full 64-bit address. If we truncate it, we'll always fault the wrong address and we'll always loop faulting forever. So catch such conditions and mark them as errors always. Log the error and fail the fault. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/uartlite.c')
0 files changed, 0 insertions, 0 deletions