All of lore.kernel.org
 help / color / mirror / Atom feed
* Deferred/Asynchronous queued invalidation
@ 2013-02-20 17:17 Gábor PÉK
  0 siblings, 0 replies; only message in thread
From: Gábor PÉK @ 2013-02-20 17:17 UTC (permalink / raw)
  To: xen-devel

Hi all,

I am wondering if Xen implements deferred/asynchronous queued
invalidation in order to flush the stale entries from IOTLB.
I know that the synchronous version is implemented in

xen\drivers\passthrough\vtd\qinval.c ,


int invalidate_sync(struct iommu *iommu)
{
    int ret = -1;
    struct qi_ctrl *qi_ctrl = iommu_qi_ctrl(iommu);

    if ( qi_ctrl->qinval_maddr != 0 )
    {
        ret = queue_invalidate_wait(iommu, 0, 1, 1);
        return ret;
    }
    return 0;

}


but I could not find anything in the source code about the
deferred/asynchronous version.


Thank you!
-gabor

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-20 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20 17:17 Deferred/Asynchronous queued invalidation Gábor PÉK

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.