Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676461 > unrolled thread

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

Started byJoerg Roedel <joro@8bytes.org>
First post2017-06-28 11:10 +0200
Last post2017-06-28 11:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable  guest_mode Joerg Roedel <joro@8bytes.org> - 2017-06-28 11:10 +0200

#1676461 — Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

FromJoerg Roedel <joro@8bytes.org>
Date2017-06-28 11:10 +0200
SubjectRe: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode
Message-ID<tXh8Z-4TP-7@gated-at.bofh.it>
Hi Suravee,

On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote:
> Pass-through devices to VM guest can get updated IRQ affinity
> information via irq_set_affinity() when not running in guest mode.
> Currently, AMD IOMMU driver in GA mode ignores the updated information
> if the pass-through device is setup to use vAPIC regardless of guest_mode.
> This could cause invalid interrupt remapping.
> 
> Also, the guest_mode bit should be set and cleared only when
> SVM updates posted-interrupt interrupt remapping information.
> 
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> Cc: Joerg Roedel <jroedel@suse.de>

Can you please provide a 'Fixes:' tag too? No need to resend the whole
patch, just reply with the tag and I'll add it when applying this patch.


Thanks,

	Joerg

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web