Zenghui Yu 2240a50e62 KVM: arm64: vgic-debug: Don't put unmarked LPIs
If there were LPIs being mapped behind our back (i.e., between .start() and
.stop()), we would put them at iter_unmark_lpis() without checking if they
were actually *marked*, which is obviously not good.

Switch to use the xa_for_each_marked() iterator to fix it.

Cc: stable@vger.kernel.org
Fixes: 85d3ccc8b75b ("KVM: arm64: vgic-debug: Use an xarray mark for debug iterator")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240817101541.1664-1-yuzenghui@huawei.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2024-08-19 17:04:36 +00:00
..
2024-05-23 19:40:26 -07:00
2024-07-10 14:23:38 +02:00
2024-07-25 10:42:22 -07:00
2024-07-23 14:32:21 -07:00
2024-07-23 14:32:21 -07:00
2024-07-27 12:46:16 -07:00
2024-07-23 11:57:52 -07:00
2024-07-25 10:42:22 -07:00