[PATCH v3 8/9] arm64: cpufeature: Expose CPUID registers by emulation

Catalin Marinas catalin.marinas at arm.com
Thu Jan 5 10:39:06 PST 2017


On Wed, Jan 04, 2017 at 05:49:06PM +0000, Suzuki K. Poulose wrote:
> This patch adds the hook for emulating MRS instruction to
> export the 'user visible' value of supported system registers.
> We emulate only the following id space for system registers:
> 
>  Op0=3, Op1=0, CRn=0, CRm=[0, 4-7]
> 
> The rest will fall back to SIGILL. This capability is also
> advertised via a new HWCAP_CPUID.
> 
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list