]> git.ipfire.org Git - people/ms/linux.git/commit
sparc64: Fix top-level fault handling bugs.
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 06:52:11 +0000 (23:52 -0700)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:11:56 +0000 (14:11 +0200)
commit53171720ebb51e530d9d7c5d1eef40d2411cdb9a
tree7ed406faede7808a50f9b4368fbec04a17460371
parent46d044e759115fdeb3ca5b74293d0cd641ae97c8
sparc64: Fix top-level fault handling bugs.

[ Upstream commit 70ffc6ebaead783ac8dafb1e87df0039bb043596 ]

Make get_user_insn() able to cope with huge PMDs.

Next, make do_fault_siginfo() more robust when get_user_insn() can't
actually fetch the instruction.  In particular, use the MMU announced
fault address when that happens, instead of calling
compute_effective_address() and computing garbage.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/sparc/mm/fault_64.c