]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc64: Fix DAX handling via userspace access from kernel.
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 06:44:04 +0000 (22:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 06:44:04 +0000 (22:44 -0800)
commitfcd26f7ae2ea5889134e8b3d60a42ce8b993c95f
tree1d7928ac2107d4894f7c85483feb0bfb4a43ced0
parente42650196df34789c825fa83f8bb37a5d5e52c14
sparc64: Fix DAX handling via userspace access from kernel.

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>
arch/sparc/kernel/traps_64.c