On 4/18/24 23:53, Jiqian Chen wrote: > When a device has been reset on dom0 side, the vpci on Xen > side won't get notification, so the cached state in vpci is > all out of date compare with the real device state. > To solve that problem, add a new hypercall to clear all vpci > device state. When the state of device is reset on dom0 side, > dom0 can call this hypercall to notify vpci. > > Signed-off-by: Huang Rui <ray.hu...@amd.com> > Signed-off-by: Jiqian Chen <jiqian.c...@amd.com> > Reviewed-by: Stewart Hildebrand <stewart.hildebr...@amd.com> > Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>
Could we consider this patch for 4.19? It's independent of the rest of this series, and it fixes a real issue observed on both Arm and x86. The Linux counterpart has already been merged in linux-next [0]. [0] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20240515&id=b272722511d5e8ae580f01830687b8a6b2717f01