From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 05 Aug 2024 08:55:30 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sarcw-006PCF-1v for lore@lore.pengutronix.de; Mon, 05 Aug 2024 08:55:30 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sarcw-0000a2-5I; Mon, 05 Aug 2024 08:55:30 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sarXO-0003oH-E6; Mon, 05 Aug 2024 08:49:46 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sarXN-004eBe-TG; Mon, 05 Aug 2024 08:49:45 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sarXN-003jfu-2l; Mon, 05 Aug 2024 08:49:45 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 5 Aug 2024 08:49:45 +0200 Message-Id: <20240805064945.890551-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240718172053.1205006-1-christian.melki@t2data.com> References: <20240718172053.1205006-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] qemu: Version bump. 8.2.2 -> 9.0.2 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 018a56f8a5233684894802a0a7ec5c969e8ea345. Michael [sent from post-receive hook] On Mon, 05 Aug 2024 08:49:45 +0200, Christian Melki wrote: > Bunch of changes. > https://wiki.qemu.org/ChangeLog/9.0 > https://github.com/qemu/qemu/compare/v9.0.0...v9.0.1 > https://github.com/qemu/qemu/compare/v9.0.1...v9.0.2 > > * Remove syscall patch, fixed in new version. > > * Remove jobserver patch, doesn't apply, and I am unsure > it is still needed? > > Signed-off-by: Christian Melki > Message-Id: <20240718172053.1205006-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/qemu-8.2.2/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch b/patches/qemu-8.2.2/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch > deleted file mode 100644 > index a91a3299600f..000000000000 > --- a/patches/qemu-8.2.2/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch > +++ /dev/null > @@ -1,57 +0,0 @@ > -From 4ef1f559f270c66b3ffc23f6c845ff3d008c6356 Mon Sep 17 00:00:00 2001 > -From: Richard Henderson > -Date: Sat, 24 Feb 2024 02:29:41 +0000 > -Subject: [PATCH] linux-user/x86_64: Handle the vsyscall page in > - open_self_maps_{2,4} > -MIME-Version: 1.0 > -Content-Type: text/plain; charset=UTF-8 > -Content-Transfer-Encoding: 8bit > - > -This is the only case in which we expect to have no host memory backing > -for a guest memory page, because in general linux user processes cannot > -map any pages in the top half of the 64-bit address space. > - > -Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2170 > -Reviewed-by: Philippe Mathieu-Daudé > -Signed-off-by: Richard Henderson > ---- > - linux-user/syscall.c | 16 ++++++++++++++++ > - 1 file changed, 16 insertions(+) > - > -diff --git a/linux-user/syscall.c b/linux-user/syscall.c > -index e384e1424890..bc8c06522f88 100644 > ---- a/linux-user/syscall.c > -+++ b/linux-user/syscall.c > -@@ -7994,6 +7994,10 @@ static void open_self_maps_4(const struct open_self_maps_data *d, > - path = "[heap]"; > - } else if (start == info->vdso) { > - path = "[vdso]"; > -+#ifdef TARGET_X86_64 > -+ } else if (start == TARGET_VSYSCALL_PAGE) { > -+ path = "[vsyscall]"; > -+#endif > - } > - > - /* Except null device (MAP_ANON), adjust offset for this fragment. */ > -@@ -8082,6 +8086,18 @@ static int open_self_maps_2(void *opaque, target_ulong guest_start, > - uintptr_t host_start = (uintptr_t)g2h_untagged(guest_start); > - uintptr_t host_last = (uintptr_t)g2h_untagged(guest_end - 1); > - > -+#ifdef TARGET_X86_64 > -+ /* > -+ * Because of the extremely high position of the page within the guest > -+ * virtual address space, this is not backed by host memory at all. > -+ * Therefore the loop below would fail. This is the only instance > -+ * of not having host backing memory. > -+ */ > -+ if (guest_start == TARGET_VSYSCALL_PAGE) { > -+ return open_self_maps_3(opaque, guest_start, guest_end, flags); > -+ } > -+#endif > -+ > - while (1) { > - IntervalTreeNode *n = > - interval_tree_iter_first(d->host_maps, host_start, host_start); > --- > -2.39.2 > - > diff --git a/patches/qemu-8.2.2/0101-let-ninja-use-the-jobserver.patch b/patches/qemu-8.2.2/0101-let-ninja-use-the-jobserver.patch > deleted file mode 100644 > index a1524c1d9da7..000000000000 > --- a/patches/qemu-8.2.2/0101-let-ninja-use-the-jobserver.patch > +++ /dev/null > @@ -1,25 +0,0 @@ > -From: Michael Olbrich > -Date: Fri, 26 Feb 2021 12:08:46 +0100 > -Subject: [PATCH] let ninja use the jobserver > - > -This is only for ptxdist. Ninja uses the make jobserver here, so don't add > -'-j1' if no -jX argument is given. > - > -Signed-off-by: Michael Olbrich > ---- > - Makefile | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/Makefile b/Makefile > -index 5d48dfac18a3..61a291a95903 100644 > ---- a/Makefile > -+++ b/Makefile > -@@ -142,7 +142,7 @@ MAKE.k = $(findstring k,$(firstword $(filter-out --%,$(MAKEFLAGS)))) > - MAKE.q = $(findstring q,$(firstword $(filter-out --%,$(MAKEFLAGS)))) > - MAKE.nq = $(if $(word 2, $(MAKE.n) $(MAKE.q)),nq) > - NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if $(MAKE.k), -k0) \ > -- $(filter-out -j, $(lastword -j1 $(filter -l% -j%, $(MAKEFLAGS)))) \ > -+ $(filter-out -j, $(lastword $(filter -l% -j%, $(MAKEFLAGS)))) \ > - -d keepdepfile > - ninja-cmd-goals = $(or $(MAKECMDGOALS), all) > - ninja-cmd-goals += $(foreach g, $(MAKECMDGOALS), $(.ninja-goals.$g)) > diff --git a/patches/qemu-8.2.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-9.0.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch > similarity index 100% > rename from patches/qemu-8.2.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch > rename to patches/qemu-9.0.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch > diff --git a/patches/qemu-8.2.2/series b/patches/qemu-9.0.2/series > similarity index 53% > rename from patches/qemu-8.2.2/series > rename to patches/qemu-9.0.2/series > index 8912ba0c6f6a..a55ede383bcd 100644 > --- a/patches/qemu-8.2.2/series > +++ b/patches/qemu-9.0.2/series > @@ -1,8 +1,6 @@ > # generated by git-ptx-patches > #tag:base --start-number 1 > #tag:upstream --start-number 1 > -0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch > #tag:ptxdist --start-number 100 > 0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch > -0101-let-ninja-use-the-jobserver.patch > -# e07b440a88f02f8ec66d73afd7a82c61 - git-ptx-patches magic > +# 7c1abd8b5f5ef26378050b669cba203a - git-ptx-patches magic > diff --git a/rules/qemu.make b/rules/qemu.make > index 19d07a599c26..854116b06eb0 100644 > --- a/rules/qemu.make > +++ b/rules/qemu.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu > # > # Paths and names > # > -QEMU_VERSION := 8.2.2 > -QEMU_MD5 := e43091262671c1728b09522932b75b1d > +QEMU_VERSION := 9.0.2 > +QEMU_MD5 := f7f0462262d2571f146c6a8adda33b29 > QEMU := qemu-$(QEMU_VERSION) > QEMU_SUFFIX := tar.xz > QEMU_URL := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)