Skip to content

Commit a70e9f6

Browse files
ruanjinjie-engKAGA-KOKO
authored andcommitted
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]
1 parent 19272b3 commit a70e9f6

8 files changed

Lines changed: 519 additions & 498 deletions

File tree

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10052,6 +10052,7 @@ S: Maintained
1005210052
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
1005310053
F: include/linux/entry-common.h
1005410054
F: include/linux/entry-kvm.h
10055+
F: include/linux/irq-entry-common.h
1005510056
F: kernel/entry/
1005610057

1005710058
GENERIC GPIO I2C DRIVER

arch/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,17 @@ config HOTPLUG_PARALLEL
6464
bool
6565
select HOTPLUG_SPLIT_STARTUP
6666

67+
config GENERIC_IRQ_ENTRY
68+
bool
69+
70+
config GENERIC_SYSCALL
71+
bool
72+
depends on GENERIC_IRQ_ENTRY
73+
6774
config GENERIC_ENTRY
6875
bool
76+
select GENERIC_IRQ_ENTRY
77+
select GENERIC_SYSCALL
6978

7079
config KPROBES
7180
bool "Kprobes"

0 commit comments

Comments
 (0)