All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH] memory.h: Improve IOMMU related documentation
Date: Mon, 30 Apr 2018 14:54:18 +0200	[thread overview]
Message-ID: <c1c3c88f-75c6-44f2-684c-d9d179bb128c@redhat.com> (raw)
In-Reply-To: <20180430122404.10741-1-peter.maydell@linaro.org>

On 30/04/2018 14:24, Peter Maydell wrote:
> -    /* Set this up to provide customized IOMMU replay function */
> +    /* Set this up to provide customized IOMMU replay function.
> +     * Optional method.
> +     */
>      void (*replay)(IOMMUMemoryRegion *iommu, IOMMUNotifier *notifier);

replay is needed if you want to support IOMMU notifiers.  After
memory_region_register_iommu_notifier you're only notified about future
changes to the mappings; memory_region_iommu_replay calls the replay
method so that the IOMMUNotifier is called for each existing mapping.

Paolo

  reply	other threads:[~2018-04-30 12:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 12:24 [Qemu-devel] [PATCH] memory.h: Improve IOMMU related documentation Peter Maydell
2018-04-30 12:54 ` Paolo Bonzini [this message]
2018-04-30 12:57   ` Peter Maydell
2018-04-30 13:08     ` Paolo Bonzini
2018-04-30 13:35       ` Peter Maydell
2018-04-30 14:28         ` Alex Williamson
2018-05-01  1:01           ` David Gibson
2018-04-30 13:34 ` Peter Maydell
2018-04-30 15:01   ` Paolo Bonzini

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=c1c3c88f-75c6-44f2-684c-d9d179bb128c@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=patches@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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.