Re: [PATCH v2 3/6] MIPS: Add guest CP0 accessors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

[...]




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux