[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/8] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids
From: |
Tomita Moeko |
Subject: |
[PATCH 5/8] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids |
Date: |
Mon, 2 Dec 2024 00:09:35 +0800 |
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).
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
---
hw/vfio/igd.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index 71342863d6..a86faf2fa9 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -79,9 +79,14 @@ static int igd_gen(VFIOPCIDevice *vdev)
case 0x5900: /* Kaby Lake */
case 0x3e00: /* Coffee 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;
}
--
2.45.2
- Re: [PATCH 2/8] vfio/igd: canonicalize memory size calculations, (continued)
[PATCH 1/8] vfio/igd: fix GTT stolen memory size calculation for gen 7, Tomita Moeko, 2024/12/01
Re: [PATCH 1/8] vfio/igd: fix GTT stolen memory size calculation for gen 7, Corvin Köhne, 2024/12/02
[PATCH 5/8] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper Lake device ids,
Tomita Moeko <=