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

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

 



On Wed, May 11, 2016 at 05:15:19PM -0700, David Daney wrote:
> 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>

Thanks for taking a look David,

Yes, i think its supported since binutils 2.24, which is now over 2
years old.

What's the policy regarding binutils support for this sort of thing? I
know we have hacks for assemblers that don't support MSA yet, but was
hoping to avoid that sort of thing if possible here.

Cheers
James

> 
> > ---
> >   arch/mips/include/asm/mipsregs.h | 341 +++++++++++++++++++++++++++++++++++++--
> >   1 file changed, 330 insertions(+), 11 deletions(-)
> >
> [...]

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux