Skip to contentSkip to conversation

Final CHANGELOG changes for 4.18

PATCH Superseded Henry Wang 4 participants 16 messages Oct 19, 2023 – Oct 23, 2023

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Henry Wang

author
#0 lore raw

cover Final CHANGELOG changes for 4.18

Hi all,

This series should be the final CHANGELOG changes for 4.18.

The first patch is mentioning the MISRA-C improvement during the 4.18 dev cycle, so should be committed before we branch.

The second patch sets the release date and tag of 4.18 release and should be included in both the staging and stable-4.18 once we branch (next week).

The third patch starts a new unstable section, so should be in unstable master/staging only.

Thanks.

Henry Wang (3):
CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle CHANGELOG.md: Set 4.18 release date and tag CHANGELOG.md: Start new "unstable" section

 CHANGELOG.md | 9 +++++++++
 1 file changed, 9 insertions(+)
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/3 CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    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.
+ - The project has now officially adopted 72 rules of MISRA-C.
 
 ### Removed
  - On x86, the "pku" command line option has been removed.  It has never
Signature · 1 line
2.25.1
Acked-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

Quoted 10 lines · Henry Wang
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +0 -0
index 165c5caf9b..47e98f036f 100644

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 36

Quoted 4 lines
CHANGELOG.md +1 -0
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

Assuming 72 is changed to 71 on commit:

author
#3 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

Hi Stefano,

Quoted 8 lines · Stefano Stabellini
Quoted 5 lines · Henry Wang

---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
Quoted 13 lines

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 36

Quoted 9 lines
CHANGELOG.md +1 -0
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
   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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

lol I will send a v2.

Quoted 4 lines

Assuming 72 is changed to 71 on commit:

Thanks!

Kind regards,
Henry

author
#4 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

In reply to Stefano Stabellini

Hi Stefano,

Quoted 8 lines · Stefano Stabellini
Quoted 5 lines · Henry Wang

---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
Quoted 13 lines

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 36

Quoted 9 lines
CHANGELOG.md +1 -0
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
   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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

Thanks for the pointer of the doc, I checked the doc and noticed that we actually support 65 rules and 6 directives (65+6=71 so you are correct), but to avoid the confusion, would you mind me writing in this way:
"The project has officially adopted 6 directives and 65 rules of MISRA-C”?

Kind regards,
Henry

#5 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

Quoted 24 lines · Henry Wang

Hi Stefano,

Quoted 8 lines · Stefano Stabellini
Quoted 5 lines · Henry Wang

---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
Quoted 13 lines

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 36

Quoted 9 lines
CHANGELOG.md +1 -0
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
   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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

Quoted 4 lines

Thanks for the pointer of the doc, I checked the doc and noticed that we actually support 65 rules and 6 directives (65+6=71 so you are correct), but to avoid the confusion, would you mind me writing in this way:
"The project has officially adopted 6 directives and 65 rules of MISRA-C”?

Sure that's fine!

#6 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

In reply to Henry Wang
Quoted 26 lines · Henry Wang

Hi Stefano,

Quoted 8 lines · Stefano Stabellini
Quoted 5 lines · Henry Wang

---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
Quoted 15 lines
Quoted 11 lines
CHANGELOG.md +0 -0
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a 
 Changelog](https://keepachangelog.com/en/1.0.0/)
   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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

Quoted 7 lines

Thanks for the pointer of the doc, I checked the doc and noticed that we actually support 65 rules and 6 directives (65+6=71 so you are correct), but to avoid the confusion, would you mind me writing in this way:
"The project has officially adopted 6 directives and 65 rules of MISRA-C”?

Kind regards,
Henry

Just dropping this small suggestion: the general term used by MISRA to indicate either a Rule or a Directive is Guideline, so it's also correct to say that 71 Guidelines have been adopted.

Signature · 2 lines
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)
author
#7 lore raw

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

Hi Nicola,

Quoted 29 lines · Nicola Vetrini
Quoted 19 lines · Henry Wang

Hi Stefano,

Quoted 18 lines · Stefano Stabellini

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 35

Quoted 13 lines · Henry Wang

---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
CHANGELOG.md +1 -1
index 165c5caf9b..47e98f036f 100644
@@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  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.
+ - The project has now officially adopted 72 rules of MISRA-C.

I counted them again, they are 71 today. We have accepted 3 more recently but for the CHANGELOG.md I would stick with what is on docs/misra/rules.rst

Quoted 6 lines

Thanks for the pointer of the doc, I checked the doc and noticed that we actually support 65 rules and 6 directives (65+6=71 so you are correct), but to avoid the confusion, would you mind me writing in this way:
"The project has officially adopted 6 directives and 65 rules of MISRA-C”? Kind regards,
Henry

Quoted 3 lines

Just dropping this small suggestion: the general term used by MISRA to indicate either a Rule or a Directive is Guideline, so it's also correct to say that 71 Guidelines have been adopted.

Correct, I wrote separately just to simply keep some consistency between the wording that we already did for 4.17, see [1].

[1] https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=CHANGELOG.md;h=165c5caf9beaff72da4ea07d326743500f470466;hb=HEAD#l55

Kind regards,
Henry

Quoted 4 lines
Signature · 3 lines
-- 
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)
author
#8 lore raw

PATCH 2/3 CHANGELOG.md: Set 4.18 release date and tag

In reply to Henry Wang
---
 CHANGELOG.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +1 -1
index 47e98f036f..3c83878c9b 100644
@@ -4,7 +4,7 @@ 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30
 
 ### Changed
  - Repurpose command line gnttab_max_{maptrack_,}frames options so they don't
Signature · 1 line
2.25.1
Acked-by on v1 2/3
#9 lore raw

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

Quoted 10 lines · Henry Wang
---
 CHANGELOG.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +0 -0
index 47e98f036f..3c83878c9b 100644

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 5 lines
CHANGELOG.md +1 -1
@@ -4,7 +4,7 @@ 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30

Should we use xenbits.xenproject.org instead? I think that's the official name. In any case:

author
#10 lore raw

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

Quoted 16 lines · Stefano Stabellini
Quoted 11 lines · Henry Wang

---
CHANGELOG.md | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +0 -0
index 47e98f036f..3c83878c9b 100644
@@ -4,7 +4,7 @@ Notable changes to Xen will be documented in this file.
 
Quoted 7 lines

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 4 lines
CHANGELOG.md +1 -1
 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30

Should we use xenbits.xenproject.org instead? I think that's the official name. In any case:

Hmmm, good question, but after some deeper look somehow I am more confused now.

So if I click the xen.git link in xenbits.xenproject.org <http://xenbits.xenproject.org/>, I will be directed to "http://xenbits.xen.org/gitweb/?p=xen.git;a=summary”, where the http and https git URL
are both using "xenbits.xen.org”.

However, "https://xenbits.xenproject.org/gitweb/?p=xen.git;a=summary” is also a valid link, but the https and http git URL are still both using “xenbits.xen.org”, also, all our previous releases seem to use "xenbits.xen.org".

Could anyone in this community long enough provide a bit more details/clarifications on this? I am ok to either change or not if the discussion is settled.

Quoted 2 lines

Thank you very much!

Kind regards,
Henry

#11 lore raw

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

Quoted 30 lines · Henry Wang
Quoted 16 lines · Stefano Stabellini
Quoted 11 lines · Henry Wang

---
CHANGELOG.md | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +0 -0
index 47e98f036f..3c83878c9b 100644
@@ -4,7 +4,7 @@ Notable changes to Xen will be documented in this file.
 
Quoted 7 lines

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 4 lines
CHANGELOG.md +1 -1
 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30

Should we use xenbits.xenproject.org instead? I think that's the official name. In any case:

Hmmm, good question, but after some deeper look somehow I am more confused now.

So if I click the xen.git link in xenbits.xenproject.org <http://xenbits.xenproject.org/>, I will be directed to "http://xenbits.xen.org/gitweb/?p=xen.git;a=summary”, where the http and https git URL
are both using "xenbits.xen.org”.

Quoted 5 lines

However, "https://xenbits.xenproject.org/gitweb/?p=xen.git;a=summary” is also a valid link, but the https and http git URL are still both using “xenbits.xen.org”, also, all our previous releases seem to use "xenbits.xen.org".

Could anyone in this community long enough provide a bit more details/clarifications on this?

Well, "xenproject" appeared later as a name, with the intention of becoming the "canonical" one. Still it was likely easiest at the time to simply add respective redirects in the web server(s).

Jan

author
#12 lore raw

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

Hi Jan,

Quoted 37 lines · Jan Beulich
Quoted 34 lines · Henry Wang
Quoted 16 lines · Stefano Stabellini
Quoted 11 lines · Henry Wang

---
CHANGELOG.md | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +0 -0
index 47e98f036f..3c83878c9b 100644
@@ -4,7 +4,7 @@ Notable changes to Xen will be documented in this file.
 
Quoted 7 lines

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 4 lines
CHANGELOG.md +1 -1
 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30

Should we use xenbits.xenproject.org instead? I think that's the official name. In any case:

Hmmm, good question, but after some deeper look somehow I am more confused now.

So if I click the xen.git link in xenbits.xenproject.org <http://xenbits.xenproject.org/>, I will be directed to "http://xenbits.xen.org/gitweb/?p=xen.git;a=summary”, where the http and https git URL
are both using "xenbits.xen.org”.

However, "https://xenbits.xenproject.org/gitweb/?p=xen.git;a=summary” is also a valid link, but the https and http git URL are still both using “xenbits.xen.org”, also, all our previous releases seem to use "xenbits.xen.org".

Quoted 5 lines
Quoted 1 line

Could anyone in this community long enough provide a bit more details/clarifications on this?

Well, "xenproject" appeared later as a name, with the intention of becoming the "canonical" one. Still it was likely easiest at the time to simply add respective redirects in the web server(s).

I take above comment as you also prefer the “xenbits.xenproject.org”? Could you please kindly confirm that? If that is the case, I will send a v3 with the link changed, as 2 committers now both prefer the “xenproject” one and I won’t argue for that.

Kind regards,
Henry

Quoted 2 lines

Jan

#13 lore raw

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

Quoted 33 lines · Henry Wang
Quoted 33 lines · Jan Beulich
Quoted 31 lines · Henry Wang
Quoted 13 lines · Stefano Stabellini
Quoted 11 lines · Henry Wang

---
CHANGELOG.md | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
CHANGELOG.md +0 -0
index 47e98f036f..3c83878c9b 100644
@@ -4,7 +4,7 @@ Notable changes to Xen will be documented in this file.
 
Quoted 7 lines

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 4 lines
CHANGELOG.md +1 -1
 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.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30

Should we use xenbits.xenproject.org instead? I think that's the official name. In any case:

Hmmm, good question, but after some deeper look somehow I am more confused now.

So if I click the xen.git link in xenbits.xenproject.org <http://xenbits.xenproject.org/>, I will be directed to "http://xenbits.xen.org/gitweb/?p=xen.git;a=summary”, where the http and https git URL
are both using "xenbits.xen.org”.

However, "https://xenbits.xenproject.org/gitweb/?p=xen.git;a=summary” is also a valid link, but the https and http git URL are still both using “xenbits.xen.org”, also, all our previous releases seem to use "xenbits.xen.org".

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Could anyone in this community long enough provide a bit more details/clarifications on this?

Well, "xenproject" appeared later as a name, with the intention of becoming the "canonical" one. Still it was likely easiest at the time to simply add respective redirects in the web server(s).

I take above comment as you also prefer the “xenbits.xenproject.org”? Could you please kindly confirm that?

Indeed I do.

Jan

author
#14 lore raw

PATCH 3/3 CHANGELOG.md: Start new "unstable" section

In reply to Henry Wang
---
 CHANGELOG.md | 8 ++++++++
 1 file changed, 8 insertions(+)
CHANGELOG.md +8 -0
index 3c83878c9b..48aff24f3a 100644
@@ -4,6 +4,14 @@ 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
+
+### Changed
+
+### Added
+
+### Removed
+
 ## [4.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30
 
 ### Changed
Signature · 1 line
2.25.1
Acked-by on v1 3/3
#15 lore raw

Re: [PATCH 3/3] CHANGELOG.md: Start new "unstable" section

Quoted 10 lines · Henry Wang
---
 CHANGELOG.md | 8 ++++++++
 1 file changed, 8 insertions(+)
CHANGELOG.md +0 -0
index 3c83878c9b..48aff24f3a 100644

CHANGELOG.md Notable changes to Xen will be documented in this file. · line 7

Quoted 4 lines
CHANGELOG.md +1 -0
@@ -4,6 +4,14 @@ 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

same here about xen.org/xenproject.org

In any case:

Quoted 9 lines
CHANGELOG.md +6 -0
+### Changed
+
+### Added
+
+### Removed
+
 ## [4.18.0](https://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.18.0) - 2023-10-30
 
 ### Changed