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

Will Deacon will at kernel.org
Thu Apr 6 08:51:49 PDT 2023


On Mon, 6 Mar 2023 11:48:36 +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()
> 
> [...]

Applied to arm64 (for-next/sysreg), thanks!

[1/1] arm64/sysreg: allow *Enum blocks in SysregFields blocks
      https://git.kernel.org/arm64/c/013ecd443978

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list