Re: [PATCH v3 5/9] arm64: cpufeature: Define helpers for sys_reg id

From: Catalin Marinas
Date: Thu Jan 05 2017 - 12:27:15 EST


On Wed, Jan 04, 2017 at 05:49:03PM +0000, Suzuki K. Poulose wrote:
> Define helper macros to extract op0, op1, CRn, CRm & op2
> for a given sys_reg id. While at it remove the explicit
> masking only used for Op0.
>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>