Revision 1c48a177351ba8cbf6871f035496fce0e11d8fa3 authored by James Hogan on 20 May 2016, 22:28:38 UTC, committed by Ralf Baechle on 28 May 2016, 10:35:10 UTC
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 <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13311/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 0dfa1c1
History
File Mode Size
Kconfig -rw-r--r-- 4.2 KB
Makefile -rw-r--r-- 593 bytes
acl.c -rw-r--r-- 6.1 KB
acl.h -rw-r--r-- 1.5 KB
balloc.c -rw-r--r-- 25.3 KB
bitmap.c -rw-r--r-- 2.6 KB
block_validity.c -rw-r--r-- 6.0 KB
crypto.c -rw-r--r-- 14.1 KB
crypto_fname.c -rw-r--r-- 11.8 KB
crypto_key.c -rw-r--r-- 7.2 KB
crypto_policy.c -rw-r--r-- 6.7 KB
dir.c -rw-r--r-- 16.8 KB
ext4.h -rw-r--r-- 117.9 KB
ext4_crypto.h -rw-r--r-- 4.0 KB
ext4_extents.h -rw-r--r-- 8.6 KB
ext4_jbd2.c -rw-r--r-- 7.9 KB
ext4_jbd2.h -rw-r--r-- 14.8 KB
extents.c -rw-r--r-- 163.1 KB
extents_status.c -rw-r--r-- 33.8 KB
extents_status.h -rw-r--r-- 4.7 KB
file.c -rw-r--r-- 18.1 KB
fsync.c -rw-r--r-- 4.3 KB
hash.c -rw-r--r-- 4.3 KB
ialloc.c -rw-r--r-- 38.4 KB
indirect.c -rw-r--r-- 46.0 KB
inline.c -rw-r--r-- 49.0 KB
inode.c -rw-r--r-- 163.4 KB
ioctl.c -rw-r--r-- 22.9 KB
mballoc.c -rw-r--r-- 143.7 KB
mballoc.h -rw-r--r-- 5.0 KB
migrate.c -rw-r--r-- 17.1 KB
mmp.c -rw-r--r-- 10.0 KB
move_extent.c -rw-r--r-- 21.0 KB
namei.c -rw-r--r-- 102.2 KB
page-io.c -rw-r--r-- 13.5 KB
readpage.c -rw-r--r-- 8.2 KB
resize.c -rw-r--r-- 57.6 KB
super.c -rw-r--r-- 153.8 KB
symlink.c -rw-r--r-- 3.0 KB
sysfs.c -rw-r--r-- 11.5 KB
truncate.h -rw-r--r-- 1.3 KB
xattr.c -rw-r--r-- 48.1 KB
xattr.h -rw-r--r-- 4.4 KB
xattr_security.c -rw-r--r-- 1.5 KB
xattr_trusted.c -rw-r--r-- 1.1 KB
xattr_user.c -rw-r--r-- 1.2 KB

back to top