[PATCH 0/2] s390: Autoload uvdevice module based on CPU feature

From: Steffen Eiden
Date: Fri Jul 01 2022 - 06:02:26 EST


Currently, the uvdevice (drivers/s390/char/uvdevice) must be loaded
manually. We can, however, determine if the Ultravisor is available
by observing facility 158. 

This series, first, introduces the HWCAP_UV connected to facility 158.
And, second, it automatically loads the uvdevice if HWCAP_UV is present.

Steffen Eiden (2):
s390/hwcaps: Add HWCAP_UV
drivers/s390/char/uvdevice: Autoload module based on CPU feature

arch/s390/include/asm/elf.h | 2 ++
arch/s390/kernel/processor.c | 5 +++++
drivers/s390/char/uvdevice.c | 5 ++---
3 files changed, 9 insertions(+), 3 deletions(-)

--
2.35.3