diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-12-01 15:42:18 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-12-11 14:33:07 +0100 |
commit | 68422c0069990e5fe2a7dc2c6c995a48c0bdec26 (patch) | |
tree | 130e2e12e367754fe1def83587ac0e529e7cb5e3 /arch/s390/tools | |
parent | s390/fpu: remove "novx" option (diff) | |
download | linux-68422c0069990e5fe2a7dc2c6c995a48c0bdec26.tar.xz linux-68422c0069990e5fe2a7dc2c6c995a48c0bdec26.zip |
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>
Diffstat (limited to 'arch/s390/tools')
-rw-r--r-- | arch/s390/tools/gen_facilities.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index cb0aff5c0187..68580cbea4e6 100644 --- a/arch/s390/tools/gen_facilities.c +++ b/arch/s390/tools/gen_facilities.c @@ -46,6 +46,7 @@ static struct facility_def facility_defs[] = { #endif #ifdef CONFIG_HAVE_MARCH_Z13_FEATURES 53, /* load-and-zero-rightmost-byte, etc. */ + 129, /* vector */ #endif #ifdef CONFIG_HAVE_MARCH_Z14_FEATURES 58, /* miscellaneous-instruction-extension 2 */ |