Re: [PATCH v2] iommu/vt-d: fix system hang on reboot -f

From: Jason Gunthorpe
Date: Wed Feb 26 2025 - 08:06:33 EST


On Wed, Feb 26, 2025 at 01:55:28PM +0800, Ethan Zhao wrote:
> > Provided the system does not respond to those events when this function
> > is called, it's fine to remove the lock.
> I agree.

I think it is running the destruction of the iommu far too late in the
process. IMHO it should be done after all the drivers have been
shutdown, before the CPUs go single threaded.

Jason