[PATCH] vfio/igd: add pci id for Coffee Lake

Corvin Köhne posted 1 patch 2 weeks, 1 day ago
hw/vfio/igd.c | 3 +++
1 file changed, 3 insertions(+)
[PATCH] vfio/igd: add pci id for Coffee Lake
Posted by Corvin Köhne 2 weeks, 1 day ago
From: Corvin Köhne <c.koehne@beckhoff.com>

I've tested and verified that Coffee Lake devices are working properly.

Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
---
 hw/vfio/igd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
index a95d441f68..c5282827ec 100644
--- a/hw/vfio/igd.c
+++ b/hw/vfio/igd.c
@@ -88,6 +88,9 @@ static int igd_gen(VFIOPCIDevice *vdev)
     case 0x2200:
     case 0x5900:
         return 8;
+    /* CoffeeLake */
+    case 0x3e00:
+        return 9;
     /* ElkhartLake */
     case 0x4500:
         return 11;
-- 
2.47.0


Re: [PATCH] vfio/igd: add pci id for Coffee Lake
Posted by Cédric Le Goater 2 weeks ago
On 11/8/24 13:48, Corvin Köhne wrote:
> From: Corvin Köhne <c.koehne@beckhoff.com>
> 
> I've tested and verified that Coffee Lake devices are working properly.
> 
> Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>


Applied to vfio-next.

Thanks,

C.


Re: [PATCH] vfio/igd: add pci id for Coffee Lake
Posted by Alex Williamson 2 weeks ago
On Fri,  8 Nov 2024 13:48:30 +0100
Corvin Köhne <corvin.koehne@gmail.com> wrote:

> From: Corvin Köhne <c.koehne@beckhoff.com>
> 
> I've tested and verified that Coffee Lake devices are working properly.
> 
> Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
> ---
>  hw/vfio/igd.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c
> index a95d441f68..c5282827ec 100644
> --- a/hw/vfio/igd.c
> +++ b/hw/vfio/igd.c
> @@ -88,6 +88,9 @@ static int igd_gen(VFIOPCIDevice *vdev)
>      case 0x2200:
>      case 0x5900:
>          return 8;
> +    /* CoffeeLake */
> +    case 0x3e00:
> +        return 9;
>      /* ElkhartLake */
>      case 0x4500:
>          return 11;

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>