[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device


  • To: "Marczykowski, Marek" <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Tue, 14 Mar 2023 01:50:11 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2Vp3obsQObz7NQHNvls36ybmiS/4d5usQMg8X58VOao=; b=SZ8cn2BtvWFQW171DkEGQQ1bL4JOMVCffsMSY5CPr3plQA8XMtlPsxuzmkqhdTaJNjCCU0is5HWZUT3gbdUq1eJtc0KO7l8edvX0qXXDkS9qJRCYUcpkfBG4hxIslEntV+hx/blt2a8s4AoB0pumi/KVD50xcp5a+RQ9B4Pw4XyzxcD/FdXf+iiqK8FsU4J4YqO1+Qyxia8oLSD9IHS36bY+V+FCfzCOCjPi/vtNx4x/gqyQiPNy5zedexi9BM7DvTZXjK2AQUhD9u9QkjpBW/vUw+I8UlTUTORqnqS4JPZgTEhj16X+bpZV+yOcvggRzG77B+6sMRnew7VtSX6nyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fU67y0Zrds3gYgRmdLQ1wb8OGSR8KIAi1eSrKR5q+fUWIrB0MupwTDrSLlrkoD+fMVhYOIau+G+8izt+8pK2Dmkh7HvnwujEijWufiF8NBxggHprOXJR/IWhSr7Umc1LYLC0F/rFFprQIMvrKRWvr5t16VZ/LLXtyswfc4ORibzyvS5DAhVebCr+2h2iK5wx7zUBXdmZurkqgzqpud+Npj/R5K7JGg/Um2IzVWupsPUpNqgpLXQTiq34v/m95Fsv0b8zbRUh+ClyZ6LclA7m81lOUzF1WfUpF5tBGTQEqoYyK1kUY/3MfVGZMq1twrdnd9ATDUEEIRglP++dL6eavQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com;
  • Cc: "Marczykowski, Marek" <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 14 Mar 2023 01:50:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHZVhT1Y3FxVamQLkqJ4quzo6CpTK75glJQ
  • Thread-topic: [PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

> From: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, March 14, 2023 9:32 AM
> 
> If the scope for IGD's IOMMU contains additional device that doesn't
> actually exist, iommu=no-igfx would not disable that IOMMU. In this
> particular case (Thinkpad x230) it included
> 00:02.1, but there is no such device on this platform.
> Consider only existing devices for "gfx only" check.
> 
> Fixes: 2d7f191b392e ("VT-d: generalize and correct "iommu=no-igfx"
> handling")
> Signed-off-by: Marek Marczykowski-Górecki
> <marmarek@xxxxxxxxxxxxxxxxxxxxxx>

this should be rebased on top of Jan's patch.

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.