[PATCH v2] arm64/sysreg: allow *Enum blocks in SysregFields blocks

Mark Brown broonie at kernel.org
Tue Mar 7 09:39:53 PST 2023


On Mon, Mar 06, 2023 at 11:48:36AM +0000, Mark Rutland wrote:
> We'd like to support Enum/SignedEnum/UnsignedEnum blocks within
> SysregFields blocks, so that we can define enumerations for sets of
> registers. This isn't currently supported by gen-sysreg.awk due to the
> way we track the active block, which can't handle more than a single
> layer of nesting, which imposes an awkward requirement that when ending
> a block we know what the parent block is when calling change_block()

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/20230307/a54d4541/attachment.sig>


More information about the linux-arm-kernel mailing list