On Mon, 2024-10-21 at 12:53 +0100, Andrew Cooper wrote:
> 
> > I don't quite follow how you need a sentinel value. How could you ever
> > *not* know it, given that you have to write it to the RTE?
> > 
> > (And you should *also* just use the pin# like Linux does, as I said).
> 
> Because Xen is insane and, for non-x2APIC cases, sets the system up
> normally and the turns the IOMMU on late.
> 
> This really does need deleting, and everything merging into the early path.

Don't you still have to mask the interrupts when enabling the IOMMU and
then re-enable them by writing the new values to the RTE once remapping
is turned on? So at any given moment, surely it's still the case that
you know what was written to the RTE?

But OK, i don't really want to know... :)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to