No description
Find a file
Tony Lindgren 375806616f serial: 8250: Fix oops for port->pm on uart_change_pm()
[ Upstream commit dfe2aeb226 ]

Unloading a hardware specific 8250 driver can produce error "Unable to
handle kernel paging request at virtual address" about ten seconds after
unloading the driver. This happens on uart_hangup() calling
uart_change_pm().

Turns out commit 04e82793f0 ("serial: 8250: Reinit port->pm on port
specific driver unbind") was only a partial fix. If the hardware specific
driver has initialized port->pm function, we need to clear port->pm too.
Just reinitializing port->ops does not do this. Otherwise serial8250_pm()
will call port->pm() instead of serial8250_do_pm().

Fixes: 04e82793f0 ("serial: 8250: Reinit port->pm on port specific driver unbind")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20230804131553.52927-1-tony@atomide.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-23 17:32:52 +02:00
arch riscv: uaccess: Return the number of bytes effectively not copied 2023-08-23 17:32:51 +02:00
block blk-cgroup: hold queue_lock when removing blkg->q_node 2023-08-23 17:32:37 +02:00
certs
crypto
Documentation netfilter: set default timeout to 3 secs for sctp shutdown send and recv state 2023-08-23 17:32:46 +02:00
drivers serial: 8250: Fix oops for port->pm on uart_change_pm() 2023-08-23 17:32:52 +02:00
fs btrfs: only subtract from len_to_oe_boundary when it is tracking an extent 2023-08-23 17:32:39 +02:00
include net: do not allow gso_size to be set to GSO_BY_FRAGS 2023-08-23 17:32:48 +02:00
init
io_uring
ipc
kernel ring-buffer: Do not swap cpu_buffer during resize process 2023-08-23 17:32:35 +02:00
lib
LICENSES
mm mm: memory-failure: avoid false hwpoison page mapped error info 2023-08-16 18:32:20 +02:00
net sock: Fix misuse of sk_under_memory_pressure() 2023-08-23 17:32:48 +02:00
rust rust: macros: vtable: fix HAS_* redefinition (gen_const_name) 2023-08-23 17:32:36 +02:00
samples
scripts
security
sound ALSA: hda/realtek - Remodified 3k pull low procedure 2023-08-23 17:32:51 +02:00
tools selftests: mirror_gre_changes: Tighten up the TTL test match 2023-08-23 17:32:44 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 6.4.11 2023-08-16 18:32:31 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.