[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a32b28fb-da5b-9b61-c26f-809fed23085f@amd.com>
Date: Thu, 29 Jun 2017 10:27:35 +0700
From: Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>
To: Joerg Roedel <joro@...tes.org>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Joerg Roedel <jroedel@...e.de>
Subject: Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable
guest_mode
On 6/28/17 19:44, Joerg Roedel wrote:
> 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@....com>
>> Cc: Joerg Roedel <jroedel@...e.de>
>
> Nervermind, I added this fixes line and applied the patch:
>
> Fixes: d98de49a53e48 ('iommu/amd: Enable vAPIC interrupt remapping mode by default'
>
Thanks,
Suravee
Powered by blists - more mailing lists