]> git.baikalelectronics.ru Git - kernel.git/commit
s390: raise minimum supported machine generation to z10
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 24 Feb 2022 21:43:31 +0000 (22:43 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 10 Mar 2022 14:58:17 +0000 (15:58 +0100)
commitf8c055ce83623cf49b33430889ed975bb146c636
tree41b6781eadef63b049d3c16fa5119f665c80f7a0
parent543ee826112780ed93657391e4e976c7f13be281
s390: raise minimum supported machine generation to z10

Machine generations up to z9 (released in May 2006) have been officially
out of service for several years now (z9 end of service - January 31, 2019).
No distributions build kernels supporting those old machine generations
anymore, except Debian, which seems to pick the oldest supported
generation. The team supporting Debian on s390 has been notified about
the change.

Raising minimum supported machine generation to z10 helps to reduce
maintenance cost and effectively remove code, which is not getting
enough testing coverage due to lack of older hardware and distributions
support. Besides that this unblocks some optimization opportunities and
allows to use wider instruction set in asm files for future features
implementation. Due to this change spectre mitigation and usercopy
implementations could be drastically simplified and many newer instructions
could be converted from ".insn" encoding to instruction names.

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
23 files changed:
arch/s390/Kconfig
arch/s390/Makefile
arch/s390/include/asm/bitops.h
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/nospec-insn.h
arch/s390/include/asm/timex.h
arch/s390/include/asm/uaccess.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/cache.c
arch/s390/kernel/ftrace.c
arch/s390/kernel/ftrace.h
arch/s390/kernel/mcount.S
arch/s390/kernel/module.c
arch/s390/kernel/nospec-branch.c
arch/s390/kernel/perf_cpum_cf.c
arch/s390/kernel/processor.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/kernel/uprobes.c
arch/s390/lib/uaccess.c
arch/s390/mm/vmem.c
arch/s390/net/bpf_jit_comp.c
arch/s390/tools/gen_facilities.c