[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2695916e-0dfd-6c8a-d4e7-1f4da372e123@linux.intel.com>
Date: Thu, 23 Jul 2020 09:38:29 +0800
From: Lu Baolu <baolu.lu@...ux.intel.com>
To: "Limonciello, Mario" <Mario.Limonciello@...l.com>,
Joerg Roedel <joro@...tes.org>
Cc: baolu.lu@...ux.intel.com, Ashok Raj <ashok.raj@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>,
Koba Ko <koba.ko@...onical.com>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
Christian Kellner <ckellner@...hat.com>
Subject: Re: [PATCH 1/1] iommu/vt-d: Skip TE disabling on quirky gfx dedicated
iommu
On 7/22/20 7:45 AM, Limonciello, Mario wrote:
>
>
>> -----Original Message-----
>> From: Lu Baolu <baolu.lu@...ux.intel.com>
>> Sent: Tuesday, July 21, 2020 6:07 PM
>> To: Limonciello, Mario; Joerg Roedel
>> Cc: baolu.lu@...ux.intel.com; Ashok Raj; linux-kernel@...r.kernel.org;
>> stable@...r.kernel.org; Koba Ko; iommu@...ts.linux-foundation.org
>> Subject: Re: [PATCH 1/1] iommu/vt-d: Skip TE disabling on quirky gfx dedicated
>> iommu
>>
>>
>> [EXTERNAL EMAIL]
>>
>> Hi Limonciello,
>>
>> On 7/21/20 10:44 PM, Limonciello, Mario wrote:
>>>> -----Original Message-----
>>>> From: iommu<iommu-bounces@...ts.linux-foundation.org> On Behalf Of Lu
>>>> Baolu
>>>> Sent: Monday, July 20, 2020 7:17 PM
>>>> To: Joerg Roedel
>>>> Cc: Ashok Raj;linux-kernel@...r.kernel.org;stable@...r.kernel.org; Koba
>>>> Ko;iommu@...ts.linux-foundation.org
>>>> Subject: [PATCH 1/1] iommu/vt-d: Skip TE disabling on quirky gfx dedicated
>>>> iommu
>>>>
>>>> The VT-d spec requires (10.4.4 Global Command Register, TE field) that:
>>>>
>>>> Hardware implementations supporting DMA draining must drain any in-flight
>>>> DMA read/write requests queued within the Root-Complex before completing
>>>> the translation enable command and reflecting the status of the command
>>>> through the TES field in the Global Status register.
>>>>
>>>> Unfortunately, some integrated graphic devices fail to do so after some
>>>> kind of power state transition. As the result, the system might stuck in
>>>> iommu_disable_translation(), waiting for the completion of TE transition.
>>>>
>>>> This provides a quirk list for those devices and skips TE disabling if
>>>> the qurik hits.
>>>>
>>>> Fixes:https://bugzilla.kernel.org/show_bug.cgi?id=208363
>>> That one is for TGL.
>>>
>>> I think you also want to add this one for ICL:
>>> Fixes:https://bugzilla.kernel.org/show_bug.cgi?id=206571
>>>
>>
>> Do you mean someone have tested that this patch also fixes the problem
>> described in 206571?
>>
>
> Yes, confusingly https://bugzilla.kernel.org/show_bug.cgi?id=208363#c31 actually
> is the XPS 9300 ICL system and issue.
>
> I also have a private confirmation from another person that it resolves it for
> them on another ICL platform.
>
Okay! Thank you very much! I just posted v2 with this tag added.
Best regards,
baolu
Powered by blists - more mailing lists