diff options
author | Tomita Moeko <tomitamoeko@gmail.com> | 2024-12-06 20:27:44 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-12-26 07:23:37 +0100 |
commit | 960f62770ae4c603f92317166495e4a59cf051fc (patch) | |
tree | 971f7ba7086a15408e879de9e29a9f027796393e /hw | |
parent | 183714d8f9406b3d0c6e3daeee2e00e6f4aec9bb (diff) | |
download | qemu-960f62770ae4c603f92317166495e4a59cf051fc.zip qemu-960f62770ae4c603f92317166495e4a59cf051fc.tar.gz qemu-960f62770ae4c603f92317166495e4a59cf051fc.tar.bz2 |
vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids
All gen 11 and 12 igd devices have 64 bit BDSM register at 0xC0 in its
config space, add them to the list to support igd passthrough on Alder/
Raptor/Rocket/Ice/Jasper Lake platforms.
Tested legacy mode of igd passthrough works properly on both linux and
windows guests with AlderLake-S GT1 (8086:4680).
Reviewed-by: Corvin Köhne <c.koehne@beckhoff.com>
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20241206122749.9893-7-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vfio/igd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c index ed236f4..49b6547 100644 --- a/hw/vfio/igd.c +++ b/hw/vfio/igd.c @@ -86,9 +86,14 @@ static int igd_gen(VFIOPCIDevice *vdev) case 0x3e00: /* Coffee Lake */ case 0x9B00: /* Comet Lake */ return 9; + case 0x8A00: /* Ice Lake */ case 0x4500: /* Elkhart Lake */ + case 0x4E00: /* Jasper Lake */ return 11; case 0x9A00: /* Tiger Lake */ + case 0x4C00: /* Rocket Lake */ + case 0x4600: /* Alder Lake */ + case 0xA700: /* Raptor Lake */ return 12; } |