Skip to contentSkip to conversation

CHANGELOG: More 4.18 content

PATCH In review Andrew Cooper 3 participants 13 messages Oct 31, 2023

lore
Share & tools
lore
#0 lore raw

cover CHANGELOG: More 4.18 content

Andrew Cooper (3):
CHANGELOG: Reformat
CHANGELOG: More 4.18 content
CHANGELOG: Keep unstable section

 CHANGELOG.md | 44 ++++++++++++++++++++++++++++----------------
 1 file changed, 28 insertions(+), 16 deletions(-)

base-commit: 9659b2a6d73b14620e187f9c626a09323853c459

Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/3 CHANGELOG: Reformat

Collect all x86 and ARM changes together instead of having them scattered. Tweak grammar as necessary.

No change.

---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Wei Liu <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Henry Wang <[email protected]>

---
 CHANGELOG.md | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)
CHANGELOG.md +19 -16
index 3ca796969990..edc0d69898ed 100644
@@ -17,24 +17,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    Hotplug" for clarity
 
 ### Added
- - On x86, support for features new in Intel Sapphire Rapids CPUs:
-   - PKS (Protection Key Supervisor) available to HVM/PVH guests.
-   - VM-Notify used by Xen to mitigate certain micro-architectural pipeline
-     livelocks, instead of crashing the entire server.
-   - Bus-lock detection, used by Xen to mitigate (by rate-limiting) the system
-     wide impact of a guest misusing atomic instructions.
- - xl/libxl can customize SMBIOS strings for HVM guests.
- - Add support for AVX512-FP16 on x86.
- - On Arm, Xen supports guests running SVE/SVE2 instructions. (Tech Preview)
- - On Arm, add suport for Firmware Framework for Arm A-profile (FF-A) Mediator
-   (Tech Preview)
- - Add Intel Hardware P-States (HWP) cpufreq driver.
- - On Arm, experimental support for dynamic addition/removal of Xen device tree
-   nodes using a device tree overlay binary (.dtbo).
+ - On x86:
+   - xl/libxl can customize SMBIOS strings for HVM guests.
+   - Support for enforcing system-wide operation in Data Operand Independent
+     Timing Mode.
+   - Add Intel Hardware P-States (HWP) cpufreq driver.
+   - Support for features new in Intel Sapphire Rapids CPUs:
+     - PKS (Protection Key Supervisor) available to HVM/PVH guests.
+     - VM-Notify used by Xen to mitigate certain micro-architectural pipeline
+       livelocks, instead of crashing the entire server.
+     - Bus-lock detection, used by Xen to mitigate (by rate-limiting) the
+       system wide impact of a guest misusing atomic instructions.
+   - Support for features new in Intel Granite Rapids CPUs:
+     - AVX512-FP16.
+ - On Arm:
+   - Xen supports guests running SVE/SVE2 instructions. (Tech Preview)
+   - Add suport for Firmware Framework for Arm A-profile (FF-A) Mediator (Tech
+     Preview)
+   - Experimental support for dynamic addition/removal of Xen device tree
+     nodes using a device tree overlay binary (.dtbo).
  - Introduce two new hypercalls to map the vCPU runstate and time areas by
    physical rather than linear/virtual addresses.
- - On x86, support for enforcing system-wide operation in Data Operand
-   Independent Timing Mode.
  - The project has now officially adopted 6 directives and 65 rules of MISRA-C.
 
 ### Removed
Signature · 1 line
2.30.2
#3 lore raw

PATCH 2/3 CHANGELOG: More 4.18 content

In reply to Andrew Cooper

---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Wei Liu <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Henry Wang <[email protected]>

---
 CHANGELOG.md | 7 +++++++
 1 file changed, 7 insertions(+)
CHANGELOG.md +7 -0
index edc0d69898ed..a827054cf27d 100644
@@ -18,10 +18,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 
 ### Added
  - On x86:
+   - On all Intel systems, MSR_ARCH_CAPS is now visible in guests, and
+     controllable from the VM's config file.  For CPUs from ~2019 onwards,
+     this allows guest kernels to see details about hardware fixes for
+     speculative mitigations.  (Backported as XSA-435 to older releases).
    - xl/libxl can customize SMBIOS strings for HVM guests.
    - Support for enforcing system-wide operation in Data Operand Independent
      Timing Mode.
    - Add Intel Hardware P-States (HWP) cpufreq driver.
+   - Support for features new in AMD Genoa CPUs:
+     - CPUID_USER_DIS (CPUID Faulting) used by Xen to control PV guest's view
+       of CPUID data.
    - Support for features new in Intel Sapphire Rapids CPUs:
      - PKS (Protection Key Supervisor) available to HVM/PVH guests.
      - VM-Notify used by Xen to mitigate certain micro-architectural pipeline
Signature · 1 line
2.30.2
#5 lore raw

PATCH 3/3 CHANGELOG: Keep unstable section

In reply to Andrew Cooper

---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Wei Liu <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Henry Wang <[email protected]>

---
 CHANGELOG.md | 2 ++
 1 file changed, 2 insertions(+)
CHANGELOG.md +2 -0
index a827054cf27d..cf0c9c3f8cb9 100644
@@ -4,6 +4,8 @@ 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.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=staging) - TBD
+
 ## [4.18.0](https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-XX-XX
 
 ### Changed
Signature · 1 line
2.30.2
#6 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Hi,

Quoted 1 line · Andrew Cooper

Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date for 4.18 and I want to avoid any clash when that patch will appear.

Cheers,

[1] [email protected]

Quoted 25 lines

---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Wei Liu <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Henry Wang <[email protected]>

---
  CHANGELOG.md | 2 ++
  1 file changed, 2 insertions(+)
CHANGELOG.md +2 -0
index a827054cf27d..cf0c9c3f8cb9 100644
@@ -4,6 +4,8 @@ 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.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=staging) - TBD
+
  ## [4.18.0](https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-XX-XX
 
  ### Changed
Signature · 1 line
Julien Grall
#7 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Quoted 5 lines · Julien Grall

Hi,

Quoted 1 line · Andrew Cooper
Quoted 7 lines

Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date for 4.18 and I want to avoid any clash when that patch will appear.

Cheers,

[1] [email protected]

This section should not have been deleted in d9f07b06cfc9.

It's fine to have an unstable section before the 4.18 date is confirmed, and the section must exist before staging is re-opened for 4.19 content.

I don't mind which of these two patches gets committed, but one of them is getting committed today ahead of staging re-opening.  Part of branching ought to ensure that this section exists.

Henry, your choice.

~Andrew

#8 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Quoted 10 lines · Andrew Cooper
Quoted 9 lines · Julien Grall

Hi,

Quoted 1 line · Andrew Cooper

Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date for 4.18 and I want to avoid any clash when that patch will appear.

Quoted 5 lines
Quoted 3 lines

Cheers,

[1] [email protected]

This section should not have been deleted in d9f07b06cfc9.

Why? This has always been our process. We should not ship 4.18 with the UNSTABLE section. So it was correct to delete it in d9f07b06cfc9.

Quoted 3 lines

It's fine to have an unstable section before the 4.18 date is confirmed, and the section must exist before staging is re-opened for 4.19 content.

I disagree. 4.19 will not be fully re-open until we finally release. So I wouldn't expect any new features to be merged.

Quoted 4 lines

I don't mind which of these two patches gets committed, but one of them is getting committed today ahead of staging re-opening.  Part of branching ought to ensure that this section exists.

If you want to go down that route, then please update the docs/process/branching-checklist.txt. Otherwise, I will continue to do as I did previously.

Cheers,

Signature · 1 line
Julien Grall
#9 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Quoted 3 lines · Julien Grall

If you want to go down that route, then please update the docs/process/branching-checklist.txt. Otherwise, I will continue to do as I did previously.

It *is* in the checklist, and for all previous releases even 4.17, the staging section was opened at the time of branching.

The thing that is different between 4.17 and previously is that 4.17 called it "unstable" where previously (and in the checklist) it says to make the new section match the updated Xen major/minor number.

~Andrew

#10 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Quoted 7 lines · Andrew Cooper
Quoted 3 lines · Julien Grall

If you want to go down that route, then please update the docs/process/branching-checklist.txt. Otherwise, I will continue to do as I did previously.

It *is* in the checklist, and for all previous releases even 4.17, the staging section was opened at the time of branching.

It doesn't tell me when it has to be done. The difference with 4.17 is we don't yet have a date for the release. Hence why I delayed.

Quoted 4 lines

The thing that is different between 4.17 and previously is that 4.17 called it "unstable" where previously (and in the checklist) it says to make the new section match the updated Xen major/minor number.

I still don't see the problem of delaying the CHANGELOG as I decided to do. If you are not happy with it, how about you take over the release technician process? It is already complex enough that I don't need someone else to tell me exactly how I should do it.

Cheers,

Signature · 1 line
Julien Grall
#11 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

Hi both,

Quoted 10 lines · Julien Grall
Quoted 6 lines · Andrew Cooper
Quoted 3 lines · Julien Grall

If you want to go down that route, then please update the docs/process/branching-checklist.txt. Otherwise, I will continue to do as I did previously.

It *is* in the checklist, and for all previous releases even 4.17, the staging section was opened at the time of branching.

It doesn't tell me when it has to be done. The difference with 4.17 is we don't yet have a date for the release. Hence why I delayed.

I’ve sent the updated [1] out, hopefully this will make both of you happy (Still I am thinking both of you are actually mentioning the same thing, i.e. starting a new unstable section after the branching).

[1] https://lore.kernel.org/xen-devel/[email protected]/

Kind regards,
Henry

#12 lore raw

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

In reply to Julien Grall

Hi Julien, Andrew,

Quoted 12 lines · Julien Grall
Quoted 10 lines · Andrew Cooper
Quoted 9 lines · Julien Grall

Hi,

Quoted 1 line · Andrew Cooper

Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date for 4.18 and I want to avoid any clash when that patch will appear.

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

Cheers,

[1] [email protected]

This section should not have been deleted in d9f07b06cfc9.

Why? This has always been our process. We should not ship 4.18 with the UNSTABLE section. So it was correct to delete it in d9f07b06cfc9.

I agree with Julien on this. removing the “unstable” section is the tradition that we had previously, see below (I am using github link for a easier finding of history commits):
- [1] for 4.15
- [2] for 4.16
- [3] for 4.17

I am not sure there is any specific reason for changing the existing process.

The other two patches in this series looks good and I’ve acked both of them. Thanks for taking care of it.

[1] https://github.com/xen-project/xen/commit/b8eaedbb51e8e51808728d7de392d3e9117fdece
[2] https://github.com/xen-project/xen/commit/eef266eb770128db0d5258009b744f0e0c31c9bd
[3] https://github.com/xen-project/xen/commit/0829a2f3fcaba9233dfdce9a8cee9d126a51bd4d

Kind regards,
Henry