]> git.ipfire.org Git - thirdparty/linux.git/commit
entry: Split generic entry into generic exception and syscall entry
authorJinjie Ruan <ruanjinjie@huawei.com>
Tue, 24 Jun 2025 18:35:56 +0000 (20:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 30 Jun 2025 17:52:55 +0000 (19:52 +0200)
commita70e9f647f501e36a6a092888b1ea7386b7c5664
tree78f1318ee064b473a2055fe9408b4b3352b9b935
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
entry: Split generic entry into generic exception and syscall entry

Currently CONFIG_GENERIC_ENTRY enables both the generic exception
entry logic and the generic syscall entry logic, which are otherwise
loosely coupled.

Introduce separate config options for these so that architectures can
select the two independently. This will make it easier for
architectures to migrate to generic entry code.

Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20250213130007.1418890-2-ruanjinjie@huawei.com
Link: https://lore.kernel.org/all/20250624-generic-entry-split-v1-1-53d5ef4f94df@linaro.org
[Linus Walleij: rebase onto v6.16-rc1]
MAINTAINERS
arch/Kconfig
include/linux/entry-common.h
include/linux/irq-entry-common.h [new file with mode: 0644]
kernel/entry/Makefile
kernel/entry/common.c
kernel/entry/syscall-common.c [new file with mode: 0644]
kernel/sched/core.c