Thread (2 messages) 2 messages, 2 authors, 2021-03-15

Re: alpha patches for v4.4.y / v4.9.y

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-03-15 08:25:30
Also in: stable

On Sun, Mar 14, 2021 at 11:33:08AM -0700, Guenter Roeck wrote:
Hi,

I recently started to add basic networking tests to my qemu test environment.
When adding the necessary build options to Alpha kernels, I noticed that v4.4.y
and v4.9.y no longer build due to relocation errors such as

net/built-in.o: In function `__copy_tofrom_user_nocheck':
arch/alpha/include/asm/uaccess.h:364:(.text+0xff444):
		relocation truncated to fit: BRSGP against symbol `__copy_user'

The following patches fix the problem.

v4.9.y:

5ed78e5523fd alpha: add $(src)/ rather than $(obj)/ to make source file path
e19a4e3f1bff alpha: merge build rules of division routines
3eec0291830e alpha: make short build log available for division routines
4758ce82e667 alpha: Package string routines together

8525023121de alpha: switch __copy_user() and __do_clean_user() to normal calling conventions

v4.4.y:

5ed78e5523fd alpha: add $(src)/ rather than $(obj)/ to make source file path
e19a4e3f1bff alpha: merge build rules of division routines
3eec0291830e alpha: make short build log available for division routines
4758ce82e667 alpha: Package string routines together

00fc0e0dda62 alpha: move exports to actual definitions
085354f90796 alpha: get rid of tail-zeroing in __copy_user()
8525023121de alpha: switch __copy_user() and __do_clean_user() to normal calling conventions

Only the last patch of each group is really needed; I pulled the other
patches in to avoid conflicts.

Please consider adding those patches to the respective kernels.
All now queued up, thanks.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help