Skip to contentSkip to conversation

xen: follow-up to recent recipes update

PATCH In review Michal Orzel 3 participants 11 messages Nov 27, 2023 – Dec 4, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover xen: follow-up to recent recipes update

Some follow-up patches after a recent Xen recipes update.

Open question:
Shouldn't we set 4.18 as a default version?

Michal Orzel (2):
xen: Bump SRCREV of 4.17 recipes to 4.17.2
xen: Set XEN_REL to 4.19 for master recipes

 ...g-solaris-syntax-for-.section-direct.patch | 70 -------------------
 recipes-extended/xen/xen-tools_4.17.bb        |  4 +-
 recipes-extended/xen/xen-tools_git.bb         |  6 +-
 recipes-extended/xen/xen_4.17.bb              |  5 +-
 recipes-extended/xen/xen_git.bb               |  2 +-
 5 files changed, 8 insertions(+), 79 deletions(-)
 delete mode 100644 recipes-extended/xen/files/0001-arm32-Avoid-using-solaris-syntax-for-.section-direct.patch
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 xen: Bump SRCREV of 4.17 recipes to 4.17.2

Update Xen and tools 4.17 recipes to use the latest 4.17.2 release. Remove no longer needed solaris syntax patch.

---
 ...g-solaris-syntax-for-.section-direct.patch | 70 -------------------
 recipes-extended/xen/xen-tools_4.17.bb        |  4 +-
 recipes-extended/xen/xen_4.17.bb              |  5 +-
 3 files changed, 4 insertions(+), 75 deletions(-)
 delete mode 100644 recipes-extended/xen/files/0001-arm32-Avoid-using-solaris-syntax-for-.section-direct.patch
recipes-extended/xen/files/0001-arm32-Avoid-using-solaris-syntax-for-.section-direct.patch deleted +0 -70
deleted file mode 100644
index a4038dda0826..000000000000
@@ -1,70 +0,0 @@
-From dfc490a3740bb7d6889939934afadcb58891fbce Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Tue, 1 Aug 2023 10:49:30 -0700
-Subject: [PATCH] arm: Avoid using solaris syntax for .section directive
-
-Assembler from binutils 2.41 will rejects ([1], [2]) the following
-syntax
-
-.section "name", #alloc
-
-for any other any target other than ELF SPARC. This means we can't use
-it in the Arm code.
-
-So switch to the GNU syntax
-
-.section name [, "flags"[, @type]]
-
-[1] https://sourceware.org/bugzilla/show_bug.cgi?id=11601
-[2] https://sourceware.org/binutils/docs-2.41/as.html#Section
-
-Upstream-Status: Backport [https://github.com/xen-project/xen/commit/dfc490a3740bb7d6889939934afadcb58891fbce]
-Signed-off-by: Khem Raj <[email protected]>
-Reviewed-by: Michal Orzel <[email protected]>
-[jgrall: Reword commit message]
-Acked-by: Julien Grall <[email protected]>
----
- xen/arch/arm/arm32/proc-v7.S | 6 +++---
- xen/arch/arm/dtb.S           | 2 +-
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/xen/arch/arm/arm32/proc-v7.S b/xen/arch/arm/arm32/proc-v7.S
-index c90a31d80fc5..6d3d19b87354 100644
---- a/xen/arch/arm/arm32/proc-v7.S
-+++ b/xen/arch/arm/arm32/proc-v7.S
-@@ -29,7 +29,7 @@ brahma15mp_init:
-         mcr   CP32(r0, ACTLR)
-         mov   pc, lr
- 
--        .section ".proc.info", #alloc
-+        .section .proc.info, "a"
-         .type __v7_ca15mp_proc_info, #object
- __v7_ca15mp_proc_info:
-         .long 0x410FC0F0             /* Cortex-A15 */
-@@ -38,7 +38,7 @@ __v7_ca15mp_proc_info:
-         .long caxx_processor
-         .size __v7_ca15mp_proc_info, . - __v7_ca15mp_proc_info
- 
--        .section ".proc.info", #alloc
-+        .section .proc.info, "a"
-         .type __v7_ca7mp_proc_info, #object
- __v7_ca7mp_proc_info:
-         .long 0x410FC070             /* Cortex-A7 */
-@@ -47,7 +47,7 @@ __v7_ca7mp_proc_info:
-         .long caxx_processor
-         .size __v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
- 
--        .section ".proc.info", #alloc
-+        .section .proc.info, "a"
-         .type __v7_brahma15mp_proc_info, #object
- __v7_brahma15mp_proc_info:
-         .long 0x420F00F0             /* Broadcom Brahma-B15 */
-diff --git a/xen/arch/arm/dtb.S b/xen/arch/arm/dtb.S
-index c39f3a095c58..386f83ba649e 100644
---- a/xen/arch/arm/dtb.S
-+++ b/xen/arch/arm/dtb.S
-@@ -1,3 +1,3 @@
--        .section .dtb,#alloc
-+        .section .dtb, "a"
-         GLOBAL(_sdtb)
-         .incbin CONFIG_DTB_FILE
recipes-extended/xen/xen-tools_4.17.bb +2 -2
index 8309342542ea..c6a3052cd8e1 100644
@@ -1,5 +1,5 @@
-# stable-4.17 status on 5/26/2023
-SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
+# xen 4.17.2 release sha
+SRCREV ?= "322a20add00a4687cd46d9183616fa6fecbef81f"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
recipes-extended/xen/xen_4.17.bb +2 -3
index 54da7baf9cc6..8fae2c378933 100644
@@ -1,5 +1,5 @@
-# stable-4.17 status on 5/26/2023
-SRCREV ?= "47eb94123035a2987dd1e328e9adec6db36e7fb3"
+# xen 4.17.2 release sha
+SRCREV ?= "322a20add00a4687cd46d9183616fa6fecbef81f"
 
 XEN_REL ?= "4.17"
 XEN_BRANCH ?= "stable-${XEN_REL}"
@@ -7,7 +7,6 @@ XEN_BRANCH ?= "stable-${XEN_REL}"
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
     file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
-    file://0001-arm32-Avoid-using-solaris-syntax-for-.section-direct.patch \
     "
 
 LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 xen: Set XEN_REL to 4.19 for master recipes

In reply to Michal Orzel

SRCREV recently updated by commit e3bae02214 ("xen/git: update to latest") points to 4.18 while in fact it refers to 4.19 development version. Fix it. Also, take the opportunity to update master tools recipe to point to the same SHA.

---
 recipes-extended/xen/xen-tools_git.bb | 6 +++---
 recipes-extended/xen/xen_git.bb       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
recipes-extended/xen/xen-tools_git.bb +3 -3
index 8fbdf92e3549..0c33cfe6d4b9 100644
@@ -1,7 +1,7 @@
-# master status on 2023-05-26
-SRCREV ?= "380c6c170393c48852d4f2b1ea97125a399cfc61"
+# master status on 2023-11-24
+SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
-XEN_REL ?= "4.18"
+XEN_REL ?= "4.19"
 XEN_BRANCH ?= "master"
 
 SRC_URI = " \
recipes-extended/xen/xen_git.bb +1 -1
index 784e71ce319c..1a1ebb782f1d 100644
@@ -1,7 +1,7 @@
 # master status on 2023-11-24
 SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
-XEN_REL ?= "4.18"
+XEN_REL ?= "4.19"
 XEN_BRANCH ?= "master"
 
 SRC_URI = " \
Signature · 1 line
2.25.1
#3 lore raw
In reply to Michal Orzel
Quoted 5 lines · Michal Orzel

Some follow-up patches after a recent Xen recipes update.

Open question:
Shouldn't we set 4.18 as a default version?

Not yet (and definitely not for nanbield). Perhaps once it has been under test for a few weeks. I did the updates to get them some extra soak time and make them available in both the upcoming release (nanbield) and master for those that want to use the latest, without making it a default version jump so late in the cycle.

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

I've grabbed the 4.17 version bump from the series.

Bruce

Quoted 16 lines

Michal Orzel (2):
xen: Bump SRCREV of 4.17 recipes to 4.17.2
xen: Set XEN_REL to 4.19 for master recipes

 ...g-solaris-syntax-for-.section-direct.patch | 70 -------------------
 recipes-extended/xen/xen-tools_4.17.bb        |  4 +-
 recipes-extended/xen/xen-tools_git.bb         |  6 +-
 recipes-extended/xen/xen_4.17.bb              |  5 +-
 recipes-extended/xen/xen_git.bb               |  2 +-
 5 files changed, 8 insertions(+), 79 deletions(-)
 delete mode 100644 recipes-extended/xen/files/0001-arm32-Avoid-using-solaris-syntax-for-.section-direct.patch

--
2.25.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#4 lore raw

Hi Bruce,

Quoted 6 lines · Bruce Ashfield
Quoted 3 lines · Michal Orzel

Some follow-up patches after a recent Xen recipes update.

Quoted 8 lines
Quoted 2 lines

Open question:
Shouldn't we set 4.18 as a default version?

Not yet (and definitely not for nanbield). Perhaps once it has been under test for a few weeks. I did the updates to get them some extra soak time and make them available in both the upcoming release (nanbield) and master for those that want to use the latest, without making it a default version jump so late in the cycle.

Ok.

Quoted 5 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall).
Bumping the XEN_REL of master recipes to reflect the current development version is what I've been doing for the last 2 cycles [2], [3]:

[1] https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/Makefile#l8
[2] https://git.yoctoproject.org/meta-virtualization/commit/?id=3581dd56aa97ae17b480692aeb733ca0d1fa0eec
[3] https://git.yoctoproject.org/meta-virtualization/commit/?id=265518e6899726a47bb150f248a18d56dfbbffdf

Quoted 2 lines

I've grabbed the 4.17 version bump from the series.

+ master tools recipe SHA update

~Michal

#5 lore raw
Quoted 13 lines · Michal Orzel

Hi Bruce,

Quoted 3 lines · Bruce Ashfield

On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <[email protected]>

Quoted 6 lines · wrote:
Quoted 5 lines

Some follow-up patches after a recent Xen recipes update.

Open question:
Shouldn't we set 4.18 as a default version?

Quoted 7 lines
Quoted 5 lines

Not yet (and definitely not for nanbield). Perhaps once it has been under test for a few weeks. I did the updates to get them some extra soak time and make them available in both the upcoming release (nanbield) and master for those that want to use the latest, without making it a default version jump so late in the cycle.

Ok.

Thanks, Bruce.

Quoted 11 lines
Quoted 6 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in
the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall). Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

Quoted 2 lines

to reflect the current development version

of Xen. ie. The git recipes are present alongside the other recipes that provide the stable release version(s) of Xen.

As Michal has noted above, putting 4.19 for XEN_REL into the git recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Thanks Michal for the update to bring the tools recipe up to the same revision as the hypervisor.

Christopher

Quoted 14 lines

is what I've been doing for the last 2 cycles [2], [3]:

[1] https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/Makefile#l8
[2]
https://git.yoctoproject.org/meta-virtualization/commit/?id=3581dd56aa97ae17b480692aeb733ca0d1fa0eec
[3]
https://git.yoctoproject.org/meta-virtualization/commit/?id=265518e6899726a47bb150f248a18d56dfbbffdf

Quoted 2 lines

I've grabbed the 4.17 version bump from the series.

+ master tools recipe SHA update

~Michal

#6 lore raw

Hello,

Quoted 45 lines · Christopher Clark

On Mon, Nov 27, 2023 at 6:08 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:

Hi Bruce,

On 27/11/2023 14:55, Bruce Ashfield wrote:
>
>
> On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:
>>
>> Some follow-up patches after a recent Xen recipes update.
>>
>> Open question:
>> Shouldn't we set 4.18 as a default version?
>
> Not yet (and definitely not for nanbield). Perhaps once it has been under
> test for a few weeks. I did the updates to get them some extra soak time
> and make them available in both the upcoming release (nanbield) and
> master for those that want to use the latest, without making it a default
> version jump so late in the cycle.
Ok.

Thanks, Bruce.

Quoted 5 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall).
Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

Quoted 6 lines

to reflect the current development version

of Xen. ie. The git recipes are present alongside the other recipes that provide the stable release version(s) of Xen.

As Michal has noted above, putting 4.19 for XEN_REL into the git recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Sounds good to me.

@Bruce, may I please ask you to take my patch modifying XEN_REL and do s/master/git in title on commit? If not, I will push a v2 of this patch.

~Michal

#7 lore raw
Quoted 52 lines · Michal via lists.yoctoproject.org

Hello,

Quoted 48 lines · Christopher Clark

On Mon, Nov 27, 2023 at 6:08 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:

Hi Bruce,

On 27/11/2023 14:55, Bruce Ashfield wrote:
>
>
> On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:
>>
>> Some follow-up patches after a recent Xen recipes update.
>>
>> Open question:
>> Shouldn't we set 4.18 as a default version?
>
> Not yet (and definitely not for nanbield). Perhaps once it has been under
> test for a few weeks. I did the updates to get them some extra soak time
> and make them available in both the upcoming release (nanbield) and
> master for those that want to use the latest, without making it a default
> version jump so late in the cycle.
Ok.

Thanks, Bruce.

Quoted 5 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall).
Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

to reflect the current development version

Quoted 7 lines
Quoted 3 lines

of Xen. ie. The git recipes are present alongside the other recipes that provide the stable release version(s) of Xen.

As Michal has noted above, putting 4.19 for XEN_REL into the git recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Sounds good to me.

@Bruce, may I please ask you to take my patch modifying XEN_REL and do s/master/git in title on commit? If not, I will push a v2 of this patch.

Regardless of what I've done in the past, I'm still inclined to hold the line on the versioning until at least the first -rc is released.

Bruce

Quoted 11 lines

~Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8476): https://lists.yoctoproject.org/g/meta-virtualization/message/8476
Mute This Topic: https://lists.yoctoproject.org/mt/102826507/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 58 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 54 lines · Michal via lists.yoctoproject.org

Hello,

Quoted 50 lines · Christopher Clark

On Mon, Nov 27, 2023 at 6:08 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:

Hi Bruce,

On 27/11/2023 14:55, Bruce Ashfield wrote:
>
>
> On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:
>>
>> Some follow-up patches after a recent Xen recipes update.
>>
>> Open question:
>> Shouldn't we set 4.18 as a default version?
>
> Not yet (and definitely not for nanbield). Perhaps once it has been under
> test for a few weeks. I did the updates to get them some extra soak time
> and make them available in both the upcoming release (nanbield) and
> master for those that want to use the latest, without making it a default
> version jump so late in the cycle.
Ok.

Thanks, Bruce.

Quoted 5 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall).
Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

to reflect the current development version

of Xen. ie. The git recipes are present alongside the other recipes that provide the stable release version(s) of Xen.

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

As Michal has noted above, putting 4.19 for XEN_REL into the git recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Sounds good to me.

@Bruce, may I please ask you to take my patch modifying XEN_REL and do s/master/git in title on commit? If not, I will push a v2 of this patch.

Regardless of what I've done in the past, I'm still inclined to hold the line on the versioning until at least the first -rc is released.

FWIW, I also don't change the version of the linux-yocto-dev kernels until a valid
-rc1 is released, even though the "version' has moved on from the previous release.

That being said, until I find a better option to keep the versions reported via the runtime to match the package version, I can either bump the version or hold / revert the _git recipe until the first release candidates are out.

I'll go ahead and stage the change with the fixup, even if I don't like the version management scheme :)

Bruce

Quoted 22 lines

Bruce

Quoted 5 lines

~Michal

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8479): https://lists.yoctoproject.org/g/meta-virtualization/message/8479
Mute This Topic: https://lists.yoctoproject.org/mt/102826507/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/1050810/978058475/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#10 lore raw
Quoted 81 lines · Bruce Ashfield
Quoted 8 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 4 lines · Michal via lists.yoctoproject.org
Quoted 2 lines · Christopher Clark

On Mon, Nov 27, 2023 at 6:08 AM Michal Orzel <[email protected]

Quoted 4 lines · <mailto:[email protected]>> wrote:
Quoted 4 lines
Quoted 4 lines · Bruce Ashfield
Quoted 2 lines

On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <

Quoted 7 lines · [email protected] <mailto:[email protected]>> wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

Some follow-up patches after a recent Xen recipes update.

Open question:
Shouldn't we set 4.18 as a default version?

Not yet (and definitely not for nanbield). Perhaps once it has

been under

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

test for a few weeks. I did the updates to get them some extra

soak time

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

and make them available in both the upcoming release

(nanbield) and

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

master for those that want to use the latest, without making

it a default

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

version jump so late in the cycle.

    Ok.

Thanks, Bruce.

Quoted 1 line

As for the changes in master, the 4.18 version on the _git

recipes is

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

intentional, as there's been no 4.19 tag that I can find and I

don't bump

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

versions until I see that in the repo .. so for now, it is

just the +git

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

and +stable that is the difference between the 4.18 and _git

versions.

Quoted 1 line
Quoted 1 line
Quoted 1 line

You won't see any 4.19 tag until the next release. The version

is advertised in

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall). Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to

describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

to reflect the current development version

of Xen. ie. The git recipes are present alongside the other recipes

that provide the stable release version(s) of Xen.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

As Michal has noted above, putting 4.19 for XEN_REL into the git

recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Quoted 3 lines
Quoted 3 lines

Sounds good to me.

@Bruce, may I please ask you to take my patch modifying XEN_REL and do

s/master/git in title on commit?

Quoted 5 lines
Quoted 1 line

If not, I will push a v2 of this patch.

Regardless of what I've done in the past, I'm still inclined to hold the line on the versioning until at least the first -rc is released.

FWIW, I also don't change the version of the linux-yocto-dev kernels until a valid
-rc1 is released, even though the "version' has moved on from the previous release.

Quoted 8 lines

That being said, until I find a better option to keep the versions reported via
the runtime to match the package version, I can either bump the version or hold / revert the _git recipe until the first release candidates are out.

I'll go ahead and stage the change with the fixup, even if I don't like the version management scheme :)

Thanks for the extra info, Bruce. So there is still a way to meet your versioning scheme and have the runtime version match the package version by changing the default Xen branch selector in the git recipe via the XEN_BRANCH variable to the latest stable branch, thus:

recipes-extended/xen/ renamed from recipes-extended/xen/xen_git.bb +0 -0

xen_git.bb
index 784e71ce..547a7943 100644

recipes-extended/xen/xen_git.bb +1 -1
@@ -2,7 +2,7 @@
 SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
 XEN_REL ?= "4.18"
-XEN_BRANCH ?= "master"
+XEN_BRANCH ?= "stable-4.18"
 
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \

and then anyone building a development version of Xen can update both the XEN_BRANCH and XEN_REL variables to match the revision that they are choosing to build.
Does that look OK?

Or another option is to use the XEN_REL value to select the default stable branch to use:

recipes-extended/xen/ renamed from recipes-extended/xen/xen_git.bb +0 -0

xen_git.bb
index 784e71ce..35e6b859 100644

recipes-extended/xen/xen_git.bb +1 -1
@@ -2,7 +2,7 @@
 SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
 XEN_REL ?= "4.18"
-XEN_BRANCH ?= "master"
+XEN_BRANCH ?= "stable-${XEN_REL}"
 
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRAN

Christopher

Quoted 35 lines

Bruce

Quoted 9 lines

Bruce

Quoted 5 lines

~Michal

Quoted 8 lines

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8479):

https://lists.yoctoproject.org/g/meta-virtualization/message/8479

Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/102826507/1050810
Group Owner: [email protected] Unsubscribe:

https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/1050810/978058475/xyzzy
[[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#11 lore raw
Quoted 67 lines · Christopher Clark
Quoted 65 lines · Bruce Ashfield
Quoted 42 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 38 lines · Michal via lists.yoctoproject.org
Quoted 36 lines · Christopher Clark

On Mon, Nov 27, 2023 at 6:08 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:

On 27/11/2023 14:55, Bruce Ashfield wrote:
>
> On Mon, Nov 27, 2023 at 5:38 AM Michal Orzel <[email protected] <mailto:[email protected]>> wrote:
>>
>> Some follow-up patches after a recent Xen recipes update.
>>
>> Open question:
>> Shouldn't we set 4.18 as a default version?
>
> Not yet (and definitely not for nanbield). Perhaps once it has been under
> test for a few weeks. I did the updates to get them some extra soak time
> and make them available in both the upcoming release (nanbield) and
> master for those that want to use the latest, without making it a default
> version jump so late in the cycle.
Ok.

Thanks, Bruce.

Quoted 4 lines

As for the changes in master, the 4.18 version on the _git recipes is intentional, as there's been no 4.19 tag that I can find and I don't bump versions until I see that in the repo .. so for now, it is just the +git and +stable that is the difference between the 4.18 and _git versions.

You won't see any 4.19 tag until the next release. The version is advertised in the main Makefile [1] and this is what user can see in the system (e.g. in the boot log, xl info, xen_version hypercall).
Bumping the XEN_REL of master recipes

I think it could be helpful for the context of this thread to describe them as the "git recipes" rather than using the term "master recipe", because the latter unfortunately seems to convey that they are somehow superior to the other, versioned, Xen recipes, when in practice they are not -- they are deliberately not the default version of Xen that is built since, as you note, they are defined:

to reflect the current development version

of Xen. ie. The git recipes are present alongside the other recipes that provide the stable release version(s) of Xen.

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

As Michal has noted above, putting 4.19 for XEN_REL into the git recipe does look right from a Xen source tree perspective for that SRCREV, even though there is not a 4.19 Xen release, but the proposed commit message should be updated to avoid the term "master recipe".

Sounds good to me.

@Bruce, may I please ask you to take my patch modifying XEN_REL and do s/master/git in title on commit? If not, I will push a v2 of this patch.

Regardless of what I've done in the past, I'm still inclined to hold the line on the versioning until at least the first -rc is released.

FWIW, I also don't change the version of the linux-yocto-dev kernels until a valid
-rc1 is released, even though the "version' has moved on from the previous release.

That being said, until I find a better option to keep the versions reported via the runtime to match the package version, I can either bump the version or hold / revert the _git recipe until the first release candidates are out.

Quoted 6 lines
Quoted 2 lines

I'll go ahead and stage the change with the fixup, even if I don't like the version management scheme :)

Thanks for the extra info, Bruce. So there is still a way to meet your versioning scheme and have the runtime version match the package version by changing the default Xen branch selector in the git recipe via the XEN_BRANCH variable to the latest stable branch, thus:

After some additional poking around, I do want the recipe to follow master, since I should be keeping the 4.18 recipes up with the latest tip (I don't typically wait for releases to bump SRCREVs) of the same branch.

Even though I don't like not having a -rc tag before bumping the version, there's no way around it in this case.

I've tweaked the message and pushed this to master and nanbield.

Bruce

Quoted 68 lines
recipes-extended/xen/xen_git.bb +1 -1
index 784e71ce..547a7943 100644
@@ -2,7 +2,7 @@
 SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
 XEN_REL ?= "4.18"
-XEN_BRANCH ?= "master"
+XEN_BRANCH ?= "stable-4.18"
 
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \

and then anyone building a development version of Xen can update both the XEN_BRANCH and XEN_REL variables to match the revision that they are choosing to build. Does that look OK?

Or another option is to use the XEN_REL value to select the default stable branch to use:

recipes-extended/xen/xen_git.bb +1 -1
index 784e71ce..35e6b859 100644
@@ -2,7 +2,7 @@
 SRCREV ?= "f96e2f64576cdbb147391c7cb399d393385719a9"
 
 XEN_REL ?= "4.18"
-XEN_BRANCH ?= "master"
+XEN_BRANCH ?= "stable-${XEN_REL}"
 
 SRC_URI = " \
     git://xenbits.xen.org/xen.git;branch=${XEN_BRAN

Christopher

Quoted 32 lines

Bruce

Quoted 14 lines

Bruce

Quoted 5 lines

~Michal

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8479): https://lists.yoctoproject.org/g/meta-virtualization/message/8479
Mute This Topic: https://lists.yoctoproject.org/mt/102826507/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/1050810/978058475/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II