Closed viktoryou closed 5 months ago
But just like other UNSPECIFIED behavior that is CSR-related, would the model tends to avoid such unexpected updates?
The behavior is unspecified but every implementation has some default behavior. Just that they may be different between implementations and software should not rely on them. To illustrate this I will go ahead and change the behavior to ignore the write if previous value is not Off or Bare.
From my undertanding, it only says about a rule that software must follow when chanding DDT levels. However, it also seems that IOMMU itself needs to take some action. What should be the right understanding of it?
This is explaining - to software - what the right sequence is. There is no action needed by IOMMU.
From the spec,
The model would jump the detection of the previous value of the iommu_mode when the value get changed into 1LVL, 2LVL, or 3LVL. I agree this detection is not compulsory. But just like other UNSPECIFIED behavior that is CSR-related, would the model tends to avoid such unexpected updates?
Also, I find it's not clear to understand this sentence:
From my undertanding, it only says about a rule that software must follow when chanding DDT levels. However, it also seems that IOMMU itself needs to take some action. What should be the right understanding of it?