diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-02-07 15:49:00 +0100 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 17:18:06 +0100 |
| commit | 17d3804808091e3942d2744dc8155a3a918d88c3 (patch) | |
| tree | a0ddb8e9c5f29274d66246da57444c0693df57e4 /arch/s390/boot | |
| parent | f931f67cfc274682aecc9f727eecc89779fc47b7 (diff) | |
s390/tlb: Convert MACHINE_HAS_TLB_GUEST to machine_has_tlb_guest()
Use static branch(es) to implement and use machine_has_tlb_guest()
instead of a runtime check via MACHINE_HAS_TLB_GUEST.
Also add sclp_early_detect_machine_features() in order to allow for
feature detection from the decompressor.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot')
| -rw-r--r-- | arch/s390/boot/startup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/startup.c b/arch/s390/boot/startup.c index 1c7367a338cd..4ef2622f3d30 100644 --- a/arch/s390/boot/startup.c +++ b/arch/s390/boot/startup.c @@ -482,6 +482,7 @@ void startup_kernel(void) read_ipl_report(); sclp_early_read_info(); + sclp_early_detect_machine_features(); detect_facilities(); cmma_init(); sanitize_prot_virt_host(); |
