qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 12/17] target-openrisc: Enable m[tf]spr from use


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 12/17] target-openrisc: Enable m[tf]spr from user mode
Date: Sun, 06 Sep 2015 13:36:39 -0700

On Sep 5, 2015 14:35, Bastian Koppelmann <address@hidden> wrote:
> IIRC a lot of the registers are supervisor only, e.g. VR, NPC or SR and 
> the manual is fairly clear about that. User mode cpu ought not to read 
> these registers unconditionally. 

When I last discussed this on the openrisc list, back in March, there was no 
real specification for user mode, and what bits are or should be accessible.

Looking at 
  http://opencores.org/or1k/Architecture_Specification
today, that still seems to be the case.

In the meantime, dropping the privilege check makes linux-user GCC tests work 
better.

r~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]