diff options
| author | James Hogan <[email protected]> | 2016-05-20 22:28:38 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-28 10:35:10 +0000 |
| commit | 1c48a177351ba8cbf6871f035496fce0e11d8fa3 (patch) | |
| tree | f4598c46e110730ebcd864bab6622e222fa3b2e2 /scripts/gcc-plugins/gcc-common.h | |
| parent | MIPS: Add inline asm encoding helpers (diff) | |
| download | kernel-1c48a177351ba8cbf6871f035496fce0e11d8fa3.tar.gz kernel-1c48a177351ba8cbf6871f035496fce0e11d8fa3.zip | |
MIPS: Add missing VZ accessor microMIPS encodings
Toolchains may be used which support microMIPS but not VZ instructions
(i.e. binutis 2.22 & 2.23), so extend the explicitly encoded versions of
the guest COP0 register & guest TLB access macros to support microMIPS
encodings too, using the new macros.
This prevents non-microMIPS instructions being executed in microMIPS
mode during CPU probe on cores supporting VZ (e.g. M5150), which cause
reserved instruction exceptions early during boot.
Fixes: bad50d79255a ("MIPS: Fix VZ probe gas errors with binutils <2.24")
Signed-off-by: James Hogan <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13311/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
