From nobody Sun Nov 24 15:44:59 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1717754731; cv=none; d=zohomail.com; s=zohoarc; b=VaV8PjRhnU7VVhLx0wpgyu+MmUq3FtVXXdi52nzV9IdvlWPgq8QEqsVIvye9NZok/vtqe5clJaz4kh62uOA+GoYYUoPfd2A4NsCX26V6RIE8FgLvLYTqTTEjwXsLvaftGvJjBgaa0pMjHD6NjJkUxxjGvjeAyaij5p/UZU9xLbE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717754731; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=cC7s1N5JwzVGpOSE8kERMNzt+zX1aSVzHWVpT78zhhc=; b=PQuQvkbYtX9QnYCSQUcv1Vf8kD4MIX17yOZJIWObyYvItFgcJwJCB49ZerEYihX9HkzZxlQSdu8v8cOMT2CLfEVj8BfLz+9veS09yELPzwDZPQzolnJvDOI7FD2TxyqlK0Qu4Wyg9YLLWqsCNoqmNIvsUDAN52vC5Ur63EKVFI0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1717754731099483.31373923772446; Fri, 7 Jun 2024 03:05:31 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.736472.1142558 (Exim 4.92) (envelope-from ) id 1sFWT2-00035T-99; Fri, 07 Jun 2024 10:05:04 +0000 Received: by outflank-mailman (output) from mailman id 736472.1142558; Fri, 07 Jun 2024 10:05:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sFWT2-00035M-5m; Fri, 07 Jun 2024 10:05:04 +0000 Received: by outflank-mailman (input) for mailman id 736472; Fri, 07 Jun 2024 10:05:03 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sFWT1-00035G-CO for xen-devel@lists.xenproject.org; Fri, 07 Jun 2024 10:05:03 +0000 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [2a00:1450:4864:20::333]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 675769f3-24b5-11ef-b4bb-af5377834399; Fri, 07 Jun 2024 12:05:01 +0200 (CEST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42166eb31b2so4684275e9.0 for ; Fri, 07 Jun 2024 03:05:01 -0700 (PDT) Received: from localhost ([213.195.114.223]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215c2cd2d3sm47711145e9.41.2024.06.07.03.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 03:04:59 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 675769f3-24b5-11ef-b4bb-af5377834399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1717754700; x=1718359500; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cC7s1N5JwzVGpOSE8kERMNzt+zX1aSVzHWVpT78zhhc=; b=SX8B+ShbqXzIcmHG114pqic9U5nE6i5TUyroJNeKToa7pVPuIQq8Spfbn+6dO1PTIE jjDRKJpMO1hEht4j00OKWnM6ZM+TA4HikLx2qbZGkwvLhCRiUwsD7k2UJPYDd0+MiaZm D/20HkvnR0GMlCOWyVdjaHLzl1NKD25NcaZCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717754700; x=1718359500; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cC7s1N5JwzVGpOSE8kERMNzt+zX1aSVzHWVpT78zhhc=; b=Klp2l6QvFrijOh8afllieBTcraJ5APFcpzmxue7RHXuizikmHC0oyeZgS2aWArXewi +ZLGs7eNAuab/+huQ6sIYWg/F3ATXh9EUrAr+Pq40bPfgE/6jpa5DauQhdYPeBzIgtDf iKks10GzrzWiRn64f6IgjovLPyenQsueOXZa8WoYor8SKK9lj9bNQ5gfHcGViZqM4eY3 tRF+nOnsp7HilyVX0KigcBva3o37QaNlAK+QuY9ykBZK++41Db1RxgHwNqVjLMuZsnYa 0MI3yP3Qj4l3Te5ctIGKeG8yr1iG9MYOo904FBue3T8ywjXrIca5Lh9hFSWIpv0LWdtV DSHQ== X-Gm-Message-State: AOJu0Yxf1UrrYMqG5MHDzoscClBjfTl6yrqJFO9NFqtKImqdG3425GZe WnYZpvQ0qQvKEjXbuGtsf7/yokhYnklJN9sZYMC0KqBloG7uh7K3o8omlqa4tnOvmqpa2U9+nXV cFc8= X-Google-Smtp-Source: AGHT+IGGSfkS678KPq++R8Uvx6ts2+CcsegeQJNkfwyPpnpjFUuKnNCW8ZTijz0urPRNrSLJy6Ivmg== X-Received: by 2002:a05:600c:3d93:b0:41c:290e:7e6b with SMTP id 5b1f17b1804b1-421649f4a2amr17692325e9.13.1717754699717; Fri, 07 Jun 2024 03:04:59 -0700 (PDT) From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Oleksii Kurochko , Community Manager , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini Subject: [PATCH for-4.19] x86/pvh: declare PVH dom0 supported with caveats Date: Fri, 7 Jun 2024 12:03:20 +0200 Message-ID: <20240607100320.11723-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1717754732975100001 PVH dom0 is functionally very similar to PVH domU except for the domain builder and the added set of hypercalls available to it. The main concern with declaring it "Supported" is the lack of some features when compared to classic PV dom0, hence switch it's status to supported with caveats. List the known missing features, there might be more features mis= sing or not working as expected apart from the ones listed. Note there's some (limited) PVH dom0 testing on both osstest and gitlab. Signed-off-by: Roger Pau Monn=C3=A9 Acked-by: Andrew Cooper --- Hopefully this will attract more testing an resources to PVH dom0 in order = to try to finish the missing features. --- CHANGELOG.md | 1 + SUPPORT.md | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 201478aa1c0e..1778419cae64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepach= angelog.com/en/1.0.0/) - HVM PIRQs are disabled by default. - Reduce IOMMU setup time for hardware domain. - Allow HVM/PVH domains to map foreign pages. + - Declare PVH dom0 supported with caveats. - xl/libxl configures vkb=3D[] for HVM domains with priority over vkb_dev= ice. - Increase the maximum number of CPUs Xen can be built for from 4095 to 16383. diff --git a/SUPPORT.md b/SUPPORT.md index d5d60c62ec11..711aacf34662 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -161,7 +161,20 @@ Requires hardware virtualisation support (Intel VMX / = AMD SVM). Dom0 support requires an IOMMU (Intel VT-d / AMD IOMMU). =20 Status, domU: Supported - Status, dom0: Experimental + Status, dom0: Supported, with caveats + +PVH dom0 hasn't received the same test coverage as PV dom0, so it can exhi= bit +unexpected behavior or issues on some hardware. + +At least the following features are missing on a PVH dom0: + + * PCI SR-IOV and Resizable BARs. + + * Native NMI forwarding (nmi=3Ddom0 command line option). + + * MCE handling. + + * PCI Passthrough to any kind of domUs. =20 ### ARM =20 --=20 2.44.0