Re: [PATCH] MIPS: elf_hwcap: Export userspace ASEs

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

 



On Wed, Oct 30, 2019 at 09:22:24PM +0800, Jiaxun Yang wrote:
> A Golang developer reported MIPS hwcap isn't reflecting instructions
> that the processor actually supported so programs can't apply optimized
> code at runtime.
> 
> Thus we export the ASEs that can be used in userspace programs.
> 
> Reported-by: Meng Zhuo <mengzhuo1203@xxxxxxxxx>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> Cc: linux-mips@xxxxxxxxxxxxxxx
> Cc: Paul Burton <paul.burton@xxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.14+
> Signed-off-by: Paul Burton <paul.burton@xxxxxxxx>
> ---
>  arch/mips/include/uapi/asm/hwcap.h | 11 ++++++++++
>  arch/mips/kernel/cpu-probe.c       | 33 ++++++++++++++++++++++++++++++
>  2 files changed, 44 insertions(+)

This fails to apply to the current 4.14.y tree:

	checking file arch/mips/include/uapi/asm/hwcap.h
	Hunk #1 FAILED at 6.
	1 out of 1 hunk FAILED
	checking file arch/mips/kernel/cpu-probe.c
	Hunk #1 succeeded at 2076 (offset -104 lines).

Can you refresh it and resend?  Also remember to include the git id that
this patch is in Linus's tree, I had to look it up by hand :(

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux