]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/boot: Increase minimum architecture to z10
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 4 Sep 2024 09:39:23 +0000 (11:39 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Sat, 7 Sep 2024 15:12:42 +0000 (17:12 +0200)
commitdb545f5387472176cf1e7df76fe97a4f56b7158d
tree20831b60aa7c07bd78ce5185cc124c6eac48a45e
parent6fa7aea6a9fc8eb49d879ac66bf27460e70c83b3
s390/boot: Increase minimum architecture to z10

The decompressor code is partially compiled with march=z900 so it is
possible to print an error message in case a kernel is booted on a
machine which misses facilities to execute the kernel.

Given that the decompressor code also includes header files from the
core kernel this causes problems for inline assemblies and other code
where the minimum assumed architecture level is set to z10 in the
meantime. If such code is also used in the decompressor (e.g. inline
functions) z900 support must be implemented again.

In order to avoid this and to keep things simple just raise the
minimum architecture level to z10 for the decompressor just like for
the kernel.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/Makefile