diff options
author | James Hogan <jhogan@kernel.org> | 2018-02-02 14:36:40 +0000 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-02-05 11:53:06 +0000 |
commit | 8dbc1864b74f5dea5a3f7c30ca8fd358a675132f (patch) | |
tree | 7152f79577384a9a8b8df118b8da3e608503957d /Documentation/lsm.txt | |
parent | d8a5b80568a9cb66810e75b182018e9edb68e8ff (diff) | |
download | linux-8dbc1864b74f5dea5a3f7c30ca8fd358a675132f.tar.gz linux-8dbc1864b74f5dea5a3f7c30ca8fd358a675132f.tar.bz2 linux-8dbc1864b74f5dea5a3f7c30ca8fd358a675132f.zip |
MIPS: CPS: Fix MIPS_ISA_LEVEL_RAW fallout
Commit 17278a91e04f ("MIPS: CPS: Fix r1 .set mt assembler warning")
added .set MIPS_ISA_LEVEL_RAW to silence warnings about .set mt on r1,
however this can result in a MOVE being encoded as a 64-bit DADDU
instruction on certain version of binutils (e.g. 2.22), and reserved
instruction exceptions at runtime on 32-bit hardware.
Reduce the sizes of the push/pop sections to include only instructions
that are part of the MT ASE or which won't convert to 64-bit
instructions after .set mips64r2/mips64r6.
Reported-by: Greg Ungerer <gerg@linux-m68k.org>
Fixes: 17278a91e04f ("MIPS: CPS: Fix r1 .set mt assembler warning")
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.15
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Patchwork: https://patchwork.linux-mips.org/patch/18578/
Diffstat (limited to 'Documentation/lsm.txt')
0 files changed, 0 insertions, 0 deletions