mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [APPLIED] qemu: Version bump. 8.2.2 -> 9.0.2
Date: Mon,  5 Aug 2024 08:49:45 +0200	[thread overview]
Message-ID: <20240805064945.890551-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240718172053.1205006-1-christian.melki@t2data.com>

Thanks, applied as 018a56f8a5233684894802a0a7ec5c969e8ea345.

Michael

[sent from post-receive hook]

On Mon, 05 Aug 2024 08:49:45 +0200, Christian Melki <christian.melki@t2data.com> 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 <christian.melki@t2data.com>
> Message-Id: <20240718172053.1205006-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 <richard.henderson@linaro.org>
> -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é <philmd@linaro.org>
> -Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ----
> - 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 <m.olbrich@pengutronix.de>
> -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 <m.olbrich@pengutronix.de>
> ----
> - 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)



      parent reply	other threads:[~2024-08-05  6:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18 17:20 [ptxdist] [PATCH] " Christian Melki
2024-08-02  8:19 ` Michael Olbrich
2024-08-05  6:49 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240805064945.890551-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox