4.2+ stable inclusion request: ARCv2: save r30 on kernel entry as gcc uses it for code-gen

Greg KH greg at kroah.com
Sun Apr 30 07:08:55 PDT 2017


On Fri, Apr 28, 2017 at 11:57:36AM -0700, Vineet Gupta wrote:
> Hi,
> 
> Can we please backport upstream ecd43afdbe72017aefe48080631eb625e177ef4d ("ARCv2:
> save r30 on kernel entry as gcc uses it for code-gen") to 4.2 to 4.9 kernels.
> 
> While the issue cites gcc, it is general deficiency of kernel as userspace
> programs can modify r30 register in hand/inline assembly and those will not be
> preserved without this change.

Queued up for 4.9 and 4.4 stable trees, thanks.

greg k-h



More information about the linux-snps-arc mailing list