From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: joro@8bytes.org, pbonzini@redhat.com, alex.williamson@redhat.com,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
sherry.hurwitz@amd.com
Subject: Re: [PART2 PATCH v7 12/12] svm: Implements update_pi_irte hook to setup posted interrupt
Date: Wed, 31 Aug 2016 06:07:51 +0200 [thread overview]
Message-ID: <20160831040751.GA31840@potion> (raw)
In-Reply-To: <1471978363-13756-13-git-send-email-Suravee.Suthikulpanit@amd.com>
2016-08-23 13:52-0500, Suravee Suthikulpanit:
> From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
>
> This patch implements update_pi_irte function hook to allow SVM
> communicate to IOMMU driver regarding how to set up IRTE for handling
> posted interrupt.
>
> In case AVIC is enabled, during vcpu_load/unload, SVM needs to update
> IOMMU IRTE with appropriate host physical APIC ID. Also, when
> vcpu_blocking/unblocking, SVM needs to update the is-running bit in
> the IOMMU IRTE. Both are achieved via calling amd_iommu_update_ga().
>
> However, if GA mode is not enabled for the pass-through device,
> IOMMU driver will simply just return when calling amd_iommu_update_ga.
>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> ---
I forgot nitpicks in the office before going on a vacation, ;)
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
next prev parent reply other threads:[~2016-08-31 4:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 18:52 [PART2 PATCH v7 00/12] iommu/AMD: Introduce IOMMU AVIC support Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 01/12] iommu/amd: Detect and enable guest vAPIC support Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 02/12] iommu/amd: Move and introduce new IRTE-related unions and structures Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 03/12] iommu/amd: Introduce interrupt remapping ops structure Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 04/12] iommu/amd: Add support for multiple IRTE formats Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 05/12] iommu/amd: Detect and initialize guest vAPIC log Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 06/12] iommu/amd: Adding GALOG interrupt handler Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 07/12] iommu/amd: Introduce amd_iommu_update_ga() Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 08/12] iommu/amd: Implements irq_set_vcpu_affinity() hook to setup vapic mode for pass-through devices Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 09/12] iommu/amd: Enable vAPIC interrupt remapping mode by default Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 10/12] svm: Introduces AVIC per-VM ID Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 11/12] svm: Introduce AMD IOMMU avic_ga_log_notifier Suravee Suthikulpanit
2016-08-23 18:52 ` [PART2 PATCH v7 12/12] svm: Implements update_pi_irte hook to setup posted interrupt Suravee Suthikulpanit
2016-08-31 4:07 ` Radim Krčmář [this message]
2016-08-29 4:53 ` [PART2 PATCH v7 00/12] iommu/AMD: Introduce IOMMU AVIC support Suravee Suthikulpanit
2016-09-02 10:46 ` Paolo Bonzini
2016-09-02 14:05 ` Joerg Roedel
2016-09-02 14:17 ` Suravee Suthikulpanit
2016-09-05 13:57 ` Joerg Roedel
2016-09-05 14:07 ` 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=20160831040751.GA31840@potion \
--to=rkrcmar@redhat.com \
--cc=Suravee.Suthikulpanit@amd.com \
--cc=alex.williamson@redhat.com \
--cc=joro@8bytes.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=sherry.hurwitz@amd.com \
/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.