Skip to contentSkip to conversation

Patch "MIPS: Build microMIPS VDSO for microMIPS kernels" has been added to the 4.6-stable tree

PATCH [email protected] 1 participant 1 message Jun 4, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

MIPS: Build microMIPS VDSO for microMIPS kernels

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mips-build-micromips-vdso-for-micromips-kernels.patch
and it can be found in the queue-4.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From bb93078e655be1e24d68f28f2756676e62c037ce Mon Sep 17 00:00:00 2001

From: James Hogan <[email protected]>
Date: Tue, 24 May 2016 09:35:11 +0100
Subject: MIPS: Build microMIPS VDSO for microMIPS kernels

From: James Hogan <[email protected]>

commit bb93078e655be1e24d68f28f2756676e62c037ce upstream.

MicroMIPS kernels may be expected to run on microMIPS only cores which don't support the normal MIPS instruction set, so be sure to pass the -mmicromips flag through to the VDSO cflags.

Fixes ebb5e78cc634 ("MIPS: Initial implementation of a VDSO")
Cc Paul Burton <[email protected]>

Patchwork: https://patchwork.linux-mips.org/patch/13349/

---
 arch/mips/vdso/Makefile |    1 +
 1 file changed, 1 insertion(+)
arch/mips/vdso/Makefile +1 -0
@@ -5,6 +5,7 @@ obj-vdso-y := elf.o gettimeofday.o sigre
 ccflags-vdso := \
 	$(filter -I%,$(KBUILD_CFLAGS)) \
 	$(filter -E%,$(KBUILD_CFLAGS)) \
+	$(filter -mmicromips,$(KBUILD_CFLAGS)) \
 	$(filter -march=%,$(KBUILD_CFLAGS))
 cflags-vdso := $(ccflags-vdso) \
 	$(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \

Patches currently in stable-queue which might be from [email protected] are

queue-4.6/mips64-r6-r2-emulation-bugfix.patch queue-4.6/mips-fix-uapi-include-in-exported-asm-siginfo.h.patch queue-4.6/mips-disable-preemption-during-prctl-pr_set_fp_mode.patch queue-4.6/mips-fix-sigreturn-via-vdso-on-micromips-kernel.patch queue-4.6/mips-fix-siginfo.h-to-use-strict-posix-types.patch queue-4.6/mips-force-cpus-to-lose-fp-context-during-mode-switches.patch queue-4.6/mips-don-t-unwind-to-user-mode-with-eva.patch queue-4.6/mips-vdso-build-with-fno-strict-aliasing.patch queue-4.6/mips-fix-watchpoint-restoration.patch queue-4.6/mips-build-micromips-vdso-for-micromips-kernels.patch queue-4.6/mips-math-emu-fix-jalr-emulation-when-rd-0.patch queue-4.6/mips-fix-msa-ld_-st_-asm-macros-to-use-ptr_addu.patch queue-4.6/mips-avoid-using-unwind_stack-with-usermode.patch queue-4.6/mips-prevent-restoration-of-msa-context-in-non-msa-kernels.patch queue-4.6/mips-use-copy_s.fmt-rather-than-copy_u.fmt.patch