From patchwork Thu Nov 24 02:50:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henry Wang X-Patchwork-Id: 13054550 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40BC6C433FE for ; Thu, 24 Nov 2022 02:51:08 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.447747.704337 (Exim 4.92) (envelope-from ) id 1oy2KH-0007tn-5J; Thu, 24 Nov 2022 02:50:57 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 447747.704337; Thu, 24 Nov 2022 02:50:57 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oy2KH-0007td-2J; Thu, 24 Nov 2022 02:50:57 +0000 Received: by outflank-mailman (input) for mailman id 447747; Thu, 24 Nov 2022 02:50:56 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oy2KG-0007dj-5y for xen-devel@lists.xenproject.org; Thu, 24 Nov 2022 02:50:56 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id d0afac72-6ba2-11ed-91b6-6bf2151ebd3b; Thu, 24 Nov 2022 03:50:55 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EBE8823A; Wed, 23 Nov 2022 18:51:00 -0800 (PST) Received: from a015966.shanghai.arm.com (a015966.shanghai.arm.com [10.169.190.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 193623F587; Wed, 23 Nov 2022 18:50:50 -0800 (PST) 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: d0afac72-6ba2-11ed-91b6-6bf2151ebd3b From: Henry Wang To: xen-devel@lists.xenproject.org Cc: Henry Wang , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Andrew Cooper , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Community Manager , Julien Grall Subject: [PATCH v5 1/3] CHANGELOG: Add missing entries for work during the 4.17 release Date: Thu, 24 Nov 2022 10:50:39 +0800 Message-Id: <20221124025041.1540079-2-Henry.Wang@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221124025041.1540079-1-Henry.Wang@arm.com> References: <20221124025041.1540079-1-Henry.Wang@arm.com> MIME-Version: 1.0 Signed-off-by: Henry Wang Reviewed-by: Julien Grall --- v4 -> v5: - Add gitlab CI improvement following Michal's suggestion. - Add Julien's reviewed-by. v3 -> v4: - Use the corrected sentence for VIRT_SSBD and MSR_SPEC_CTRL - Clarify that the virtio-mmio toolstack for ARM is only creating the device-tree binding. - Remove the "initial" in i.MX entry. v2 -> v3: - Move the uncertain release date to patch #3. v1 -> v2: - Correct wording for two x86 entries (clock frequency calibration and SPR & ADL support) following Jan's suggestion. - Add missing Arm entries from Oleksandr. - Add missing i.MX entry following Stefano's suggestion. --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adbbb216fa..55dd535e29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,16 +4,44 @@ Notable changes to Xen will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -## [unstable UNRELEASED](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=staging) - TBD +## [4.17.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=staging) ### Changed - On x86 "vga=current" can now be used together with GrUB2's gfxpayload setting. Note that this requires use of "multiboot2" (and "module2") as the GrUB commands loading Xen. + - The "gnttab" option now has a new command line sub-option for disabling the + GNTTABOP_transfer functionality. + - The x86 MCE command line option info is now updated. ### Added / support upgraded + - Out-of-tree builds for the hypervisor now supported. + - The project has officially adopted 4 directives and 24 rules of MISRA-C, + added MISRA-C checker build integration, and defined how to document + deviations. - IOMMU superpage support on x86, affecting PV guests as well as HVM/PVH ones when they don't share page tables with the CPU (HAP / EPT / NPT). - - Support VIRT_SSBD feature for HVM guests on AMD. + - Support for VIRT_SSBD and MSR_SPEC_CTRL for HVM guests on AMD. + - Improved TSC, CPU, and APIC clock frequency calibration on x86. + - Add mwait-idle support for SPR and ADL on x86. + - Extend security support for hosts to 12 TiB of memory on x86. + - Add command line option to set cpuid parameters for dom0 at boot time on x86. + - Improved static configuration options on Arm. + - cpupools can be specified at boot using device tree on Arm. + - It is possible to use PV drivers with dom0less guests, allowing statically + booted dom0less guests with PV devices. + - On Arm, p2m structures are now allocated out of a pool of memory set aside at + domain creation. + - Improved mitigations against Spectre-BHB on Arm. + - Support VirtIO-MMIO devices device-tree binding creation in toolstack on Arm. + - Allow setting the number of CPUs to activate at runtime from command line + option on Arm. + - Grant-table support on Arm was improved and hardened by implementing + "simplified M2P-like approach for the xenheap pages" + - Add Renesas R-Car Gen4 IPMMU-VMSA support on Arm. + - Add i.MX lpuart and i.MX8QM support on Arm. + - Improved toolstack build system. + - Add Xue - console over USB 3 Debug Capability. + - gitlab-ci automation: Fixes and improvements together with new tests. ### Removed / support downgraded - dropped support for the (x86-only) "vesa-mtrr" and "vesa-remap" command line options From patchwork Thu Nov 24 02:50:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Henry Wang X-Patchwork-Id: 13054551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D1F8BC43217 for ; Thu, 24 Nov 2022 02:51:09 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.447748.704348 (Exim 4.92) (envelope-from ) id 1oy2KL-0008Cd-Ci; Thu, 24 Nov 2022 02:51:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 447748.704348; Thu, 24 Nov 2022 02:51:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oy2KL-0008CW-9R; Thu, 24 Nov 2022 02:51:01 +0000 Received: by outflank-mailman (input) for mailman id 447748; Thu, 24 Nov 2022 02:51:00 +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 1oy2KJ-0008Ay-Va for xen-devel@lists.xenproject.org; Thu, 24 Nov 2022 02:50:59 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id d2792a7a-6ba2-11ed-8fd2-01056ac49cbb; Thu, 24 Nov 2022 03:50:58 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 968861FB; Wed, 23 Nov 2022 18:51:04 -0800 (PST) Received: from a015966.shanghai.arm.com (a015966.shanghai.arm.com [10.169.190.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 812673F587; Wed, 23 Nov 2022 18:50:55 -0800 (PST) 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: d2792a7a-6ba2-11ed-8fd2-01056ac49cbb From: Henry Wang To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , Henry Wang , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Julien Grall , Community Manager , Julien Grall Subject: [PATCH v5 2/3] Changelog: Add __ro_after_init and CET Date: Thu, 24 Nov 2022 10:50:40 +0800 Message-Id: <20221124025041.1540079-3-Henry.Wang@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221124025041.1540079-1-Henry.Wang@arm.com> References: <20221124025041.1540079-1-Henry.Wang@arm.com> MIME-Version: 1.0 From: Andrew Cooper Signed-off-by: Andrew Cooper Signed-off-by: Henry Wang Reviewed-by: Roger Pau Monné Reviewed-by: Julien Grall --- v4 -> v5: - Add Julien's reviewed-by. v3 -> v4: - Add my own sign-off because I changed the original wording. v2 -> v3: - Remove the "on x86" for __ro_after_init, as Arm also supports the __ro_after_init. v1 -> v2: - Include this patch in the series --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55dd535e29..5d686a4258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added / support upgraded - Out-of-tree builds for the hypervisor now supported. + - __ro_after_init support, for marking data as immutable after boot. - The project has officially adopted 4 directives and 24 rules of MISRA-C, added MISRA-C checker build integration, and defined how to document deviations. @@ -22,6 +23,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) when they don't share page tables with the CPU (HAP / EPT / NPT). - Support for VIRT_SSBD and MSR_SPEC_CTRL for HVM guests on AMD. - Improved TSC, CPU, and APIC clock frequency calibration on x86. + - Support for Xen using x86 Control Flow Enforcement technology for its own + protection. Both Shadow Stacks (ROP protection) and Indirect Branch + Tracking (COP/JOP protection). - Add mwait-idle support for SPR and ADL on x86. - Extend security support for hosts to 12 TiB of memory on x86. - Add command line option to set cpuid parameters for dom0 at boot time on x86. From patchwork Thu Nov 24 02:50:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henry Wang X-Patchwork-Id: 13054552 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79F26C4332F for ; Thu, 24 Nov 2022 02:51:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.447749.704359 (Exim 4.92) (envelope-from ) id 1oy2KO-0008VX-QH; Thu, 24 Nov 2022 02:51:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 447749.704359; Thu, 24 Nov 2022 02:51: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 1oy2KO-0008VO-Lr; Thu, 24 Nov 2022 02:51:04 +0000 Received: by outflank-mailman (input) for mailman id 447749; Thu, 24 Nov 2022 02:51:03 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oy2KN-0007dj-5c for xen-devel@lists.xenproject.org; Thu, 24 Nov 2022 02:51:03 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id d4f59c5e-6ba2-11ed-91b6-6bf2151ebd3b; Thu, 24 Nov 2022 03:51:02 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0CCAF23A; Wed, 23 Nov 2022 18:51:08 -0800 (PST) Received: from a015966.shanghai.arm.com (a015966.shanghai.arm.com [10.169.190.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2C3C73F587; Wed, 23 Nov 2022 18:50:58 -0800 (PST) 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: d4f59c5e-6ba2-11ed-91b6-6bf2151ebd3b From: Henry Wang To: xen-devel@lists.xenproject.org Cc: Henry Wang , Julien Grall , Jan Beulich , George Dunlap , Community Manager , Julien Grall Subject: [PATCH v5 3/3] CHANGELOG: Start new "unstable" section Date: Thu, 24 Nov 2022 10:50:41 +0800 Message-Id: <20221124025041.1540079-4-Henry.Wang@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221124025041.1540079-1-Henry.Wang@arm.com> References: <20221124025041.1540079-1-Henry.Wang@arm.com> MIME-Version: 1.0 Signed-off-by: Henry Wang Reviewed-by: Julien Grall --- v4 -> v5: - Add Julien's Reviewed-by. v3 -> v4: - No change. v2 -> v3: - Take the opportunity to also adjust the 4.17 entry since this patch will be applied only after branching. - Add 4.17 release date. - Drop Julien's acked-by because of the content change. v1 -> v2: - Add Julien's Acked-by. --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d686a4258..c2bf26d524 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ Notable changes to Xen will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -## [4.17.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=staging) +## [unstable UNRELEASED](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=staging) - TBD + +## [4.17.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.17.0) - 2022-12-?? ### Changed - On x86 "vga=current" can now be used together with GrUB2's gfxpayload setting. Note that