All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gábor PÉK" <pek@crysys.hu>
To: xen-devel@lists.xen.org
Subject: Deferred/Asynchronous queued invalidation
Date: Wed, 20 Feb 2013 18:17:45 +0100	[thread overview]
Message-ID: <51250539.2040705@crysys.hu> (raw)

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

                 reply	other threads:[~2013-02-20 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51250539.2040705@crysys.hu \
    --to=pek@crysys.hu \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.