Revert "iommu/vt-d: Handle volatile descriptor status read"

This reverts commit 1780b7b977.
This commit is contained in:
Ksawlii 2024-11-24 00:23:40 +01:00
parent 04dba1cb02
commit 9149b550c7

View file

@ -1333,7 +1333,7 @@ restart:
*/
writel(qi->free_head << shift, iommu->reg + DMAR_IQT_REG);
while (READ_ONCE(qi->desc_status[wait_index]) != QI_DONE) {
while (qi->desc_status[wait_index] != QI_DONE) {
/*
* We will leave the interrupts disabled, to prevent interrupt
* context to queue another cmd while a cmd is already submitted