s390/uv: UV feature check utility
authorSteffen Eiden <seiden@linux.ibm.com>
Tue, 15 Aug 2023 15:14:13 +0000 (17:14 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 28 Aug 2023 09:27:55 +0000 (09:27 +0000)
commit59a881402cc89788652fa2c2ce7421d14f131c34
treeb6a1e233fbadcddeb920cd325bb95dc561637ab2
parentb1e428615f154c87a94267b67e819644b50948f8
s390/uv: UV feature check utility

Introduces a function to check the existence of an UV feature.
Refactor feature bit checks to use the new function.

Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Link: https://lore.kernel.org/r/20230815151415.379760-3-seiden@linux.ibm.com
Message-Id: <20230815151415.379760-3-seiden@linux.ibm.com>
arch/s390/include/asm/uv.h
arch/s390/kernel/uv.c
arch/s390/kvm/kvm-s390.c
arch/s390/mm/fault.c