Volodymyr Babchuk writes:
Oleksandr, [...] >> diff --git a/xen/drivers/passthrough/arm/ipmmu-vmsa.c >> b/xen/drivers/passthrough/arm/ipmmu-vmsa.c >> index c21d2d7..411fc0f 100644 >> --- a/xen/drivers/passthrough/arm/ipmmu-vmsa.c >> +++ b/xen/drivers/passthrough/arm/ipmmu-vmsa.c >> @@ -702,7 +702,12 @@ static int ipmmu_attach_device(struct >> ipmmu_vmsa_domain *domain, >> int ret = ipmmu_utlb_enable(domain, fwspec->ids[i]); >> >> if ( ret ) >> + { >> + while ( i-- ) > You will call >> + ipmmu_utlb_disable(domain, fwspec->ids[i]); > for uTLB that caused the error. Likely, this uTLB right now is assigned > for another domain. So, you will disable active uTLB which belongs to > that domain. Please disregard this. I realized that i-- will ensure that right index will be used. Sorry for the noise. -- Volodymyr Babchuk at EPAM _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel