[All] The big version jump one again

This commit is contained in:
j1nx 2024-04-11 07:47:59 +00:00
parent 77d4578879
commit 4cb0856e6f
208 changed files with 1292 additions and 989 deletions

View File

@ -57,6 +57,9 @@ busybox-menuconfig:
swupdate-menuconfig: swupdate-menuconfig:
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) swupdate-menuconfig $(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) swupdate-menuconfig
uclibc-menuconfig:
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) uclibc-menuconfig
savedefconfig: savedefconfig:
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) savedefconfig $(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) savedefconfig

@ -1 +1 @@
Subproject commit 093b88df32925edd53b9a201ad3ae2a1c1fde26d Subproject commit 2ea8cb5076fa06c656096868b9e18fbd2ff52c70

View File

@ -1,14 +1,14 @@
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Busybox version: 1.36.1 # Busybox version: 1.36.1
# Sat Sep 2 08:34:33 2023 # Fri Mar 29 11:40:35 2024
# #
CONFIG_HAVE_DOT_CONFIG=y CONFIG_HAVE_DOT_CONFIG=y
# #
# Settings # Settings
# #
CONFIG_DESKTOP=y # CONFIG_DESKTOP is not set
# CONFIG_EXTRA_COMPAT is not set # CONFIG_EXTRA_COMPAT is not set
# CONFIG_FEDORA_COMPAT is not set # CONFIG_FEDORA_COMPAT is not set
# CONFIG_INCLUDE_SUSv2 is not set # CONFIG_INCLUDE_SUSv2 is not set
@ -192,9 +192,9 @@ CONFIG_FEATURE_TAR_TO_COMMAND=y
# CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_FEATURE_TAR_SELINUX is not set
CONFIG_UNZIP=y CONFIG_UNZIP=y
CONFIG_FEATURE_UNZIP_CDF=y CONFIG_FEATURE_UNZIP_CDF=y
CONFIG_FEATURE_UNZIP_BZIP2=y # CONFIG_FEATURE_UNZIP_BZIP2 is not set
CONFIG_FEATURE_UNZIP_LZMA=y # CONFIG_FEATURE_UNZIP_LZMA is not set
CONFIG_FEATURE_UNZIP_XZ=y # CONFIG_FEATURE_UNZIP_XZ is not set
# CONFIG_FEATURE_LZMA_FAST is not set # CONFIG_FEATURE_LZMA_FAST is not set
# #
@ -205,7 +205,7 @@ CONFIG_FEATURE_VERBOSE=y
# #
# Common options for date and touch # Common options for date and touch
# #
CONFIG_FEATURE_TIMEZONE=y # CONFIG_FEATURE_TIMEZONE is not set
# #
# Common options for cp and mv # Common options for cp and mv
@ -508,7 +508,7 @@ CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y
# CONFIG_FEATURE_WAIT_FOR_INIT is not set # CONFIG_FEATURE_WAIT_FOR_INIT is not set
# CONFIG_FEATURE_CALL_TELINIT is not set # CONFIG_FEATURE_CALL_TELINIT is not set
CONFIG_TELINIT_PATH="" CONFIG_TELINIT_PATH=""
# CONFIG_INIT is not set CONFIG_INIT=y
# CONFIG_LINUXRC is not set # CONFIG_LINUXRC is not set
# CONFIG_FEATURE_USE_INITTAB is not set # CONFIG_FEATURE_USE_INITTAB is not set
# CONFIG_FEATURE_KILL_REMOVED is not set # CONFIG_FEATURE_KILL_REMOVED is not set
@ -1071,11 +1071,11 @@ CONFIG_FEATURE_PIDOF_OMIT=y
# CONFIG_POWERTOP is not set # CONFIG_POWERTOP is not set
# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set # CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set
CONFIG_PS=y CONFIG_PS=y
# CONFIG_FEATURE_PS_WIDE is not set CONFIG_FEATURE_PS_WIDE=y
# CONFIG_FEATURE_PS_LONG is not set CONFIG_FEATURE_PS_LONG=y
CONFIG_FEATURE_PS_TIME=y # CONFIG_FEATURE_PS_TIME is not set
# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set # CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set
CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y # CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set
# CONFIG_PSTREE is not set # CONFIG_PSTREE is not set
# CONFIG_PWDX is not set # CONFIG_PWDX is not set
# CONFIG_SMEMCAP is not set # CONFIG_SMEMCAP is not set

View File

@ -30,7 +30,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi3" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi3"
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,5e78d297b997dcc7a78ba747a62fb28d0b6a10d8)/linux-5e78d297b997dcc7a78ba747a62fb28d0b6a10d8.tar.gz" BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,37573248884ec252165a246df21642c52573f013)/linux-37573248884ec252165a246df21642c52573f013.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
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_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 BR2_LINUX_KERNEL_LZ4=y
@ -266,7 +266,6 @@ BR2_PACKAGE_RSYSLOG=y
BR2_PACKAGE_SHADOW=y BR2_PACKAGE_SHADOW=y
BR2_PACKAGE_SHADOW_SHADOWGRP=y BR2_PACKAGE_SHADOW_SHADOWGRP=y
BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y
BR2_PACKAGE_SHADOW_UTMPX=y
BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y
BR2_PACKAGE_SWUPDATE=y BR2_PACKAGE_SWUPDATE=y
BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config" BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config"

View File

@ -27,7 +27,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi4" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi4"
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,9e78addad23f9fc66b0c6399d9234e44a89d699a)/linux-9e78addad23f9fc66b0c6399d9234e44a89d699a.tar.gz" BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,37573248884ec252165a246df21642c52573f013)/linux-37573248884ec252165a246df21642c52573f013.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" 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_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 BR2_LINUX_KERNEL_LZ4=y
@ -260,7 +260,6 @@ BR2_PACKAGE_RSYSLOG=y
BR2_PACKAGE_SHADOW=y BR2_PACKAGE_SHADOW=y
BR2_PACKAGE_SHADOW_SHADOWGRP=y BR2_PACKAGE_SHADOW_SHADOWGRP=y
BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y
BR2_PACKAGE_SHADOW_UTMPX=y
BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y
BR2_PACKAGE_SWUPDATE=y BR2_PACKAGE_SWUPDATE=y
BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config" BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config"

View File

@ -29,7 +29,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/pc" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/pc"
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14" BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.25"
BR2_LINUX_KERNEL_DEFCONFIG="x86_64" BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
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/pc/kernel.config" 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/pc/kernel.config"
BR2_LINUX_KERNEL_LZ4=y BR2_LINUX_KERNEL_LZ4=y
@ -280,7 +280,6 @@ BR2_PACKAGE_RSYSLOG=y
BR2_PACKAGE_SHADOW=y BR2_PACKAGE_SHADOW=y
BR2_PACKAGE_SHADOW_SHADOWGRP=y BR2_PACKAGE_SHADOW_SHADOWGRP=y
BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID=y
BR2_PACKAGE_SHADOW_UTMPX=y
BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y BR2_PACKAGE_SHADOW_SUBORDINATE_IDS=y
BR2_PACKAGE_SWUPDATE=y BR2_PACKAGE_SWUPDATE=y
BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config" BR2_PACKAGE_SWUPDATE_CONFIG="$(BR2_EXTERNAL)/swupdate.config"

View File

@ -1,2 +1,2 @@
# Locally computed # Locally computed
sha256 c974fd4a6eeac9ce676827ca617674ee43ad40c98c31e6dd0a878591467ecd69 vocalfusion-fdf7e4efbe3237d68eb0d00388e57b0c891366b3.tar.gz sha256 0eb24e52f975eed46978cbfb2d3660529c8a2ee04eb0ca859dbe1736303ab17f vocalfusion-b56f5c8751918a0a2505b9ae94631d6b72b8e7b0.tar.gz

View File

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
VOCALFUSION_VERSION = fdf7e4efbe3237d68eb0d00388e57b0c891366b3 VOCALFUSION_VERSION = b56f5c8751918a0a2505b9ae94631d6b72b8e7b0
VOCALFUSION_SITE = $(call github,OpenVoiceOS,VocalFusionDriver,$(VOCALFUSION_VERSION)) VOCALFUSION_SITE = $(call github,OpenVoiceOS,VocalFusionDriver,$(VOCALFUSION_VERSION))
VOCALFUSION_MODULE_SUBDIRS = driver VOCALFUSION_MODULE_SUBDIRS = driver

View File

@ -1,7 +1,7 @@
From f75402b89331eb0888900ae15fe7a8ec08564e90 Mon Sep 17 00:00:00 2001 From 75831a0c7ffb6d0882e51932376528634e26c979 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org> From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:48 +0200 Date: Fri, 8 Sep 2023 18:22:48 +0200
Subject: [PATCH 001/196] sched: Constrain locks in sched_submit_work() Subject: [PATCH 001/198] sched: Constrain locks in sched_submit_work()
Even though sched_submit_work() is ran from preemptible context, Even though sched_submit_work() is ran from preemptible context,
it is discouraged to have it use blocking locks due to the recursion it is discouraged to have it use blocking locks due to the recursion
@ -18,7 +18,7 @@ Link: https://lkml.kernel.org/r/20230908162254.999499-2-bigeasy@linutronix.de
1 file changed, 9 insertions(+) 1 file changed, 9 insertions(+)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index a854b71836dd..a9bf40d18cec 100644 index 1f91e2c12731..73949b8a55d2 100644
--- a/kernel/sched/core.c --- a/kernel/sched/core.c
+++ b/kernel/sched/core.c +++ b/kernel/sched/core.c
@@ -6721,11 +6721,18 @@ void __noreturn do_task_dead(void) @@ -6721,11 +6721,18 @@ void __noreturn do_task_dead(void)
@ -50,5 +50,5 @@ index a854b71836dd..a9bf40d18cec 100644
static void sched_update_worker(struct task_struct *tsk) static void sched_update_worker(struct task_struct *tsk)
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From 441d37212b3185e39a4eba30acb9f2aefc8f157a Mon Sep 17 00:00:00 2001 From 1878b10b7153990220aa3a02b8c92e1528701093 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:50 +0200 Date: Fri, 8 Sep 2023 18:22:50 +0200
Subject: [PATCH 003/196] sched: Extract __schedule_loop() Subject: [PATCH 003/198] sched: Extract __schedule_loop()
There are currently two implementations of this basic __schedule() There are currently two implementations of this basic __schedule()
loop, and there is soon to be a third. loop, and there is soon to be a third.
@ -15,7 +15,7 @@ Link: https://lkml.kernel.org/r/20230908162254.999499-4-bigeasy@linutronix.de
1 file changed, 11 insertions(+), 10 deletions(-) 1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index a9bf40d18cec..ed5f5e3f6239 100644 index 73949b8a55d2..4498af52cf47 100644
--- a/kernel/sched/core.c --- a/kernel/sched/core.c
+++ b/kernel/sched/core.c +++ b/kernel/sched/core.c
@@ -6771,16 +6771,21 @@ static void sched_update_worker(struct task_struct *tsk) @@ -6771,16 +6771,21 @@ static void sched_update_worker(struct task_struct *tsk)
@ -59,5 +59,5 @@ index a9bf40d18cec..ed5f5e3f6239 100644
NOKPROBE_SYMBOL(schedule_rtlock); NOKPROBE_SYMBOL(schedule_rtlock);
#endif #endif
-- --
2.43.2 2.44.0

View File

@ -1,7 +1,7 @@
From a8e46d57627a4d965d528b7ba8ed107d500257f6 Mon Sep 17 00:00:00 2001 From d779fa7b0b348557ed9e2f0a3a5a7710e1aa5c89 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org> From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:51 +0200 Date: Fri, 8 Sep 2023 18:22:51 +0200
Subject: [PATCH 004/196] sched: Provide rt_mutex specific scheduler helpers Subject: [PATCH 004/198] sched: Provide rt_mutex specific scheduler helpers
With PREEMPT_RT there is a rt_mutex recursion problem where With PREEMPT_RT there is a rt_mutex recursion problem where
sched_submit_work() can use an rtlock (aka spinlock_t). More sched_submit_work() can use an rtlock (aka spinlock_t). More
@ -72,7 +72,7 @@ index 994c25640e15..b2b9e6eb9683 100644
* Must hold either p->pi_lock or task_rq(p)->lock. * Must hold either p->pi_lock or task_rq(p)->lock.
*/ */
diff --git a/kernel/sched/core.c b/kernel/sched/core.c diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ed5f5e3f6239..90f9124ac027 100644 index 4498af52cf47..d703c5427cf2 100644
--- a/kernel/sched/core.c --- a/kernel/sched/core.c
+++ b/kernel/sched/core.c +++ b/kernel/sched/core.c
@@ -6724,9 +6724,6 @@ static inline void sched_submit_work(struct task_struct *tsk) @@ -6724,9 +6724,6 @@ static inline void sched_submit_work(struct task_struct *tsk)
@ -133,5 +133,5 @@ index ed5f5e3f6239..90f9124ac027 100644
{ {
if (pi_task) if (pi_task)
-- --
2.43.2 2.44.0

View File

@ -1,7 +1,7 @@
From 1516b657591d065dbad2dbcd031a419802536191 Mon Sep 17 00:00:00 2001 From 0655b5650cdb7f54ec9ab9ccf5fcf15136d0bf56 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:52 +0200 Date: Fri, 8 Sep 2023 18:22:52 +0200
Subject: [PATCH 005/196] locking/rtmutex: Use rt_mutex specific scheduler Subject: [PATCH 005/198] locking/rtmutex: Use rt_mutex specific scheduler
helpers helpers
Have rt_mutex use the rt_mutex specific scheduler helpers to avoid 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. * The common functions which get wrapped into the rwlock API.
-- --
2.43.2 2.44.0

View File

@ -1,7 +1,7 @@
From 6e0ef4c9025663e48a28d0f9f37117f7468884b9 Mon Sep 17 00:00:00 2001 From b7040e508fc47a6a766cba8d7f827b521d97dc83 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:53 +0200 Date: Fri, 8 Sep 2023 18:22:53 +0200
Subject: [PATCH 006/196] locking/rtmutex: Add a lockdep assert to catch Subject: [PATCH 006/198] locking/rtmutex: Add a lockdep assert to catch
potential nested blocking potential nested blocking
There used to be a BUG_ON(current->pi_blocked_on) in the lock acquisition 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); rtlock_slowlock(rtm);
} }
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 940963fd380191ddc53a1519e9a43e9f64acff7d Mon Sep 17 00:00:00 2001 From 72f23865ddf0ce1b0a37393e990eaaad3d8d4c1d Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:12 +0200 Date: Thu, 21 Sep 2023 16:15:12 +0200
Subject: [PATCH 010/196] drm/amd/display: Remove migrate_en/dis from Subject: [PATCH 010/198] drm/amd/display: Remove migrate_en/dis from
dc_fpu_begin(). dc_fpu_begin().
This is a revert of the commit mentioned below while it is not wrong, as 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)) { if (cpu_has_feature(CPU_FTR_VSX_COMP)) {
disable_kernel_vsx(); disable_kernel_vsx();
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From 571a36167db85f02eee543494804642690368288 Mon Sep 17 00:00:00 2001 From c9e3099dae058e513e74091141f71dfd9e67aefa Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:14 +0200 Date: Thu, 21 Sep 2023 16:15:14 +0200
Subject: [PATCH 012/196] drm/amd/display: Add a warning if the FPU is used Subject: [PATCH 012/198] drm/amd/display: Add a warning if the FPU is used
outside from task context. outside from task context.
Add a warning if the FPU is used from any context other than task 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); depth = __this_cpu_inc_return(fpu_recursion_depth);
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 1ae5a33601b65a31467bdb074b566d48296b1359 Mon Sep 17 00:00:00 2001 From 26b7ede776b83df57ce0ab06a5c545490759070b Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 15 Aug 2022 17:29:50 +0200 Date: Mon, 15 Aug 2022 17:29:50 +0200
Subject: [PATCH 015/196] net: Avoid the IPI to free the Subject: [PATCH 015/198] net: Avoid the IPI to free the
skb_attempt_defer_free() collects a skbs, which was allocated on a 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 remote CPU, on a per-CPU list. These skbs are either freed on that
@ -40,7 +40,7 @@ index b8e60a20416b..ffa5248a90e2 100644
static inline void input_queue_head_incr(struct softnet_data *sd) static inline void input_queue_head_incr(struct softnet_data *sd)
diff --git a/net/core/dev.c b/net/core/dev.c diff --git a/net/core/dev.c b/net/core/dev.c
index d72a4ff689ca..3c08e3dd115b 100644 index 1f6c8945f2ec..1e8928cd3c75 100644
--- a/net/core/dev.c --- a/net/core/dev.c
+++ b/net/core/dev.c +++ b/net/core/dev.c
@@ -4705,15 +4705,6 @@ static void rps_trigger_softirq(void *data) @@ -4705,15 +4705,6 @@ static void rps_trigger_softirq(void *data)
@ -92,7 +92,7 @@ index d72a4ff689ca..3c08e3dd115b 100644
static int napi_threaded_poll(void *data) static int napi_threaded_poll(void *data)
{ {
struct napi_struct *napi = data; struct napi_struct *napi = data;
@@ -11615,7 +11632,11 @@ static int __init net_dev_init(void) @@ -11618,7 +11635,11 @@ static int __init net_dev_init(void)
INIT_CSD(&sd->csd, rps_trigger_softirq, sd); INIT_CSD(&sd->csd, rps_trigger_softirq, sd);
sd->cpu = i; sd->cpu = i;
#endif #endif
@ -105,10 +105,10 @@ index d72a4ff689ca..3c08e3dd115b 100644
init_gro_hash(&sd->backlog); init_gro_hash(&sd->backlog);
diff --git a/net/core/skbuff.c b/net/core/skbuff.c diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 011d69029112..9a9fbe18bf2f 100644 index 60876262b3fb..02e2bab1ed8d 100644
--- a/net/core/skbuff.c --- a/net/core/skbuff.c
+++ b/net/core/skbuff.c +++ b/net/core/skbuff.c
@@ -6844,8 +6844,13 @@ nodefer: __kfree_skb(skb); @@ -6852,8 +6852,13 @@ nodefer: __kfree_skb(skb);
/* Make sure to trigger NET_RX_SOFTIRQ on the remote CPU /* Make sure to trigger NET_RX_SOFTIRQ on the remote CPU
* if we are unlucky enough (this seems very unlikely). * if we are unlucky enough (this seems very unlikely).
*/ */
@ -124,5 +124,5 @@ index 011d69029112..9a9fbe18bf2f 100644
static void skb_splice_csum_page(struct sk_buff *skb, struct page *page, static void skb_splice_csum_page(struct sk_buff *skb, struct page *page,
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From 06505d443d8b5674ebf4577ce6f372c939a36998 Mon Sep 17 00:00:00 2001 From b474a9ddbb498398c30bc4905b3926eee6f6abed Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 7 Nov 2019 17:49:20 +0100 Date: Thu, 7 Nov 2019 17:49:20 +0100
Subject: [PATCH 017/196] x86: Enable RT also on 32bit Subject: [PATCH 017/198] x86: Enable RT also on 32bit
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@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(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 984068efd48b..1b445e289190 100644 index b9c1a286dddc..f774dc9f97f5 100644
--- a/arch/x86/Kconfig --- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig +++ b/arch/x86/Kconfig
@@ -28,7 +28,6 @@ config X86_64 @@ -28,7 +28,6 @@ config X86_64
@ -30,5 +30,5 @@ index 984068efd48b..1b445e289190 100644
select ARCH_USE_MEMTEST select ARCH_USE_MEMTEST
select ARCH_USE_QUEUED_RWLOCKS select ARCH_USE_QUEUED_RWLOCKS
-- --
2.43.2 2.44.0

View File

@ -1,7 +1,7 @@
From a52edbca61751c78ec7f0a0d386c726f3ed609cd Mon Sep 17 00:00:00 2001 From ff02a1bafacf77d91927e5ac7556abfb0f598d34 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 1 Aug 2023 17:26:48 +0200 Date: Tue, 1 Aug 2023 17:26:48 +0200
Subject: [PATCH 018/196] sched/rt: Don't try push tasks if there are none. Subject: [PATCH 018/198] 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 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 lower priority than X's. If X is active and each CPU wakes their own
@ -42,10 +42,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 4 insertions(+), 1 deletion(-) 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 904dd8534597..563161845e79 100644 index 4ac36eb4cdee..acd1510e8d47 100644
--- a/kernel/sched/rt.c --- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c +++ b/kernel/sched/rt.c
@@ -2249,8 +2249,11 @@ static int rto_next_cpu(struct root_domain *rd) @@ -2253,8 +2253,11 @@ static int rto_next_cpu(struct root_domain *rd)
rd->rto_cpu = cpu; rd->rto_cpu = cpu;
@ -59,5 +59,5 @@ index 904dd8534597..563161845e79 100644
rd->rto_cpu = -1; rd->rto_cpu = -1;
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 258f3ad84b7913d34d1ba886504d32c6035e9062 Mon Sep 17 00:00:00 2001 From 0132df07a607045a682de87475561db9920cfca9 Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <frederic@kernel.org> From: Frederic Weisbecker <frederic@kernel.org>
Date: Tue, 5 Apr 2022 03:07:52 +0200 Date: Tue, 5 Apr 2022 03:07:52 +0200
Subject: [PATCH 021/196] tick: Fix timer storm since introduction of timersd Subject: [PATCH 021/198] tick: Fix timer storm since introduction of timersd
If timers are pending while the tick is reprogrammed on nohz_mode, the 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 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) static ktime_t tick_nohz_next_event(struct tick_sched *ts, int cpu)
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 480a24076ff3f106924b91564cae088f7e04914c Mon Sep 17 00:00:00 2001 From 3dac5e9dbebc192a58df61cb7701ae93e24fc653 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:37 +0200 Date: Fri, 4 Aug 2023 13:30:37 +0200
Subject: [PATCH 025/196] sched/core: Provide a method to check if a task is Subject: [PATCH 025/198] sched/core: Provide a method to check if a task is
PI-boosted. PI-boosted.
Provide a method to check if a task inherited the priority from another Provide a method to check if a task inherited the priority from another
@ -31,7 +31,7 @@ index 67623ffd4a8e..eab173e5d09b 100644
extern void set_user_nice(struct task_struct *p, long nice); extern void set_user_nice(struct task_struct *p, long nice);
extern int task_prio(const struct task_struct *p); extern int task_prio(const struct task_struct *p);
diff --git a/kernel/sched/core.c b/kernel/sched/core.c diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 90f9124ac027..7134598e3284 100644 index d703c5427cf2..c731c53d6bfd 100644
--- a/kernel/sched/core.c --- a/kernel/sched/core.c
+++ b/kernel/sched/core.c +++ b/kernel/sched/core.c
@@ -8923,6 +8923,21 @@ static inline void preempt_dynamic_init(void) { } @@ -8923,6 +8923,21 @@ static inline void preempt_dynamic_init(void) { }
@ -57,5 +57,5 @@ index 90f9124ac027..7134598e3284 100644
* yield - yield the current processor to other threads. * yield - yield the current processor to other threads.
* *
-- --
2.43.2 2.44.0

View File

@ -1,7 +1,7 @@
From ac962468dfe43f7a986b0c1a71a4a824686afe1c Mon Sep 17 00:00:00 2001 From 397fb739b7dea6e8c472d112720511dad74d6253 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:38 +0200 Date: Fri, 4 Aug 2023 13:30:38 +0200
Subject: [PATCH 026/196] softirq: Add function to preempt serving softirqs. Subject: [PATCH 026/198] softirq: Add function to preempt serving softirqs.
Add a functionality for the softirq handler to preempt its current work 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 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 * Invoked from ksoftirqd_run() outside of the interrupt disabled section
* to acquire the per CPU local lock for reentrancy protection. * to acquire the per CPU local lock for reentrancy protection.
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From e20fab51907c073d83831b2810d06305e037bdc1 Mon Sep 17 00:00:00 2001 From 75dbd89b7e5564256b898403840f9539d444f2c2 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:19 +0206 Date: Thu, 14 Sep 2023 20:43:19 +0206
Subject: [PATCH 028/196] serial: core: Use lock wrappers Subject: [PATCH 028/198] serial: core: Use lock wrappers
MIME-Version: 1.0 MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit Content-Transfer-Encoding: 8bit
@ -41,10 +41,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 6 insertions(+), 6 deletions(-) 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 27a26092493a..f43aca7f3b01 100644 index a7d5fa892be2..678409c47b88 100644
--- a/include/linux/serial_core.h --- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h +++ b/include/linux/serial_core.h
@@ -1057,14 +1057,14 @@ static inline void uart_unlock_and_check_sysrq(struct uart_port *port) @@ -1058,14 +1058,14 @@ static inline void uart_unlock_and_check_sysrq(struct uart_port *port)
u8 sysrq_ch; u8 sysrq_ch;
if (!port->has_sysrq) { if (!port->has_sysrq) {
@ -61,7 +61,7 @@ index 27a26092493a..f43aca7f3b01 100644
if (sysrq_ch) if (sysrq_ch)
handle_sysrq(sysrq_ch); handle_sysrq(sysrq_ch);
@@ -1076,14 +1076,14 @@ static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port @@ -1077,14 +1077,14 @@ static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port
u8 sysrq_ch; u8 sysrq_ch;
if (!port->has_sysrq) { if (!port->has_sysrq) {
@ -78,7 +78,7 @@ index 27a26092493a..f43aca7f3b01 100644
if (sysrq_ch) if (sysrq_ch)
handle_sysrq(sysrq_ch); handle_sysrq(sysrq_ch);
@@ -1099,12 +1099,12 @@ static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch) @@ -1100,12 +1100,12 @@ static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch)
} }
static inline void uart_unlock_and_check_sysrq(struct uart_port *port) static inline void uart_unlock_and_check_sysrq(struct uart_port *port)
{ {
@ -94,5 +94,5 @@ index 27a26092493a..f43aca7f3b01 100644
#endif /* CONFIG_MAGIC_SYSRQ_SERIAL */ #endif /* CONFIG_MAGIC_SYSRQ_SERIAL */
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 21397e587ef53d219da3aeac88bcc7cbf474852a Mon Sep 17 00:00:00 2001 From 3094c040b5193510b335425dac817f6420cbd506 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:23 +0206 Date: Thu, 14 Sep 2023 20:43:23 +0206
Subject: [PATCH 032/196] serial: 8250: Use port lock wrappers Subject: [PATCH 032/198] serial: 8250: Use port lock wrappers
MIME-Version: 1.0 MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit Content-Transfer-Encoding: 8bit
@ -90,7 +90,7 @@ index 3449f8790e46..904e319e6b4a 100644
uart_remove_one_port(&serial8250_reg, &uart->port); uart_remove_one_port(&serial8250_reg, &uart->port);
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
index 141627370aab..5b57254ae975 100644 index a17803da83f8..cba5a1b1030f 100644
--- a/drivers/tty/serial/8250/8250_port.c --- a/drivers/tty/serial/8250/8250_port.c
+++ b/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c
@@ -689,7 +689,7 @@ static void serial8250_set_sleep(struct uart_8250_port *p, int sleep) @@ -689,7 +689,7 @@ static void serial8250_set_sleep(struct uart_8250_port *p, int sleep)
@ -177,7 +177,7 @@ index 141627370aab..5b57254ae975 100644
/* /*
* Check if the device is a Fintek F81216A * Check if the device is a Fintek F81216A
@@ -1344,9 +1344,9 @@ static void autoconfig_irq(struct uart_8250_port *up) @@ -1341,9 +1341,9 @@ static void autoconfig_irq(struct uart_8250_port *up)
probe_irq_off(probe_irq_on()); probe_irq_off(probe_irq_on());
save_mcr = serial8250_in_MCR(up); save_mcr = serial8250_in_MCR(up);
/* Synchronize UART_IER access against the console. */ /* Synchronize UART_IER access against the console. */
@ -189,7 +189,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_out_MCR(up, UART_MCR_OUT1 | UART_MCR_OUT2); serial8250_out_MCR(up, UART_MCR_OUT1 | UART_MCR_OUT2);
irqs = probe_irq_on(); irqs = probe_irq_on();
@@ -1359,9 +1359,9 @@ static void autoconfig_irq(struct uart_8250_port *up) @@ -1356,9 +1356,9 @@ static void autoconfig_irq(struct uart_8250_port *up)
UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2); UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2);
} }
/* Synchronize UART_IER access against the console. */ /* Synchronize UART_IER access against the console. */
@ -201,7 +201,7 @@ index 141627370aab..5b57254ae975 100644
serial_in(up, UART_LSR); serial_in(up, UART_LSR);
serial_in(up, UART_RX); serial_in(up, UART_RX);
serial_in(up, UART_IIR); serial_in(up, UART_IIR);
@@ -1372,9 +1372,9 @@ static void autoconfig_irq(struct uart_8250_port *up) @@ -1369,9 +1369,9 @@ static void autoconfig_irq(struct uart_8250_port *up)
serial8250_out_MCR(up, save_mcr); serial8250_out_MCR(up, save_mcr);
/* Synchronize UART_IER access against the console. */ /* Synchronize UART_IER access against the console. */
@ -213,7 +213,7 @@ index 141627370aab..5b57254ae975 100644
if (port->flags & UPF_FOURPORT) if (port->flags & UPF_FOURPORT)
outb_p(save_ICP, ICP); outb_p(save_ICP, ICP);
@@ -1442,13 +1442,13 @@ static enum hrtimer_restart serial8250_em485_handle_stop_tx(struct hrtimer *t) @@ -1436,13 +1436,13 @@ static enum hrtimer_restart serial8250_em485_handle_stop_tx(struct hrtimer *t)
unsigned long flags; unsigned long flags;
serial8250_rpm_get(p); serial8250_rpm_get(p);
@ -229,7 +229,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_rpm_put(p); serial8250_rpm_put(p);
return HRTIMER_NORESTART; return HRTIMER_NORESTART;
@@ -1630,12 +1630,12 @@ static enum hrtimer_restart serial8250_em485_handle_start_tx(struct hrtimer *t) @@ -1624,12 +1624,12 @@ static enum hrtimer_restart serial8250_em485_handle_start_tx(struct hrtimer *t)
struct uart_8250_port *p = em485->port; struct uart_8250_port *p = em485->port;
unsigned long flags; unsigned long flags;
@ -244,7 +244,7 @@ index 141627370aab..5b57254ae975 100644
return HRTIMER_NORESTART; return HRTIMER_NORESTART;
} }
@@ -1918,7 +1918,7 @@ int serial8250_handle_irq(struct uart_port *port, unsigned int iir) @@ -1912,7 +1912,7 @@ int serial8250_handle_irq(struct uart_port *port, unsigned int iir)
if (iir & UART_IIR_NO_INT) if (iir & UART_IIR_NO_INT)
return 0; return 0;
@ -253,7 +253,7 @@ index 141627370aab..5b57254ae975 100644
status = serial_lsr_in(up); status = serial_lsr_in(up);
@@ -1988,9 +1988,9 @@ static int serial8250_tx_threshold_handle_irq(struct uart_port *port) @@ -1982,9 +1982,9 @@ static int serial8250_tx_threshold_handle_irq(struct uart_port *port)
if ((iir & UART_IIR_ID) == UART_IIR_THRI) { if ((iir & UART_IIR_ID) == UART_IIR_THRI) {
struct uart_8250_port *up = up_to_u8250p(port); struct uart_8250_port *up = up_to_u8250p(port);
@ -265,7 +265,7 @@ index 141627370aab..5b57254ae975 100644
} }
iir = serial_port_in(port, UART_IIR); iir = serial_port_in(port, UART_IIR);
@@ -2005,10 +2005,10 @@ static unsigned int serial8250_tx_empty(struct uart_port *port) @@ -1999,10 +1999,10 @@ static unsigned int serial8250_tx_empty(struct uart_port *port)
serial8250_rpm_get(up); serial8250_rpm_get(up);
@ -278,7 +278,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_rpm_put(up); serial8250_rpm_put(up);
@@ -2070,13 +2070,13 @@ static void serial8250_break_ctl(struct uart_port *port, int break_state) @@ -2064,13 +2064,13 @@ static void serial8250_break_ctl(struct uart_port *port, int break_state)
unsigned long flags; unsigned long flags;
serial8250_rpm_get(up); serial8250_rpm_get(up);
@ -294,7 +294,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_rpm_put(up); serial8250_rpm_put(up);
} }
@@ -2211,7 +2211,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2205,7 +2205,7 @@ int serial8250_do_startup(struct uart_port *port)
* *
* Synchronize UART_IER access against the console. * Synchronize UART_IER access against the console.
*/ */
@ -303,7 +303,7 @@ index 141627370aab..5b57254ae975 100644
up->acr = 0; up->acr = 0;
serial_port_out(port, UART_LCR, UART_LCR_CONF_MODE_B); serial_port_out(port, UART_LCR, UART_LCR_CONF_MODE_B);
serial_port_out(port, UART_EFR, UART_EFR_ECB); serial_port_out(port, UART_EFR, UART_EFR_ECB);
@@ -2221,7 +2221,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2215,7 +2215,7 @@ int serial8250_do_startup(struct uart_port *port)
serial_port_out(port, UART_LCR, UART_LCR_CONF_MODE_B); serial_port_out(port, UART_LCR, UART_LCR_CONF_MODE_B);
serial_port_out(port, UART_EFR, UART_EFR_ECB); serial_port_out(port, UART_EFR, UART_EFR_ECB);
serial_port_out(port, UART_LCR, 0); serial_port_out(port, UART_LCR, 0);
@ -312,7 +312,7 @@ index 141627370aab..5b57254ae975 100644
} }
if (port->type == PORT_DA830) { if (port->type == PORT_DA830) {
@@ -2230,10 +2230,10 @@ int serial8250_do_startup(struct uart_port *port) @@ -2224,10 +2224,10 @@ int serial8250_do_startup(struct uart_port *port)
* *
* Synchronize UART_IER access against the console. * Synchronize UART_IER access against the console.
*/ */
@ -325,7 +325,7 @@ index 141627370aab..5b57254ae975 100644
mdelay(10); mdelay(10);
/* Enable Tx, Rx and free run mode */ /* Enable Tx, Rx and free run mode */
@@ -2347,7 +2347,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2341,7 +2341,7 @@ int serial8250_do_startup(struct uart_port *port)
* *
* Synchronize UART_IER access against the console. * Synchronize UART_IER access against the console.
*/ */
@ -334,7 +334,7 @@ index 141627370aab..5b57254ae975 100644
wait_for_xmitr(up, UART_LSR_THRE); wait_for_xmitr(up, UART_LSR_THRE);
serial_port_out_sync(port, UART_IER, UART_IER_THRI); serial_port_out_sync(port, UART_IER, UART_IER_THRI);
@@ -2359,7 +2359,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2353,7 +2353,7 @@ int serial8250_do_startup(struct uart_port *port)
iir = serial_port_in(port, UART_IIR); iir = serial_port_in(port, UART_IIR);
serial_port_out(port, UART_IER, 0); serial_port_out(port, UART_IER, 0);
@ -343,7 +343,7 @@ index 141627370aab..5b57254ae975 100644
if (port->irqflags & IRQF_SHARED) if (port->irqflags & IRQF_SHARED)
enable_irq(port->irq); enable_irq(port->irq);
@@ -2382,7 +2382,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2376,7 +2376,7 @@ int serial8250_do_startup(struct uart_port *port)
*/ */
serial_port_out(port, UART_LCR, UART_LCR_WLEN8); serial_port_out(port, UART_LCR, UART_LCR_WLEN8);
@ -352,7 +352,7 @@ index 141627370aab..5b57254ae975 100644
if (up->port.flags & UPF_FOURPORT) { if (up->port.flags & UPF_FOURPORT) {
if (!up->port.irq) if (!up->port.irq)
up->port.mctrl |= TIOCM_OUT1; up->port.mctrl |= TIOCM_OUT1;
@@ -2428,7 +2428,7 @@ int serial8250_do_startup(struct uart_port *port) @@ -2422,7 +2422,7 @@ int serial8250_do_startup(struct uart_port *port)
} }
dont_test_tx_en: dont_test_tx_en:
@ -361,7 +361,7 @@ index 141627370aab..5b57254ae975 100644
/* /*
* Clear the interrupt registers again for luck, and clear the * Clear the interrupt registers again for luck, and clear the
@@ -2499,17 +2499,17 @@ void serial8250_do_shutdown(struct uart_port *port) @@ -2493,17 +2493,17 @@ void serial8250_do_shutdown(struct uart_port *port)
* *
* Synchronize UART_IER access against the console. * Synchronize UART_IER access against the console.
*/ */
@ -382,7 +382,7 @@ index 141627370aab..5b57254ae975 100644
if (port->flags & UPF_FOURPORT) { if (port->flags & UPF_FOURPORT) {
/* reset interrupts on the AST Fourport board */ /* reset interrupts on the AST Fourport board */
inb((port->iobase & 0xfe0) | 0x1f); inb((port->iobase & 0xfe0) | 0x1f);
@@ -2518,7 +2518,7 @@ void serial8250_do_shutdown(struct uart_port *port) @@ -2512,7 +2512,7 @@ void serial8250_do_shutdown(struct uart_port *port)
port->mctrl &= ~TIOCM_OUT2; port->mctrl &= ~TIOCM_OUT2;
serial8250_set_mctrl(port, port->mctrl); serial8250_set_mctrl(port, port->mctrl);
@ -391,7 +391,7 @@ index 141627370aab..5b57254ae975 100644
/* /*
* Disable break condition and FIFOs * Disable break condition and FIFOs
@@ -2754,14 +2754,14 @@ void serial8250_update_uartclk(struct uart_port *port, unsigned int uartclk) @@ -2748,14 +2748,14 @@ void serial8250_update_uartclk(struct uart_port *port, unsigned int uartclk)
quot = serial8250_get_divisor(port, baud, &frac); quot = serial8250_get_divisor(port, baud, &frac);
serial8250_rpm_get(up); serial8250_rpm_get(up);
@ -408,7 +408,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_rpm_put(up); serial8250_rpm_put(up);
out_unlock: out_unlock:
@@ -2798,7 +2798,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, @@ -2792,7 +2792,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
* Synchronize UART_IER access against the console. * Synchronize UART_IER access against the console.
*/ */
serial8250_rpm_get(up); serial8250_rpm_get(up);
@ -417,7 +417,7 @@ index 141627370aab..5b57254ae975 100644
up->lcr = cval; /* Save computed LCR */ up->lcr = cval; /* Save computed LCR */
@@ -2901,7 +2901,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, @@ -2895,7 +2895,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
serial_port_out(port, UART_FCR, up->fcr); /* set fcr */ serial_port_out(port, UART_FCR, up->fcr); /* set fcr */
} }
serial8250_set_mctrl(port, port->mctrl); serial8250_set_mctrl(port, port->mctrl);
@ -426,7 +426,7 @@ index 141627370aab..5b57254ae975 100644
serial8250_rpm_put(up); serial8250_rpm_put(up);
/* Don't rewrite B0 */ /* Don't rewrite B0 */
@@ -2924,15 +2924,15 @@ void serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios) @@ -2918,15 +2918,15 @@ void serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios)
{ {
if (termios->c_line == N_PPS) { if (termios->c_line == N_PPS) {
port->flags |= UPF_HARDPPS_CD; port->flags |= UPF_HARDPPS_CD;
@ -446,7 +446,7 @@ index 141627370aab..5b57254ae975 100644
} }
} }
} }
@@ -3406,9 +3406,9 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, @@ -3400,9 +3400,9 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s,
touch_nmi_watchdog(); touch_nmi_watchdog();
if (oops_in_progress) if (oops_in_progress)
@ -458,7 +458,7 @@ index 141627370aab..5b57254ae975 100644
/* /*
* First save the IER then disable the interrupts * First save the IER then disable the interrupts
@@ -3478,7 +3478,7 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, @@ -3472,7 +3472,7 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s,
serial8250_modem_status(up); serial8250_modem_status(up);
if (locked) if (locked)
@ -468,5 +468,5 @@ index 141627370aab..5b57254ae975 100644
static unsigned int probe_baud(struct uart_port *port) static unsigned int probe_baud(struct uart_port *port)
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 74a615bca2e2128d4ae9b52795a2e60dcaf9c712 Mon Sep 17 00:00:00 2001 From 387ef2cfac20a43865414aedc210dc3164ca23b0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:26 +0206 Date: Thu, 14 Sep 2023 20:43:26 +0206
Subject: [PATCH 035/196] serial: 8250_exar: Use port lock wrappers Subject: [PATCH 035/198] serial: 8250_exar: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c
index 8385be846840..91cf690b7c71 100644 index 4d20f3aa280c..342786064590 100644
--- a/drivers/tty/serial/8250/8250_exar.c --- a/drivers/tty/serial/8250/8250_exar.c
+++ b/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c
@@ -201,9 +201,9 @@ static int xr17v35x_startup(struct uart_port *port) @@ -201,9 +201,9 @@ static int xr17v35x_startup(struct uart_port *port)
@ -53,5 +53,5 @@ index 8385be846840..91cf690b7c71 100644
return serial8250_do_startup(port); return serial8250_do_startup(port);
} }
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 96c7d649adbd0d1dd0b530112b93dcc2bbf1066f Mon Sep 17 00:00:00 2001 From d9b7b888b11585d0af93ed044d8fdf2fa19db277 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:34 +0206 Date: Thu, 14 Sep 2023 20:43:34 +0206
Subject: [PATCH 043/196] serial: amba-pl011: Use port lock wrappers Subject: [PATCH 043/198] serial: amba-pl011: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 36 insertions(+), 36 deletions(-) 1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index cd3913b933c7..aec67d740e44 100644 index 362bbcdece0d..16c770311069 100644
--- a/drivers/tty/serial/amba-pl011.c --- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c
@@ -347,9 +347,9 @@ static int pl011_fifo_to_tty(struct uart_amba_port *uap) @@ -347,9 +347,9 @@ static int pl011_fifo_to_tty(struct uart_amba_port *uap)
@ -124,7 +124,7 @@ index cd3913b933c7..aec67d740e44 100644
if (uap->using_tx_dma) { if (uap->using_tx_dma) {
/* In theory, this should already be done by pl011_dma_flush_buffer */ /* In theory, this should already be done by pl011_dma_flush_buffer */
@@ -1370,9 +1370,9 @@ static void pl011_throttle_rx(struct uart_port *port) @@ -1400,9 +1400,9 @@ static void pl011_throttle_rx(struct uart_port *port)
{ {
unsigned long flags; unsigned long flags;
@ -136,7 +136,7 @@ index cd3913b933c7..aec67d740e44 100644
} }
static void pl011_enable_ms(struct uart_port *port) static void pl011_enable_ms(struct uart_port *port)
@@ -1390,7 +1390,7 @@ __acquires(&uap->port.lock) @@ -1420,7 +1420,7 @@ __acquires(&uap->port.lock)
{ {
pl011_fifo_to_tty(uap); pl011_fifo_to_tty(uap);
@ -145,7 +145,7 @@ index cd3913b933c7..aec67d740e44 100644
tty_flip_buffer_push(&uap->port.state->port); tty_flip_buffer_push(&uap->port.state->port);
/* /*
* If we were temporarily out of DMA mode for a while, * If we were temporarily out of DMA mode for a while,
@@ -1415,7 +1415,7 @@ __acquires(&uap->port.lock) @@ -1445,7 +1445,7 @@ __acquires(&uap->port.lock)
#endif #endif
} }
} }
@ -328,5 +328,5 @@ index cd3913b933c7..aec67d740e44 100644
clk_disable(uap->clk); clk_disable(uap->clk);
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 46bfa550759cde139a65320e120a534c997d9ac2 Mon Sep 17 00:00:00 2001 From ddae91de984cb3f971fb7456e94c9fc295a49bbb Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:44 +0206 Date: Thu, 14 Sep 2023 20:43:44 +0206
Subject: [PATCH 053/196] serial: fsl_lpuart: Use port lock wrappers Subject: [PATCH 053/198] serial: fsl_lpuart: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 44 insertions(+), 44 deletions(-) 1 file changed, 44 insertions(+), 44 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index f72e1340b47d..6d0cfb2e86b4 100644 index 385b41275e8b..71d0cbd74807 100644
--- a/drivers/tty/serial/fsl_lpuart.c --- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c
@@ -532,9 +532,9 @@ static void lpuart_dma_tx_complete(void *arg) @@ -532,9 +532,9 @@ static void lpuart_dma_tx_complete(void *arg)
@ -288,7 +288,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
sport->port.read_status_mask = 0; sport->port.read_status_mask = 0;
if (termios->c_iflag & INPCK) if (termios->c_iflag & INPCK)
@@ -2359,7 +2359,7 @@ lpuart32_set_termios(struct uart_port *port, struct ktermios *termios, @@ -2362,7 +2362,7 @@ lpuart32_set_termios(struct uart_port *port, struct ktermios *termios,
sport->lpuart_dma_rx_use = false; sport->lpuart_dma_rx_use = false;
} }
@ -297,7 +297,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
} }
static const char *lpuart_type(struct uart_port *port) static const char *lpuart_type(struct uart_port *port)
@@ -2477,9 +2477,9 @@ lpuart_console_write(struct console *co, const char *s, unsigned int count) @@ -2480,9 +2480,9 @@ lpuart_console_write(struct console *co, const char *s, unsigned int count)
int locked = 1; int locked = 1;
if (oops_in_progress) if (oops_in_progress)
@ -309,7 +309,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
/* first save CR2 and then disable interrupts */ /* first save CR2 and then disable interrupts */
cr2 = old_cr2 = readb(sport->port.membase + UARTCR2); cr2 = old_cr2 = readb(sport->port.membase + UARTCR2);
@@ -2495,7 +2495,7 @@ lpuart_console_write(struct console *co, const char *s, unsigned int count) @@ -2498,7 +2498,7 @@ lpuart_console_write(struct console *co, const char *s, unsigned int count)
writeb(old_cr2, sport->port.membase + UARTCR2); writeb(old_cr2, sport->port.membase + UARTCR2);
if (locked) if (locked)
@ -318,7 +318,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
} }
static void static void
@@ -2507,9 +2507,9 @@ lpuart32_console_write(struct console *co, const char *s, unsigned int count) @@ -2510,9 +2510,9 @@ lpuart32_console_write(struct console *co, const char *s, unsigned int count)
int locked = 1; int locked = 1;
if (oops_in_progress) if (oops_in_progress)
@ -330,7 +330,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
/* first save CR2 and then disable interrupts */ /* first save CR2 and then disable interrupts */
cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); cr = old_cr = lpuart32_read(&sport->port, UARTCTRL);
@@ -2525,7 +2525,7 @@ lpuart32_console_write(struct console *co, const char *s, unsigned int count) @@ -2528,7 +2528,7 @@ lpuart32_console_write(struct console *co, const char *s, unsigned int count)
lpuart32_write(&sport->port, old_cr, UARTCTRL); lpuart32_write(&sport->port, old_cr, UARTCTRL);
if (locked) if (locked)
@ -339,7 +339,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
} }
/* /*
@@ -3089,7 +3089,7 @@ static int lpuart_suspend(struct device *dev) @@ -3092,7 +3092,7 @@ static int lpuart_suspend(struct device *dev)
uart_suspend_port(&lpuart_reg, &sport->port); uart_suspend_port(&lpuart_reg, &sport->port);
if (lpuart_uport_is_active(sport)) { if (lpuart_uport_is_active(sport)) {
@ -348,7 +348,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
if (lpuart_is_32(sport)) { if (lpuart_is_32(sport)) {
/* disable Rx/Tx and interrupts */ /* disable Rx/Tx and interrupts */
temp = lpuart32_read(&sport->port, UARTCTRL); temp = lpuart32_read(&sport->port, UARTCTRL);
@@ -3101,7 +3101,7 @@ static int lpuart_suspend(struct device *dev) @@ -3104,7 +3104,7 @@ static int lpuart_suspend(struct device *dev)
temp &= ~(UARTCR2_TE | UARTCR2_TIE | UARTCR2_TCIE); temp &= ~(UARTCR2_TE | UARTCR2_TIE | UARTCR2_TCIE);
writeb(temp, sport->port.membase + UARTCR2); writeb(temp, sport->port.membase + UARTCR2);
} }
@ -357,7 +357,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
if (sport->lpuart_dma_rx_use) { if (sport->lpuart_dma_rx_use) {
/* /*
@@ -3114,7 +3114,7 @@ static int lpuart_suspend(struct device *dev) @@ -3117,7 +3117,7 @@ static int lpuart_suspend(struct device *dev)
lpuart_dma_rx_free(&sport->port); lpuart_dma_rx_free(&sport->port);
/* Disable Rx DMA to use UART port as wakeup source */ /* Disable Rx DMA to use UART port as wakeup source */
@ -366,7 +366,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
if (lpuart_is_32(sport)) { if (lpuart_is_32(sport)) {
temp = lpuart32_read(&sport->port, UARTBAUD); temp = lpuart32_read(&sport->port, UARTBAUD);
lpuart32_write(&sport->port, temp & ~UARTBAUD_RDMAE, lpuart32_write(&sport->port, temp & ~UARTBAUD_RDMAE,
@@ -3123,11 +3123,11 @@ static int lpuart_suspend(struct device *dev) @@ -3126,11 +3126,11 @@ static int lpuart_suspend(struct device *dev)
writeb(readb(sport->port.membase + UARTCR5) & writeb(readb(sport->port.membase + UARTCR5) &
~UARTCR5_RDMAS, sport->port.membase + UARTCR5); ~UARTCR5_RDMAS, sport->port.membase + UARTCR5);
} }
@ -380,7 +380,7 @@ index f72e1340b47d..6d0cfb2e86b4 100644
if (lpuart_is_32(sport)) { if (lpuart_is_32(sport)) {
temp = lpuart32_read(&sport->port, UARTBAUD); temp = lpuart32_read(&sport->port, UARTBAUD);
temp &= ~UARTBAUD_TDMAE; temp &= ~UARTBAUD_TDMAE;
@@ -3137,7 +3137,7 @@ static int lpuart_suspend(struct device *dev) @@ -3140,7 +3140,7 @@ static int lpuart_suspend(struct device *dev)
temp &= ~UARTCR5_TDMAS; temp &= ~UARTCR5_TDMAS;
writeb(temp, sport->port.membase + UARTCR5); writeb(temp, sport->port.membase + UARTCR5);
} }
@ -390,5 +390,5 @@ index f72e1340b47d..6d0cfb2e86b4 100644
dmaengine_terminate_sync(sport->dma_tx_chan); dmaengine_terminate_sync(sport->dma_tx_chan);
} }
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From 07d331feb4488de7831ce3f0b4fbc5a211e74663 Mon Sep 17 00:00:00 2001 From 63366d15914d5b5eb32438f1b7a5fc8be59e0dd9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:46 +0206 Date: Thu, 14 Sep 2023 20:43:46 +0206
Subject: [PATCH 055/196] serial: imx: Use port lock wrappers Subject: [PATCH 055/198] serial: imx: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 42 insertions(+), 42 deletions(-) 1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 2fbb9b597752..54b760d845c0 100644 index c77831e91ec2..66420a992539 100644
--- a/drivers/tty/serial/imx.c --- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c
@@ -575,7 +575,7 @@ static void imx_uart_dma_tx_callback(void *data) @@ -584,7 +584,7 @@ static void imx_uart_dma_tx_callback(void *data)
unsigned long flags; unsigned long flags;
u32 ucr1; u32 ucr1;
@ -49,7 +49,7 @@ index 2fbb9b597752..54b760d845c0 100644
dma_unmap_sg(sport->port.dev, sgl, sport->dma_tx_nents, DMA_TO_DEVICE); dma_unmap_sg(sport->port.dev, sgl, sport->dma_tx_nents, DMA_TO_DEVICE);
@@ -600,7 +600,7 @@ static void imx_uart_dma_tx_callback(void *data) @@ -609,7 +609,7 @@ static void imx_uart_dma_tx_callback(void *data)
imx_uart_writel(sport, ucr4, UCR4); imx_uart_writel(sport, ucr4, UCR4);
} }
@ -58,7 +58,7 @@ index 2fbb9b597752..54b760d845c0 100644
} }
/* called with port.lock taken and irqs off */ /* called with port.lock taken and irqs off */
@@ -766,11 +766,11 @@ static irqreturn_t imx_uart_rtsint(int irq, void *dev_id) @@ -780,11 +780,11 @@ static irqreturn_t imx_uart_rtsint(int irq, void *dev_id)
struct imx_port *sport = dev_id; struct imx_port *sport = dev_id;
irqreturn_t ret; irqreturn_t ret;
@ -72,7 +72,7 @@ index 2fbb9b597752..54b760d845c0 100644
return ret; return ret;
} }
@@ -779,9 +779,9 @@ static irqreturn_t imx_uart_txint(int irq, void *dev_id) @@ -793,9 +793,9 @@ static irqreturn_t imx_uart_txint(int irq, void *dev_id)
{ {
struct imx_port *sport = dev_id; struct imx_port *sport = dev_id;
@ -84,7 +84,7 @@ index 2fbb9b597752..54b760d845c0 100644
return IRQ_HANDLED; return IRQ_HANDLED;
} }
@@ -895,11 +895,11 @@ static irqreturn_t imx_uart_rxint(int irq, void *dev_id) @@ -909,11 +909,11 @@ static irqreturn_t imx_uart_rxint(int irq, void *dev_id)
struct imx_port *sport = dev_id; struct imx_port *sport = dev_id;
irqreturn_t ret; irqreturn_t ret;
@ -98,7 +98,7 @@ index 2fbb9b597752..54b760d845c0 100644
return ret; return ret;
} }
@@ -962,7 +962,7 @@ static irqreturn_t imx_uart_int(int irq, void *dev_id) @@ -976,7 +976,7 @@ static irqreturn_t imx_uart_int(int irq, void *dev_id)
unsigned int usr1, usr2, ucr1, ucr2, ucr3, ucr4; unsigned int usr1, usr2, ucr1, ucr2, ucr3, ucr4;
irqreturn_t ret = IRQ_NONE; irqreturn_t ret = IRQ_NONE;
@ -107,7 +107,7 @@ index 2fbb9b597752..54b760d845c0 100644
usr1 = imx_uart_readl(sport, USR1); usr1 = imx_uart_readl(sport, USR1);
usr2 = imx_uart_readl(sport, USR2); usr2 = imx_uart_readl(sport, USR2);
@@ -1032,7 +1032,7 @@ static irqreturn_t imx_uart_int(int irq, void *dev_id) @@ -1046,7 +1046,7 @@ static irqreturn_t imx_uart_int(int irq, void *dev_id)
ret = IRQ_HANDLED; ret = IRQ_HANDLED;
} }
@ -116,7 +116,7 @@ index 2fbb9b597752..54b760d845c0 100644
return ret; return ret;
} }
@@ -1115,7 +1115,7 @@ static void imx_uart_break_ctl(struct uart_port *port, int break_state) @@ -1129,7 +1129,7 @@ static void imx_uart_break_ctl(struct uart_port *port, int break_state)
unsigned long flags; unsigned long flags;
u32 ucr1; u32 ucr1;
@ -125,7 +125,7 @@ index 2fbb9b597752..54b760d845c0 100644
ucr1 = imx_uart_readl(sport, UCR1) & ~UCR1_SNDBRK; ucr1 = imx_uart_readl(sport, UCR1) & ~UCR1_SNDBRK;
@@ -1124,7 +1124,7 @@ static void imx_uart_break_ctl(struct uart_port *port, int break_state) @@ -1138,7 +1138,7 @@ static void imx_uart_break_ctl(struct uart_port *port, int break_state)
imx_uart_writel(sport, ucr1, UCR1); imx_uart_writel(sport, ucr1, UCR1);
@ -134,7 +134,7 @@ index 2fbb9b597752..54b760d845c0 100644
} }
/* /*
@@ -1137,9 +1137,9 @@ static void imx_uart_timeout(struct timer_list *t) @@ -1151,9 +1151,9 @@ static void imx_uart_timeout(struct timer_list *t)
unsigned long flags; unsigned long flags;
if (sport->port.state) { if (sport->port.state) {
@ -146,7 +146,7 @@ index 2fbb9b597752..54b760d845c0 100644
mod_timer(&sport->timer, jiffies + MCTRL_TIMEOUT); mod_timer(&sport->timer, jiffies + MCTRL_TIMEOUT);
} }
@@ -1169,9 +1169,9 @@ static void imx_uart_dma_rx_callback(void *data) @@ -1183,9 +1183,9 @@ static void imx_uart_dma_rx_callback(void *data)
status = dmaengine_tx_status(chan, sport->rx_cookie, &state); status = dmaengine_tx_status(chan, sport->rx_cookie, &state);
if (status == DMA_ERROR) { if (status == DMA_ERROR) {
@ -158,7 +158,7 @@ index 2fbb9b597752..54b760d845c0 100644
return; return;
} }
@@ -1200,9 +1200,9 @@ static void imx_uart_dma_rx_callback(void *data) @@ -1214,9 +1214,9 @@ static void imx_uart_dma_rx_callback(void *data)
r_bytes = rx_ring->head - rx_ring->tail; r_bytes = rx_ring->head - rx_ring->tail;
/* If we received something, check for 0xff flood */ /* If we received something, check for 0xff flood */
@ -170,7 +170,7 @@ index 2fbb9b597752..54b760d845c0 100644
if (!(sport->port.ignore_status_mask & URXD_DUMMY_READ)) { if (!(sport->port.ignore_status_mask & URXD_DUMMY_READ)) {
@@ -1460,7 +1460,7 @@ static int imx_uart_startup(struct uart_port *port) @@ -1474,7 +1474,7 @@ static int imx_uart_startup(struct uart_port *port)
if (!uart_console(port) && imx_uart_dma_init(sport) == 0) if (!uart_console(port) && imx_uart_dma_init(sport) == 0)
dma_is_inited = 1; dma_is_inited = 1;
@ -179,7 +179,7 @@ index 2fbb9b597752..54b760d845c0 100644
/* Reset fifo's and state machines */ /* Reset fifo's and state machines */
imx_uart_soft_reset(sport); imx_uart_soft_reset(sport);
@@ -1533,7 +1533,7 @@ static int imx_uart_startup(struct uart_port *port) @@ -1547,7 +1547,7 @@ static int imx_uart_startup(struct uart_port *port)
imx_uart_disable_loopback_rs485(sport); imx_uart_disable_loopback_rs485(sport);
@ -188,7 +188,7 @@ index 2fbb9b597752..54b760d845c0 100644
return 0; return 0;
} }
@@ -1558,21 +1558,21 @@ static void imx_uart_shutdown(struct uart_port *port) @@ -1572,21 +1572,21 @@ static void imx_uart_shutdown(struct uart_port *port)
sport->dma_is_rxing = 0; sport->dma_is_rxing = 0;
} }
@ -214,7 +214,7 @@ index 2fbb9b597752..54b760d845c0 100644
/* /*
* Stop our timer. * Stop our timer.
@@ -1583,7 +1583,7 @@ static void imx_uart_shutdown(struct uart_port *port) @@ -1597,7 +1597,7 @@ static void imx_uart_shutdown(struct uart_port *port)
* Disable all interrupts, port and break condition. * Disable all interrupts, port and break condition.
*/ */
@ -223,7 +223,7 @@ index 2fbb9b597752..54b760d845c0 100644
ucr1 = imx_uart_readl(sport, UCR1); ucr1 = imx_uart_readl(sport, UCR1);
ucr1 &= ~(UCR1_TRDYEN | UCR1_RRDYEN | UCR1_RTSDEN | UCR1_RXDMAEN | ucr1 &= ~(UCR1_TRDYEN | UCR1_RRDYEN | UCR1_RTSDEN | UCR1_RXDMAEN |
@@ -1605,7 +1605,7 @@ static void imx_uart_shutdown(struct uart_port *port) @@ -1619,7 +1619,7 @@ static void imx_uart_shutdown(struct uart_port *port)
ucr4 &= ~UCR4_TCEN; ucr4 &= ~UCR4_TCEN;
imx_uart_writel(sport, ucr4, UCR4); imx_uart_writel(sport, ucr4, UCR4);
@ -232,7 +232,7 @@ index 2fbb9b597752..54b760d845c0 100644
clk_disable_unprepare(sport->clk_per); clk_disable_unprepare(sport->clk_per);
clk_disable_unprepare(sport->clk_ipg); clk_disable_unprepare(sport->clk_ipg);
@@ -1668,7 +1668,7 @@ imx_uart_set_termios(struct uart_port *port, struct ktermios *termios, @@ -1682,7 +1682,7 @@ imx_uart_set_termios(struct uart_port *port, struct ktermios *termios,
baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16);
quot = uart_get_divisor(port, baud); quot = uart_get_divisor(port, baud);
@ -241,7 +241,7 @@ index 2fbb9b597752..54b760d845c0 100644
/* /*
* Read current UCR2 and save it for future use, then clear all the bits * Read current UCR2 and save it for future use, then clear all the bits
@@ -1796,7 +1796,7 @@ imx_uart_set_termios(struct uart_port *port, struct ktermios *termios, @@ -1810,7 +1810,7 @@ imx_uart_set_termios(struct uart_port *port, struct ktermios *termios,
if (UART_ENABLE_MS(&sport->port, termios->c_cflag)) if (UART_ENABLE_MS(&sport->port, termios->c_cflag))
imx_uart_enable_ms(&sport->port); imx_uart_enable_ms(&sport->port);
@ -250,7 +250,7 @@ index 2fbb9b597752..54b760d845c0 100644
} }
static const char *imx_uart_type(struct uart_port *port) static const char *imx_uart_type(struct uart_port *port)
@@ -1858,7 +1858,7 @@ static int imx_uart_poll_init(struct uart_port *port) @@ -1872,7 +1872,7 @@ static int imx_uart_poll_init(struct uart_port *port)
imx_uart_setup_ufcr(sport, TXTL_DEFAULT, RXTL_DEFAULT); imx_uart_setup_ufcr(sport, TXTL_DEFAULT, RXTL_DEFAULT);
@ -259,7 +259,7 @@ index 2fbb9b597752..54b760d845c0 100644
/* /*
* Be careful about the order of enabling bits here. First enable the * Be careful about the order of enabling bits here. First enable the
@@ -1886,7 +1886,7 @@ static int imx_uart_poll_init(struct uart_port *port) @@ -1900,7 +1900,7 @@ static int imx_uart_poll_init(struct uart_port *port)
imx_uart_writel(sport, ucr1 | UCR1_RRDYEN, UCR1); imx_uart_writel(sport, ucr1 | UCR1_RRDYEN, UCR1);
imx_uart_writel(sport, ucr2 | UCR2_ATEN, UCR2); imx_uart_writel(sport, ucr2 | UCR2_ATEN, UCR2);
@ -268,7 +268,7 @@ index 2fbb9b597752..54b760d845c0 100644
return 0; return 0;
} }
@@ -2001,9 +2001,9 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count) @@ -2015,9 +2015,9 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
if (sport->port.sysrq) if (sport->port.sysrq)
locked = 0; locked = 0;
else if (oops_in_progress) else if (oops_in_progress)
@ -280,7 +280,7 @@ index 2fbb9b597752..54b760d845c0 100644
/* /*
* First, save UCR1/2/3 and then disable interrupts * First, save UCR1/2/3 and then disable interrupts
@@ -2031,7 +2031,7 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count) @@ -2045,7 +2045,7 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
imx_uart_ucrs_restore(sport, &old_ucr); imx_uart_ucrs_restore(sport, &old_ucr);
if (locked) if (locked)
@ -289,7 +289,7 @@ index 2fbb9b597752..54b760d845c0 100644
} }
/* /*
@@ -2189,10 +2189,10 @@ static enum hrtimer_restart imx_trigger_start_tx(struct hrtimer *t) @@ -2203,10 +2203,10 @@ static enum hrtimer_restart imx_trigger_start_tx(struct hrtimer *t)
struct imx_port *sport = container_of(t, struct imx_port, trigger_start_tx); struct imx_port *sport = container_of(t, struct imx_port, trigger_start_tx);
unsigned long flags; unsigned long flags;
@ -302,7 +302,7 @@ index 2fbb9b597752..54b760d845c0 100644
return HRTIMER_NORESTART; return HRTIMER_NORESTART;
} }
@@ -2202,10 +2202,10 @@ static enum hrtimer_restart imx_trigger_stop_tx(struct hrtimer *t) @@ -2216,10 +2216,10 @@ static enum hrtimer_restart imx_trigger_stop_tx(struct hrtimer *t)
struct imx_port *sport = container_of(t, struct imx_port, trigger_stop_tx); struct imx_port *sport = container_of(t, struct imx_port, trigger_stop_tx);
unsigned long flags; unsigned long flags;
@ -315,7 +315,7 @@ index 2fbb9b597752..54b760d845c0 100644
return HRTIMER_NORESTART; return HRTIMER_NORESTART;
} }
@@ -2472,9 +2472,9 @@ static void imx_uart_restore_context(struct imx_port *sport) @@ -2486,9 +2486,9 @@ static void imx_uart_restore_context(struct imx_port *sport)
{ {
unsigned long flags; unsigned long flags;
@ -327,7 +327,7 @@ index 2fbb9b597752..54b760d845c0 100644
return; return;
} }
@@ -2489,7 +2489,7 @@ static void imx_uart_restore_context(struct imx_port *sport) @@ -2503,7 +2503,7 @@ static void imx_uart_restore_context(struct imx_port *sport)
imx_uart_writel(sport, sport->saved_reg[2], UCR3); imx_uart_writel(sport, sport->saved_reg[2], UCR3);
imx_uart_writel(sport, sport->saved_reg[3], UCR4); imx_uart_writel(sport, sport->saved_reg[3], UCR4);
sport->context_saved = false; sport->context_saved = false;
@ -336,7 +336,7 @@ index 2fbb9b597752..54b760d845c0 100644
} }
static void imx_uart_save_context(struct imx_port *sport) static void imx_uart_save_context(struct imx_port *sport)
@@ -2497,7 +2497,7 @@ static void imx_uart_save_context(struct imx_port *sport) @@ -2511,7 +2511,7 @@ static void imx_uart_save_context(struct imx_port *sport)
unsigned long flags; unsigned long flags;
/* Save necessary regs */ /* Save necessary regs */
@ -345,7 +345,7 @@ index 2fbb9b597752..54b760d845c0 100644
sport->saved_reg[0] = imx_uart_readl(sport, UCR1); sport->saved_reg[0] = imx_uart_readl(sport, UCR1);
sport->saved_reg[1] = imx_uart_readl(sport, UCR2); sport->saved_reg[1] = imx_uart_readl(sport, UCR2);
sport->saved_reg[2] = imx_uart_readl(sport, UCR3); sport->saved_reg[2] = imx_uart_readl(sport, UCR3);
@@ -2509,7 +2509,7 @@ static void imx_uart_save_context(struct imx_port *sport) @@ -2523,7 +2523,7 @@ static void imx_uart_save_context(struct imx_port *sport)
sport->saved_reg[8] = imx_uart_readl(sport, UBMR); sport->saved_reg[8] = imx_uart_readl(sport, UBMR);
sport->saved_reg[9] = imx_uart_readl(sport, IMX21_UTS); sport->saved_reg[9] = imx_uart_readl(sport, IMX21_UTS);
sport->context_saved = true; sport->context_saved = true;
@ -355,5 +355,5 @@ index 2fbb9b597752..54b760d845c0 100644
static void imx_uart_enable_wakeup(struct imx_port *sport, bool on) static void imx_uart_enable_wakeup(struct imx_port *sport, bool on)
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From df5dddad723275a657d5d1bbeb832a71bdbf6b69 Mon Sep 17 00:00:00 2001 From 8b2afd65acea3ba83a71dde9d62262f9242a5dd7 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:04 +0206 Date: Thu, 14 Sep 2023 20:44:04 +0206
Subject: [PATCH 073/196] serial: pmac_zilog: Use port lock wrappers Subject: [PATCH 073/198] serial: pmac_zilog: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, modifications to the UART registers which are done from other contexts,
@ -233,5 +233,5 @@ index 13668ffdb1e7..c8bf08c19c64 100644
/* /*
-- --
2.43.2 2.44.0

View File

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

View File

@ -1,7 +1,7 @@
From de2377b368081f7322e4ee7ed6f4a157f263ef22 Mon Sep 17 00:00:00 2001 From 1f68c281021058402d7afdc27d8a3787271ce0c1 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:06 +0206 Date: Thu, 14 Sep 2023 20:44:06 +0206
Subject: [PATCH 075/196] serial: qcom-geni: Use port lock wrappers Subject: [PATCH 075/198] serial: qcom-geni: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, modifications to the UART registers which are done from other contexts,
@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 4 insertions(+), 4 deletions(-) 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c
index b8aa4c1293ba..7e78f97e8f43 100644 index 2e1b1c827dfe..549909644011 100644
--- a/drivers/tty/serial/qcom_geni_serial.c --- a/drivers/tty/serial/qcom_geni_serial.c
+++ b/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c
@@ -482,9 +482,9 @@ static void qcom_geni_serial_console_write(struct console *co, const char *s, @@ -482,9 +482,9 @@ static void qcom_geni_serial_console_write(struct console *co, const char *s,
@ -62,7 +62,7 @@ index b8aa4c1293ba..7e78f97e8f43 100644
} }
static void handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) static void handle_rx_console(struct uart_port *uport, u32 bytes, bool drop)
@@ -970,7 +970,7 @@ static irqreturn_t qcom_geni_serial_isr(int isr, void *dev) @@ -972,7 +972,7 @@ static irqreturn_t qcom_geni_serial_isr(int isr, void *dev)
if (uport->suspended) if (uport->suspended)
return IRQ_NONE; return IRQ_NONE;
@ -72,5 +72,5 @@ index b8aa4c1293ba..7e78f97e8f43 100644
m_irq_status = readl(uport->membase + SE_GENI_M_IRQ_STATUS); m_irq_status = readl(uport->membase + SE_GENI_M_IRQ_STATUS);
s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS); s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS);
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 6e66d71f16182d96094a77a8756c364823924eb4 Mon Sep 17 00:00:00 2001 From 9372712a3d7f5dd1ce1fdee77c5bbdfbbb4b01bf Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:10 +0206 Date: Thu, 14 Sep 2023 20:44:10 +0206
Subject: [PATCH 079/196] serial: samsung_tty: Use port lock wrappers Subject: [PATCH 079/198] serial: samsung_tty: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 25 insertions(+), 25 deletions(-) 1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c
index 07fb8a9dac63..ee51a0368a55 100644 index 5a4d88e13471..a82b65155f6e 100644
--- a/drivers/tty/serial/samsung_tty.c --- a/drivers/tty/serial/samsung_tty.c
+++ b/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c
@@ -248,7 +248,7 @@ static void s3c24xx_serial_rx_enable(struct uart_port *port) @@ -248,7 +248,7 @@ static void s3c24xx_serial_rx_enable(struct uart_port *port)
@ -155,7 +155,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
return IRQ_HANDLED; return IRQ_HANDLED;
} }
@@ -1033,7 +1033,7 @@ static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state) @@ -1032,7 +1032,7 @@ static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state)
unsigned long flags; unsigned long flags;
unsigned int ucon; unsigned int ucon;
@ -164,7 +164,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
ucon = rd_regl(port, S3C2410_UCON); ucon = rd_regl(port, S3C2410_UCON);
@@ -1044,7 +1044,7 @@ static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state) @@ -1043,7 +1043,7 @@ static void s3c24xx_serial_break_ctl(struct uart_port *port, int break_state)
wr_regl(port, S3C2410_UCON, ucon); wr_regl(port, S3C2410_UCON, ucon);
@ -173,7 +173,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
} }
static int s3c24xx_serial_request_dma(struct s3c24xx_uart_port *p) static int s3c24xx_serial_request_dma(struct s3c24xx_uart_port *p)
@@ -1303,7 +1303,7 @@ static int s3c64xx_serial_startup(struct uart_port *port) @@ -1302,7 +1302,7 @@ static int s3c64xx_serial_startup(struct uart_port *port)
ourport->rx_enabled = 1; ourport->rx_enabled = 1;
ourport->tx_enabled = 0; ourport->tx_enabled = 0;
@ -182,7 +182,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
ufcon = rd_regl(port, S3C2410_UFCON); ufcon = rd_regl(port, S3C2410_UFCON);
ufcon |= S3C2410_UFCON_RESETRX | S5PV210_UFCON_RXTRIG8; ufcon |= S3C2410_UFCON_RESETRX | S5PV210_UFCON_RXTRIG8;
@@ -1313,7 +1313,7 @@ static int s3c64xx_serial_startup(struct uart_port *port) @@ -1312,7 +1312,7 @@ static int s3c64xx_serial_startup(struct uart_port *port)
enable_rx_pio(ourport); enable_rx_pio(ourport);
@ -191,7 +191,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
/* Enable Rx Interrupt */ /* Enable Rx Interrupt */
s3c24xx_clear_bit(port, S3C64XX_UINTM_RXD, S3C64XX_UINTM); s3c24xx_clear_bit(port, S3C64XX_UINTM_RXD, S3C64XX_UINTM);
@@ -1341,7 +1341,7 @@ static int apple_s5l_serial_startup(struct uart_port *port) @@ -1340,7 +1340,7 @@ static int apple_s5l_serial_startup(struct uart_port *port)
ourport->rx_enabled = 1; ourport->rx_enabled = 1;
ourport->tx_enabled = 0; ourport->tx_enabled = 0;
@ -200,7 +200,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
ufcon = rd_regl(port, S3C2410_UFCON); ufcon = rd_regl(port, S3C2410_UFCON);
ufcon |= S3C2410_UFCON_RESETRX | S5PV210_UFCON_RXTRIG8; ufcon |= S3C2410_UFCON_RESETRX | S5PV210_UFCON_RXTRIG8;
@@ -1351,7 +1351,7 @@ static int apple_s5l_serial_startup(struct uart_port *port) @@ -1350,7 +1350,7 @@ static int apple_s5l_serial_startup(struct uart_port *port)
enable_rx_pio(ourport); enable_rx_pio(ourport);
@ -209,7 +209,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
/* Enable Rx Interrupt */ /* Enable Rx Interrupt */
s3c24xx_set_bit(port, APPLE_S5L_UCON_RXTHRESH_ENA, S3C2410_UCON); s3c24xx_set_bit(port, APPLE_S5L_UCON_RXTHRESH_ENA, S3C2410_UCON);
@@ -1626,7 +1626,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, @@ -1625,7 +1625,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port,
ulcon |= S3C2410_LCON_PNONE; ulcon |= S3C2410_LCON_PNONE;
} }
@ -218,7 +218,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
dev_dbg(port->dev, dev_dbg(port->dev,
"setting ulcon to %08x, brddiv to %d, udivslot %08x\n", "setting ulcon to %08x, brddiv to %d, udivslot %08x\n",
@@ -1684,7 +1684,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, @@ -1683,7 +1683,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port,
if ((termios->c_cflag & CREAD) == 0) if ((termios->c_cflag & CREAD) == 0)
port->ignore_status_mask |= RXSTAT_DUMMY_READ; port->ignore_status_mask |= RXSTAT_DUMMY_READ;
@ -227,7 +227,7 @@ index 07fb8a9dac63..ee51a0368a55 100644
} }
static const char *s3c24xx_serial_type(struct uart_port *port) static const char *s3c24xx_serial_type(struct uart_port *port)
@@ -2376,14 +2376,14 @@ s3c24xx_serial_console_write(struct console *co, const char *s, @@ -2375,14 +2375,14 @@ s3c24xx_serial_console_write(struct console *co, const char *s,
if (cons_uart->sysrq) if (cons_uart->sysrq)
locked = false; locked = false;
else if (oops_in_progress) else if (oops_in_progress)
@ -246,5 +246,5 @@ index 07fb8a9dac63..ee51a0368a55 100644
/* Shouldn't be __init, as it can be instantiated from other module */ /* Shouldn't be __init, as it can be instantiated from other module */
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 0e9950b3324b08df7d223472910fabbd0a661519 Mon Sep 17 00:00:00 2001 From 1d1af26137b4e240e05f8da2a093bb74708411af Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:14 +0206 Date: Thu, 14 Sep 2023 20:44:14 +0206
Subject: [PATCH 083/196] serial: core: Use port lock wrappers Subject: [PATCH 083/198] serial: core: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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(-) 2 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 083ea4de48f9..fea8a8eca0c0 100644 index 4c81210ad9b3..fc59ba702752 100644
--- a/drivers/tty/serial/serial_core.c --- a/drivers/tty/serial/serial_core.c
+++ b/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) @@ -79,7 +79,7 @@ static inline void uart_port_deref(struct uart_port *uport)
@ -336,7 +336,7 @@ index 083ea4de48f9..fea8a8eca0c0 100644
tty_port_set_initialized(port, true); tty_port_set_initialized(port, true);
} else { } else {
/* /*
@@ -2618,11 +2618,11 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state, @@ -2627,11 +2627,11 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state,
* keep the DTR setting that is set in uart_set_options() * keep the DTR setting that is set in uart_set_options()
* We probably don't need a spinlock around this, but * We probably don't need a spinlock around this, but
*/ */
@ -351,7 +351,7 @@ index 083ea4de48f9..fea8a8eca0c0 100644
uart_rs485_config(port); uart_rs485_config(port);
diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c
index 862423237007..88975a4df306 100644 index 0b3cef3c323b..72b6f4f326e2 100644
--- a/drivers/tty/serial/serial_port.c --- a/drivers/tty/serial/serial_port.c
+++ b/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,10 +35,10 @@ static int serial_port_runtime_resume(struct device *dev)
@ -368,5 +368,5 @@ index 862423237007..88975a4df306 100644
out: out:
pm_runtime_mark_last_busy(dev); pm_runtime_mark_last_busy(dev);
-- --
2.43.2 2.44.0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
From 359f0d1e6b006a6296c949598fc409321b89721e Mon Sep 17 00:00:00 2001 From acbbd819705ab82602bbf45a18a584abb4d83efc Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de> From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:44:21 +0206 Date: Thu, 14 Sep 2023 20:44:21 +0206
Subject: [PATCH 090/196] serial: stm32: Use port lock wrappers Subject: [PATCH 090/198] serial: stm32: Use port lock wrappers
When a serial port is used for kernel console output, then all When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts, 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, 19 insertions(+), 19 deletions(-) 1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
index b6f4f436a565..f0901bedcc28 100644 index e5f933beb6c0..d8fe1ca75ac4 100644
--- a/drivers/tty/serial/stm32-usart.c --- a/drivers/tty/serial/stm32-usart.c
+++ b/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c
@@ -533,7 +533,7 @@ static void stm32_usart_rx_dma_complete(void *arg) @@ -535,7 +535,7 @@ static void stm32_usart_rx_dma_complete(void *arg)
unsigned int size; unsigned int size;
unsigned long flags; unsigned long flags;
@ -49,7 +49,7 @@ index b6f4f436a565..f0901bedcc28 100644
size = stm32_usart_receive_chars(port, false); size = stm32_usart_receive_chars(port, false);
uart_unlock_and_check_sysrq_irqrestore(port, flags); uart_unlock_and_check_sysrq_irqrestore(port, flags);
if (size) if (size)
@@ -639,9 +639,9 @@ static void stm32_usart_tx_dma_complete(void *arg) @@ -641,9 +641,9 @@ static void stm32_usart_tx_dma_complete(void *arg)
stm32_usart_tx_dma_terminate(stm32port); stm32_usart_tx_dma_terminate(stm32port);
/* Let's see if we have pending data to send */ /* Let's see if we have pending data to send */
@ -61,7 +61,7 @@ index b6f4f436a565..f0901bedcc28 100644
} }
static void stm32_usart_tx_interrupt_enable(struct uart_port *port) static void stm32_usart_tx_interrupt_enable(struct uart_port *port)
@@ -885,7 +885,7 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr) @@ -887,7 +887,7 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
if (!stm32_port->throttled) { if (!stm32_port->throttled) {
if (((sr & USART_SR_RXNE) && !stm32_usart_rx_dma_started(stm32_port)) || if (((sr & USART_SR_RXNE) && !stm32_usart_rx_dma_started(stm32_port)) ||
((sr & USART_SR_ERR_MASK) && stm32_usart_rx_dma_started(stm32_port))) { ((sr & USART_SR_ERR_MASK) && stm32_usart_rx_dma_started(stm32_port))) {
@ -70,7 +70,7 @@ index b6f4f436a565..f0901bedcc28 100644
size = stm32_usart_receive_chars(port, false); size = stm32_usart_receive_chars(port, false);
uart_unlock_and_check_sysrq(port); uart_unlock_and_check_sysrq(port);
if (size) if (size)
@@ -894,14 +894,14 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr) @@ -896,14 +896,14 @@ static irqreturn_t stm32_usart_interrupt(int irq, void *ptr)
} }
if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) { if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) {
@ -88,7 +88,7 @@ index b6f4f436a565..f0901bedcc28 100644
size = stm32_usart_receive_chars(port, false); size = stm32_usart_receive_chars(port, false);
uart_unlock_and_check_sysrq(port); uart_unlock_and_check_sysrq(port);
if (size) if (size)
@@ -989,7 +989,7 @@ static void stm32_usart_throttle(struct uart_port *port) @@ -991,7 +991,7 @@ static void stm32_usart_throttle(struct uart_port *port)
const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs;
unsigned long flags; unsigned long flags;
@ -97,7 +97,7 @@ index b6f4f436a565..f0901bedcc28 100644
/* /*
* Pause DMA transfer, so the RX data gets queued into the FIFO. * Pause DMA transfer, so the RX data gets queued into the FIFO.
@@ -1002,7 +1002,7 @@ static void stm32_usart_throttle(struct uart_port *port) @@ -1004,7 +1004,7 @@ static void stm32_usart_throttle(struct uart_port *port)
stm32_usart_clr_bits(port, ofs->cr3, stm32_port->cr3_irq); stm32_usart_clr_bits(port, ofs->cr3, stm32_port->cr3_irq);
stm32_port->throttled = true; stm32_port->throttled = true;
@ -106,7 +106,7 @@ index b6f4f436a565..f0901bedcc28 100644
} }
/* Unthrottle the remote, the input buffer can now accept data. */ /* Unthrottle the remote, the input buffer can now accept data. */
@@ -1012,7 +1012,7 @@ static void stm32_usart_unthrottle(struct uart_port *port) @@ -1014,7 +1014,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs;
unsigned long flags; unsigned long flags;
@ -115,7 +115,7 @@ index b6f4f436a565..f0901bedcc28 100644
stm32_usart_set_bits(port, ofs->cr1, stm32_port->cr1_irq); stm32_usart_set_bits(port, ofs->cr1, stm32_port->cr1_irq);
if (stm32_port->cr3_irq) if (stm32_port->cr3_irq)
stm32_usart_set_bits(port, ofs->cr3, stm32_port->cr3_irq); stm32_usart_set_bits(port, ofs->cr3, stm32_port->cr3_irq);
@@ -1026,7 +1026,7 @@ static void stm32_usart_unthrottle(struct uart_port *port) @@ -1028,7 +1028,7 @@ static void stm32_usart_unthrottle(struct uart_port *port)
if (stm32_port->rx_ch) if (stm32_port->rx_ch)
stm32_usart_rx_dma_start_or_resume(port); stm32_usart_rx_dma_start_or_resume(port);
@ -124,7 +124,7 @@ index b6f4f436a565..f0901bedcc28 100644
} }
/* Receive stop */ /* Receive stop */
@@ -1154,7 +1154,7 @@ static void stm32_usart_set_termios(struct uart_port *port, @@ -1156,7 +1156,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8); baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8);
@ -133,7 +133,7 @@ index b6f4f436a565..f0901bedcc28 100644
ret = readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr, ret = readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr,
isr, isr,
@@ -1345,7 +1345,7 @@ static void stm32_usart_set_termios(struct uart_port *port, @@ -1347,7 +1347,7 @@ static void stm32_usart_set_termios(struct uart_port *port,
writel_relaxed(cr1, port->membase + ofs->cr1); writel_relaxed(cr1, port->membase + ofs->cr1);
stm32_usart_set_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); stm32_usart_set_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit));
@ -142,7 +142,7 @@ index b6f4f436a565..f0901bedcc28 100644
/* Handle modem control interrupts */ /* Handle modem control interrupts */
if (UART_ENABLE_MS(port, termios->c_cflag)) if (UART_ENABLE_MS(port, termios->c_cflag))
@@ -1395,9 +1395,9 @@ static void stm32_usart_pm(struct uart_port *port, unsigned int state, @@ -1397,9 +1397,9 @@ static void stm32_usart_pm(struct uart_port *port, unsigned int state,
pm_runtime_get_sync(port->dev); pm_runtime_get_sync(port->dev);
break; break;
case UART_PM_STATE_OFF: case UART_PM_STATE_OFF:
@ -154,7 +154,7 @@ index b6f4f436a565..f0901bedcc28 100644
pm_runtime_put_sync(port->dev); pm_runtime_put_sync(port->dev);
break; break;
} }
@@ -1880,9 +1880,9 @@ static void stm32_usart_console_write(struct console *co, const char *s, @@ -1882,9 +1882,9 @@ static void stm32_usart_console_write(struct console *co, const char *s,
int locked = 1; int locked = 1;
if (oops_in_progress) if (oops_in_progress)
@ -166,7 +166,7 @@ index b6f4f436a565..f0901bedcc28 100644
/* Save and disable interrupts, enable the transmitter */ /* Save and disable interrupts, enable the transmitter */
old_cr1 = readl_relaxed(port->membase + ofs->cr1); old_cr1 = readl_relaxed(port->membase + ofs->cr1);
@@ -1896,7 +1896,7 @@ static void stm32_usart_console_write(struct console *co, const char *s, @@ -1898,7 +1898,7 @@ static void stm32_usart_console_write(struct console *co, const char *s,
writel_relaxed(old_cr1, port->membase + ofs->cr1); writel_relaxed(old_cr1, port->membase + ofs->cr1);
if (locked) if (locked)
@ -175,7 +175,7 @@ index b6f4f436a565..f0901bedcc28 100644
} }
static int stm32_usart_console_setup(struct console *co, char *options) static int stm32_usart_console_setup(struct console *co, char *options)
@@ -2031,7 +2031,7 @@ static int __maybe_unused stm32_usart_serial_en_wakeup(struct uart_port *port, @@ -2033,7 +2033,7 @@ static int __maybe_unused stm32_usart_serial_en_wakeup(struct uart_port *port,
* low-power mode. * low-power mode.
*/ */
if (stm32_port->rx_ch) { if (stm32_port->rx_ch) {
@ -185,5 +185,5 @@ index b6f4f436a565..f0901bedcc28 100644
if (!stm32_usart_rx_dma_pause(stm32_port)) if (!stm32_usart_rx_dma_pause(stm32_port))
size += stm32_usart_receive_chars(port, true); size += stm32_usart_receive_chars(port, true);
-- --
2.43.2 2.44.0

View File

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

View File

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

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