From nobody Thu Dec 26 11:01:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1732842082457946.8048121537167; Thu, 28 Nov 2024 17:01:22 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.845636.1260992 (Exim 4.92) (envelope-from ) id 1tGpNA-0005v2-4u; Fri, 29 Nov 2024 01:00:40 +0000 Received: by outflank-mailman (output) from mailman id 845636.1260992; Fri, 29 Nov 2024 01:00:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tGpNA-0005uF-1Q; Fri, 29 Nov 2024 01:00:40 +0000 Received: by outflank-mailman (input) for mailman id 845636; Fri, 29 Nov 2024 01:00:38 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tGpN8-000583-AC for xen-devel@lists.xenproject.org; Fri, 29 Nov 2024 01:00:38 +0000 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 555410a7-aded-11ef-99a3-01e77a169b0f; Fri, 29 Nov 2024 02:00:33 +0100 (CET) Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9D372254015E; Thu, 28 Nov 2024 20:00:31 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 28 Nov 2024 20:00:31 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Nov 2024 20:00:30 -0500 (EST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 555410a7-aded-11ef-99a3-01e77a169b0f X-Custom-Connection: eyJyZW1vdGVpcCI6IjIwMi4xMi4xMjQuMTU0IiwiaGVsbyI6ImZoaWdoLWIzLXNtdHAubWVzc2FnaW5nZW5naW5lLmNvbSJ9 X-Custom-Transaction: eyJpZCI6IjU1NTQxMGE3LWFkZWQtMTFlZi05OWEzLTAxZTc3YTE2OWIwZiIsInRzIjoxNzMyODQyMDMzLjQ4NzU5NCwic2VuZGVyIjoibWFybWFyZWtAaW52aXNpYmxldGhpbmdzbGFiLmNvbSIsInJlY2lwaWVudCI6Inhlbi1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZyJ9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1732842031; x=1732928431; bh=9g9PHEErO+Bl0K7DKsHdjAw8hGQNDZ/B Veh9x4/vszY=; b=m8jkhTCxXU7QZnB43sl2BCWkAPca6RgQ6/4DLkIJSZ33eB87 b7UXKmIU2W1aLwo5GeYUjWpy0pg2b1tEI8GLJbe/Qu19ggS5Tm3CKnf0/EpQDIMG 1i/2SuMlD7vnrvAFAim4/M39SUJrbEk1BbaDJ1RN8Ivc3KPuquxyObRLDZXOP1JC EwwD2GwWmkQogRywjC63HgDzRDdgbEz3IrJWbo5LRjBL/u0nSrH5Ur3W/HFIQwUh dwZJGcnBpZYKKqp45lTZcutXT4StdUNAgt0MzP8u80CHYJU4s6o2U9akkdV6gouF V0t+ATFYwsHe9XOnLcJfRudYqqurz6+1sYFCKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1732842031; x=1732928431; bh=9g9PHEErO+Bl0K7DKsHdjAw8hGQN DZ/BVeh9x4/vszY=; b=PevqJ+Iom8By1/9fV9HSAY0UPsv3JJZivGMyBjkcrjyN Ujacg3GRNtlSWqaaAws7fVbEy82tsw6gTFesbSXwnBvYDfRRg+nNO3b+5G17TpQp 0HMpvAjVc5zwBCTUOxcz7v5PfgDt3i1ShnaaoMO0+Ifjzn9IvaQozcW3fEZou+HU Lx7r9IB9VSS+zan89xCVaKCnEWn4mkMh6EBASSJlcEfsvi0LaK9lYTvhcMDg447a 95TljB8dgrBXVJ6Rd1LHJdKHkgjIhIkCO+DukI+A2TJe2rI4Fmh0Er/LOMGV0n3J FLEv7msOBfAlu/Z9Q6CpL4VPq1/ipt/0SJPNbmvFhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrhedvgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfh rhhomhepofgrrhgvkhcuofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomhgrrh hmrghrvghksehinhhvihhsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecuggftrfgr thhtvghrnhepleekhfduleetleelleetteevfeefteffkeetteejheelgfegkeelgeehhf dthedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhgrrhhmrghrvghksehinhhvihhsihgslhgvthhhihhnghhslhgrsgdrtghomhdpnhgspg hrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepgigvnhdquggv vhgvlheslhhishhtshdrgigvnhhprhhojhgvtghtrdhorhhgpdhrtghpthhtohepmhgrrh hmrghrvghksehinhhvihhsihgslhgvthhhihhnghhslhgrsgdrtghomhdprhgtphhtthho pegrnhhthhhonhihrdhpvghrrghrugesvhgrthgvshdrthgvtghhpdhrtghpthhtohepjh hgrhhoshhssehsuhhsvgdrtghomh X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Anthony PERARD , Juergen Gross Subject: [PATCH] libxl: extend IGD check Date: Fri, 29 Nov 2024 02:00:10 +0100 Message-ID: <20241129010026.2869818-1-marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1732842084252019100 Consider also "Display controller" an IGD, not only "VGA compatible controller". Specifically, IGD on Raptor Lake has 0x038000 class, not 0x030000. Signed-off-by: Marek Marczykowski-G=C3=B3recki Acked-by: Anthony PERARD --- tools/libs/light/libxl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c index 35e3e1360423..5be9b8239567 100644 --- a/tools/libs/light/libxl_pci.c +++ b/tools/libs/light/libxl_pci.c @@ -635,7 +635,7 @@ bool libxl__is_igd_vga_passthru(libxl__gc *gc, =20 if (sysfs_dev_get_class(gc, pci, &class)) continue; - if (class =3D=3D 0x030000) + if (class =3D=3D 0x030000 || class =3D=3D 0x038000) return true; } =20 --=20 2.46.0