From: Yuan Wang <yuan1.wang@intel.com>
To: qemu-devel@nongnu.org
Cc: alex@shazbot.org, clg@redhat.com, tomitamoeko@gmail.com,
Yuan Wang <yuan1.wang@intel.com>
Subject: [PATCH v2] vfio/igd: Add device ID support for Meteor Lake and Arrow Lake
Date: Tue, 25 Aug 2026 17:04:35 +0800 [thread overview]
Message-ID: <20260825090435.1492485-1-yuan1.wang@intel.com> (raw)
Currently, igd_gen() does not include the PCI device IDs for Meteor
Lake and Arrow Lake platforms, causing it to return -1 for these GPUs.
As a result, QEMU calculates the stolen memory size as 0 and exposes a
zero-sized 'etc/igd-bdsm-size' entry via fw_cfg. When OVMF boots,
IgdAssignmentDxe fails validation on the zero BDSM size and aborts
without programming the ASLS register. Consequently, the guest Intel
GOP driver fails to locate and read the OpRegion (ASLS remains 0x0).
Add the device ID prefixes (0x7D00 and 0xB600) to igd_gen() as Gen 12
so that stolen memory is correctly determined, allowing OVMF to properly
initialize the OpRegion and BDSM for the Intel GOP driver.
Signed-off-by: Yuan Wang <yuan1.wang@intel.com>
---
v2:
- Resending because the v1 patch was sent with an incorrect future
system timestamp due to an unsynchronized local clock. No code
changes.
---
hw/vfio/igd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index 413a49aae9..a0b6b34d81 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -96,6 +96,8 @@ static int igd_gen(VFIOPCIDevice *vdev)
case 0x4C00: /* Rocket Lake */
case 0x4600: /* Alder Lake */
case 0xA700: /* Raptor Lake */
+ case 0x7D00: /* Meteor Lake / Arrow Lake */
+ case 0xB600: /* Arrow Lake */
return 12;
}
--
2.34.1
next reply other threads:[~2026-08-25 11:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 9:04 Yuan Wang [this message]
2026-09-03 12:48 ` [PATCH v2] vfio/igd: Add device ID support for Meteor Lake and Arrow Lake Cédric Le Goater
2026-09-08 5:09 ` Tomita Moeko
2026-09-08 9:09 ` Tomita Moeko
2026-09-11 8:36 ` Wang, Yuan1
2026-09-14 8:41 ` Tomita Moeko
2026-09-15 1:30 ` Junjie Cao
2026-09-16 5:33 ` Tomita Moeko
2026-09-18 8:00 ` Wang, Yuan1
2026-09-18 8:23 ` Tomita Moeko
2026-09-21 7:45 ` Wang, Yuan1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260825090435.1492485-1-yuan1.wang@intel.com \
--to=yuan1.wang@intel.com \
--cc=alex@shazbot.org \
--cc=clg@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=tomitamoeko@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.