From 3abf5ce6564e24a388b86caf1a00f91f4262b312 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Mar 2016 17:56:53 +0000 Subject: ramips: convert the remaining subtargets to 4.4 Signed-off-by: Felix Fietkau SVN-Revision: 48954 --- ...55-MIPS-CPS-drop-.set-mips64r2-directives.patch | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch (limited to 'target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch') diff --git a/target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch b/target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch deleted file mode 100644 index 049efb9..0000000 --- a/target/linux/ramips/patches-4.3/0055-MIPS-CPS-drop-.set-mips64r2-directives.patch +++ /dev/null @@ -1,53 +0,0 @@ -From patchwork Wed Aug 5 22:42:40 2015 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: [6/6] MIPS: CPS: drop .set mips64r2 directives -From: Paul Burton -X-Patchwork-Id: 10869 -Message-Id: <1438814560-19821-7-git-send-email-paul.burton@imgtec.com> -To: -Cc: Paul Burton , - Markos Chandras , - , , - James Hogan , "Ralf Baechle" -Date: Wed, 5 Aug 2015 15:42:40 -0700 - -Commit 977e043d5ea1 ("MIPS: kernel: cps-vec: Replace mips32r2 ISA level -with mips64r2") leads to .set mips64r2 directives being present in 32 -bit (ie. CONFIG_32BIT=y) kernels. This is incorrect & leads to MIPS64 -instructions being emitted by the assembler when expanding -pseudo-instructions. For example the "move" instruction can legitimately -be expanded to a "daddu". This causes problems when the kernel is run on -a MIPS32 CPU, as CONFIG_32BIT kernels of course often are... - -Fix this by dropping the .set directives entirely now that Kconfig -should be ensuring that kernels including this code are built with a -suitable -march= compiler flag. - -Signed-off-by: Paul Burton -Cc: Markos Chandras -Cc: # 3.16+ ---- - - arch/mips/kernel/cps-vec.S | 2 -- - 1 file changed, 2 deletions(-) - ---- a/arch/mips/kernel/cps-vec.S -+++ b/arch/mips/kernel/cps-vec.S -@@ -229,7 +229,6 @@ LEAF(mips_cps_core_init) - has_mt t0, 3f - - .set push -- .set mips64r2 - .set mt - - /* Only allow 1 TC per VPE to execute... */ -@@ -348,7 +347,6 @@ LEAF(mips_cps_boot_vpes) - nop - - .set push -- .set mips64r2 - .set mt - - 1: /* Enter VPE configuration state */ -- cgit v1.1