On 05/11/2016 07:50 AM, James Hogan wrote:
Add guest CP0 accessors and guest TLB operations along the same lines as
the existing macros and functions for the root CP0.
Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
Not tested, but this looks correct.
We are tying ourselves to binutils versions that understand the "virt"
instructions, but that is probably OK.
Acked-by: David Daney <david.daney@xxxxxxxxxx>
---
arch/mips/include/asm/mipsregs.h | 341 +++++++++++++++++++++++++++++++++++++--
1 file changed, 330 insertions(+), 11 deletions(-)
[...]