Skip to content

Commit 68422c0

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/als: add vector facility to z13 architecture level set
Add the vector facility to the z13 architecture level set (ALS). All hypervisors support the vector facility since many years. Adding the facility to the ALS allows for compile time optimizations of the kernel: if the kernel is compiled for z13 or later, all tests which verify if the vector facility is present can return "true". This will be implemented with a subsequent patch. Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
1 parent af6ed37 commit 68422c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/s390/tools/gen_facilities.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ static struct facility_def facility_defs[] = {
4646
#endif
4747
#ifdef CONFIG_HAVE_MARCH_Z13_FEATURES
4848
53, /* load-and-zero-rightmost-byte, etc. */
49+
129, /* vector */
4950
#endif
5051
#ifdef CONFIG_HAVE_MARCH_Z14_FEATURES
5152
58, /* miscellaneous-instruction-extension 2 */

0 commit comments

Comments
 (0)