[PATCH] KVM: arm64: vgic-debug: Exit the iterator properly w/o LPI

Oliver Upton oliver.upton at linux.dev
Thu Aug 8 10:07:39 PDT 2024


On Wed, 7 Aug 2024 13:20:24 +0800, Zenghui Yu wrote:
> In case the guest doesn't have any LPI, we previously relied on the
> iterator setting
> 
> 	'intid = nr_spis + VGIC_NR_PRIVATE_IRQS' && 'lpi_idx = 1'
> 
> to exit the iterator. But it was broken with commit 85d3ccc8b75b ("KVM:
> arm64: vgic-debug: Use an xarray mark for debug iterator") -- the intid
> remains at 'nr_spis + VGIC_NR_PRIVATE_IRQS - 1', and we end up endlessly
> printing the last SPI's state.
> 
> [...]

Applied to kvmarm/fixes, thanks!

[1/1] KVM: arm64: vgic-debug: Exit the iterator properly w/o LPI
      https://git.kernel.org/kvmarm/kvmarm/c/01ab08cafece

--
Best,
Oliver



More information about the linux-arm-kernel mailing list