summaryrefslogtreecommitdiff
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorDave Aldridge <david.j.aldridge@oracle.com>2017-05-09 02:57:35 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-14 14:00:20 +0200
commit22d6b013ffcf4809b4fe03b240855c6f8eb54599 (patch)
treea1207f0ce1dc3670c15b49aca1dcd5c9933186a7 /drivers/net/macsec.c
parent7aa0e14336d977101193bef85af69b203bfba24f (diff)
sparc64: fix fault handling in NGbzero.S and GENbzero.S
commit 3c7f62212018b904ae17f5636ead18a4dca3a88f upstream. When any of the functions contained in NGbzero.S and GENbzero.S vector through *bzero_from_clear_user, we may end up taking a fault when executing one of the store alternate address space instructions. If this happens, the exception handler does not restore the %asi register. This commit fixes the issue by introducing a new exception handler that ensures the %asi register is restored when a fault is handled. Orabug: 25577560 Signed-off-by: Dave Aldridge <david.j.aldridge@oracle.com> Reviewed-by: Rob Gardner <rob.gardner@oracle.com> Reviewed-by: Babu Moger <babu.moger@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions