]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop some nolibc patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2025 15:53:59 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2025 15:53:59 +0000 (17:53 +0200)
queue-6.12/series
queue-6.12/tools-nolibc-use-intmax-definitions-from-compiler.patch [deleted file]
queue-6.12/tools-nolibc-use-pselect6_time64-if-available.patch [deleted file]
queue-6.15/series
queue-6.15/tools-nolibc-use-intmax-definitions-from-compiler.patch [deleted file]
queue-6.6/series
queue-6.6/tools-nolibc-use-intmax-definitions-from-compiler.patch [deleted file]

index 7cd8810369a01d258e1b77024a4b6f38e38dfea9..985d8893af4bc4fb714172ad86989067b37cb0ec 100644 (file)
@@ -167,7 +167,6 @@ iio-adc-ad7606_spi-fix-reg-write-value-mask.patch
 acpica-fix-acpi-operand-cache-leak-in-dswstate.c.patch
 asoc-amd-yc-add-quirk-for-lenovo-yoga-pro-7-14asp9.patch
 clocksource-fix-the-cpus-choice-in-the-watchdog-per-.patch
-tools-nolibc-use-intmax-definitions-from-compiler.patch
 power-supply-collie-fix-wakeup-source-leaks-on-devic.patch
 mmc-add-quirk-to-disable-ddr50-tuning.patch
 acpica-avoid-sequence-overread-in-call-to-strncmp.patch
@@ -187,7 +186,6 @@ asoc-tegra210_ahub-add-check-to-of_device_get_match_.patch
 make-cc-option-work-correctly-for-the-wno-xyzzy-patt.patch
 gpiolib-of-add-polarity-quirk-for-s5m8767.patch
 pm-runtime-fix-denying-of-auto-suspend-in-pm_suspend.patch
-tools-nolibc-use-pselect6_time64-if-available.patch
 power-supply-max17040-adjust-thermal-channel-scaling.patch
 acpi-battery-negate-current-when-discharging.patch
 net-macb-check-return-value-of-dma_set_mask_and_cohe.patch
@@ -325,3 +323,4 @@ selinux-fix-selinux_xfrm_alloc_user-to-set-correct-ctx_len.patch
 platform-x86-intel-uncore-freq-fail-module-load-when-plat_info-is-null.patch
 sched_ext-sched-core-don-t-call-scx_group_set_weight-prematurely-from-sched_create_group.patch
 atm-revert-atm_account_tx-if-copy_from_iter_full-fails.patch
+wifi-rtw89-phy-add-dummy-c2h-event-handler-for-report-of-tas-power.patch
diff --git a/queue-6.12/tools-nolibc-use-intmax-definitions-from-compiler.patch b/queue-6.12/tools-nolibc-use-intmax-definitions-from-compiler.patch
deleted file mode 100644 (file)
index c080f36..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 875e235984371adb76ac2bb54c2987aa3bb411c4 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 11 Apr 2025 11:00:39 +0200
-Subject: tools/nolibc: use intmax definitions from compiler
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-
-[ Upstream commit e5407c0820ea5fa7117b85ed32b724af73156d63 ]
-
-The printf format checking in the compiler uses the intmax types from
-the compiler, not libc. This can lead to compiler errors.
-
-Instead use the types already provided by the compiler.
-
-Example issue with clang 19 for arm64:
-
-nolibc-test.c:30:2: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uintmax_t' (aka 'unsigned long long') [-Werror,-Wformat]
-
-Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-Acked-by: Willy Tarreau <w@1wt.eu>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/include/nolibc/stdint.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tools/include/nolibc/stdint.h b/tools/include/nolibc/stdint.h
-index cd79ddd6170e0..b052ad6303c38 100644
---- a/tools/include/nolibc/stdint.h
-+++ b/tools/include/nolibc/stdint.h
-@@ -39,8 +39,8 @@ typedef   size_t      uint_fast32_t;
- typedef  int64_t       int_fast64_t;
- typedef uint64_t      uint_fast64_t;
--typedef  int64_t           intmax_t;
--typedef uint64_t          uintmax_t;
-+typedef __INTMAX_TYPE__    intmax_t;
-+typedef __UINTMAX_TYPE__  uintmax_t;
- /* limits of integral types */
--- 
-2.39.5
-
diff --git a/queue-6.12/tools-nolibc-use-pselect6_time64-if-available.patch b/queue-6.12/tools-nolibc-use-pselect6_time64-if-available.patch
deleted file mode 100644 (file)
index fe3863b..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From e51291bdfe4d13052e2d920ded8828768d49b60a Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 11 Apr 2025 11:00:40 +0200
-Subject: tools/nolibc: use pselect6_time64 if available
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-
-[ Upstream commit 248ddc80b145515286bfb75d08034ad4c0fdb08e ]
-
-riscv32 does not have any of the older select systemcalls.
-Use pselect6_time64 instead.
-poll() is also used to implement sleep().
-
-Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-Acked-by: Willy Tarreau <w@1wt.eu>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/include/nolibc/sys.h | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h
-index 7b82bc3cf1074..ab5b9ff285c03 100644
---- a/tools/include/nolibc/sys.h
-+++ b/tools/include/nolibc/sys.h
-@@ -981,6 +981,14 @@ int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeva
-               t.tv_nsec = timeout->tv_usec * 1000;
-       }
-       return my_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL);
-+#elif defined(__NR_pselect6_time64)
-+      struct __kernel_timespec t;
-+
-+      if (timeout) {
-+              t.tv_sec  = timeout->tv_sec;
-+              t.tv_nsec = timeout->tv_usec * 1000;
-+      }
-+      return my_syscall6(__NR_pselect6_time64, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL);
- #else
-       return __nolibc_enosys(__func__, nfds, rfds, wfds, efds, timeout);
- #endif
--- 
-2.39.5
-
index e50921a1eb0ca189d1478ac24cfe6bd7e492007d..dcd47b4adb2f5479aee66b53b23bdae1ab17250b 100644 (file)
@@ -207,7 +207,6 @@ acpica-fix-acpi-operand-cache-leak-in-dswstate.c.patch
 asoc-amd-yc-add-quirk-for-lenovo-yoga-pro-7-14asp9.patch
 clocksource-fix-the-cpus-choice-in-the-watchdog-per-.patch
 power-supply-gpio-charger-fix-wakeup-source-leaks-on.patch
-tools-nolibc-use-intmax-definitions-from-compiler.patch
 power-supply-collie-fix-wakeup-source-leaks-on-devic.patch
 mmc-add-quirk-to-disable-ddr50-tuning.patch
 acpica-avoid-sequence-overread-in-call-to-strncmp.patch
diff --git a/queue-6.15/tools-nolibc-use-intmax-definitions-from-compiler.patch b/queue-6.15/tools-nolibc-use-intmax-definitions-from-compiler.patch
deleted file mode 100644 (file)
index 9c52a47..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 8960fa8611adb352b79fcfc9188ed5d494311fea Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 11 Apr 2025 11:00:39 +0200
-Subject: tools/nolibc: use intmax definitions from compiler
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-
-[ Upstream commit e5407c0820ea5fa7117b85ed32b724af73156d63 ]
-
-The printf format checking in the compiler uses the intmax types from
-the compiler, not libc. This can lead to compiler errors.
-
-Instead use the types already provided by the compiler.
-
-Example issue with clang 19 for arm64:
-
-nolibc-test.c:30:2: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uintmax_t' (aka 'unsigned long long') [-Werror,-Wformat]
-
-Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-Acked-by: Willy Tarreau <w@1wt.eu>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/include/nolibc/stdint.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tools/include/nolibc/stdint.h b/tools/include/nolibc/stdint.h
-index cd79ddd6170e0..b052ad6303c38 100644
---- a/tools/include/nolibc/stdint.h
-+++ b/tools/include/nolibc/stdint.h
-@@ -39,8 +39,8 @@ typedef   size_t      uint_fast32_t;
- typedef  int64_t       int_fast64_t;
- typedef uint64_t      uint_fast64_t;
--typedef  int64_t           intmax_t;
--typedef uint64_t          uintmax_t;
-+typedef __INTMAX_TYPE__    intmax_t;
-+typedef __UINTMAX_TYPE__  uintmax_t;
- /* limits of integral types */
--- 
-2.39.5
-
index fe72a79d7e1749cfa4fecc3a82f36931d3113515..93d5196f77c02df50a6013cfc4e34e533900a3b9 100644 (file)
@@ -116,7 +116,6 @@ iio-adc-ad7606_spi-fix-reg-write-value-mask.patch
 acpica-fix-acpi-operand-cache-leak-in-dswstate.c.patch
 asoc-amd-yc-add-quirk-for-lenovo-yoga-pro-7-14asp9.patch
 clocksource-fix-the-cpus-choice-in-the-watchdog-per-.patch
-tools-nolibc-use-intmax-definitions-from-compiler.patch
 power-supply-collie-fix-wakeup-source-leaks-on-devic.patch
 mmc-add-quirk-to-disable-ddr50-tuning.patch
 acpica-avoid-sequence-overread-in-call-to-strncmp.patch
diff --git a/queue-6.6/tools-nolibc-use-intmax-definitions-from-compiler.patch b/queue-6.6/tools-nolibc-use-intmax-definitions-from-compiler.patch
deleted file mode 100644 (file)
index 07691e7..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 992231694721078a70b7adc16f60b4d115f0e431 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 11 Apr 2025 11:00:39 +0200
-Subject: tools/nolibc: use intmax definitions from compiler
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-
-[ Upstream commit e5407c0820ea5fa7117b85ed32b724af73156d63 ]
-
-The printf format checking in the compiler uses the intmax types from
-the compiler, not libc. This can lead to compiler errors.
-
-Instead use the types already provided by the compiler.
-
-Example issue with clang 19 for arm64:
-
-nolibc-test.c:30:2: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uintmax_t' (aka 'unsigned long long') [-Werror,-Wformat]
-
-Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-Acked-by: Willy Tarreau <w@1wt.eu>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/include/nolibc/stdint.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tools/include/nolibc/stdint.h b/tools/include/nolibc/stdint.h
-index 6665e272e2132..87a2b09e2dda5 100644
---- a/tools/include/nolibc/stdint.h
-+++ b/tools/include/nolibc/stdint.h
-@@ -39,8 +39,8 @@ typedef   size_t      uint_fast32_t;
- typedef  int64_t       int_fast64_t;
- typedef uint64_t      uint_fast64_t;
--typedef  int64_t           intmax_t;
--typedef uint64_t          uintmax_t;
-+typedef __INTMAX_TYPE__    intmax_t;
-+typedef __UINTMAX_TYPE__  uintmax_t;
- /* limits of integral types */
--- 
-2.39.5
-