[packages/kernel/LINUX_6_1] 6.1.29

baggins baggins at pld-linux.org
Sat May 20 22:25:12 CEST 2023


commit a585667db86d58a5ab9483dceed2ddd5861077e8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat May 20 22:24:48 2023 +0200

    6.1.29

 gcc13.patch             | 116 ------------------------------------------------
 kernel-multiarch.config |   1 +
 kernel.spec             |   4 +-
 3 files changed, 3 insertions(+), 118 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 6e5d4fe2..34a9beb9 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -67,7 +67,7 @@
 
 %define		rel		1
 %define		basever		6.1
-%define		postver		.27
+%define		postver		.29
 
 # define this to '-%{basever}' for longterm branch
 %define		versuffix	-%{basever}
@@ -121,7 +121,7 @@ Source0:	https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{basever}.tar.xz
 # Source0-md5:	475320de08f16c9fa486fc4edfe98b30
 %if "%{postver}" != ".0"
 Patch0:		https://www.kernel.org/pub/linux/kernel/v6.x/patch-%{version}.xz
-# Patch0-md5:	738b16181d66033bdbe04c62f209ca3b
+# Patch0-md5:	b2b2a8b91159ae5448b428c443a5d755
 %endif
 Source1:	kernel.sysconfig
 
diff --git a/gcc13.patch b/gcc13.patch
index 44d069a2..56c8dc8e 100644
--- a/gcc13.patch
+++ b/gcc13.patch
@@ -44,119 +44,3 @@ index 9a1895747b153..84c730da36dd3 100644
 -- 
 cgit 
 
-From ff1cc97b1f4c10db224f276d9615b22835b8c424 Mon Sep 17 00:00:00 2001
-From: "Jiri Slaby (SUSE)" <jirislaby at kernel.org>
-Date: Tue, 13 Dec 2022 13:08:26 +0100
-Subject: block/blk-iocost (gcc13): keep large values in a new enum
-
-Since gcc13, each member of an enum has the same type as the enum [1]. And
-that is inherited from its members. Provided:
-  VTIME_PER_SEC_SHIFT     = 37,
-  VTIME_PER_SEC           = 1LLU << VTIME_PER_SEC_SHIFT,
-  ...
-  AUTOP_CYCLE_NSEC        = 10LLU * NSEC_PER_SEC,
-the named type is unsigned long.
-
-This generates warnings with gcc-13:
-  block/blk-iocost.c: In function 'ioc_weight_prfill':
-  block/blk-iocost.c:3037:37: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int'
-
-  block/blk-iocost.c: In function 'ioc_weight_show':
-  block/blk-iocost.c:3047:34: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int'
-
-So split the anonymous enum with large values to a separate enum, so
-that they don't affect other members.
-
-[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36113
-
-Cc: Martin Liska <mliska at suse.cz>
-Cc: Tejun Heo <tj at kernel.org>
-Cc: Josef Bacik <josef at toxicpanda.com>
-Cc: Jens Axboe <axboe at kernel.dk>
-Cc: cgroups at vger.kernel.org
-Cc: linux-block at vger.kernel.org
-Signed-off-by: Jiri Slaby (SUSE) <jirislaby at kernel.org>
-Link: https://lore.kernel.org/r/20221213120826.17446-1-jirislaby@kernel.org
-Signed-off-by: Jens Axboe <axboe at kernel.dk>
----
- block/blk-iocost.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-(limited to 'block/blk-iocost.c')
-
-diff --git a/block/blk-iocost.c b/block/blk-iocost.c
-index d1bdc12deaa70..549ddc9e0c6f4 100644
---- a/block/blk-iocost.c
-+++ b/block/blk-iocost.c
-@@ -232,7 +232,9 @@ enum {
- 
- 	/* 1/64k is granular enough and can easily be handled w/ u32 */
- 	WEIGHT_ONE		= 1 << 16,
-+};
- 
-+enum {
- 	/*
- 	 * As vtime is used to calculate the cost of each IO, it needs to
- 	 * be fairly high precision.  For example, it should be able to
--- 
-cgit 
-
-From 5f2779dfa7b8cc7dfd4a1b6586d86e0d193266f3 Mon Sep 17 00:00:00 2001
-From: Arnd Bergmann <arnd at arndb.de>
-Date: Wed, 18 Jan 2023 09:07:01 +0100
-Subject: blk-iocost: avoid 64-bit division in ioc_timer_fn
-
-The behavior of 'enum' types has changed in gcc-13, so now the
-UNBUSY_THR_PCT constant is interpreted as a 64-bit number because
-it is defined as part of the same enum definition as some other
-constants that do not fit within a 32-bit integer. This in turn
-leads to some inefficient code on 32-bit architectures as well
-as a link error:
-
-arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: block/blk-iocost.o: in function `ioc_timer_fn':
-blk-iocost.c:(.text+0x68e8): undefined reference to `__aeabi_uldivmod'
-arm-linux-gnueabi-ld: blk-iocost.c:(.text+0x6908): undefined reference to `__aeabi_uldivmod'
-
-Split the enum definition to keep the 64-bit timing constants in
-a separate enum type from those constants that can clearly fit
-within a smaller type.
-
-Signed-off-by: Arnd Bergmann <arnd at arndb.de>
-Acked-by: Tejun Heo <tj at kernel.org>
-Link: https://lore.kernel.org/r/20230118080706.3303186-1-arnd@kernel.org
-Signed-off-by: Jens Axboe <axboe at kernel.dk>
----
- block/blk-iocost.c | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-(limited to 'block')
-
-diff --git a/block/blk-iocost.c b/block/blk-iocost.c
-index 6955605629e4f..b691b6bb498f3 100644
---- a/block/blk-iocost.c
-+++ b/block/blk-iocost.c
-@@ -258,6 +258,11 @@ enum {
- 	VRATE_MIN		= VTIME_PER_USEC * VRATE_MIN_PPM / MILLION,
- 	VRATE_CLAMP_ADJ_PCT	= 4,
- 
-+	/* switch iff the conditions are met for longer than this */
-+	AUTOP_CYCLE_NSEC	= 10LLU * NSEC_PER_SEC,
-+};
-+
-+enum {
- 	/* if IOs end up waiting for requests, issue less */
- 	RQ_WAIT_BUSY_PCT	= 5,
- 
-@@ -296,9 +301,6 @@ enum {
- 	/* don't let cmds which take a very long time pin lagging for too long */
- 	MAX_LAGGING_PERIODS	= 10,
- 
--	/* switch iff the conditions are met for longer than this */
--	AUTOP_CYCLE_NSEC	= 10LLU * NSEC_PER_SEC,
--
- 	/*
- 	 * Count IO size in 4k pages.  The 12bit shift helps keeping
- 	 * size-proportional components of cost calculation in closer
--- 
-cgit 
-
diff --git a/kernel-multiarch.config b/kernel-multiarch.config
index 74155ef9..1e7a0a5b 100644
--- a/kernel-multiarch.config
+++ b/kernel-multiarch.config
@@ -15308,6 +15308,7 @@ SND_SOC_RK3328 all=m
 SND_SOC_RK817 arm=m arm64=m
 SND_SOC_RT1308_SDW all=m
 SND_SOC_RT1316_SDW all=m
+SND_SOC_RT1318_SDW all=m
 SND_SOC_RT5616 all=m
 SND_SOC_RT5631 all=m
 SND_SOC_RT5640 all=m
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/a585667db86d58a5ab9483dceed2ddd5861077e8



More information about the pld-cvs-commit mailing list