]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/purgatory: Enforce z10 minimum architecture level
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 9 Jun 2026 10:33:35 +0000 (12:33 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 10 Jun 2026 14:55:20 +0000 (16:55 +0200)
commitbd9a200717fb15bcbf666b1a8c6758887215b0fb
treee5e19b8b9618e730739ca8f6a83bb3cb454cba7c
parent982c89c9b9eed1f512038a163d5cab6b0b8117ff
s390/purgatory: Enforce z10 minimum architecture level

The purgatory code is compiled without the -march option. This means the
default architecture level of the compiler is used. This can cause
problems, e.g. if instructions used in inline assemblies are for a higher
architecture level than the default architecture level of the compiler.

Use z10 as minimum architecture level, similar to the boot code, to enforce
a defined architecture level set.

Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/purgatory/Makefile