[PATCH] KVM: arm64: vgic-its: clear dte when mapd unmaps a device
Kunkun Jiang
jiangkunkun at huawei.com
Thu Jun 20 06:32:20 PDT 2024
Hi Eric,
On 2024/6/19 1:18, Eric Auger wrote:
>> Also, is the device table the only one that is subject to this
>> 'reload' problem? How about the Collection table?
> The collection table is not indexed by the collection ID and when saving
> we end up writing an invalid dummy entry to close the recording. So I
> don't think we have the same problem there.
I'm a little confused here. In the current Linux, there is no implementation
of mapc unmaps a cte. But should this scenario be considered in vgic-its?
> For ITT I think we have the same issue on restore because the restore
> scans the table until it gets a first valid entry and then chain on next
> item. If we have stale entries this looks like the same issue.
Thanks for your reply. I added a patch to fix it.
https://lore.kernel.org/kvmarm/20240620130650.1279-4-jiangkunkun@huawei.com/
Thanks,
Kunkun Jiang
More information about the linux-arm-kernel
mailing list