Re: [PATCH] sparc64: fix fault handling in NGbzero.S and GENbzero.S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dave Aldridge <david.j.aldridge@xxxxxxxxxx>
Date: Tue,  9 May 2017 02:57:35 -0600

> 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@xxxxxxxxxx>
> Reviewed-by: Rob Gardner <rob.gardner@xxxxxxxxxx>
> Reviewed-by: Babu Moger <babu.moger@xxxxxxxxxx>

Applied and queued up for -stable, thanks Dave.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux