1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-10 17:00:42 +01:00

Another big bump in packages and buildroot

This commit is contained in:
j1nx 2024-06-17 07:26:12 +00:00
parent 35b7a5bf63
commit 39d8acef1c
208 changed files with 737 additions and 1246 deletions

@ -1 +1 @@
Subproject commit 45464c7c1a5b15493545bd784629440f1db7d381
Subproject commit b8909c9e9e93bd46e7ea0ca34269bb1c1e087108

View File

@ -197,8 +197,7 @@ main() {
sleep 3 # Allow some time to fully initialise the hardware / driver
fi
xvf3510-flash --direct "/usr/lib/firmware/xvf3510/app_xvf3510_int_spi_boot_v4_2_0.bin"
# Initializing Texas Instruments 5806 Amplifier
/usr/bin/tas5806-init
if [[ ${detection_results[SJ201LED]} == true ]] ; then
echo "Found revision-6 SJ-201 board"
# Initializing and resetting LED ring

View File

@ -1,10 +1,10 @@
# /usr/share/alsa-card-profile/mixer/profile-sets/xvf3510.conf
# /usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf
[General]
auto-profiles = no
[Mapping xvf3510-asr]
device-strings = hw:%f
device-strings = hw:%f,1
channel-map = front-left
exact-channels = yes
fallback = yes
@ -13,7 +13,7 @@ priority = 2
direction = input
[Mapping xvf3510-comms]
device-strings = hw:%f
device-strings = hw:%f,1
channel-map = front-right
exact-channels = yes
fallback = yes
@ -21,23 +21,23 @@ paths-input = xvf3510-comms
priority = 3
direction = input
[Mapping xvf3510-stereo-output]
device-strings = hw:%f
channel-map = front-left,front-right
[Mapping tas5806md-stereo-output]
device-strings = hw:%f,0
channel-map = left,right
exact-channels = yes
fallback = yes
paths-output = xvf3510-stereo-output
paths-output = tas5805md-stereo-output
direction = output
priority = 2
[Profile output:xvf3510-stereo-output+input:xvf3510-asr]
output-mappings = xvf3510-stereo-output
[Profile output:tas5806md-stereo-output+input:xvf3510-asr]
output-mappings = tas5806md-stereo-output
input-mappings = xvf3510-asr
priority = 100
skip-probe = yes
[Profile output:xvf3510-stereo-output]
output-mappings = xvf3510-stereo-output
[Profile output:tas5806md-stereo-output]
output-mappings = tas5806md-stereo-output
priority = 4
skip-probe = yes

View File

@ -2,7 +2,8 @@ BR2_aarch64=y
BR2_cortex_a72=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY=y
BR2_WGET="wget --passive-ftp -nd -t 3"
BR2_DL_DIR="../../downloads"
BR2_CCACHE=y
BR2_CCACHE_DIR="ccache"
@ -29,7 +30,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi4"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,37573248884ec252165a246df21642c52573f013)/linux-37573248884ec252165a246df21642c52573f013.tar.gz"
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e0c78d59082aaadb95fc301af239c991686a1822)/linux-e0c78d59082aaadb95fc301af239c991686a1822.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL)/kernel/ovos.config $(BR2_EXTERNAL)/kernel/device-drivers.config $(BR2_EXTERNAL)/kernel/docker.config $(BR2_EXTERNAL)/board/ovos/raspberrypi/kernel.config"
BR2_LINUX_KERNEL_LZ4=y
@ -174,6 +175,8 @@ BR2_PACKAGE_TIFF=y
BR2_PACKAGE_WEBP=y
BR2_PACKAGE_WIREPLUMBER=y
BR2_PACKAGE_ZBAR=y
BR2_PACKAGE_LIBGPIOD2=y
BR2_PACKAGE_LIBGPIOD2_TOOLS=y
BR2_PACKAGE_LIBINPUT=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_JSON_GLIB=y

View File

@ -1,2 +1,2 @@
# Locally computed
sha256 198eed5d409d79aa58d2db6a29073efce96b2fb6efaedbe1851c705f58f50633 vocalfusion-5ca7f45cb5b679859fb251fdc870571a75dfb0a7.tar.gz
sha256 c4b36d37efca5806db70a295ff0c0057899db6851a7488a37a81a9c83bc3e770 vocalfusion-7302017594244e9575da9848bb894460ecf3354c.tar.gz

View File

@ -4,7 +4,7 @@
#
################################################################################
VOCALFUSION_VERSION = 5ca7f45cb5b679859fb251fdc870571a75dfb0a7
VOCALFUSION_VERSION = 7302017594244e9575da9848bb894460ecf3354c
VOCALFUSION_SITE = $(call github,OpenVoiceOS,VocalFusionDriver,$(VOCALFUSION_VERSION))
VOCALFUSION_MODULE_SUBDIRS = driver

View File

@ -1,7 +1,7 @@
From 75831a0c7ffb6d0882e51932376528634e26c979 Mon Sep 17 00:00:00 2001
From 64fda55272af2f6281bb12f2b2add77d95c1ca18 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:48 +0200
Subject: [PATCH 001/198] sched: Constrain locks in sched_submit_work()
Subject: [PATCH 001/196] sched: Constrain locks in sched_submit_work()
Even though sched_submit_work() is ran from preemptible context,
it is discouraged to have it use blocking locks due to the recursion
@ -50,5 +50,5 @@ index 1f91e2c12731..73949b8a55d2 100644
static void sched_update_worker(struct task_struct *tsk)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From b37a6d8e83b287d53965b7a90e912a9b43d39fd0 Mon Sep 17 00:00:00 2001
From 5c3a150e1c7cb9488ad89b655bfd9fc460e2a2f9 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:49 +0200
Subject: [PATCH 002/198] locking/rtmutex: Avoid unconditional slowpath for
Subject: [PATCH 002/196] locking/rtmutex: Avoid unconditional slowpath for
DEBUG_RT_MUTEXES
With DEBUG_RT_MUTEXES enabled the fast-path rt_mutex_cmpxchg_acquire()
@ -82,5 +82,5 @@ index d1473c624105..c7196de838ed 100644
ww_mutex_set_context_fastpath(lock, ww_ctx);
return 0;
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 1878b10b7153990220aa3a02b8c92e1528701093 Mon Sep 17 00:00:00 2001
From 274c3a06b39727d2ceea622ec9504725ad066758 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:50 +0200
Subject: [PATCH 003/198] sched: Extract __schedule_loop()
Subject: [PATCH 003/196] sched: Extract __schedule_loop()
There are currently two implementations of this basic __schedule()
loop, and there is soon to be a third.
@ -59,5 +59,5 @@ index 73949b8a55d2..4498af52cf47 100644
NOKPROBE_SYMBOL(schedule_rtlock);
#endif
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From d779fa7b0b348557ed9e2f0a3a5a7710e1aa5c89 Mon Sep 17 00:00:00 2001
From 7e8cc292a114b7d286d1e01eabe11dad82341a8b Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:51 +0200
Subject: [PATCH 004/198] sched: Provide rt_mutex specific scheduler helpers
Subject: [PATCH 004/196] sched: Provide rt_mutex specific scheduler helpers
With PREEMPT_RT there is a rt_mutex recursion problem where
sched_submit_work() can use an rtlock (aka spinlock_t). More
@ -133,5 +133,5 @@ index 4498af52cf47..d703c5427cf2 100644
{
if (pi_task)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 0655b5650cdb7f54ec9ab9ccf5fcf15136d0bf56 Mon Sep 17 00:00:00 2001
From 5762f7281a1fdd82c3d062c45b22c923e60ec13b Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:52 +0200
Subject: [PATCH 005/198] locking/rtmutex: Use rt_mutex specific scheduler
Subject: [PATCH 005/196] locking/rtmutex: Use rt_mutex specific scheduler
helpers
Have rt_mutex use the rt_mutex specific scheduler helpers to avoid
@ -187,5 +187,5 @@ index 48a19ed8486d..842037b2ba54 100644
/*
* The common functions which get wrapped into the rwlock API.
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From b7040e508fc47a6a766cba8d7f827b521d97dc83 Mon Sep 17 00:00:00 2001
From b71ab9837960957eba5540fa4f8cbdff716d109a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:53 +0200
Subject: [PATCH 006/198] locking/rtmutex: Add a lockdep assert to catch
Subject: [PATCH 006/196] locking/rtmutex: Add a lockdep assert to catch
potential nested blocking
There used to be a BUG_ON(current->pi_blocked_on) in the lock acquisition
@ -62,5 +62,5 @@ index 842037b2ba54..38e292454fcc 100644
rtlock_slowlock(rtm);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From f873113440e07c042dc805df19c8e2ecd3fd5839 Mon Sep 17 00:00:00 2001
From 2343a071fe4d7b166460763b1c136087413162de Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 15 Sep 2023 17:19:44 +0200
Subject: [PATCH 007/198] futex/pi: Fix recursive rt_mutex waiter state
Subject: [PATCH 007/196] futex/pi: Fix recursive rt_mutex waiter state
Some new assertions pointed out that the existing code has nested rt_mutex wait
state in the futex code.
@ -200,5 +200,5 @@ index cba8b1a6a4cc..4c73e0b81acc 100644
/*
* Fixup the pi_state owner and possibly acquire the lock if we
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3905f3b627b3ff024c9521d2be49a5077ff79184 Mon Sep 17 00:00:00 2001
From d491a188fa496d6b2cdf75506baf2f0b9c05f9be Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 3 Aug 2023 12:09:31 +0200
Subject: [PATCH 008/198] signal: Add proper comment about the preempt-disable
Subject: [PATCH 008/196] signal: Add proper comment about the preempt-disable
in ptrace_stop().
Commit 53da1d9456fe7 ("fix ptrace slowness") added a preempt-disable section
@ -48,5 +48,5 @@ index 09019017d669..051ed8114cd4 100644
preempt_disable();
read_unlock(&tasklist_lock);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 95d0354ab790443cc09ef6185c09be99540a33f5 Mon Sep 17 00:00:00 2001
From a1d2d7b91bc31bbfbfbc05438ecbe88fe2d54202 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 3 Aug 2023 12:09:32 +0200
Subject: [PATCH 009/198] signal: Don't disable preemption in ptrace_stop() on
Subject: [PATCH 009/196] signal: Don't disable preemption in ptrace_stop() on
PREEMPT_RT.
On PREEMPT_RT keeping preemption disabled during the invocation of
@ -49,5 +49,5 @@ index 051ed8114cd4..b71026341056 100644
cgroup_leave_frozen(true);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 72f23865ddf0ce1b0a37393e990eaaad3d8d4c1d Mon Sep 17 00:00:00 2001
From 623644e53c2a6223a210481f10e12d2018b6217b Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:12 +0200
Subject: [PATCH 010/198] drm/amd/display: Remove migrate_en/dis from
Subject: [PATCH 010/196] drm/amd/display: Remove migrate_en/dis from
dc_fpu_begin().
This is a revert of the commit mentioned below while it is not wrong, as
@ -87,5 +87,5 @@ index 172aa10a8800..86f4c0e04654 100644
if (cpu_has_feature(CPU_FTR_VSX_COMP)) {
disable_kernel_vsx();
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From fcb8291bf9d00b262c0d719c4fd11099b5e2407e Mon Sep 17 00:00:00 2001
From 5249a4a63e601d0bcb87908ce51dc0b62f6623d4 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:13 +0200
Subject: [PATCH 011/198] drm/amd/display: Simplify the per-CPU usage.
Subject: [PATCH 011/196] drm/amd/display: Simplify the per-CPU usage.
The fpu_recursion_depth counter is used to ensure that dc_fpu_begin()
can be invoked multiple times while the FPU-disable function itself is
@ -128,5 +128,5 @@ index 86f4c0e04654..8bd5926b47e0 100644
+ preempt_enable();
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From c9e3099dae058e513e74091141f71dfd9e67aefa Mon Sep 17 00:00:00 2001
From fafd90c1efec381f2a8a462e9debebe092a8b048 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:14 +0200
Subject: [PATCH 012/198] drm/amd/display: Add a warning if the FPU is used
Subject: [PATCH 012/196] drm/amd/display: Add a warning if the FPU is used
outside from task context.
Add a warning if the FPU is used from any context other than task
@ -27,5 +27,5 @@ index 8bd5926b47e0..4ae4720535a5 100644
depth = __this_cpu_inc_return(fpu_recursion_depth);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 660089faa4f04d68ff2dbce32b7ccd8532978704 Mon Sep 17 00:00:00 2001
From 247c1f664220f315889e927b71ea7aa7c9bee733 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:15 +0200
Subject: [PATCH 013/198] drm/amd/display: Move the memory allocation out of
Subject: [PATCH 013/196] drm/amd/display: Move the memory allocation out of
dcn21_validate_bandwidth_fp().
dcn21_validate_bandwidth_fp() is invoked while FPU access has been
@ -92,5 +92,5 @@ index c51badf7b68a..a81a0b9e6884 100644
void dcn21_clk_mgr_set_bw_params_wm_table(struct clk_bw_params *bw_params);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a9ce8a34cfe43f0ea168ad2efea0fd0c1fd14a2a Mon Sep 17 00:00:00 2001
From 4e5f84f3f362e463a2f4b3b678e6f14a4c1022b5 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:16 +0200
Subject: [PATCH 014/198] drm/amd/display: Move the memory allocation out of
Subject: [PATCH 014/196] drm/amd/display: Move the memory allocation out of
dcn20_validate_bandwidth_fp().
dcn20_validate_bandwidth_fp() is invoked while FPU access has been
@ -126,5 +126,5 @@ index a81a0b9e6884..b6c34198ddc8 100644
struct pp_smu_wm_range_sets *ranges,
struct _vcs_dpi_soc_bounding_box_st *loaded_bb);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 26b7ede776b83df57ce0ab06a5c545490759070b Mon Sep 17 00:00:00 2001
From 3080305e309931d30a95a7f597fd336d8c18abfc Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 15 Aug 2022 17:29:50 +0200
Subject: [PATCH 015/198] net: Avoid the IPI to free the
Subject: [PATCH 015/196] net: Avoid the IPI to free the
skb_attempt_defer_free() collects a skbs, which was allocated on a
remote CPU, on a per-CPU list. These skbs are either freed on that
@ -105,10 +105,10 @@ index 1f6c8945f2ec..1e8928cd3c75 100644
init_gro_hash(&sd->backlog);
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 60876262b3fb..02e2bab1ed8d 100644
index f0a9ef1aeaa2..682175af439d 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -6852,8 +6852,13 @@ nodefer: __kfree_skb(skb);
@@ -6863,8 +6863,13 @@ nodefer: __kfree_skb(skb);
/* Make sure to trigger NET_RX_SOFTIRQ on the remote CPU
* if we are unlucky enough (this seems very unlikely).
*/
@ -124,5 +124,5 @@ index 60876262b3fb..02e2bab1ed8d 100644
static void skb_splice_csum_page(struct sk_buff *skb, struct page *page,
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 98c9c62ae579439b1f83ddbeb9d9cf04842c1b6e Mon Sep 17 00:00:00 2001
From bd995cd727d2224a50948e9b438bfe8047ee1b32 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 7 Aug 2019 18:15:38 +0200
Subject: [PATCH 016/198] x86: Allow to enable RT
Subject: [PATCH 016/196] x86: Allow to enable RT
Allow to select RT.
@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 1 insertion(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4b81e884a614..b9c1a286dddc 100644
index be9248e5cb71..0b9640069679 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -28,6 +28,7 @@ config X86_64
@ -24,5 +24,5 @@ index 4b81e884a614..b9c1a286dddc 100644
select HAVE_ARCH_SOFT_DIRTY
select MODULES_USE_ELF_RELA
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From b474a9ddbb498398c30bc4905b3926eee6f6abed Mon Sep 17 00:00:00 2001
From 07b4a5b59a1e0dc9174bf6c59e2678ddea5643a7 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 7 Nov 2019 17:49:20 +0100
Subject: [PATCH 017/198] x86: Enable RT also on 32bit
Subject: [PATCH 017/196] x86: Enable RT also on 32bit
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
@ -10,7 +10,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index b9c1a286dddc..f774dc9f97f5 100644
index 0b9640069679..282313172756 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -28,7 +28,6 @@ config X86_64
@ -21,7 +21,7 @@ index b9c1a286dddc..f774dc9f97f5 100644
select ARCH_USE_CMPXCHG_LOCKREF
select HAVE_ARCH_SOFT_DIRTY
select MODULES_USE_ELF_RELA
@@ -118,6 +117,7 @@ config X86
@@ -119,6 +118,7 @@ config X86
select ARCH_USES_CFI_TRAPS if X86_64 && CFI_CLANG
select ARCH_SUPPORTS_LTO_CLANG
select ARCH_SUPPORTS_LTO_CLANG_THIN
@ -30,5 +30,5 @@ index b9c1a286dddc..f774dc9f97f5 100644
select ARCH_USE_MEMTEST
select ARCH_USE_QUEUED_RWLOCKS
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From ff02a1bafacf77d91927e5ac7556abfb0f598d34 Mon Sep 17 00:00:00 2001
From db46aebeac180f931ba8691024ee135c07858583 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 1 Aug 2023 17:26:48 +0200
Subject: [PATCH 018/198] sched/rt: Don't try push tasks if there are none.
Subject: [PATCH 018/196] sched/rt: Don't try push tasks if there are none.
I have a RT task X at a high priority and cyclictest on each CPU with
lower priority than X's. If X is active and each CPU wakes their own
@ -59,5 +59,5 @@ index 4ac36eb4cdee..acd1510e8d47 100644
rd->rto_cpu = -1;
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From c5863cc5e1158351c86d38ac26d1d77066869be3 Mon Sep 17 00:00:00 2001
From c7e01a04ed53f115cb3af580ed462135aa6b71b2 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 1 Dec 2021 17:41:09 +0100
Subject: [PATCH 019/198] softirq: Use a dedicated thread for timer wakeups.
Subject: [PATCH 019/196] softirq: Use a dedicated thread for timer wakeups.
A timer/hrtimer softirq is raised in-IRQ context. With threaded
interrupts enabled or on PREEMPT_RT this leads to waking the ksoftirqd
@ -229,5 +229,5 @@ index 63a8ce7177dd..7cad6fe3c035 100644
/*
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 51aa5b4ef3775ca0af1535f4b542b60fce91c8c8 Mon Sep 17 00:00:00 2001
From 7c7aa2fd849aea3a7921810889b8d085bc57eed2 Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <frederic@kernel.org>
Date: Tue, 5 Apr 2022 03:07:51 +0200
Subject: [PATCH 020/198] rcutorture: Also force sched priority to timersd on
Subject: [PATCH 020/196] rcutorture: Also force sched priority to timersd on
boosting test.
ksoftirqd is statically boosted to the priority level right above the
@ -76,5 +76,5 @@ index c29c30106eb8..1277abc94228 100644
static unsigned int local_pending_timers(void)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 0132df07a607045a682de87475561db9920cfca9 Mon Sep 17 00:00:00 2001
From 9d79040c2c1c1f48b290b9cee53e2ad94fe595d3 Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <frederic@kernel.org>
Date: Tue, 5 Apr 2022 03:07:52 +0200
Subject: [PATCH 021/198] tick: Fix timer storm since introduction of timersd
Subject: [PATCH 021/196] tick: Fix timer storm since introduction of timersd
If timers are pending while the tick is reprogrammed on nohz_mode, the
next expiry is not armed to fire now, it is delayed one jiffy forward
@ -111,5 +111,5 @@ index 55cbc49f70d1..1a0ed106b192 100644
static ktime_t tick_nohz_next_event(struct tick_sched *ts, int cpu)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From fbec5e78e9d2283fef8ff7252549bf51a1eaeb5e Mon Sep 17 00:00:00 2001
From 0e32a7eea788ed21fcc70c30fd603fdc76b00ac8 Mon Sep 17 00:00:00 2001
From: Junxiao Chang <junxiao.chang@intel.com>
Date: Mon, 20 Feb 2023 09:12:20 +0100
Subject: [PATCH 022/198] softirq: Wake ktimers thread also in softirq.
Subject: [PATCH 022/196] softirq: Wake ktimers thread also in softirq.
If the hrtimer is raised while a softirq is processed then it does not
wake the corresponding ktimers thread. This is due to the optimisation in the
@ -45,5 +45,5 @@ index a4d359e2c2b5..c2474cc4fa51 100644
tick_irq_exit();
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 39c5469af04f9921f0cb8533346802ea57d7d9ef Mon Sep 17 00:00:00 2001
From 57cccbf81b65507bd497f519ccfa101c32b2754c Mon Sep 17 00:00:00 2001
From: Mike Galbraith <umgwanakikbuti@gmail.com>
Date: Thu, 31 Mar 2016 04:08:28 +0200
Subject: [PATCH 023/198] zram: Replace bit spinlocks with spinlock_t for
Subject: [PATCH 023/196] zram: Replace bit spinlocks with spinlock_t for
PREEMPT_RT.
The bit spinlock disables preemption. The spinlock_t lock becomes a sleeping
@ -98,5 +98,5 @@ index ca7a15bd4845..e64eb607eb45 100644
ktime_t ac_time;
#endif
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 46baab63c3d5465d00a87f9b88c96049b58f9a62 Mon Sep 17 00:00:00 2001
From a622600aa33f630c975961c557bc1b42173a7ff6 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 8 Mar 2023 16:29:38 +0100
Subject: [PATCH 024/198] preempt: Put preempt_enable() within an
Subject: [PATCH 024/196] preempt: Put preempt_enable() within an
instrumentation*() section.
Callers of preempt_enable() can be within an noinstr section leading to:
@ -48,5 +48,5 @@ index 9aa6358a1a16..cd16f0330fba 100644
#define preempt_check_resched() \
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3dac5e9dbebc192a58df61cb7701ae93e24fc653 Mon Sep 17 00:00:00 2001
From 4ae4b72fbf397e10c5dd99e5a16d05738e7731f9 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:37 +0200
Subject: [PATCH 025/198] sched/core: Provide a method to check if a task is
Subject: [PATCH 025/196] sched/core: Provide a method to check if a task is
PI-boosted.
Provide a method to check if a task inherited the priority from another
@ -57,5 +57,5 @@ index d703c5427cf2..c731c53d6bfd 100644
* yield - yield the current processor to other threads.
*
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 397fb739b7dea6e8c472d112720511dad74d6253 Mon Sep 17 00:00:00 2001
From d21a69c84700a97a5acdca48a49c6dab62fa93e6 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:38 +0200
Subject: [PATCH 026/198] softirq: Add function to preempt serving softirqs.
Subject: [PATCH 026/196] softirq: Add function to preempt serving softirqs.
Add a functionality for the softirq handler to preempt its current work
if needed. The softirq core has no particular state. It reads and resets
@ -63,5 +63,5 @@ index c2474cc4fa51..cae0ae2e2b0b 100644
* Invoked from ksoftirqd_run() outside of the interrupt disabled section
* to acquire the per CPU local lock for reentrancy protection.
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3e49fb4989a74e55e5b1829a79f0d68d30b0b956 Mon Sep 17 00:00:00 2001
From d23ffc79747b058efb25071c175fab84a6aef4a0 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:39 +0200
Subject: [PATCH 027/198] time: Allow to preempt after a callback.
Subject: [PATCH 027/196] time: Allow to preempt after a callback.
The TIMER_SOFTIRQ handler invokes timer callbacks of the expired timers.
Before each invocation the timer_base::lock is dropped. The only lock
@ -48,5 +48,5 @@ index 7cad6fe3c035..b3fbe97d1e34 100644
raw_spin_lock_irq(&base->lock);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 75dbd89b7e5564256b898403840f9539d444f2c2 Mon Sep 17 00:00:00 2001
From 6c5fd34375840faafa52dc7fcdd2af0ae03f8dc9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:19 +0206
Subject: [PATCH 028/198] serial: core: Use lock wrappers
Subject: [PATCH 028/196] serial: core: Use lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -94,5 +94,5 @@ index a7d5fa892be2..678409c47b88 100644
#endif /* CONFIG_MAGIC_SYSRQ_SERIAL */
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 6b27426c469aa7fc79fa5a11cde33d61ddb53619 Mon Sep 17 00:00:00 2001
From 6deb325a028322c4a4e7b28cbd3b9ec25f80d6a0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:20 +0206
Subject: [PATCH 029/198] serial: 21285: Use port lock wrappers
Subject: [PATCH 029/196] serial: 21285: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -76,5 +76,5 @@ index d756fcc884cb..4de0c975ebdc 100644
static const char *serial21285_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From d02b1946cdc46642addfbe651d817e86e57100fa Mon Sep 17 00:00:00 2001
From cca56d164cac4c49bcfbfa86cb969ad793e86416 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:21 +0206
Subject: [PATCH 030/198] serial: 8250_aspeed_vuart: Use port lock wrappers
Subject: [PATCH 030/196] serial: 8250_aspeed_vuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -62,5 +62,5 @@ index 4a9e71b2dbbc..021949f252f8 100644
lsr = serial_port_in(port, UART_LSR);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 90d9cb7552d841a19d1d926e51135c8b8c549a98 Mon Sep 17 00:00:00 2001
From 2db644ab7d72fad6b37df65a4851616312692caf Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:22 +0206
Subject: [PATCH 031/198] serial: 8250_bcm7271: Use port lock wrappers
Subject: [PATCH 031/196] serial: 8250_bcm7271: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -152,5 +152,5 @@ index aa5aff046756..ff0662c68725 100644
return 0;
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3094c040b5193510b335425dac817f6420cbd506 Mon Sep 17 00:00:00 2001
From 02148da4732ac5295f4b3285b970becd7b236da9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:23 +0206
Subject: [PATCH 032/198] serial: 8250: Use port lock wrappers
Subject: [PATCH 032/196] serial: 8250: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -468,5 +468,5 @@ index a17803da83f8..cba5a1b1030f 100644
static unsigned int probe_baud(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From b975b09242cda03dfa24bc5859e09dcf0719455e Mon Sep 17 00:00:00 2001
From 18ff09af02da7e776929e679f07d525b9696cf02 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:24 +0206
Subject: [PATCH 033/198] serial: 8250_dma: Use port lock wrappers
Subject: [PATCH 033/196] serial: 8250_dma: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -81,5 +81,5 @@ index 7fa66501792d..8b30ca8fdd3f 100644
int serial8250_tx_dma(struct uart_8250_port *p)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 8062148a5d7d2dc9fc70ae165872f28d378a4bbc Mon Sep 17 00:00:00 2001
From 15d8a9cc288fb357d7e88d18443499acc485a8f3 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:25 +0206
Subject: [PATCH 034/198] serial: 8250_dw: Use port lock wrappers
Subject: [PATCH 034/196] serial: 8250_dw: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -70,5 +70,5 @@ index a1f2259cc9a9..53c284bb271d 100644
if (status & (UART_LSR_DR | UART_LSR_BI)) {
dw8250_writel_ext(p, RZN1_UART_RDMACR, 0);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 387ef2cfac20a43865414aedc210dc3164ca23b0 Mon Sep 17 00:00:00 2001
From fcdc4f7bddd9c1296f49c8ab212556c65541f091 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:26 +0206
Subject: [PATCH 035/198] serial: 8250_exar: Use port lock wrappers
Subject: [PATCH 035/196] serial: 8250_exar: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -53,5 +53,5 @@ index 4d20f3aa280c..342786064590 100644
return serial8250_do_startup(port);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 2ffed8195b499f3c084e339c606e3caedf0734ad Mon Sep 17 00:00:00 2001
From e8d089bbe434c9b15ac5664ff08008dc7e0e3878 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:27 +0206
Subject: [PATCH 036/198] serial: 8250_fsl: Use port lock wrappers
Subject: [PATCH 036/196] serial: 8250_fsl: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -64,5 +64,5 @@ index 6af4e1c1210a..f522eb5026c9 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a6146c1416cf4ac69b8f86a70c567bd9c5f59b37 Mon Sep 17 00:00:00 2001
From c3cdebecf01d8cd7e7421441fa6a6cc29bef4ad0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:28 +0206
Subject: [PATCH 037/198] serial: 8250_mtk: Use port lock wrappers
Subject: [PATCH 037/196] serial: 8250_mtk: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -78,5 +78,5 @@ index 74da5676ce67..23457daae8a1 100644
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a3c3a5aa6741a585fb4bd88a812667d3c8090e59 Mon Sep 17 00:00:00 2001
From f9959f0ba207be470f5be435892eef3ae7ce6f76 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:29 +0206
Subject: [PATCH 038/198] serial: 8250_omap: Use port lock wrappers
Subject: [PATCH 038/196] serial: 8250_omap: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -237,5 +237,5 @@ index 346167afe9e1..db5519ce0192 100644
priv->latency = priv->calc_latency;
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From dcbb92ff385851014ce2adf8fc88f539bab834da Mon Sep 17 00:00:00 2001
From 4ebaf505e5fbbb2afb5bd4f5f48adb577fb39315 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:30 +0206
Subject: [PATCH 039/198] serial: 8250_pci1xxxx: Use port lock wrappers
Subject: [PATCH 039/196] serial: 8250_pci1xxxx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -67,5 +67,5 @@ index a3b25779d921..53e238c8cc89 100644
mutex_unlock(&tport->mutex);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 2e16f769f7b52fd39a09514d755ddacf44fcda84 Mon Sep 17 00:00:00 2001
From 6fbcb9f97af265fa1c92e1f95ef0530bb0a5f204 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:31 +0206
Subject: [PATCH 040/198] serial: altera_jtaguart: Use port lock wrappers
Subject: [PATCH 040/196] serial: altera_jtaguart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -134,5 +134,5 @@ index 5fab4c978891..7090b251dd4d 100644
#endif
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From e5557701fa9a5373b8f6b511dbd3fbf3ac51534a Mon Sep 17 00:00:00 2001
From 112dc89a8aea09edaed7b3226b5be6a9b8242141 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:32 +0206
Subject: [PATCH 041/198] serial: altera_uart: Use port lock wrappers
Subject: [PATCH 041/196] serial: altera_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -117,5 +117,5 @@ index a9c41942190c..77835ac68df2 100644
if (port->irq)
free_irq(port->irq, port);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a575d78c4d0b45758ae1969dc75a4a49e2da6cf0 Mon Sep 17 00:00:00 2001
From d8f628e5aa4ab5114ef77d8506c3bdfd6f7e8b5d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:33 +0206
Subject: [PATCH 042/198] serial: amba-pl010: Use port lock wrappers
Subject: [PATCH 042/196] serial: amba-pl010: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -113,5 +113,5 @@ index b5a7404cbacb..eabbf8afc9b5 100644
}
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From d9b7b888b11585d0af93ed044d8fdf2fa19db277 Mon Sep 17 00:00:00 2001
From 7ee23cef36f815349c95b29497c35bda97eba2c4 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:34 +0206
Subject: [PATCH 043/198] serial: amba-pl011: Use port lock wrappers
Subject: [PATCH 043/196] serial: amba-pl011: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -328,5 +328,5 @@ index 362bbcdece0d..16c770311069 100644
clk_disable(uap->clk);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From ad2560897d66415d623f218e9a032e7200197264 Mon Sep 17 00:00:00 2001
From c85c7c75c6c5c59ddd219cc1f9230d60cf19d0b9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:35 +0206
Subject: [PATCH 044/198] serial: apb: Use port lock wrappers
Subject: [PATCH 044/196] serial: apb: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -77,5 +77,5 @@ index d3cb341f2c55..364599f256db 100644
static const char *apbuart_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From c7e0556406938d6434991aeff87e85124c0c5a16 Mon Sep 17 00:00:00 2001
From 19f8ba43023ff2ba22f8d92d71bd1ac7705ee6cf Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:36 +0206
Subject: [PATCH 045/198] serial: ar933x: Use port lock wrappers
Subject: [PATCH 045/196] serial: ar933x: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -145,5 +145,5 @@ index 924c1a89347c..ffd234673177 100644
local_irq_restore(flags);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 5a0e18332bea1b6453bd4e806c6504138127371d Mon Sep 17 00:00:00 2001
From 0cd89f0ef7ea21aa9769ef5a405ec8c142685c7b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:37 +0206
Subject: [PATCH 046/198] serial: arc_uart: Use port lock wrappers
Subject: [PATCH 046/196] serial: arc_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -98,5 +98,5 @@ index ad4ae19b6ce3..1aa5b2b49c26 100644
static struct console arc_console = {
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From f84225dbdb7cd9ef908795d44a815b98818b9e43 Mon Sep 17 00:00:00 2001
From c5aed341415af407a29c6a9376b0a960b455f91c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:38 +0206
Subject: [PATCH 047/198] serial: atmel: Use port lock wrappers
Subject: [PATCH 047/196] serial: atmel: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -120,5 +120,5 @@ index 88cdafa5ac54..1946fafc3f3e 100644
}
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 254504b36554b8987691ad1cd81bbb8b798eba0c Mon Sep 17 00:00:00 2001
From fd2f440a4fa98bdd61c5344811a8b3c53de0e2b4 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:39 +0206
Subject: [PATCH 048/198] serial: bcm63xx-uart: Use port lock wrappers
Subject: [PATCH 048/196] serial: bcm63xx-uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -129,5 +129,5 @@ index 0dd8cceb837c..4a08fd5ee61b 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3c86efdaa2738e88dd9e7f55652954a93723e501 Mon Sep 17 00:00:00 2001
From 5428bc92da81ac03fa3530a74ba51e833bbbac01 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:40 +0206
Subject: [PATCH 049/198] serial: cpm_uart: Use port lock wrappers
Subject: [PATCH 049/196] serial: cpm_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -71,5 +71,5 @@ index 626423022d62..be4af6eda4c2 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 7bc5b3a4befaa2219dfd5d7c5c069d563afa0a81 Mon Sep 17 00:00:00 2001
From 64f3446cd9cbba31faf719284c85750b28f22c5d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:41 +0206
Subject: [PATCH 050/198] serial: digicolor: Use port lock wrappers
Subject: [PATCH 050/196] serial: digicolor: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -114,5 +114,5 @@ index 128b5479e813..5004125f3045 100644
/* Wait for transmitter to become empty */
do {
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 0ac36a1ae3846dfd22081abfd17040d1fd8fcaae Mon Sep 17 00:00:00 2001
From e9cac43e4c052afc1b2a76f9e1c6c5f44fbea884 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:42 +0206
Subject: [PATCH 051/198] serial: dz: Use port lock wrappers
Subject: [PATCH 051/196] serial: dz: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -162,5 +162,5 @@ index 667f52e83277..6df7af9edc1c 100644
do {
trdy = dz_in(dport, DZ_CSR);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 1828619da9181f91be6adbe6604899385154c4ce Mon Sep 17 00:00:00 2001
From c4a981074cc232c31fd8a56c5a2665f7321a3320 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:43 +0206
Subject: [PATCH 052/198] serial: linflexuart: Use port lock wrappers
Subject: [PATCH 052/196] serial: linflexuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -144,5 +144,5 @@ index 249cb380c3c6..7fa809a405e8 100644
/*
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From ddae91de984cb3f971fb7456e94c9fc295a49bbb Mon Sep 17 00:00:00 2001
From 2e2106c3ad0310075bb39b7480ef99896684d657 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:44 +0206
Subject: [PATCH 053/198] serial: fsl_lpuart: Use port lock wrappers
Subject: [PATCH 053/196] serial: fsl_lpuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -390,5 +390,5 @@ index 385b41275e8b..71d0cbd74807 100644
dmaengine_terminate_sync(sport->dma_tx_chan);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 202602b9b6e46d9c37567e23999aac958fd162a8 Mon Sep 17 00:00:00 2001
From 828b820890ade060806490d0273c0dcffa63cc9b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:45 +0206
Subject: [PATCH 054/198] serial: icom: Use port lock wrappers
Subject: [PATCH 054/196] serial: icom: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -152,5 +152,5 @@ index 819f957b6b84..a75eafbcbea3 100644
static const char *icom_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 63366d15914d5b5eb32438f1b7a5fc8be59e0dd9 Mon Sep 17 00:00:00 2001
From 4f36fa6b8c6cbaa11a181bfb618fd76a1761223b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:46 +0206
Subject: [PATCH 055/198] serial: imx: Use port lock wrappers
Subject: [PATCH 055/196] serial: imx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -355,5 +355,5 @@ index c77831e91ec2..66420a992539 100644
static void imx_uart_enable_wakeup(struct imx_port *sport, bool on)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 4c21b6f6ec1d1d44387e05e35d0e32e435421ca6 Mon Sep 17 00:00:00 2001
From 228135349ab2ea8fa33100caf52ff52932c2c94a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:47 +0206
Subject: [PATCH 056/198] serial: ip22zilog: Use port lock wrappers
Subject: [PATCH 056/196] serial: ip22zilog: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -186,5 +186,5 @@ index 845ff706bc59..320b29cd4683 100644
if (options)
uart_parse_options(options, &baud, &parity, &bits, &flow);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 9d49519691d85841c7bbec5a1b5420d8bb5c2aab Mon Sep 17 00:00:00 2001
From e545c49e2e642484da7b702385855351b2351656 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:48 +0206
Subject: [PATCH 057/198] serial: jsm: Use port lock wrappers
Subject: [PATCH 057/196] serial: jsm: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -127,5 +127,5 @@ index 222afc270c88..ce0fef7e2c66 100644
static const char *jsm_tty_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 792390c8e24a3be75621990da07994b349ed81bf Mon Sep 17 00:00:00 2001
From 34a07947702adc2a04e67a62a8524918a41741d2 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:49 +0206
Subject: [PATCH 058/198] serial: liteuart: Use port lock wrappers
Subject: [PATCH 058/196] serial: liteuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -111,5 +111,5 @@ index d881cdd2a58f..a25ab1efe38f 100644
static int liteuart_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 4745341be24af5281b708ec6b7c62d92eadf43e8 Mon Sep 17 00:00:00 2001
From d0705514f666cc1f94f6e14d6e90da9e292ce300 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:50 +0206
Subject: [PATCH 059/198] serial: lpc32xx_hs: Use port lock wrappers
Subject: [PATCH 059/196] serial: lpc32xx_hs: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -149,5 +149,5 @@ index b38fe4728c26..5149a947b7fe 100644
/* Don't rewrite B0 */
if (tty_termios_baud_rate(termios))
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From df848f9ebfac6dd30358fbdc179b911a60c0ec5b Mon Sep 17 00:00:00 2001
From e453078fee203a5b4b42d8a09d914275e860a130 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:51 +0206
Subject: [PATCH 060/198] serial: ma35d1: Use port lock wrappers
Subject: [PATCH 060/196] serial: ma35d1: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -118,5 +118,5 @@ index 69da24565b99..73910c54d6be 100644
static int __init ma35d1serial_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 06baf2767bd53167bc4c02da5971c98e12c13397 Mon Sep 17 00:00:00 2001
From 27398ce8a64a6543cd10239422009eb3fbfe822c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:52 +0206
Subject: [PATCH 061/198] serial: mcf: Use port lock wrappers
Subject: [PATCH 061/196] serial: mcf: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -128,5 +128,5 @@ index 1666ce012e5e..91b15243f6c6 100644
return ret;
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 796bb19b5478aa51ebb6ac0fdc39186d59759b27 Mon Sep 17 00:00:00 2001
From 7b8486ccc60f05c6e2b718fa56672c824870f049 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:53 +0206
Subject: [PATCH 062/198] serial: men_z135_uart: Use port lock wrappers
Subject: [PATCH 062/196] serial: men_z135_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -77,5 +77,5 @@ index d2502aaa3e8c..8048fa542fc4 100644
static const char *men_z135_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 7b6095010a23aa78ad87b589ff39473ad892011a Mon Sep 17 00:00:00 2001
From 1edad7f70bc76dd3ef5d83cbee48b4e54fbc4910 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:54 +0206
Subject: [PATCH 063/198] serial: meson: Use port lock wrappers
Subject: [PATCH 063/196] serial: meson: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -169,5 +169,5 @@ index 9388b9ddea3b..4c1d2089a0bb 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From e457979d570981b53b0b85d59f0a6bb2cbe3853b Mon Sep 17 00:00:00 2001
From 1bab933f782b64598058a9f33fd517fef8d39761 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:55 +0206
Subject: [PATCH 064/198] serial: milbeaut_usio: Use port lock wrappers
Subject: [PATCH 064/196] serial: milbeaut_usio: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -102,5 +102,5 @@ index 70a910085e93..db3b81f2aa57 100644
static const char *mlb_usio_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 20988af9eed091714c307e7a6d080cf51ef874b1 Mon Sep 17 00:00:00 2001
From b2d881323fc941835a59fcb7b04229063ed038e0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:56 +0206
Subject: [PATCH 065/198] serial: mpc52xx: Use port lock wrappers
Subject: [PATCH 065/196] serial: mpc52xx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -90,5 +90,5 @@ index 916507b8f31d..a252465e745f 100644
return ret;
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From f3a08238f90b3ada6988a984fa2fade2bf26f007 Mon Sep 17 00:00:00 2001
From c14a3600c3dd52147c1a57aa143ec9990b574e9a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:57 +0206
Subject: [PATCH 066/198] serial: mps2-uart: Use port lock wrappers
Subject: [PATCH 066/196] serial: mps2-uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -104,5 +104,5 @@ index ea5a7911cb15..2a4c09f3a834 100644
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 9b9a28a033ae863d23d071bba13f6c34d154e3bb Mon Sep 17 00:00:00 2001
From e3a5c39a1a636317789826af30b17b6246765ead Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:58 +0206
Subject: [PATCH 067/198] serial: msm: Use port lock wrappers
Subject: [PATCH 067/196] serial: msm: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -186,5 +186,5 @@ index 90953e679e38..597264b546fd 100644
local_irq_restore(flags);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 2afc44181b5734d06a4719ac7d4b12264dce9deb Mon Sep 17 00:00:00 2001
From 5a1d9e8fd848e7897e845f875a9e3ea452ee7bd6 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:59 +0206
Subject: [PATCH 068/198] serial: mvebu-uart: Use port lock wrappers
Subject: [PATCH 068/196] serial: mvebu-uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -109,5 +109,5 @@ index ea924e9b913b..0255646bc175 100644
static int mvebu_uart_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From c6aeabe6504b5812d8063d40f9c34010a160fef0 Mon Sep 17 00:00:00 2001
From 0ab202f454a3d83a598711bf7799e6765d40f155 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:00 +0206
Subject: [PATCH 069/198] serial: omap: Use port lock wrappers
Subject: [PATCH 069/196] serial: omap: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -181,5 +181,5 @@ index 135a838f517a..f4c6ff806465 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From aed618ec8041d94adf724a33348ac7f6ed5d2f52 Mon Sep 17 00:00:00 2001
From bfaaddbadbff583fdc536e3fe6ed4c744ec580dd Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:01 +0206
Subject: [PATCH 070/198] serial: owl: Use port lock wrappers
Subject: [PATCH 070/196] serial: owl: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -148,5 +148,5 @@ index e99970a9437f..919f5e5aa0f1 100644
local_irq_restore(flags);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 6052105716d7de512abe91f59e0bcbfb1d3e5978 Mon Sep 17 00:00:00 2001
From 7e9f1690bf3dd4a42b27d94951a42fa85a95fc5a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:02 +0206
Subject: [PATCH 071/198] serial: pch: Use port lock wrappers
Subject: [PATCH 071/196] serial: pch: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -81,5 +81,5 @@ index cc83b772b7ca..436cc6d52a11 100644
spin_unlock(&priv->lock);
local_irq_restore(flags);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a3e16abc02be270ef158758fb129e8be54e40577 Mon Sep 17 00:00:00 2001
From 8ff603444ac36cb84658125b311387497a651259 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:03 +0206
Subject: [PATCH 072/198] serial: pic32: Use port lock wrappers
Subject: [PATCH 072/196] serial: pic32: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -119,5 +119,5 @@ index e308d5022b3f..3a95bf5d55d3 100644
/* serial core request to claim uart iomem */
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 8b2afd65acea3ba83a71dde9d62262f9242a5dd7 Mon Sep 17 00:00:00 2001
From 8c95c6f02e0582acd5dc7d5742b845f1a04aa53f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:04 +0206
Subject: [PATCH 073/198] serial: pmac_zilog: Use port lock wrappers
Subject: [PATCH 073/196] serial: pmac_zilog: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -37,10 +37,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c
index 13668ffdb1e7..c8bf08c19c64 100644
index 29bc80d39e8b..77691fbbf779 100644
--- a/drivers/tty/serial/pmac_zilog.c
+++ b/drivers/tty/serial/pmac_zilog.c
@@ -246,9 +246,9 @@ static bool pmz_receive_chars(struct uart_pmac_port *uap)
@@ -245,9 +245,9 @@ static bool pmz_receive_chars(struct uart_pmac_port *uap)
#endif /* USE_CTRL_O_SYSRQ */
if (uap->port.sysrq) {
int swallow;
@ -52,7 +52,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
if (swallow)
goto next_char;
}
@@ -435,7 +435,7 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
@@ -421,7 +421,7 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
uap_a = pmz_get_port_A(uap);
uap_b = uap_a->mate;
@ -61,7 +61,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
r3 = read_zsreg(uap_a, R3);
/* Channel A */
@@ -456,14 +456,14 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
@@ -442,14 +442,14 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
rc = IRQ_HANDLED;
}
skip_a:
@ -78,7 +78,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
push = false;
if (r3 & (CHBEXT | CHBTxIP | CHBRxIP)) {
if (!ZS_IS_OPEN(uap_b)) {
@@ -481,7 +481,7 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
@@ -467,7 +467,7 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id)
rc = IRQ_HANDLED;
}
skip_b:
@ -87,7 +87,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
if (push)
tty_flip_buffer_push(&uap->port.state->port);
@@ -497,9 +497,9 @@ static inline u8 pmz_peek_status(struct uart_pmac_port *uap)
@@ -483,9 +483,9 @@ static inline u8 pmz_peek_status(struct uart_pmac_port *uap)
unsigned long flags;
u8 status;
@ -99,7 +99,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
return status;
}
@@ -685,7 +685,7 @@ static void pmz_break_ctl(struct uart_port *port, int break_state)
@@ -671,7 +671,7 @@ static void pmz_break_ctl(struct uart_port *port, int break_state)
else
clear_bits |= SND_BRK;
@ -108,7 +108,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits;
if (new_reg != uap->curregs[R5]) {
@@ -693,7 +693,7 @@ static void pmz_break_ctl(struct uart_port *port, int break_state)
@@ -679,7 +679,7 @@ static void pmz_break_ctl(struct uart_port *port, int break_state)
write_zsreg(uap, R5, uap->curregs[R5]);
}
@ -117,7 +117,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
}
#ifdef CONFIG_PPC_PMAC
@@ -865,18 +865,18 @@ static void pmz_irda_reset(struct uart_pmac_port *uap)
@@ -851,18 +851,18 @@ static void pmz_irda_reset(struct uart_pmac_port *uap)
{
unsigned long flags;
@ -140,7 +140,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
msleep(10);
}
@@ -896,9 +896,9 @@ static int pmz_startup(struct uart_port *port)
@@ -882,9 +882,9 @@ static int pmz_startup(struct uart_port *port)
* initialize the chip
*/
if (!ZS_IS_CONS(uap)) {
@ -152,7 +152,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
}
sprintf(uap->irq_name, PMACZILOG_NAME"%d", uap->port.line);
if (request_irq(uap->port.irq, pmz_interrupt, IRQF_SHARED,
@@ -921,9 +921,9 @@ static int pmz_startup(struct uart_port *port)
@@ -907,9 +907,9 @@ static int pmz_startup(struct uart_port *port)
pmz_irda_reset(uap);
/* Enable interrupt requests for the channel */
@ -164,7 +164,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
return 0;
}
@@ -933,7 +933,7 @@ static void pmz_shutdown(struct uart_port *port)
@@ -919,7 +919,7 @@ static void pmz_shutdown(struct uart_port *port)
struct uart_pmac_port *uap = to_pmz(port);
unsigned long flags;
@ -173,7 +173,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
/* Disable interrupt requests for the channel */
pmz_interrupt_control(uap, 0);
@@ -948,19 +948,19 @@ static void pmz_shutdown(struct uart_port *port)
@@ -934,19 +934,19 @@ static void pmz_shutdown(struct uart_port *port)
pmz_maybe_update_regs(uap);
}
@ -196,7 +196,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
}
/* Shared by TTY driver and serial console setup. The port lock is held
@@ -1247,7 +1247,7 @@ static void pmz_set_termios(struct uart_port *port, struct ktermios *termios,
@@ -1233,7 +1233,7 @@ static void pmz_set_termios(struct uart_port *port, struct ktermios *termios,
struct uart_pmac_port *uap = to_pmz(port);
unsigned long flags;
@ -205,7 +205,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
/* Disable IRQs on the port */
pmz_interrupt_control(uap, 0);
@@ -1259,7 +1259,7 @@ static void pmz_set_termios(struct uart_port *port, struct ktermios *termios,
@@ -1245,7 +1245,7 @@ static void pmz_set_termios(struct uart_port *port, struct ktermios *termios,
if (ZS_IS_OPEN(uap))
pmz_interrupt_control(uap, 1);
@ -214,7 +214,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
}
static const char *pmz_type(struct uart_port *port)
@@ -1896,7 +1896,7 @@ static void pmz_console_write(struct console *con, const char *s, unsigned int c
@@ -1882,7 +1882,7 @@ static void pmz_console_write(struct console *con, const char *s, unsigned int c
struct uart_pmac_port *uap = &pmz_ports[con->index];
unsigned long flags;
@ -223,7 +223,7 @@ index 13668ffdb1e7..c8bf08c19c64 100644
/* Turn of interrupts and enable the transmitter. */
write_zsreg(uap, R1, uap->curregs[1] & ~TxINT_ENAB);
@@ -1908,7 +1908,7 @@ static void pmz_console_write(struct console *con, const char *s, unsigned int c
@@ -1894,7 +1894,7 @@ static void pmz_console_write(struct console *con, const char *s, unsigned int c
write_zsreg(uap, R1, uap->curregs[1]);
/* Don't disable the transmitter. */
@ -233,5 +233,5 @@ index 13668ffdb1e7..c8bf08c19c64 100644
/*
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 562160975c4f9073ed4f010cc11718b5134a42fd Mon Sep 17 00:00:00 2001
From 8fdc9a63d87ff3c5b232e900181bf9214dd1b961 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:05 +0206
Subject: [PATCH 074/198] serial: pxa: Use port lock wrappers
Subject: [PATCH 074/196] serial: pxa: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -151,5 +151,5 @@ index 73c60f5ea027..46e70e155aab 100644
clk_disable(up->clk);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 1f68c281021058402d7afdc27d8a3787271ce0c1 Mon Sep 17 00:00:00 2001
From 797f20809e0cf5d124e9455d039f59f1989769cc Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:06 +0206
Subject: [PATCH 075/198] serial: qcom-geni: Use port lock wrappers
Subject: [PATCH 075/196] serial: qcom-geni: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -72,5 +72,5 @@ index 2e1b1c827dfe..549909644011 100644
m_irq_status = readl(uport->membase + SE_GENI_M_IRQ_STATUS);
s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From c1952a62d5c169b632e1a01092ad0360cc16335a Mon Sep 17 00:00:00 2001
From bec076ae9bfb37045b447f79ff00da285ca4282e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:07 +0206
Subject: [PATCH 076/198] serial: rda: Use port lock wrappers
Subject: [PATCH 076/196] serial: rda: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -178,5 +178,5 @@ index be5c842b5ba9..d824c8318f33 100644
local_irq_restore(flags);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 8437e789125eee68ce6dfa6f9416112aca4d0886 Mon Sep 17 00:00:00 2001
From 1c41be64f53557ffc322939b84583528f2eaa48b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:08 +0206
Subject: [PATCH 077/198] serial: rp2: Use port lock wrappers
Subject: [PATCH 077/196] serial: rp2: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -115,5 +115,5 @@ index de220ac8ca54..d46a81cddfcd 100644
static const char *rp2_uart_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 6845a4152e1754bf40372d61bbf7c2398e3f4399 Mon Sep 17 00:00:00 2001
From 1be172160f21847df23f6b6de47a17bc21c4e4ab Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:09 +0206
Subject: [PATCH 078/198] serial: sa1100: Use port lock wrappers
Subject: [PATCH 078/196] serial: sa1100: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -118,5 +118,5 @@ index ad011f1e2f4d..be7bcd75d9f4 100644
static const char *sa1100_type(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 9372712a3d7f5dd1ce1fdee77c5bbdfbbb4b01bf Mon Sep 17 00:00:00 2001
From 19fce9567f035d97964d26ec6f75987db8cc09c8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:10 +0206
Subject: [PATCH 079/198] serial: samsung_tty: Use port lock wrappers
Subject: [PATCH 079/196] serial: samsung_tty: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -246,5 +246,5 @@ index 5a4d88e13471..a82b65155f6e 100644
/* Shouldn't be __init, as it can be instantiated from other module */
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From a9a1289498cb842a55d57ede4ff1b2bd96b7a1b9 Mon Sep 17 00:00:00 2001
From e678498df469db89f4ab187fc8adabcf3eb37d12 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:11 +0206
Subject: [PATCH 080/198] serial: sb1250-duart: Use port lock wrappers
Subject: [PATCH 080/196] serial: sb1250-duart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -86,5 +86,5 @@ index f3cd69346482..dbec29d9a6c3 100644
static int __init sbd_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From d303da34308c0d86ec48943f96a9f66d8e039e68 Mon Sep 17 00:00:00 2001
From 03d8f5cb73c37e6fc29a5edde7d64923fdb99921 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:12 +0206
Subject: [PATCH 081/198] serial: sc16is7xx: Use port lock wrappers
Subject: [PATCH 081/196] serial: sc16is7xx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -60,5 +60,5 @@ index f75b8bceb8ca..2d7470457af4 100644
static void sc16is7xx_reconf_rs485(struct uart_port *port)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 66442db9d3a607c2bdfd84ed1a331813f2dd026a Mon Sep 17 00:00:00 2001
From eff9dad159fcc1615e9fe23d932174f224aa484c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:13 +0206
Subject: [PATCH 082/198] serial: tegra: Use port lock wrappers
Subject: [PATCH 082/196] serial: tegra: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -177,5 +177,5 @@ index d4ec943cb8e9..6d4006b41975 100644
static const char *tegra_uart_type(struct uart_port *u)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 1d1af26137b4e240e05f8da2a093bb74708411af Mon Sep 17 00:00:00 2001
From 6f61eb0c15964cb8a36dddebdc2c6a2b95f72faa Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:14 +0206
Subject: [PATCH 083/198] serial: core: Use port lock wrappers
Subject: [PATCH 083/196] serial: core: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 4c81210ad9b3..fc59ba702752 100644
index 2eceef54e0b3..6cd64ccc2035 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -79,7 +79,7 @@ static inline void uart_port_deref(struct uart_port *uport)
@ -92,7 +92,7 @@ index 4c81210ad9b3..fc59ba702752 100644
}
/*
@@ -702,11 +702,11 @@ static void uart_send_xchar(struct tty_struct *tty, char ch)
@@ -715,11 +715,11 @@ static void uart_send_xchar(struct tty_struct *tty, char ch)
if (port->ops->send_xchar)
port->ops->send_xchar(port, ch);
else {
@ -106,7 +106,7 @@ index 4c81210ad9b3..fc59ba702752 100644
}
uart_port_deref(port);
}
@@ -1085,9 +1085,9 @@ static int uart_tiocmget(struct tty_struct *tty)
@@ -1098,9 +1098,9 @@ static int uart_tiocmget(struct tty_struct *tty)
if (!tty_io_error(tty)) {
result = uport->mctrl;
@ -118,7 +118,7 @@ index 4c81210ad9b3..fc59ba702752 100644
}
out:
mutex_unlock(&port->mutex);
@@ -1223,16 +1223,16 @@ static int uart_wait_modem_status(struct uart_state *state, unsigned long arg)
@@ -1236,16 +1236,16 @@ static int uart_wait_modem_status(struct uart_state *state, unsigned long arg)
uport = uart_port_ref(state);
if (!uport)
return -EIO;
@ -139,7 +139,7 @@ index 4c81210ad9b3..fc59ba702752 100644
set_current_state(TASK_INTERRUPTIBLE);
@@ -1277,9 +1277,9 @@ static int uart_get_icount(struct tty_struct *tty,
@@ -1290,9 +1290,9 @@ static int uart_get_icount(struct tty_struct *tty,
uport = uart_port_ref(state);
if (!uport)
return -EIO;
@ -151,7 +151,7 @@ index 4c81210ad9b3..fc59ba702752 100644
uart_port_deref(uport);
icount->cts = cnow.cts;
@@ -1432,9 +1432,9 @@ static int uart_rs485_config(struct uart_port *port)
@@ -1445,9 +1445,9 @@ static int uart_rs485_config(struct uart_port *port)
uart_set_rs485_termination(port, rs485);
uart_set_rs485_rx_during_tx(port, rs485);
@ -163,7 +163,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (ret) {
memset(rs485, 0, sizeof(*rs485));
/* unset GPIOs */
@@ -1451,9 +1451,9 @@ static int uart_get_rs485_config(struct uart_port *port,
@@ -1464,9 +1464,9 @@ static int uart_get_rs485_config(struct uart_port *port,
unsigned long flags;
struct serial_rs485 aux;
@ -175,7 +175,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (copy_to_user(rs485, &aux, sizeof(aux)))
return -EFAULT;
@@ -1481,7 +1481,7 @@ static int uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port,
@@ -1494,7 +1494,7 @@ static int uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port,
uart_set_rs485_termination(port, &rs485);
uart_set_rs485_rx_during_tx(port, &rs485);
@ -184,7 +184,7 @@ index 4c81210ad9b3..fc59ba702752 100644
ret = port->rs485_config(port, &tty->termios, &rs485);
if (!ret) {
port->rs485 = rs485;
@@ -1490,7 +1490,7 @@ static int uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port,
@@ -1503,7 +1503,7 @@ static int uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port,
if (!(rs485.flags & SER_RS485_ENABLED))
port->ops->set_mctrl(port, port->mctrl);
}
@ -193,7 +193,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (ret) {
/* restore old GPIO settings */
gpiod_set_value_cansleep(port->rs485_term_gpio,
@@ -1515,9 +1515,9 @@ static int uart_get_iso7816_config(struct uart_port *port,
@@ -1528,9 +1528,9 @@ static int uart_get_iso7816_config(struct uart_port *port,
if (!port->iso7816_config)
return -ENOTTY;
@ -205,7 +205,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (copy_to_user(iso7816, &aux, sizeof(aux)))
return -EFAULT;
@@ -1546,9 +1546,9 @@ static int uart_set_iso7816_config(struct uart_port *port,
@@ -1559,9 +1559,9 @@ static int uart_set_iso7816_config(struct uart_port *port,
if (iso7816.reserved[i])
return -EINVAL;
@ -217,7 +217,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (ret)
return ret;
@@ -1765,9 +1765,9 @@ static void uart_tty_port_shutdown(struct tty_port *port)
@@ -1778,9 +1778,9 @@ static void uart_tty_port_shutdown(struct tty_port *port)
if (WARN(!uport, "detached port still initialized!\n"))
return;
@ -227,14 +227,15 @@ index 4c81210ad9b3..fc59ba702752 100644
- spin_unlock_irq(&uport->lock);
+ uart_port_unlock_irq(uport);
serial_base_port_shutdown(uport);
uart_port_shutdown(port);
@@ -1781,10 +1781,10 @@ static void uart_tty_port_shutdown(struct tty_port *port)
@@ -1795,11 +1795,11 @@ static void uart_tty_port_shutdown(struct tty_port *port)
/*
* Free the transmit buffer.
*/
- spin_lock_irq(&uport->lock);
+ uart_port_lock_irq(uport);
uart_circ_clear(&state->xmit);
buf = state->xmit.buf;
state->xmit.buf = NULL;
- spin_unlock_irq(&uport->lock);
@ -242,7 +243,7 @@ index 4c81210ad9b3..fc59ba702752 100644
free_page((unsigned long)buf);
@@ -1927,10 +1927,10 @@ static bool uart_carrier_raised(struct tty_port *port)
@@ -1942,10 +1942,10 @@ static bool uart_carrier_raised(struct tty_port *port)
*/
if (WARN_ON(!uport))
return true;
@ -255,7 +256,7 @@ index 4c81210ad9b3..fc59ba702752 100644
uart_port_deref(uport);
return mctrl & TIOCM_CAR;
@@ -2047,9 +2047,9 @@ static void uart_line_info(struct seq_file *m, struct uart_driver *drv, int i)
@@ -2062,9 +2062,9 @@ static void uart_line_info(struct seq_file *m, struct uart_driver *drv, int i)
pm_state = state->pm_state;
if (pm_state != UART_PM_STATE_ON)
uart_change_pm(state, UART_PM_STATE_ON);
@ -267,7 +268,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (pm_state != UART_PM_STATE_ON)
uart_change_pm(state, pm_state);
@@ -2388,9 +2388,9 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2403,9 +2403,9 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
*/
if (!console_suspend_enabled && uart_console(uport)) {
if (uport->ops->start_rx) {
@ -279,7 +280,7 @@ index 4c81210ad9b3..fc59ba702752 100644
}
goto unlock;
}
@@ -2405,7 +2405,7 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2420,7 +2420,7 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
tty_port_set_suspended(port, true);
tty_port_set_initialized(port, false);
@ -288,7 +289,7 @@ index 4c81210ad9b3..fc59ba702752 100644
ops->stop_tx(uport);
if (!(uport->rs485.flags & SER_RS485_ENABLED))
ops->set_mctrl(uport, 0);
@@ -2413,7 +2413,7 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2428,7 +2428,7 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
mctrl = uport->mctrl;
uport->mctrl = 0;
ops->stop_rx(uport);
@ -297,7 +298,7 @@ index 4c81210ad9b3..fc59ba702752 100644
/*
* Wait for the transmitter to empty.
@@ -2485,9 +2485,9 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2500,9 +2500,9 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
uart_change_pm(state, UART_PM_STATE_ON);
uport->ops->set_termios(uport, &termios, NULL);
if (!console_suspend_enabled && uport->ops->start_rx) {
@ -309,7 +310,7 @@ index 4c81210ad9b3..fc59ba702752 100644
}
if (console_suspend_enabled)
console_start(uport->cons);
@@ -2498,10 +2498,10 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2513,10 +2513,10 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
int ret;
uart_change_pm(state, UART_PM_STATE_ON);
@ -322,7 +323,7 @@ index 4c81210ad9b3..fc59ba702752 100644
if (console_suspend_enabled || !uart_console(uport)) {
/* Protected by port mutex for now */
struct tty_struct *tty = port->tty;
@@ -2511,11 +2511,11 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
@@ -2526,11 +2526,11 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
if (tty)
uart_change_line_settings(tty, state, NULL);
uart_rs485_config(uport);
@ -336,7 +337,7 @@ index 4c81210ad9b3..fc59ba702752 100644
tty_port_set_initialized(port, true);
} else {
/*
@@ -2627,11 +2627,11 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state,
@@ -2642,11 +2642,11 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state,
* keep the DTR setting that is set in uart_set_options()
* We probably don't need a spinlock around this, but
*/
@ -351,22 +352,26 @@ index 4c81210ad9b3..fc59ba702752 100644
uart_rs485_config(port);
diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c
index 0b3cef3c323b..72b6f4f326e2 100644
index d622a9297f65..7d51e66ec88b 100644
--- a/drivers/tty/serial/serial_port.c
+++ b/drivers/tty/serial/serial_port.c
@@ -35,10 +35,10 @@ static int serial_port_runtime_resume(struct device *dev)
@@ -35,14 +35,14 @@ static int serial_port_runtime_resume(struct device *dev)
goto out;
/* Flush any pending TX for the port */
- spin_lock_irqsave(&port->lock, flags);
+ uart_port_lock_irqsave(port, &flags);
if (!port_dev->tx_enabled)
goto unlock;
if (__serial_port_busy(port))
port->ops->start_tx(port);
unlock:
- spin_unlock_irqrestore(&port->lock, flags);
+ uart_port_unlock_irqrestore(port, flags);
out:
pm_runtime_mark_last_busy(dev);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 6c67e782fccb3ff27f786fe76a440707709ab23b Mon Sep 17 00:00:00 2001
From 23f8714bb0b3ed5c66b6203258b7e44753b22494 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:15 +0206
Subject: [PATCH 084/198] serial: mctrl_gpio: Use port lock wrappers
Subject: [PATCH 084/196] serial: mctrl_gpio: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -59,5 +59,5 @@ index 7d5aaa8d422b..e51ca593ab86 100644
return IRQ_HANDLED;
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 8f48330aefb07e35529c2d31392935c3375d9074 Mon Sep 17 00:00:00 2001
From 49fd397127db89100b4b36d41d078c73064a2e99 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:16 +0206
Subject: [PATCH 085/198] serial: txx9: Use port lock wrappers
Subject: [PATCH 085/196] serial: txx9: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -135,5 +135,5 @@ index be08fb6f749c..eaa980722455 100644
static void
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 00e0ec0aeb7f915808d1772bc479c823de21c2d8 Mon Sep 17 00:00:00 2001
From c51cb1cc8704b0d8ff63e91cbd7a6d4fd2e46743 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:17 +0206
Subject: [PATCH 086/198] serial: sh-sci: Use port lock wrappers
Subject: [PATCH 086/196] serial: sh-sci: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -303,5 +303,5 @@ index a560b729fa3b..84ab434c94ba 100644
static int serial_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 964adde6bb8848877f53d30a33ad1cabba18ee8f Mon Sep 17 00:00:00 2001
From bcdc73beb8560a4df916f430735cb50f5e1a183d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:18 +0206
Subject: [PATCH 087/198] serial: sifive: Use port lock wrappers
Subject: [PATCH 087/196] serial: sifive: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -103,5 +103,5 @@ index d195c5de52e7..b296e57a9dee 100644
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 3b9ed6c95a036b76547ea9a369d0a353fd81b72e Mon Sep 17 00:00:00 2001
From 4b60d142cf08c5470367870165430ee8e904e784 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:19 +0206
Subject: [PATCH 088/198] serial: sprd: Use port lock wrappers
Subject: [PATCH 088/196] serial: sprd: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -163,5 +163,5 @@ index f328fa57231f..f257525f9299 100644
static int sprd_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From e52ba1ff3e44ce867023e6c23c97edfd8dbc3388 Mon Sep 17 00:00:00 2001
From d3da0499339bd417294360e9c9310f6d0bc29672 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:20 +0206
Subject: [PATCH 089/198] serial: st-asc: Use port lock wrappers
Subject: [PATCH 089/196] serial: st-asc: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -111,5 +111,5 @@ index 92b9f6894006..a821f5d76a26 100644
static int asc_console_setup(struct console *co, char *options)
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From acbbd819705ab82602bbf45a18a584abb4d83efc Mon Sep 17 00:00:00 2001
From 62bae6347efa388fc68a191b955c9433e4dc3a6e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:21 +0206
Subject: [PATCH 090/198] serial: stm32: Use port lock wrappers
Subject: [PATCH 090/196] serial: stm32: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index e5f933beb6c0..d8fe1ca75ac4 100644
index 9ef90bb30a47..b963f9ccb070 100644
--- a/drivers/tty/serial/stm32-usart.c
+++ b/drivers/tty/serial/stm32-usart.c
@@ -535,7 +535,7 @@ static void stm32_usart_rx_dma_complete(void *arg)
@ -61,7 +61,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
}
static void stm32_usart_tx_interrupt_enable(struct uart_port *port)
@@ -887,7 +887,7 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
@@ -892,7 +892,7 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
if (!stm32_port->throttled) {
if (((sr & USART_SR_RXNE) && !stm32_usart_rx_dma_started(stm32_port)) ||
((sr & USART_SR_ERR_MASK) && stm32_usart_rx_dma_started(stm32_port))) {
@ -70,7 +70,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
size = stm32_usart_receive_chars(port, false);
uart_unlock_and_check_sysrq(port);
if (size)
@@ -896,14 +896,14 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
@@ -902,15 +902,15 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
}
if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) {
@ -79,6 +79,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
stm32_usart_transmit_chars(port);
- spin_unlock(&port->lock);
+ uart_port_unlock(port);
ret = IRQ_HANDLED;
}
/* Receiver timeout irq for DMA RX */
@ -88,7 +89,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
size = stm32_usart_receive_chars(port, false);
uart_unlock_and_check_sysrq(port);
if (size)
@@ -991,7 +991,7 @@ static void stm32_usart_throttle(struct uart_port *port)
@@ -999,7 +999,7 @@ static void stm32_usart_throttle(struct uart_port *port)
const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs;
unsigned long flags;
@ -97,7 +98,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
/*
* Pause DMA transfer, so the RX data gets queued into the FIFO.
@@ -1004,7 +1004,7 @@ static void stm32_usart_throttle(struct uart_port *port)
@@ -1012,7 +1012,7 @@ static void stm32_usart_throttle(struct uart_port *port)
stm32_usart_clr_bits(port, ofs->cr3, stm32_port->cr3_irq);
stm32_port->throttled = true;
@ -106,7 +107,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
}
/* Unthrottle the remote, the input buffer can now accept data. */
@@ -1014,7 +1014,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
@@ -1022,7 +1022,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs;
unsigned long flags;
@ -115,7 +116,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
stm32_usart_set_bits(port, ofs->cr1, stm32_port->cr1_irq);
if (stm32_port->cr3_irq)
stm32_usart_set_bits(port, ofs->cr3, stm32_port->cr3_irq);
@@ -1028,7 +1028,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
@@ -1036,7 +1036,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
if (stm32_port->rx_ch)
stm32_usart_rx_dma_start_or_resume(port);
@ -124,7 +125,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
}
/* Receive stop */
@@ -1156,7 +1156,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
@@ -1165,7 +1165,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8);
@ -133,7 +134,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
ret = readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr,
isr,
@@ -1347,7 +1347,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
@@ -1356,7 +1356,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
writel_relaxed(cr1, port->membase + ofs->cr1);
stm32_usart_set_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit));
@ -142,7 +143,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
/* Handle modem control interrupts */
if (UART_ENABLE_MS(port, termios->c_cflag))
@@ -1397,9 +1397,9 @@ static void stm32_usart_pm(struct uart_port *port, unsigned int state,
@@ -1406,9 +1406,9 @@ static void stm32_usart_pm(struct uart_port *port, unsigned int state,
pm_runtime_get_sync(port->dev);
break;
case UART_PM_STATE_OFF:
@ -154,7 +155,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
pm_runtime_put_sync(port->dev);
break;
}
@@ -1882,9 +1882,9 @@ static void stm32_usart_console_write(struct console *co, const char *s,
@@ -1891,9 +1891,9 @@ static void stm32_usart_console_write(struct console *co, const char *s,
int locked = 1;
if (oops_in_progress)
@ -166,7 +167,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
/* Save and disable interrupts, enable the transmitter */
old_cr1 = readl_relaxed(port->membase + ofs->cr1);
@@ -1898,7 +1898,7 @@ static void stm32_usart_console_write(struct console *co, const char *s,
@@ -1907,7 +1907,7 @@ static void stm32_usart_console_write(struct console *co, const char *s,
writel_relaxed(old_cr1, port->membase + ofs->cr1);
if (locked)
@ -175,7 +176,7 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
}
static int stm32_usart_console_setup(struct console *co, char *options)
@@ -2033,7 +2033,7 @@ static int __maybe_unused stm32_usart_serial_en_wakeup(struct uart_port *port,
@@ -2042,7 +2042,7 @@ static int __maybe_unused stm32_usart_serial_en_wakeup(struct uart_port *port,
* low-power mode.
*/
if (stm32_port->rx_ch) {
@ -185,5 +186,5 @@ index e5f933beb6c0..d8fe1ca75ac4 100644
if (!stm32_usart_rx_dma_pause(stm32_port))
size += stm32_usart_receive_chars(port, true);
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From ac2136f55b70ee185bab436362a4fdac219baa04 Mon Sep 17 00:00:00 2001
From d3c89bc1efcf59a2977a263219ba612770939508 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:22 +0206
Subject: [PATCH 091/198] serial: sunhv: Use port lock wrappers
Subject: [PATCH 091/196] serial: sunhv: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -150,5 +150,5 @@ index c671d674bce4..5bfc0040f17b 100644
static struct console sunhv_console = {
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 1932ef3f8abb0d8bd225c3a4e1ee829c61fb9fdf Mon Sep 17 00:00:00 2001
From 71bb6e938e8f3b5575787a6e86c609e7ade985fb Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:23 +0206
Subject: [PATCH 092/198] serial: sunplus-uart: Use port lock wrappers
Subject: [PATCH 092/196] serial: sunplus-uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -147,5 +147,5 @@ index 3aacd5eb414c..4251f4e1ba99 100644
local_irq_restore(flags);
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From 278ee5a1d6e11f88fbd8dd7f08a722c3f0a48c6f Mon Sep 17 00:00:00 2001
From 1a78999e5e39fae53bac42f870e5247ec3dac661 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:24 +0206
Subject: [PATCH 093/198] serial: sunsab: Use port lock wrappers
Subject: [PATCH 093/196] serial: sunsab: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -177,5 +177,5 @@ index 40eeaf835bba..6aa51a6f8063 100644
return 0;
}
--
2.44.0
2.45.1

View File

@ -1,7 +1,7 @@
From cd6e22436efc826fa3762bc274700b39a875fddc Mon Sep 17 00:00:00 2001
From b0902b28c8707ce4c7cee3539b8085ceb6efe005 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:25 +0206
Subject: [PATCH 094/198] serial: sunsu: Use port lock wrappers
Subject: [PATCH 094/196] serial: sunsu: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -220,5 +220,5 @@ index 58a4342ad0f9..1e051cc2591c 100644
/*
--
2.44.0
2.45.1

Some files were not shown because too many files have changed in this diff Show More