[PATCH] powerpc: Fix definition of SIAR register

Paul Mackerras paulus at ozlabs.org
Thu May 12 14:57:56 AEST 2016


On Mon, Apr 25, 2016 at 10:15:47AM +0200, Alexander Graf wrote:
> 
> >> +#define SPRN_SIAR    796
> 
> I'm sure there's a reason (iSeries?) we used the r/o version before. Better introduce a new constant that gives us rw access and use that in the kvm entry/exit code.

I don't think we ever did any performance monitoring on iSeries, and
in any case, we have removed the iSeries code.  I think we should just
use the privileged, read/write number (i.e. 796).

Paul.


More information about the Linuxppc-dev mailing list