]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sparc64: Fix DAX handling via userspace access from kernel.
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 06:56:51 +0000 (22:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:31:55 +0000 (17:31 -0700)
commitb441f3fd1d14f4fef74dd339a05da1080f2a7288
tree383a5dca73dd6b78949e52d534eb02768f0acb36
parentb726dca0a412469d7786eb713101272cbf74b96f
sparc64: Fix DAX handling via userspace access from kernel.

[ Upstream commit fcd26f7ae2ea5889134e8b3d60a42ce8b993c95f ]

If we do a userspace access from kernel mode, and get a
data access exception, we need to check the exception
table just like a normal fault does.

The spitfire DAX handler was doing this, but such logic
was missing from the sun4v DAX code.

Reported-by: Dennis Gilmore <dgilmore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/traps.c