From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: alpha patches for v4.4.y / v4.9.y Date: Mon, 15 Mar 2021 09:24:55 +0100 Message-ID: References: <44a392c3-418d-3503-7c46-0d283134d980@roeck-us.net> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615796697; bh=wCh3f3N+dMK+Vsniwym7H4XOnEnUFXpggsAXHQ2dxzg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vi+XkDIMj54Fv9YyTyT3TLd6Mo7Iab4tskJajDwlcxHsdAD8Q3z9TGkdjX+fjyafq Y5geS72I7zuEzNXigb0wk89TwM2g/KScZ2dvSGEAsA4V9ax7GPIPZa6jKeUQ1K0ttT dA8hTbN4XuflasI2y01UyQi3OVkDTF14g3fLU19I= Content-Disposition: inline In-Reply-To: <44a392c3-418d-3503-7c46-0d283134d980@roeck-us.net> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guenter Roeck Cc: stable , linux-alpha@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner 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