HomeFreeBSD

x86/iommu: Shrink the critical section in dmar_qi_task()

Description

x86/iommu: Shrink the critical section in dmar_qi_task()

It is safe to test and clear the Invalidation Wait Descriptor
Complete flag before acquiring the DMAR lock in dmar_qi_task(),
rather than waiting until the lock is held.

Reviewed by: kib
MFC after: 2 weeks

Details

Provenance
alcAuthored on Jul 18 2022, 12:56 AM
Parents
rG05350f093663: x86: Remove 1 second DELAY from cpu_reset
Branches
Unknown
Tags
Unknown