Go to file
Andrew Halaney 7887e28910 printk: nbcon: Add sequence handling
JIRA: https://issues.redhat.com/browse/RHEL-3987
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/

commit 28fac1ea3b9ecdcc1db264094f47ba6a20ed21e9
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Sat Sep 16 21:26:05 2023 +0206

    printk: nbcon: Add sequence handling

    Add an atomic_long_t field @nbcon_seq to the console struct to
    store the sequence number for nbcon consoles. For nbcon consoles
    this will be used instead of the non-atomic @seq field. The new
    field allows for safe atomic sequence number updates without
    requiring any locking.

    On 64bit systems the new field stores the full sequence number.
    On 32bit systems the new field stores the lower 32 bits of the
    sequence number, which are expanded to 64bit as needed by
    folding the values based on the sequence numbers available in
    the ringbuffer.

    For 32bit systems, having a 32bit representation in the console
    is sufficient. If a console ever gets more than 2^31 records
    behind the ringbuffer then this is the least of the problems.

    Co-developed-by: John Ogness <john.ogness@linutronix.de>
    Signed-off-by: John Ogness <john.ogness@linutronix.de>
    Signed-off-by: Thomas Gleixner (Intel) <tglx@linutronix.de>
    Signed-off-by: Petr Mladek <pmladek@suse.com>
    Link: https://lore.kernel.org/r/20230916192007.608398-7-john.ogness@linutronix.de
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
2024-05-09 11:26:22 -04:00
Documentation exit: Allow oops_limit to be disabled 2024-05-09 11:26:19 -04:00
LICENSES
arch arm64: defconfig: Increase SERIAL_8250_NR_UARTS 2024-05-09 11:26:03 -04:00
block
certs
crypto
drivers serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART 2024-05-09 11:26:18 -04:00
fs
include printk: nbcon: Add sequence handling 2024-05-09 11:26:22 -04:00
init
io_uring
ipc
kernel printk: nbcon: Add sequence handling 2024-05-09 11:26:22 -04:00
lib
mm printk: export console trace point for kcsan/kasan/kfence/kmsan 2024-05-09 11:26:20 -04:00
net tty: rfcomm: convert counts to size_t 2024-05-09 11:25:58 -04:00
redhat redhat/configs: Disable CONFIG_RPMSG_TTY 2024-05-09 11:26:18 -04:00
samples
scripts
security
sound ASoC: ti: ams-delta: Fix cx81801_receive() argument types 2024-05-09 11:26:02 -04:00
tools tools/bootconfig: Print all error message in stderr 2024-05-09 11:26:18 -04:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS
Makefile
Makefile.rhelver
README
makefile

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.