[PATCH 29/38] arm64/sysreg: Convert ID_PFR0_EL1 to automatic generation

Mark Brown broonie at kernel.org
Fri Oct 28 10:17:48 PDT 2022


On Fri, Oct 28, 2022 at 05:54:17PM +0100, James Morse wrote:

> Convert ID_PFR0_EL1 to be automatically generated as per DDI0487I.a,
> no functional changes.

> +Enum	19:16	CSV2
> +	0b0000	IMP
> +	0b0001	IMP
> +	0b0010	CSV2p1
> +EndEnum

Should 0b0000 not be something like UNDISCLOSED (DDI0487I.a says "The
implementation does not disclose whether FEAT_CSV2 is implemented.")?

(I'm vaugely surprised the compiler didn't moan about the redefinition
of the constant.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20221028/a4ab6ad1/attachment.sig>


More information about the linux-arm-kernel mailing list