All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] xen: Update recipes for xen and xen-tools
@ 2022-04-08  8:44 Michal Orzel
  2022-04-08  8:44 ` [PATCH 1/3] xen: Bump SRCREV of 4.15 recipes to 4.15.2 Michal Orzel
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Michal Orzel @ 2022-04-08  8:44 UTC (permalink / raw)
  To: meta-virtualization; +Cc: christopher.w.clark, cardoe, Bertrand.Marquis, nd

Before the next Yocto release, Xen recipes need to be updated.
This patch series:
- updates 4.15 recipes
- introduces 4.16 recipes
- removes 4.14 recipes

Michal Orzel (3):
  xen: Bump SRCREV of 4.15 recipes to 4.15.2
  xen: Add recipes for stable Xen 4.16 release and update master
  xen: Remove 4.14 recipes and related patches

 .../include/meta-virt-default-versions.inc    |   4 +-
 ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
 ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
 ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
 recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
 recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
 recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
 recipes-extended/xen/xen-tools_git.bb         |   6 +-
 recipes-extended/xen/xen_4.15.bb              |   4 +-
 .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
 recipes-extended/xen/xen_git.bb               |   6 +-
 11 files changed, 34 insertions(+), 363 deletions(-)
 delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
 delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
 delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
 delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
 create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
 rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/3] xen: Bump SRCREV of 4.15 recipes to 4.15.2
  2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
@ 2022-04-08  8:44 ` Michal Orzel
  2022-04-08  8:44 ` [PATCH 2/3] xen: Add recipes for stable Xen 4.16 release and update master Michal Orzel
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Michal Orzel @ 2022-04-08  8:44 UTC (permalink / raw)
  To: meta-virtualization; +Cc: christopher.w.clark, cardoe, Bertrand.Marquis, nd

Bump SRCREV version of xen recipes to use the latest 4.15 release
which is 4.15.2.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
---
 recipes-extended/xen/xen-tools_4.15.bb | 4 ++--
 recipes-extended/xen/xen_4.15.bb       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-extended/xen/xen-tools_4.15.bb b/recipes-extended/xen/xen-tools_4.15.bb
index 840f162..5592dd7 100644
--- a/recipes-extended/xen/xen-tools_4.15.bb
+++ b/recipes-extended/xen/xen-tools_4.15.bb
@@ -1,5 +1,5 @@
-# xen 4.15.1 release sha
-SRCREV ?= "84fa99099b920f7bcde8899e1a9b756078719d7d"
+# xen 4.15.2 release sha
+SRCREV ?= "32dcef072fb37d432fd45c7916383472f3fcbc5e"
 
 XEN_REL ?= "4.15"
 XEN_BRANCH ?= "stable-${XEN_REL}"
diff --git a/recipes-extended/xen/xen_4.15.bb b/recipes-extended/xen/xen_4.15.bb
index 1b87ae8..41023b2 100644
--- a/recipes-extended/xen/xen_4.15.bb
+++ b/recipes-extended/xen/xen_4.15.bb
@@ -1,5 +1,5 @@
-# xen 4.15.1 release sha
-SRCREV ?= "84fa99099b920f7bcde8899e1a9b756078719d7d"
+# xen 4.15.2 release sha
+SRCREV ?= "32dcef072fb37d432fd45c7916383472f3fcbc5e"
 
 XEN_REL ?= "4.15"
 XEN_BRANCH ?= "stable-${XEN_REL}"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/3] xen: Add recipes for stable Xen 4.16 release and update master
  2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
  2022-04-08  8:44 ` [PATCH 1/3] xen: Bump SRCREV of 4.15 recipes to 4.15.2 Michal Orzel
@ 2022-04-08  8:44 ` Michal Orzel
  2022-04-08  8:44 ` [PATCH 3/3] xen: Remove 4.14 recipes and related patches Michal Orzel
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Michal Orzel @ 2022-04-08  8:44 UTC (permalink / raw)
  To: meta-virtualization; +Cc: christopher.w.clark, cardoe, Bertrand.Marquis, nd

Add recipes for Xen 4.16 release as, according to the documentation
we shall have recipes for the latest stable major version of Xen
before the next Yocto release. Bump PREFERED_VERSION to 4.16 as well.

Take the opportunity to update SRCREV of xen recipes for master
and bump XEN_REL version to 4.17 as this is the current development
version.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
---
 .../include/meta-virt-default-versions.inc    |  4 ++--
 recipes-extended/xen/xen-tools_4.16.bb        | 19 +++++++++++++++++++
 recipes-extended/xen/xen-tools_git.bb         |  6 +++---
 recipes-extended/xen/xen_4.16.bb              | 19 +++++++++++++++++++
 recipes-extended/xen/xen_git.bb               |  6 +++---
 5 files changed, 46 insertions(+), 8 deletions(-)
 create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
 create mode 100644 recipes-extended/xen/xen_4.16.bb

diff --git a/conf/distro/include/meta-virt-default-versions.inc b/conf/distro/include/meta-virt-default-versions.inc
index 8a2db70..b2ce021 100644
--- a/conf/distro/include/meta-virt-default-versions.inc
+++ b/conf/distro/include/meta-virt-default-versions.inc
@@ -1,4 +1,4 @@
 # Meta-virtuailization PREFERED_VERSION
 
-PREFERRED_VERSION_xen ?= "4.15+stable%"
-PREFERRED_VERSION_xen-tools ?= "4.15+stable%"
+PREFERRED_VERSION_xen ?= "4.16+stable%"
+PREFERRED_VERSION_xen-tools ?= "4.16+stable%"
diff --git a/recipes-extended/xen/xen-tools_4.16.bb b/recipes-extended/xen/xen-tools_4.16.bb
new file mode 100644
index 0000000..4a07874
--- /dev/null
+++ b/recipes-extended/xen/xen-tools_4.16.bb
@@ -0,0 +1,19 @@
+# xen 4.16.0 release sha
+SRCREV ?= "b0b4661fa3cba995e433b94ea569c90f65a3e5fc"
+
+XEN_REL ?= "4.16"
+XEN_BRANCH ?= "stable-${XEN_REL}"
+
+SRC_URI = " \
+    git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
+    file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
+    "
+
+LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
+
+PV = "${XEN_REL}+stable${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+require xen.inc
+require xen-tools.inc
diff --git a/recipes-extended/xen/xen-tools_git.bb b/recipes-extended/xen/xen-tools_git.bb
index e733f1d..a450a7d 100644
--- a/recipes-extended/xen/xen-tools_git.bb
+++ b/recipes-extended/xen/xen-tools_git.bb
@@ -1,7 +1,7 @@
-# master status on 2022-03-08
-SRCREV ?= "9d4a44380d273de22d5753883cbf5581795ff24d"
+# master status on 2022-04-05
+SRCREV ?= "14dd241aad8af447680ac73e8579990e2c09c1e7"
 
-XEN_REL ?= "4.16"
+XEN_REL ?= "4.17"
 XEN_BRANCH ?= "master"
 
 SRC_URI = " \
diff --git a/recipes-extended/xen/xen_4.16.bb b/recipes-extended/xen/xen_4.16.bb
new file mode 100644
index 0000000..be54d11
--- /dev/null
+++ b/recipes-extended/xen/xen_4.16.bb
@@ -0,0 +1,19 @@
+# xen 4.16.0 release sha
+SRCREV ?= "b0b4661fa3cba995e433b94ea569c90f65a3e5fc"
+
+XEN_REL ?= "4.16"
+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 \
+    "
+
+LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
+
+PV = "${XEN_REL}+stable${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+require xen.inc
+require xen-hypervisor.inc
diff --git a/recipes-extended/xen/xen_git.bb b/recipes-extended/xen/xen_git.bb
index 2fbfb54..ebd1b76 100644
--- a/recipes-extended/xen/xen_git.bb
+++ b/recipes-extended/xen/xen_git.bb
@@ -1,7 +1,7 @@
-# master status on 2022-03-08
-SRCREV ?= "9d4a44380d273de22d5753883cbf5581795ff24d"
+# master status on 2022-04-05
+SRCREV ?= "14dd241aad8af447680ac73e8579990e2c09c1e7"
 
-XEN_REL ?= "4.16"
+XEN_REL ?= "4.17"
 XEN_BRANCH ?= "master"
 
 SRC_URI = " \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/3] xen: Remove 4.14 recipes and related patches
  2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
  2022-04-08  8:44 ` [PATCH 1/3] xen: Bump SRCREV of 4.15 recipes to 4.15.2 Michal Orzel
  2022-04-08  8:44 ` [PATCH 2/3] xen: Add recipes for stable Xen 4.16 release and update master Michal Orzel
@ 2022-04-08  8:44 ` Michal Orzel
  2022-04-11  8:37 ` [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools Bertrand Marquis
  2022-04-14  3:13 ` Bruce Ashfield
  4 siblings, 0 replies; 11+ messages in thread
From: Michal Orzel @ 2022-04-08  8:44 UTC (permalink / raw)
  To: meta-virtualization; +Cc: christopher.w.clark, cardoe, Bertrand.Marquis, nd

We shall only have recipes for the last two stable releases, thus
get rid of the 4.14 recipes and the corresponding patches.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
---
 ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
 ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
 ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
 recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
 recipes-extended/xen/xen_4.14.bb              |  19 --
 5 files changed, 367 deletions(-)
 delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
 delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
 delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
 delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
 delete mode 100644 recipes-extended/xen/xen_4.14.bb

diff --git a/recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch b/recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
deleted file mode 100644
index 7b062b7..0000000
--- a/recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
+++ /dev/null
@@ -1,178 +0,0 @@
-From 73b13705af7c3bb8fdf11932eb68788d090a443f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= <roger.pau@citrix.com>
-Date: Thu, 4 Mar 2021 16:49:00 +0100
-Subject: [PATCH] firmware: provide a stand alone set of headers
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The current build of the firmware relies on having 32bit compatible
-headers installed in order to build some of the 32bit firmware.
-Usually this can be solved by using the -ffreestanding compiler option
-which drops the usage of the system headers in favor of a private set
-of freestanding headers provided by the compiler itself that are not
-tied to libc.
-
-However such option is broken at least in the gcc compiler provided in
-Alpine Linux, as the system include path (ie: /usr/include) takes
-precedence over the gcc private include path:
-
-#include <...> search starts here:
- /usr/include
- /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/include
-
-And the headers in /usr/include are exclusively 64bit.
-
-Since -ffreestanding is currently broken on at least that distro, and
-for resilience against future compilers also having the option broken
-provide a set of stand alone 32bit headers required for the firmware
-build.
-
-Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
-Reviewed-by: Jan Beulich <jbeulich@suse.com>
-Release-Acked-by: Ian Jackson <iwj@xenproject.org>
-Applied to Xen 4.14 by: Christopher Clark <christopher.w.clark@gmail.com>
----
- tools/firmware/Rules.mk                       | 13 +++++++
- tools/firmware/include/stdarg.h               | 10 +++++
- tools/firmware/include/stdbool.h              |  9 +++++
- tools/firmware/include/stddef.h               | 10 +++++
- tools/firmware/include/stdint.h               | 39 +++++++++++++++++++
- tools/firmware/rombios/32bit/rombios_compat.h |  4 +-
- 6 files changed, 82 insertions(+), 3 deletions(-)
- create mode 100644 tools/firmware/include/stdarg.h
- create mode 100644 tools/firmware/include/stdbool.h
- create mode 100644 tools/firmware/include/stddef.h
- create mode 100644 tools/firmware/include/stdint.h
-
-diff --git a/tools/firmware/include/stdarg.h b/tools/firmware/include/stdarg.h
-new file mode 100644
-index 0000000000..c5e3761cd2
---- /dev/null
-+++ b/tools/firmware/include/stdarg.h
-@@ -0,0 +1,10 @@
-+#ifndef _STDARG_H_
-+#define _STDARG_H_
-+
-+typedef __builtin_va_list va_list;
-+#define va_copy(dest, src) __builtin_va_copy(dest, src)
-+#define va_start(ap, last) __builtin_va_start(ap, last)
-+#define va_end(ap) __builtin_va_end(ap)
-+#define va_arg __builtin_va_arg
-+
-+#endif
-diff --git a/tools/firmware/include/stdbool.h b/tools/firmware/include/stdbool.h
-new file mode 100644
-index 0000000000..0cf76b106c
---- /dev/null
-+++ b/tools/firmware/include/stdbool.h
-@@ -0,0 +1,9 @@
-+#ifndef _STDBOOL_H_
-+#define _STDBOOL_H_
-+
-+#define bool _Bool
-+#define true 1
-+#define false 0
-+#define __bool_true_false_are_defined 1
-+
-+#endif
-diff --git a/tools/firmware/include/stddef.h b/tools/firmware/include/stddef.h
-new file mode 100644
-index 0000000000..c7f974608a
---- /dev/null
-+++ b/tools/firmware/include/stddef.h
-@@ -0,0 +1,10 @@
-+#ifndef _STDDEF_H_
-+#define _STDDEF_H_
-+
-+typedef __SIZE_TYPE__ size_t;
-+
-+#define NULL ((void*)0)
-+
-+#define offsetof(t, m) __builtin_offsetof(t, m)
-+
-+#endif
-diff --git a/tools/firmware/include/stdint.h b/tools/firmware/include/stdint.h
-new file mode 100644
-index 0000000000..16a0b6de19
---- /dev/null
-+++ b/tools/firmware/include/stdint.h
-@@ -0,0 +1,39 @@
-+#ifndef _STDINT_H_
-+#define _STDINT_H_
-+
-+#if defined(__LP64__) || defined(__P64__)
-+#error "32bit only header"
-+#endif
-+
-+typedef unsigned char uint8_t;
-+typedef signed char int8_t;
-+
-+typedef unsigned short uint16_t;
-+typedef signed short int16_t;
-+
-+typedef unsigned int uint32_t;
-+typedef signed int int32_t;
-+
-+typedef unsigned long long uint64_t;
-+typedef signed long long int64_t;
-+
-+#define INT8_MIN        (-0x7f-1)
-+#define INT16_MIN       (-0x7fff-1)
-+#define INT32_MIN       (-0x7fffffff-1)
-+#define INT64_MIN       (-0x7fffffffffffffffll-1)
-+
-+#define INT8_MAX        0x7f
-+#define INT16_MAX       0x7fff
-+#define INT32_MAX       0x7fffffff
-+#define INT64_MAX       0x7fffffffffffffffll
-+
-+#define UINT8_MAX       0xff
-+#define UINT16_MAX      0xffff
-+#define UINT32_MAX      0xffffffffu
-+#define UINT64_MAX      0xffffffffffffffffull
-+
-+typedef uint32_t uintptr_t;
-+
-+#define UINTPTR_MAX     UINT32_MAX
-+
-+#endif
-diff --git a/tools/firmware/rombios/32bit/rombios_compat.h b/tools/firmware/rombios/32bit/rombios_compat.h
-index 3fe7d67721..8ba4c17ffd 100644
---- a/tools/firmware/rombios/32bit/rombios_compat.h
-+++ b/tools/firmware/rombios/32bit/rombios_compat.h
-@@ -8,9 +8,7 @@
- 
- #define ADDR_FROM_SEG_OFF(seg, off)  (void *)((((uint32_t)(seg)) << 4) + (off))
- 
--typedef unsigned char uint8_t;
--typedef unsigned short int uint16_t;
--typedef unsigned int uint32_t;
-+#include <stdint.h>
- 
- typedef uint8_t  Bit8u;
- typedef uint16_t Bit16u;
-diff --git a/tools/firmware/Rules.mk b/tools/firmware/Rules.mk
-index 26bbddccd4..cb388b7011 100644
---- a/tools/firmware/Rules.mk
-+++ b/tools/firmware/Rules.mk
-@@ -17,3 +17,16 @@ $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
- 
- # Extra CFLAGS suitable for an embedded type of environment.
- CFLAGS += -fno-builtin -msoft-float
-+
-+# Use our own set of stand alone headers to build firmware.
-+#
-+# Ideally using -ffreestanding should be enough, but that relies on the
-+# compiler having the right order for include paths (ie: compiler private
-+# headers before system ones) or the libc headers having proper arch-agnostic
-+# freestanding support. This is not the case in Alpine at least which searches
-+# system headers before compiler ones and has arch-specific libc headers. This
-+# has been reported upstream:
-+# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12477
-+# In the meantime (and for resilience against broken systems) use our own set
-+# of headers that provide what's needed for the firmware build.
-+CFLAGS += -nostdinc -I$(XEN_ROOT)/tools/firmware/include
--- 
-2.25.1
-
diff --git a/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch b/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
deleted file mode 100644
index f0688fd..0000000
--- a/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001
-From: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
-Date: Fri, 19 Oct 2018 11:01:37 +0200
-Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args
-
-Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR)
-as well as other parameters set by the OpenEmbedded build system.
-This is especially useful when the target libdir is not the default one
-(/usr/lib), but for example /usr/lib64.
-
-Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
-
-Forward-ported to Xen 4.12.0
-Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
-
-Modified to support pygrub installation with python 3
-Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
-
-Forward-ported to Xen 4.14.0
-Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
-diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
-index 3063c49..513314b 100644
---- a/tools/pygrub/Makefile
-+++ b/tools/pygrub/Makefile
-@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt
- all: build
- .PHONY: build
- build:
--	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build
-+	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS)
- 
- .PHONY: install
- install: all
- 	$(INSTALL_DIR) $(DESTDIR)/$(bindir)
- 	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \
- 		setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \
--		 --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force
-+		 --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \
-+		 $(DISTUTILS_INSTALL_ARGS)
-+	rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub
-+	$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub
- 	set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \
- 	             "`readlink -f $(DESTDIR)/$(bindir)`" != \
- 	             "`readlink -f $(LIBEXEC_BIN)`" ]; then \
-diff --git a/tools/python/Makefile b/tools/python/Makefile
-index 541858e..4d4a344 100644
---- a/tools/python/Makefile
-+++ b/tools/python/Makefile
-@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt
- 
- .PHONY: build
- build:
--	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build
-+	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS)
- 
- .PHONY: install
- install:
-@@ -18,7 +18,7 @@ install:
- 
- 	CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \
- 		setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \
--		--root="$(DESTDIR)" --force
-+		--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS)
- 
- 	$(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN)
- 	$(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)
diff --git a/recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch b/recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
deleted file mode 100644
index 001b196..0000000
--- a/recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 0eae016b6e3dce69e3fb86aca5c4f221591a2f12 Mon Sep 17 00:00:00 2001
-From: Andrew Cooper <andrew.cooper3@citrix.com>
-Date: Thu, 25 Feb 2021 19:15:08 +0000
-Subject: [PATCH] tools/firmware: Build firmware as -ffreestanding
-
-firmware should always have been -ffreestanding, as it doesn't execute in the
-host environment.  -ffreestanding implies -fno-builtin, so replace the option.
-
-inttypes.h isn't a freestanding header, but the 32bitbios_support.c only wants
-the stdint.h types so switch to the more appropriate include.
-
-This removes the build time dependency on a 32bit libc just to compile the
-hvmloader and friends.
-
-Update README and the TravisCI configuration.
-
-Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
-Reviewed-by: Jan Beulich <jbeulich@suse.com>
-Reviewed-by: Ian Jackson <iwj@xenproject.org>
-Release-Acked-by: Ian Jackson <iwj@xenproject.org>
-Applied to m-v Xen 4.14 series: Christopher Clark <christopher.w.clark@gmail.com>
----
- .travis.yml                                  | 1 -
- README                                       | 3 ---
- tools/firmware/Rules.mk                      | 2 +-
- tools/firmware/hvmloader/32bitbios_support.c | 2 +-
- 4 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/.travis.yml b/.travis.yml
-index 15ca9e9047..2362475f7a 100644
---- a/.travis.yml
-+++ b/.travis.yml
-@@ -58,7 +58,6 @@ addons:
-             - acpica-tools
-             - bin86
-             - bcc
--            - libc6-dev-i386
-             - libnl-3-dev
-             - ocaml-nox
-             - libfindlib-ocaml-dev
-diff --git a/README b/README
-index 6e15242ae1..8c99c30986 100644
---- a/README
-+++ b/README
-@@ -62,9 +62,6 @@ provided by your OS distributor:
-     * GNU bison and GNU flex
-     * GNU gettext
-     * ACPI ASL compiler (iasl)
--    * Libc multiarch package (e.g. libc6-dev-i386 / glibc-devel.i686).
--      Required when building on a 64-bit platform to build
--      32-bit components which are enabled on a default build.
- 
- In addition to the above there are a number of optional build
- prerequisites. Omitting these will cause the related features to be
-diff --git a/tools/firmware/Rules.mk b/tools/firmware/Rules.mk
-index cb388b7011..9f78a7dec9 100644
---- a/tools/firmware/Rules.mk
-+++ b/tools/firmware/Rules.mk
-@@ -16,7 +16,7 @@ CFLAGS += -Werror
- $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
- 
- # Extra CFLAGS suitable for an embedded type of environment.
--CFLAGS += -fno-builtin -msoft-float
-+CFLAGS += -ffreestanding -msoft-float
- 
- # Use our own set of stand alone headers to build firmware.
- #
-diff --git a/tools/firmware/hvmloader/32bitbios_support.c b/tools/firmware/hvmloader/32bitbios_support.c
-index 114135022e..ef681d4f57 100644
---- a/tools/firmware/hvmloader/32bitbios_support.c
-+++ b/tools/firmware/hvmloader/32bitbios_support.c
-@@ -20,7 +20,7 @@
-  * this program; If not, see <http://www.gnu.org/licenses/>.
-  */
- 
--#include <inttypes.h>
-+#include <stdint.h>
- #include <elf.h>
- #ifdef __sun__
- #include <sys/machelf.h>
--- 
-2.25.1
-
diff --git a/recipes-extended/xen/xen-tools_4.14.bb b/recipes-extended/xen/xen-tools_4.14.bb
deleted file mode 100644
index 9d78e44..0000000
--- a/recipes-extended/xen/xen-tools_4.14.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-# 4.14.3 release SHA
-SRCREV ?= "9f2b6c5ec2ded4c1caf149743e862c5f15d6d083"
-
-XEN_REL ?= "4.14"
-XEN_BRANCH ?= "stable-${XEN_REL}"
-
-SRC_URI = " \
-    git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
-    file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \
-    file://0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch \
-    file://0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch \
-    "
-
-LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
-
-PV = "${XEN_REL}+stable${SRCPV}"
-
-S = "${WORKDIR}/git"
-
-require xen.inc
-require xen-tools.inc
diff --git a/recipes-extended/xen/xen_4.14.bb b/recipes-extended/xen/xen_4.14.bb
deleted file mode 100644
index 267db16..0000000
--- a/recipes-extended/xen/xen_4.14.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-# 4.14.3 release SHA
-SRCREV ?= "9f2b6c5ec2ded4c1caf149743e862c5f15d6d083"
-
-XEN_REL ?= "4.14"
-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 \
-    "
-
-LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
-
-PV = "${XEN_REL}+stable${SRCPV}"
-
-S = "${WORKDIR}/git"
-
-require xen.inc
-require xen-hypervisor.inc
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
                   ` (2 preceding siblings ...)
  2022-04-08  8:44 ` [PATCH 3/3] xen: Remove 4.14 recipes and related patches Michal Orzel
@ 2022-04-11  8:37 ` Bertrand Marquis
  2022-04-14  3:13 ` Bruce Ashfield
  4 siblings, 0 replies; 11+ messages in thread
From: Bertrand Marquis @ 2022-04-11  8:37 UTC (permalink / raw)
  To: Michal Orzel; +Cc: meta-virtualization, christopher.w.clark, cardoe, nd

Hi Michal,

> On 8 Apr 2022, at 09:44, Michal Orzel via lists.yoctoproject.org <michal.orzel=arm.com@lists.yoctoproject.org> wrote:
> 
> Before the next Yocto release, Xen recipes need to be updated.
> This patch series:
> - updates 4.15 recipes
> - introduces 4.16 recipes
> - removes 4.14 recipes

Thanks a lot for this.

For the whole serie:
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>

Cheers
Bertrand

> 
> Michal Orzel (3):
>  xen: Bump SRCREV of 4.15 recipes to 4.15.2
>  xen: Add recipes for stable Xen 4.16 release and update master
>  xen: Remove 4.14 recipes and related patches
> 
> .../include/meta-virt-default-versions.inc    |   4 +-
> ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
> ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
> ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
> recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
> recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
> recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
> recipes-extended/xen/xen-tools_git.bb         |   6 +-
> recipes-extended/xen/xen_4.15.bb              |   4 +-
> .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
> recipes-extended/xen/xen_git.bb               |   6 +-
> 11 files changed, 34 insertions(+), 363 deletions(-)
> delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
> delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
> delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
> delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
> create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
> rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)
> 
> -- 
> 2.25.1
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7130): https://lists.yoctoproject.org/g/meta-virtualization/message/7130
> Mute This Topic: https://lists.yoctoproject.org/mt/90331599/3619089
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bertrand.marquis@arm.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
                   ` (3 preceding siblings ...)
  2022-04-11  8:37 ` [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools Bertrand Marquis
@ 2022-04-14  3:13 ` Bruce Ashfield
  2022-04-14  8:01   ` Bertrand Marquis
  4 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2022-04-14  3:13 UTC (permalink / raw)
  To: Michal Orzel
  Cc: meta-virtualization, Christopher Clark, Doug Goldstein,
	Bertrand Marquis, nd

On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
>
> Before the next Yocto release, Xen recipes need to be updated.
> This patch series:
> - updates 4.15 recipes
> - introduces 4.16 recipes
> - removes 4.14 recipes

FYI: I'm not ignoring these, and I will make sure they get into the
upcoming release branch and are in place for the LTS release. I'm just
waiting until Christopher gets a chance to review and see if these
match up with what he was thinking about for versions.

Bruce

>
> Michal Orzel (3):
>   xen: Bump SRCREV of 4.15 recipes to 4.15.2
>   xen: Add recipes for stable Xen 4.16 release and update master
>   xen: Remove 4.14 recipes and related patches
>
>  .../include/meta-virt-default-versions.inc    |   4 +-
>  ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
>  ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
>  ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
>  recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
>  recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
>  recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
>  recipes-extended/xen/xen-tools_git.bb         |   6 +-
>  recipes-extended/xen/xen_4.15.bb              |   4 +-
>  .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
>  recipes-extended/xen/xen_git.bb               |   6 +-
>  11 files changed, 34 insertions(+), 363 deletions(-)
>  delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
>  delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
>  delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
>  delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
>  create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
>  rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7130): https://lists.yoctoproject.org/g/meta-virtualization/message/7130
> Mute This Topic: https://lists.yoctoproject.org/mt/90331599/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-14  3:13 ` Bruce Ashfield
@ 2022-04-14  8:01   ` Bertrand Marquis
  2022-04-14 15:22     ` Bertrand Marquis
  2022-04-14 20:40     ` Bruce Ashfield
  0 siblings, 2 replies; 11+ messages in thread
From: Bertrand Marquis @ 2022-04-14  8:01 UTC (permalink / raw)
  To: Bruce Ashfield
  Cc: Michal Orzel, meta-virtualization, Christopher Clark, Doug Goldstein, nd

Hi Bruce,

> On 14 Apr 2022, at 04:13, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> 
> On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
>> 
>> Before the next Yocto release, Xen recipes need to be updated.
>> This patch series:
>> - updates 4.15 recipes
>> - introduces 4.16 recipes
>> - removes 4.14 recipes
> 
> FYI: I'm not ignoring these, and I will make sure they get into the
> upcoming release branch and are in place for the LTS release. I'm just
> waiting until Christopher gets a chance to review and see if these
> match up with what he was thinking about for versions.

Thanks.

For LTS, I think we said the strategy should be a bit different:
- keep the original versions and update them.
- keep the same default version
- add/update other recipe upon request

I do not think we need to push this change to LTS branch, there it might make more sense to update the present versions.
I can check that in the next weeks.

Cheers
Bertrand

> 
> Bruce
> 
>> 
>> Michal Orzel (3):
>>  xen: Bump SRCREV of 4.15 recipes to 4.15.2
>>  xen: Add recipes for stable Xen 4.16 release and update master
>>  xen: Remove 4.14 recipes and related patches
>> 
>> .../include/meta-virt-default-versions.inc    |   4 +-
>> ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
>> ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
>> ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
>> recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
>> recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
>> recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
>> recipes-extended/xen/xen-tools_git.bb         |   6 +-
>> recipes-extended/xen/xen_4.15.bb              |   4 +-
>> .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
>> recipes-extended/xen/xen_git.bb               |   6 +-
>> 11 files changed, 34 insertions(+), 363 deletions(-)
>> delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
>> delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
>> delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
>> delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
>> create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
>> rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)
>> 
>> --
>> 2.25.1
>> 
>> 
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#7130): https://lists.yoctoproject.org/g/meta-virtualization/message/7130
>> Mute This Topic: https://lists.yoctoproject.org/mt/90331599/1050810
>> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>> 
> 
> 
> -- 
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-14  8:01   ` Bertrand Marquis
@ 2022-04-14 15:22     ` Bertrand Marquis
  2022-04-14 20:37       ` Bruce Ashfield
  2022-04-14 20:40     ` Bruce Ashfield
  1 sibling, 1 reply; 11+ messages in thread
From: Bertrand Marquis @ 2022-04-14 15:22 UTC (permalink / raw)
  To: Bruce Ashfield
  Cc: Michal Orzel, meta-virtualization, Christopher Clark, Doug Goldstein, nd

Hi Bruce,

> On 14 Apr 2022, at 09:01, Bertrand Marquis <bertrand.marquis@arm.com> wrote:
> 
> Hi Bruce,
> 
>> On 14 Apr 2022, at 04:13, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
>> 
>> On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
>>> 
>>> Before the next Yocto release, Xen recipes need to be updated.
>>> This patch series:
>>> - updates 4.15 recipes
>>> - introduces 4.16 recipes
>>> - removes 4.14 recipes

In the meantime 4.16.1 was released.
SHA is f26544492298cb82d66f9bf36e29d2f75b3133f2

We can send an updated patch if you want.

Cheers
Bertrand



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-14 15:22     ` Bertrand Marquis
@ 2022-04-14 20:37       ` Bruce Ashfield
  0 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2022-04-14 20:37 UTC (permalink / raw)
  To: Bertrand Marquis
  Cc: Michal Orzel, meta-virtualization, Christopher Clark, Doug Goldstein, nd

On Thu, Apr 14, 2022 at 11:22 AM Bertrand Marquis
<Bertrand.Marquis@arm.com> wrote:
>
> Hi Bruce,
>
> > On 14 Apr 2022, at 09:01, Bertrand Marquis <bertrand.marquis@arm.com> wrote:
> >
> > Hi Bruce,
> >
> >> On 14 Apr 2022, at 04:13, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> >>
> >> On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
> >>>
> >>> Before the next Yocto release, Xen recipes need to be updated.
> >>> This patch series:
> >>> - updates 4.15 recipes
> >>> - introduces 4.16 recipes
> >>> - removes 4.14 recipes
>
> In the meantime 4.16.1 was released.
> SHA is f26544492298cb82d66f9bf36e29d2f75b3133f2
>
> We can send an updated patch if you want.

An updated patch makes sense to me.

Bruce

>
> Cheers
> Bertrand
>


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-14  8:01   ` Bertrand Marquis
  2022-04-14 15:22     ` Bertrand Marquis
@ 2022-04-14 20:40     ` Bruce Ashfield
  2022-04-19  5:49       ` Christopher Clark
  1 sibling, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2022-04-14 20:40 UTC (permalink / raw)
  To: Bertrand Marquis
  Cc: Michal Orzel, meta-virtualization, Christopher Clark, Doug Goldstein, nd

On Thu, Apr 14, 2022 at 4:02 AM Bertrand Marquis
<bertrand.marquis@arm.com> wrote:
>
> Hi Bruce,
>
> > On 14 Apr 2022, at 04:13, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> >
> > On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
> >>
> >> Before the next Yocto release, Xen recipes need to be updated.
> >> This patch series:
> >> - updates 4.15 recipes
> >> - introduces 4.16 recipes
> >> - removes 4.14 recipes
> >
> > FYI: I'm not ignoring these, and I will make sure they get into the
> > upcoming release branch and are in place for the LTS release. I'm just
> > waiting until Christopher gets a chance to review and see if these
> > match up with what he was thinking about for versions.
>
> Thanks.
>
> For LTS, I think we said the strategy should be a bit different:
> - keep the original versions and update them.
> - keep the same default version
> - add/update other recipe upon request
>

My fault for not being clear, I was thinking about "the upcoming LTS",
aka the very-soon to be released kirstone .. but just typed "LTS",
which is no longer unambiguous!

Unless you were also speaking about kirstone .. :)

For dunfell-LTS, we definitely don't need to add new versions, but I'm
happy to do updates.

For Kirstone LTS, I just wanted to make sure that we had the right Xen
versions, where at least one is also a Xen LTS and another version to
track a latest release (for those that need it).

I think we are aligned on both fronts.

Bruce

> I do not think we need to push this change to LTS branch, there it might make more sense to update the present versions.
> I can check that in the next weeks.
>
> Cheers
> Bertrand
>
> >
> > Bruce
> >
> >>
> >> Michal Orzel (3):
> >>  xen: Bump SRCREV of 4.15 recipes to 4.15.2
> >>  xen: Add recipes for stable Xen 4.16 release and update master
> >>  xen: Remove 4.14 recipes and related patches
> >>
> >> .../include/meta-virt-default-versions.inc    |   4 +-
> >> ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
> >> ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
> >> ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
> >> recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
> >> recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
> >> recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
> >> recipes-extended/xen/xen-tools_git.bb         |   6 +-
> >> recipes-extended/xen/xen_4.15.bb              |   4 +-
> >> .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
> >> recipes-extended/xen/xen_git.bb               |   6 +-
> >> 11 files changed, 34 insertions(+), 363 deletions(-)
> >> delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
> >> delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
> >> delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
> >> delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
> >> create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
> >> rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)
> >>
> >> --
> >> 2.25.1
> >>
> >>
> >>
> >>
> >
> >
> > --
> > - 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 (#7172): https://lists.yoctoproject.org/g/meta-virtualization/message/7172
> Mute This Topic: https://lists.yoctoproject.org/mt/90331599/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools
  2022-04-14 20:40     ` Bruce Ashfield
@ 2022-04-19  5:49       ` Christopher Clark
  0 siblings, 0 replies; 11+ messages in thread
From: Christopher Clark @ 2022-04-19  5:49 UTC (permalink / raw)
  To: Bruce Ashfield
  Cc: Bertrand Marquis, Michal Orzel, meta-virtualization, Doug Goldstein, nd

On Thu, Apr 14, 2022 at 1:40 PM Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
>
> On Thu, Apr 14, 2022 at 4:02 AM Bertrand Marquis
> <bertrand.marquis@arm.com> wrote:
> >
> > Hi Bruce,
> >
> > > On 14 Apr 2022, at 04:13, Bruce Ashfield <bruce.ashfield@gmail.com> wrote:
> > >
> > > On Fri, Apr 8, 2022 at 4:44 AM Michal Orzel <michal.orzel@arm.com> wrote:
> > >>
> > >> Before the next Yocto release, Xen recipes need to be updated.
> > >> This patch series:
> > >> - updates 4.15 recipes
> > >> - introduces 4.16 recipes
> > >> - removes 4.14 recipes
> > >
> > > FYI: I'm not ignoring these, and I will make sure they get into the
> > > upcoming release branch and are in place for the LTS release. I'm just
> > > waiting until Christopher gets a chance to review and see if these
> > > match up with what he was thinking about for versions.
> >
> > Thanks.

Thanks for your patience on these. I've just completed the build, boot
and XTF testing of this series with success, for x86-64, arm32 and
arm64 qemu MACHINES, with each of the three Xen versions (4.15.2,
4.16.1 and 4.17 git recipe).

I modified the 4.16 recipe to apply the Xen 4.16.1 release revision as
Bertrand indicated and Bruce has confirmed as wanted.
ie: SRCREV ?= "f26544492298cb82d66f9bf36e29d2f75b3133f2"
I also think the SRCREV revision posted for the git recipes update to
4.17 is a sensible choice.

For this series, with the update to 4.16.1 applied:
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>

> > For LTS, I think we said the strategy should be a bit different:
> > - keep the original versions and update them.
> > - keep the same default version
> > - add/update other recipe upon request
> >
>
> My fault for not being clear, I was thinking about "the upcoming LTS",
> aka the very-soon to be released kirstone .. but just typed "LTS",
> which is no longer unambiguous!
>
> Unless you were also speaking about kirstone .. :)
>
> For dunfell-LTS, we definitely don't need to add new versions, but I'm
> happy to do updates.
>
> For Kirstone LTS, I just wanted to make sure that we had the right Xen
> versions, where at least one is also a Xen LTS and another version to
> track a latest release (for those that need it).
>
> I think we are aligned on both fronts.

Ack. ie. for Kirkstone, I think it is:
- the 4.16 recipes will be default (as per the change in this series)
and that will stay default
- the git recipes will be there and those can be updated to add
packaging compatibility with newer Xen updates if requested
- there's a good case for keeping the 4.15 release recipes included
given the timing of this update and the Kirkstone release
- and we can add recipes for a newer Xen stable version upon request

thanks,

Christopher

>
> Bruce
>
> > I do not think we need to push this change to LTS branch, there it might make more sense to update the present versions.
> > I can check that in the next weeks.
> >
> > Cheers
> > Bertrand
> >
> > >
> > > Bruce
> > >
> > >>
> > >> Michal Orzel (3):
> > >>  xen: Bump SRCREV of 4.15 recipes to 4.15.2
> > >>  xen: Add recipes for stable Xen 4.16 release and update master
> > >>  xen: Remove 4.14 recipes and related patches
> > >>
> > >> .../include/meta-virt-default-versions.inc    |   4 +-
> > >> ...-stand-alone-set-of-headers-Xen-4.14.patch | 178 ------------------
> > >> ...ython-pygrub-pass-DISTUTILS-xen-4.14.patch |  66 -------
> > >> ...d-firmware-as-ffreestanding-Xen-4.14.patch |  83 --------
> > >> recipes-extended/xen/xen-tools_4.14.bb        |  21 ---
> > >> recipes-extended/xen/xen-tools_4.15.bb        |   4 +-
> > >> recipes-extended/xen/xen-tools_4.16.bb        |  19 ++
> > >> recipes-extended/xen/xen-tools_git.bb         |   6 +-
> > >> recipes-extended/xen/xen_4.15.bb              |   4 +-
> > >> .../xen/{xen_4.14.bb => xen_4.16.bb}          |   6 +-
> > >> recipes-extended/xen/xen_git.bb               |   6 +-
> > >> 11 files changed, 34 insertions(+), 363 deletions(-)
> > >> delete mode 100644 recipes-extended/xen/files/0001-firmware-provide-a-stand-alone-set-of-headers-Xen-4.14.patch
> > >> delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
> > >> delete mode 100644 recipes-extended/xen/files/0001-tools-firmware-Build-firmware-as-ffreestanding-Xen-4.14.patch
> > >> delete mode 100644 recipes-extended/xen/xen-tools_4.14.bb
> > >> create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
> > >> rename recipes-extended/xen/{xen_4.14.bb => xen_4.16.bb} (79%)
> > >>
> > >> --
> > >> 2.25.1
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > - 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 (#7172): https://lists.yoctoproject.org/g/meta-virtualization/message/7172
> > Mute This Topic: https://lists.yoctoproject.org/mt/90331599/1050810
> > Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-19 14:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08  8:44 [PATCH 0/3] xen: Update recipes for xen and xen-tools Michal Orzel
2022-04-08  8:44 ` [PATCH 1/3] xen: Bump SRCREV of 4.15 recipes to 4.15.2 Michal Orzel
2022-04-08  8:44 ` [PATCH 2/3] xen: Add recipes for stable Xen 4.16 release and update master Michal Orzel
2022-04-08  8:44 ` [PATCH 3/3] xen: Remove 4.14 recipes and related patches Michal Orzel
2022-04-11  8:37 ` [meta-virtualization] [PATCH 0/3] xen: Update recipes for xen and xen-tools Bertrand Marquis
2022-04-14  3:13 ` Bruce Ashfield
2022-04-14  8:01   ` Bertrand Marquis
2022-04-14 15:22     ` Bertrand Marquis
2022-04-14 20:37       ` Bruce Ashfield
2022-04-14 20:40     ` Bruce Ashfield
2022-04-19  5:49       ` Christopher Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.