From nobody Sun Nov 24 11:06:54 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1724852701; cv=none; d=zohomail.com; s=zohoarc; b=bNZ2YhdfUoIfJHnFkh9DuDWbyyXI+TOSViM6IhR45PEQd9cLob2zVpRo9+wOKOvjy2VHD4WQ7P19qAFjIw0rb7MHbqoQ9NKF7faLoM3XivHBT7vpIps/ZSBw93njvvp2aZ9rB+KLQUB35zX+QksiIVyzTZ7uHVd3YhHuq2i65Ok= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724852701; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=k1Wxn4ztcsSpgPNwkQzBp5z/GYAcrxDMGZtIkBFIolE=; b=iCqe88CbOYXl/XcDqa1werzpm+CBJWFxXSA+bD1+b5iQyf1UFMruC7Kek8a2d6qkXXVUjdD7eHQHKmEWj3xgt2VS0TlXrwrbkOlpAyAdPHERXh6/fZcD5B/pLwMMX0MvqO74BM+KzMMQWxGlP2a8ZVtajTw898F5AHKbScsBS8I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1724852701516272.0797652282714; Wed, 28 Aug 2024 06:45:01 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjIxX-0004YB-Pz; Wed, 28 Aug 2024 09:43:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjIxW-0004RJ-4a for qemu-devel@nongnu.org; Wed, 28 Aug 2024 09:43:38 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjIxU-0002LA-Hf for qemu-devel@nongnu.org; Wed, 28 Aug 2024 09:43:37 -0400 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5beb6ea9ed6so7317398a12.1 for ; Wed, 28 Aug 2024 06:43:36 -0700 (PDT) Received: from corvink-nb.beckhoff.com ([195.226.174.194]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a88a48d4a39sm32606766b.12.2024.08.28.06.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 06:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724852615; x=1725457415; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k1Wxn4ztcsSpgPNwkQzBp5z/GYAcrxDMGZtIkBFIolE=; b=SZHiHS1P4PRrBLheYrGCrtWwVaLXlELsW/MYZrCTvTPBlb5lgJQHvgNkNzNE+m8LtD gCz1ToxXDShQZhWwNc70dDjw93JyeuuIBCrUusmsZxOVb5viagVNjiyQYHaQjFgdqjoZ jw4EFjhUrPXf8lIh5l+r8Ra4QQx5LAcVfbSH1k7ilX0aMZ9156GLhGvNfnQvTpb9aFJ1 R+RbQjEk2N5zPicHqJiyGVH4pDS/fcFxajoCzPGvSoV8qx8xfoFdqHK3SjCZkXHg+jNX ZfEFt6xVkZatgGpcpgTA6QgwGcf/IVdYsykE+6mT2S6joB9gB6dLmUv3z/DinuZp4xVf Sdbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724852615; x=1725457415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k1Wxn4ztcsSpgPNwkQzBp5z/GYAcrxDMGZtIkBFIolE=; b=KXpWCXEdclj4kofWyDMoJ13gNlj1UOIHs9oAAOzTbDOU/YiddkqXTbkOnWanxptIV0 LfYp6HNwK2WmUkVbJDbmYCObqhabE93P0noaoV+mZ2qIIu5FnE/dNHNvWzkmlGHUkYFX eYn6Af/6GuAwrj4v/Pf6uym3M9vwfmpU17CQL/htsWN9GUp7nkp9L/07OF+/+qHZUq1z Z46I2WWKN/+ioI+X5AozPLy+0ZhCX/F0Vvr2e2jwA77/ZHI4wZZGBLgdkt7AB7fq5nOx yiZB3aDFIvtDTURaTKhYVE/IhZoH/w6M+EjD8i6w42BwsRd4JxxID1rUxvuW0X09qsg6 l7Wg== X-Gm-Message-State: AOJu0Yy3JAzUJSxSZ79Q8hvoNtNylgQ7O4XfHrb+qcD1TDvvuH9TY7oY jfDOZQ4K7fTjHbImB/nOPy7DFwABVzli0SR9eeZ3STRTIj0zelmTOuZuWg== X-Google-Smtp-Source: AGHT+IFIq0m7iVk4g3lUrpPJAI2qlO1wt2qk860rXKrsGobCTPeGLMggLSwjht8zoeTHwVb1AGkTuQ== X-Received: by 2002:a17:907:d3d1:b0:a86:721d:3021 with SMTP id a640c23a62f3a-a870a99137dmr164617766b.24.1724852614604; Wed, 28 Aug 2024 06:43:34 -0700 (PDT) From: "=?UTF-8?q?Corvin=20K=C3=B6hne?=" X-Google-Original-From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: qemu-devel@nongnu.org, c.koehne@beckhoff.com Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Alex Williamson Subject: [PATCH v3 5/7] vfio/igd: add ID's for ElkhartLake and TigerLake Date: Wed, 28 Aug 2024 15:43:26 +0200 Message-ID: <20240828134328.94528-6-c.koehne@beckhoff.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240828134328.94528-1-c.koehne@beckhoff.com> References: <20240828134328.94528-1-c.koehne@beckhoff.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=corvin.koehne@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1724852707035116600 ElkhartLake and TigerLake devices were tested in legacy mode with Linux and Windows VMs. Both are working properly. It's likely that other Intel GPUs of gen 11 and 12 like IceLake device are working too. However, we're only adding known good devices for now. Signed-off-by: Corvin K=C3=B6hne --- hw/vfio/igd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c index 0d68c6a451..8a41b16421 100644 --- a/hw/vfio/igd.c +++ b/hw/vfio/igd.c @@ -88,6 +88,12 @@ static int igd_gen(VFIOPCIDevice *vdev) case 0x2200: case 0x5900: return 8; + /* ElkhartLake */ + case 0x4500: + return 11; + /* TigerLake */ + case 0x9A00: + return 12; } =20 /* --=20 2.46.0