Skip to content

Commit 111e91a

Browse files
committed
Merge tag 's390-5.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 fixes from Heiko Carstens: - fix system call exit path; avoid return to user space with any TIF/CIF/PIF set - fix file permission for cpum_sfb_size parameter - another small defconfig update * tag 's390-5.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/cpum_sf.c: fix file permission for cpum_sfb_size s390: update defconfigs s390: fix system call exit path
2 parents ed129cd + 78d732e commit 111e91a

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

arch/s390/configs/debug_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
CONFIG_UAPI_HEADER_TEST=y
12
CONFIG_SYSVIPC=y
23
CONFIG_POSIX_MQUEUE=y
34
CONFIG_WATCH_QUEUE=y

arch/s390/kernel/entry.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ ENTRY(system_call)
422422
#endif
423423
LOCKDEP_SYS_EXIT
424424
.Lsysc_tif:
425+
DISABLE_INTS
425426
TSTMSK __PT_FLAGS(%r11),_PIF_WORK
426427
jnz .Lsysc_work
427428
TSTMSK __TI_flags(%r12),_TIF_WORK
@@ -444,6 +445,7 @@ ENTRY(system_call)
444445
# One of the work bits is on. Find out which one.
445446
#
446447
.Lsysc_work:
448+
ENABLE_INTS
447449
TSTMSK __TI_flags(%r12),_TIF_NEED_RESCHED
448450
jo .Lsysc_reschedule
449451
TSTMSK __PT_FLAGS(%r11),_PIF_SYSCALL_RESTART

arch/s390/kernel/perf_cpum_sf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2228,4 +2228,4 @@ static int __init init_cpum_sampling_pmu(void)
22282228
}
22292229

22302230
arch_initcall(init_cpum_sampling_pmu);
2231-
core_param(cpum_sfb_size, CPUM_SF_MAX_SDB, sfb_size, 0640);
2231+
core_param(cpum_sfb_size, CPUM_SF_MAX_SDB, sfb_size, 0644);

0 commit comments

Comments
 (0)