Skip to content

Commit e995b88

Browse files
committed
Revert "hostools: update qemu to 9.2.3"
This reverts commit a37373a.
1 parent 627b5b9 commit e995b88

18 files changed

+361
-66
lines changed

meta-zephyr-sdk/recipes-devtools/qemu/files/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 29dce25c090792e360a1c1ff081af25d63d7df29 Mon Sep 17 00:00:00 2001
1+
From 930b75aeade33690cec4bf748a954401da2be782 Mon Sep 17 00:00:00 2001
22
From: Jason Wessel <jason.wessel@windriver.com>
33
Date: Fri, 28 Mar 2014 17:42:43 +0800
44
Subject: [PATCH] qemu: Add addition environment space to boot loader
@@ -18,7 +18,7 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com>
1818
1 file changed, 1 insertion(+), 1 deletion(-)
1919

2020
diff --git a/hw/mips/malta.c b/hw/mips/malta.c
21-
index 198da5ba3..736bf0999 100644
21+
index 664a2ae0a..5124b158a 100644
2222
--- a/hw/mips/malta.c
2323
+++ b/hw/mips/malta.c
2424
@@ -64,7 +64,7 @@
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
From 7030c0cd98de9e6c42e69be314204727ae335912 Mon Sep 17 00:00:00 2001
2+
From: Khem Raj <raj.khem@gmail.com>
3+
Date: Thu, 10 Oct 2024 22:40:32 -0700
4+
Subject: [PATCH] sched_attr: Do not define for glibc >= 2.41
5+
6+
glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions
7+
and struct sched_attr. Therefore, it needs to be checked for here as well before
8+
defining sched_attr
9+
10+
Define sched_attr conditionally on SCHED_ATTR_SIZE_VER0
11+
12+
Fixes builds with glibc/trunk
13+
14+
[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=21571ca0d70302909cf72707b2a7736cf12190a0;hp=298bc488fdc047da37482f4003023cb9adef78f8
15+
16+
Upstream-Status: Submitted [https://patchwork.ozlabs.org/project/qemu-devel/patch/20241011193140.1047648-1-raj.khem@gmail.com/]
17+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
18+
Cc: Laurent Vivier <laurent@vivier.eu>
19+
Cc: Paolo Bonzini <pbonzini@redhat.com>
20+
---
21+
linux-user/syscall.c | 4 +++-
22+
1 file changed, 3 insertions(+), 1 deletion(-)
23+
24+
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
25+
index 27aa59594..b2c45b4c4 100644
26+
--- a/linux-user/syscall.c
27+
+++ b/linux-user/syscall.c
28+
@@ -361,7 +361,8 @@ _syscall3(int, sys_sched_getaffinity, pid_t, pid, unsigned int, len,
29+
#define __NR_sys_sched_setaffinity __NR_sched_setaffinity
30+
_syscall3(int, sys_sched_setaffinity, pid_t, pid, unsigned int, len,
31+
unsigned long *, user_mask_ptr);
32+
-/* sched_attr is not defined in glibc */
33+
+/* sched_attr is not defined in glibc < 2.41 */
34+
+#ifndef SCHED_ATTR_SIZE_VER0
35+
struct sched_attr {
36+
uint32_t size;
37+
uint32_t sched_policy;
38+
@@ -374,6 +375,7 @@ struct sched_attr {
39+
uint32_t sched_util_min;
40+
uint32_t sched_util_max;
41+
};
42+
+#endif
43+
#define __NR_sys_sched_getattr __NR_sched_getattr
44+
_syscall4(int, sys_sched_getattr, pid_t, pid, struct sched_attr *, attr,
45+
unsigned int, size, unsigned int, flags);

meta-zephyr-sdk/recipes-devtools/qemu/files/0001-target-xtensa-add-translation-for-wsr.mpucfg.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From c4c7e54d418f2a61188c85be05320d51ff1244a3 Mon Sep 17 00:00:00 2001
1+
From 40de936cb535e9645d562ef32ef70d224f4f80ec Mon Sep 17 00:00:00 2001
22
From: Max Filippov <jcmvbkbc@gmail.com>
33
Date: Thu, 14 Dec 2023 18:08:26 -0800
4-
Subject: [PATCH 1/5] target/xtensa: add translation for wsr.mpucfg
4+
Subject: [PATCH 1/4] target/xtensa: add translation for wsr.mpucfg
55

66
Although MPUCFG is not writable, the opcode wsr.mpucfg is defined and it
77
just does nothing. Define wsr.mpucfg as nop.

meta-zephyr-sdk/recipes-devtools/qemu/files/0002-apic-fixup-fallthrough-to-PIC.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From e069c66ccf29fb13ef5938b68f5362737b64d638 Mon Sep 17 00:00:00 2001
1+
From 1ba58dbd2dce4e6ccaf3be3ad5c9ecc22565313f Mon Sep 17 00:00:00 2001
22
From: Mark Asselstine <mark.asselstine@windriver.com>
33
Date: Tue, 26 Feb 2013 11:43:28 -0500
44
Subject: [PATCH] apic: fixup fallthrough to PIC

meta-zephyr-sdk/recipes-devtools/qemu/files/0002-target-xtensa-import-sample_controller32-core.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 73b26889b8e68efee58d3a3bef4e3672c7b166fc Mon Sep 17 00:00:00 2001
1+
From f45b7fe1a7a5cbb2445f4bfd36a6a929fa22bef6 Mon Sep 17 00:00:00 2001
22
From: Max Filippov <jcmvbkbc@gmail.com>
33
Date: Thu, 14 Dec 2023 16:47:09 -0800
4-
Subject: [PATCH 2/5] target/xtensa: import sample_controller32 core
4+
Subject: [PATCH 2/4] target/xtensa: import sample_controller32 core
55

66
This is an LX core with MPU and exclusive access options.
77

meta-zephyr-sdk/recipes-devtools/qemu/files/0003-tests-tcg-xtensa-tidy-test-linker-script.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 7b358c875242cd90ce64b175f9585c0da933b6b6 Mon Sep 17 00:00:00 2001
1+
From c700aa6373e4cee40cba849f3bbb4927165d7243 Mon Sep 17 00:00:00 2001
22
From: Max Filippov <jcmvbkbc@gmail.com>
33
Date: Thu, 14 Dec 2023 16:46:08 -0800
4-
Subject: [PATCH 3/5] tests/tcg/xtensa: tidy test linker script
4+
Subject: [PATCH 3/4] tests/tcg/xtensa: tidy test linker script
55

66
Drop MEMORY clause and related size definitions and output section
77
region specifications. Drop .rodata output section as the tests don't

meta-zephyr-sdk/recipes-devtools/qemu/files/0004-qemu-Do-not-include-file-if-not-exists.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 24e16b32dd0a4136ac30f8e2d48e266892814de6 Mon Sep 17 00:00:00 2001
1+
From 081c1e4ee93b22ec00136db45c36650427213c09 Mon Sep 17 00:00:00 2001
22
From: Oleksiy Obitotskyy <oobitots@cisco.com>
33
Date: Wed, 25 Mar 2020 21:21:35 +0200
44
Subject: [PATCH] qemu: Do not include file if not exists
@@ -16,10 +16,10 @@ Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
1616
1 file changed, 2 insertions(+)
1717

1818
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
19-
index 549e39e19..439c7beb0 100644
19+
index 9d5415674..22df46859 100644
2020
--- a/linux-user/syscall.c
2121
+++ b/linux-user/syscall.c
22-
@@ -116,7 +116,9 @@
22+
@@ -117,7 +117,9 @@
2323
#include <linux/blkpg.h>
2424
#include <netpacket/packet.h>
2525
#include <linux/netlink.h>

meta-zephyr-sdk/recipes-devtools/qemu/files/0004-tests-tcg-xtensa-fix-SR-test-for-configs-with-MPU.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 21f01eb5a8dfa0ca7d4e4f9b2bf51b89ecc1e3b3 Mon Sep 17 00:00:00 2001
1+
From f814bc5b4d16403b15fcd80b1678d12202dab0f2 Mon Sep 17 00:00:00 2001
22
From: Max Filippov <jcmvbkbc@gmail.com>
33
Date: Thu, 14 Dec 2023 18:14:00 -0800
4-
Subject: [PATCH 4/5] tests/tcg/xtensa: fix SR test for configs with MPU
4+
Subject: [PATCH 4/4] tests/tcg/xtensa: fix SR test for configs with MPU
55

66
- atomctl is available not only in the presence of s32c1i, but also with
77
the exclusive access option

meta-zephyr-sdk/recipes-devtools/qemu/files/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From ef7497674b2d41cffcb90f36bfe145c4951a03ba Mon Sep 17 00:00:00 2001
1+
From 76efeccfd73a76834ac1c75d3c94de1899085714 Mon Sep 17 00:00:00 2001
22
From: Richard Purdie <richard.purdie@linuxfoundation.org>
33
Date: Fri, 8 Jan 2021 17:27:06 +0000
44
Subject: [PATCH] qemu: Add some user space mmap tweaks to address musl 32 bit

meta-zephyr-sdk/recipes-devtools/qemu/files/0005-target-xtensa-fix-sample_controller32-build-for-QEMU.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)