|
|
016a62 |
From 7d9350b6ad9f0b5dcdd098092eb3760bdbcf9d54 Mon Sep 17 00:00:00 2001
|
|
|
016a62 |
From: Thomas Huth <thuth@redhat.com>
|
|
|
016a62 |
Date: Wed, 18 Sep 2019 14:35:48 +0100
|
|
|
016a62 |
Subject: [PATCH 09/22] s390x/cpumodel: Rework CPU feature definition
|
|
|
016a62 |
|
|
|
016a62 |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
016a62 |
Message-id: <20190918143549.16340-2-thuth@redhat.com>
|
|
|
016a62 |
Patchwork-id: 90759
|
|
|
016a62 |
O-Subject: [RHEL-8.2.0 qemu-kvm PATCH 1/2] s390x/cpumodel: Rework CPU feature definition
|
|
|
016a62 |
Bugzilla: 1660909
|
|
|
016a62 |
RH-Acked-by: David Hildenbrand <david@redhat.com>
|
|
|
016a62 |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
016a62 |
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
|
|
|
016a62 |
|
|
|
016a62 |
Let's define features at a single spot and make it less error prone to
|
|
|
016a62 |
define new features.
|
|
|
016a62 |
|
|
|
016a62 |
Acked-by: Janosch Frank <frankja@linux.ibm.com>
|
|
|
016a62 |
Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
016a62 |
Signed-off-by: David Hildenbrand <david@redhat.com>
|
|
|
016a62 |
(cherry picked from commit 220ae9002f33480fa30050140c852847677b3c06)
|
|
|
016a62 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
016a62 |
|
|
|
016a62 |
Conflicts:
|
|
|
016a62 |
The "vxpdeh" line needed adaption due to out-of-order backported commits:
|
|
|
016a62 |
|
|
|
016a62 |
d05be57ddc2e1722f527aa4c20d84dfd15c840ec
|
|
|
016a62 |
s390: cpumodel: fix description for the new vector facility
|
|
|
016a62 |
|
|
|
016a62 |
0d4cb295db7503fbac2f5bb3e878a56630231fed
|
|
|
016a62 |
s390x/cpumodel: also change name of vxbeh
|
|
|
016a62 |
|
|
|
016a62 |
5d8866c89817998a3d9c3055d5dc2b5a8e78658a
|
|
|
016a62 |
s390x/cpumodel: change internal name of vxpdeh to match description
|
|
|
016a62 |
|
|
|
016a62 |
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
|
016a62 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
016a62 |
---
|
|
|
016a62 |
target/s390x/cpu_features.c | 352 ++--------------------------------
|
|
|
016a62 |
target/s390x/cpu_features_def.h | 352 +---------------------------------
|
|
|
016a62 |
target/s390x/cpu_features_def.inc.h | 369 ++++++++++++++++++++++++++++++++++++
|
|
|
016a62 |
3 files changed, 386 insertions(+), 687 deletions(-)
|
|
|
016a62 |
create mode 100644 target/s390x/cpu_features_def.inc.h
|
|
|
016a62 |
|
|
|
016a62 |
diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c
|
|
|
016a62 |
index 065db76..9f817e3 100644
|
|
|
016a62 |
--- a/target/s390x/cpu_features.c
|
|
|
016a62 |
+++ b/target/s390x/cpu_features.c
|
|
|
016a62 |
@@ -2,8 +2,9 @@
|
|
|
016a62 |
* CPU features/facilities for s390x
|
|
|
016a62 |
*
|
|
|
016a62 |
* Copyright IBM Corp. 2016, 2018
|
|
|
016a62 |
+ * Copyright Red Hat, Inc. 2019
|
|
|
016a62 |
*
|
|
|
016a62 |
- * Author(s): David Hildenbrand <dahi@linux.vnet.ibm.com>
|
|
|
016a62 |
+ * Author(s): David Hildenbrand <david@redhat.com>
|
|
|
016a62 |
*
|
|
|
016a62 |
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
|
016a62 |
* your option) any later version. See the COPYING file in the top-level
|
|
|
016a62 |
@@ -14,346 +15,17 @@
|
|
|
016a62 |
#include "qemu/module.h"
|
|
|
016a62 |
#include "cpu_features.h"
|
|
|
016a62 |
|
|
|
016a62 |
-#define FEAT_INIT(_name, _type, _bit, _desc) \
|
|
|
016a62 |
- { \
|
|
|
016a62 |
- .name = _name, \
|
|
|
016a62 |
- .type = _type, \
|
|
|
016a62 |
- .bit = _bit, \
|
|
|
016a62 |
- .desc = _desc, \
|
|
|
016a62 |
- }
|
|
|
016a62 |
-
|
|
|
016a62 |
-/* S390FeatDef.bit is not applicable as there is no feature block. */
|
|
|
016a62 |
-#define FEAT_INIT_MISC(_name, _desc) \
|
|
|
016a62 |
- FEAT_INIT(_name, S390_FEAT_TYPE_MISC, 0, _desc)
|
|
|
016a62 |
-
|
|
|
016a62 |
-/* indexed by feature number for easy lookup */
|
|
|
016a62 |
-static const S390FeatDef s390_features[] = {
|
|
|
016a62 |
- FEAT_INIT("esan3", S390_FEAT_TYPE_STFL, 0, "Instructions marked as n3"),
|
|
|
016a62 |
- FEAT_INIT("zarch", S390_FEAT_TYPE_STFL, 1, "z/Architecture architectural mode"),
|
|
|
016a62 |
- FEAT_INIT("dateh", S390_FEAT_TYPE_STFL, 3, "DAT-enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("idtes", S390_FEAT_TYPE_STFL, 4, "IDTE selective TLB segment-table clearing"),
|
|
|
016a62 |
- FEAT_INIT("idter", S390_FEAT_TYPE_STFL, 5, "IDTE selective TLB region-table clearing"),
|
|
|
016a62 |
- FEAT_INIT("asnlxr", S390_FEAT_TYPE_STFL, 6, "ASN-and-LX reuse facility"),
|
|
|
016a62 |
- FEAT_INIT("stfle", S390_FEAT_TYPE_STFL, 7, "Store-facility-list-extended facility"),
|
|
|
016a62 |
- FEAT_INIT("edat", S390_FEAT_TYPE_STFL, 8, "Enhanced-DAT facility"),
|
|
|
016a62 |
- FEAT_INIT("srs", S390_FEAT_TYPE_STFL, 9, "Sense-running-status facility"),
|
|
|
016a62 |
- FEAT_INIT("csske", S390_FEAT_TYPE_STFL, 10, "Conditional-SSKE facility"),
|
|
|
016a62 |
- FEAT_INIT("ctop", S390_FEAT_TYPE_STFL, 11, "Configuration-topology facility"),
|
|
|
016a62 |
- FEAT_INIT("apqci", S390_FEAT_TYPE_STFL, 12, "Query AP Configuration Information facility"),
|
|
|
016a62 |
- FEAT_INIT("ipter", S390_FEAT_TYPE_STFL, 13, "IPTE-range facility"),
|
|
|
016a62 |
- FEAT_INIT("nonqks", S390_FEAT_TYPE_STFL, 14, "Nonquiescing key-setting facility"),
|
|
|
016a62 |
- FEAT_INIT("apft", S390_FEAT_TYPE_STFL, 15, "AP Facilities Test facility"),
|
|
|
016a62 |
- FEAT_INIT("etf2", S390_FEAT_TYPE_STFL, 16, "Extended-translation facility 2"),
|
|
|
016a62 |
- FEAT_INIT("msa-base", S390_FEAT_TYPE_STFL, 17, "Message-security-assist facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("ldisp", S390_FEAT_TYPE_STFL, 18, "Long-displacement facility"),
|
|
|
016a62 |
- FEAT_INIT("ldisphp", S390_FEAT_TYPE_STFL, 19, "Long-displacement facility has high performance"),
|
|
|
016a62 |
- FEAT_INIT("hfpm", S390_FEAT_TYPE_STFL, 20, "HFP-multiply-add/subtract facility"),
|
|
|
016a62 |
- FEAT_INIT("eimm", S390_FEAT_TYPE_STFL, 21, "Extended-immediate facility"),
|
|
|
016a62 |
- FEAT_INIT("etf3", S390_FEAT_TYPE_STFL, 22, "Extended-translation facility 3"),
|
|
|
016a62 |
- FEAT_INIT("hfpue", S390_FEAT_TYPE_STFL, 23, "HFP-unnormalized-extension facility"),
|
|
|
016a62 |
- FEAT_INIT("etf2eh", S390_FEAT_TYPE_STFL, 24, "ETF2-enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("stckf", S390_FEAT_TYPE_STFL, 25, "Store-clock-fast facility"),
|
|
|
016a62 |
- FEAT_INIT("parseh", S390_FEAT_TYPE_STFL, 26, "Parsing-enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("mvcos", S390_FEAT_TYPE_STFL, 27, "Move-with-optional-specification facility"),
|
|
|
016a62 |
- FEAT_INIT("tods-base", S390_FEAT_TYPE_STFL, 28, "TOD-clock-steering facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("etf3eh", S390_FEAT_TYPE_STFL, 30, "ETF3-enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("ectg", S390_FEAT_TYPE_STFL, 31, "Extract-CPU-time facility"),
|
|
|
016a62 |
- FEAT_INIT("csst", S390_FEAT_TYPE_STFL, 32, "Compare-and-swap-and-store facility"),
|
|
|
016a62 |
- FEAT_INIT("csst2", S390_FEAT_TYPE_STFL, 33, "Compare-and-swap-and-store facility 2"),
|
|
|
016a62 |
- FEAT_INIT("ginste", S390_FEAT_TYPE_STFL, 34, "General-instructions-extension facility"),
|
|
|
016a62 |
- FEAT_INIT("exrl", S390_FEAT_TYPE_STFL, 35, "Execute-extensions facility"),
|
|
|
016a62 |
- FEAT_INIT("emon", S390_FEAT_TYPE_STFL, 36, "Enhanced-monitor facility"),
|
|
|
016a62 |
- FEAT_INIT("fpe", S390_FEAT_TYPE_STFL, 37, "Floating-point extension facility"),
|
|
|
016a62 |
- FEAT_INIT("opc", S390_FEAT_TYPE_STFL, 38, "Order Preserving Compression facility"),
|
|
|
016a62 |
- FEAT_INIT("sprogp", S390_FEAT_TYPE_STFL, 40, "Set-program-parameters facility"),
|
|
|
016a62 |
- FEAT_INIT("fpseh", S390_FEAT_TYPE_STFL, 41, "Floating-point-support-enhancement facilities"),
|
|
|
016a62 |
- FEAT_INIT("dfp", S390_FEAT_TYPE_STFL, 42, "DFP (decimal-floating-point) facility"),
|
|
|
016a62 |
- FEAT_INIT("dfphp", S390_FEAT_TYPE_STFL, 43, "DFP (decimal-floating-point) facility has high performance"),
|
|
|
016a62 |
- FEAT_INIT("pfpo", S390_FEAT_TYPE_STFL, 44, "PFPO instruction"),
|
|
|
016a62 |
- FEAT_INIT("stfle45", S390_FEAT_TYPE_STFL, 45, "Various facilities introduced with z196"),
|
|
|
016a62 |
- FEAT_INIT("cmpsceh", S390_FEAT_TYPE_STFL, 47, "CMPSC-enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("dfpzc", S390_FEAT_TYPE_STFL, 48, "Decimal-floating-point zoned-conversion facility"),
|
|
|
016a62 |
- FEAT_INIT("stfle49", S390_FEAT_TYPE_STFL, 49, "Various facilities introduced with zEC12"),
|
|
|
016a62 |
- FEAT_INIT("cte", S390_FEAT_TYPE_STFL, 50, "Constrained transactional-execution facility"),
|
|
|
016a62 |
- FEAT_INIT("ltlbc", S390_FEAT_TYPE_STFL, 51, "Local-TLB-clearing facility"),
|
|
|
016a62 |
- FEAT_INIT("iacc2", S390_FEAT_TYPE_STFL, 52, "Interlocked-access facility 2"),
|
|
|
016a62 |
- FEAT_INIT("stfle53", S390_FEAT_TYPE_STFL, 53, "Various facilities introduced with z13"),
|
|
|
016a62 |
- FEAT_INIT("eec", S390_FEAT_TYPE_STFL, 54, "Entropy encoding compression facility"),
|
|
|
016a62 |
- FEAT_INIT("msa5-base", S390_FEAT_TYPE_STFL, 57, "Message-security-assist-extension-5 facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("minste2", S390_FEAT_TYPE_STFL, 58, "Miscellaneous-instruction-extensions facility 2"),
|
|
|
016a62 |
- FEAT_INIT("sema", S390_FEAT_TYPE_STFL, 59, "Semaphore-assist facility"),
|
|
|
016a62 |
- FEAT_INIT("tsi", S390_FEAT_TYPE_STFL, 60, "Time-slice Instrumentation facility"),
|
|
|
016a62 |
- FEAT_INIT("minste3", S390_FEAT_TYPE_STFL, 61, "Miscellaneous-Instruction-Extensions Facility 3"),
|
|
|
016a62 |
- FEAT_INIT("ri", S390_FEAT_TYPE_STFL, 64, "CPU runtime-instrumentation facility"),
|
|
|
016a62 |
- FEAT_INIT("zpci", S390_FEAT_TYPE_STFL, 69, "z/PCI facility"),
|
|
|
016a62 |
- FEAT_INIT("aen", S390_FEAT_TYPE_STFL, 71, "General-purpose-adapter-event-notification facility"),
|
|
|
016a62 |
- FEAT_INIT("ais", S390_FEAT_TYPE_STFL, 72, "General-purpose-adapter-interruption-suppression facility"),
|
|
|
016a62 |
- FEAT_INIT("te", S390_FEAT_TYPE_STFL, 73, "Transactional-execution facility"),
|
|
|
016a62 |
- FEAT_INIT("sthyi", S390_FEAT_TYPE_STFL, 74, "Store-hypervisor-information facility"),
|
|
|
016a62 |
- FEAT_INIT("aefsi", S390_FEAT_TYPE_STFL, 75, "Access-exception-fetch/store-indication facility"),
|
|
|
016a62 |
- FEAT_INIT("msa3-base", S390_FEAT_TYPE_STFL, 76, "Message-security-assist-extension-3 facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("msa4-base", S390_FEAT_TYPE_STFL, 77, "Message-security-assist-extension-4 facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("edat2", S390_FEAT_TYPE_STFL, 78, "Enhanced-DAT facility 2"),
|
|
|
016a62 |
- FEAT_INIT("dfppc", S390_FEAT_TYPE_STFL, 80, "Decimal-floating-point packed-conversion facility"),
|
|
|
016a62 |
- FEAT_INIT("ppa15", S390_FEAT_TYPE_STFL, 81, "PPA15 is installed"),
|
|
|
016a62 |
- FEAT_INIT("bpb", S390_FEAT_TYPE_STFL, 82, "Branch prediction blocking"),
|
|
|
016a62 |
- FEAT_INIT("vx", S390_FEAT_TYPE_STFL, 129, "Vector facility"),
|
|
|
016a62 |
- FEAT_INIT("iep", S390_FEAT_TYPE_STFL, 130, "Instruction-execution-protection facility"),
|
|
|
016a62 |
- FEAT_INIT("sea_esop2", S390_FEAT_TYPE_STFL, 131, "Side-effect-access facility and Enhanced-suppression-on-protection facility 2"),
|
|
|
016a62 |
- FEAT_INIT("gs", S390_FEAT_TYPE_STFL, 133, "Guarded-storage facility"),
|
|
|
016a62 |
- FEAT_INIT("vxpd", S390_FEAT_TYPE_STFL, 134, "Vector packed decimal facility"),
|
|
|
016a62 |
- FEAT_INIT("vxeh", S390_FEAT_TYPE_STFL, 135, "Vector enhancements facility"),
|
|
|
016a62 |
- FEAT_INIT("mepoch", S390_FEAT_TYPE_STFL, 139, "Multiple-epoch facility"),
|
|
|
016a62 |
- FEAT_INIT("tpei", S390_FEAT_TYPE_STFL, 144, "Test-pending-external-interruption facility"),
|
|
|
016a62 |
- FEAT_INIT("irbm", S390_FEAT_TYPE_STFL, 145, "Insert-reference-bits-multiple facility"),
|
|
|
016a62 |
- FEAT_INIT("msa8-base", S390_FEAT_TYPE_STFL, 146, "Message-security-assist-extension-8 facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("cmmnt", S390_FEAT_TYPE_STFL, 147, "CMM: ESSA-enhancement (no translate) facility"),
|
|
|
016a62 |
- FEAT_INIT("vxeh2", S390_FEAT_TYPE_STFL, 148, "Vector Enhancements facility 2"),
|
|
|
016a62 |
- FEAT_INIT("esort-base", S390_FEAT_TYPE_STFL, 150, "Enhanced-sort facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("deflate-base", S390_FEAT_TYPE_STFL, 151, "Deflate-conversion facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("vxpdeh", S390_FEAT_TYPE_STFL, 152, "Vector-Packed-Decimal-Enhancement Facility"),
|
|
|
016a62 |
- FEAT_INIT("msa9-base", S390_FEAT_TYPE_STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)"),
|
|
|
016a62 |
- FEAT_INIT("etoken", S390_FEAT_TYPE_STFL, 156, "Etoken facility"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* SCLP SCCB Byte 80 - 98 (bit numbers relative to byte-80) */
|
|
|
016a62 |
- FEAT_INIT("gsls", S390_FEAT_TYPE_SCLP_CONF_CHAR, 40, "SIE: Guest-storage-limit-suppression facility"),
|
|
|
016a62 |
- FEAT_INIT("esop", S390_FEAT_TYPE_SCLP_CONF_CHAR, 46, "Enhanced-suppression-on-protection facility"),
|
|
|
016a62 |
- FEAT_INIT("hpma2", S390_FEAT_TYPE_SCLP_CONF_CHAR, 90, "Host page management assist 2 Facility"), /* 91-2 */
|
|
|
016a62 |
- FEAT_INIT("kss", S390_FEAT_TYPE_SCLP_CONF_CHAR, 151, "SIE: Keyless-subset facility"), /* 98-7 */
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* SCLP SCCB Byte 116 - 119 (bit numbers relative to byte-116) */
|
|
|
016a62 |
- FEAT_INIT("64bscao", S390_FEAT_TYPE_SCLP_CONF_CHAR_EXT, 0, "SIE: 64-bit-SCAO facility"),
|
|
|
016a62 |
- FEAT_INIT("cmma", S390_FEAT_TYPE_SCLP_CONF_CHAR_EXT, 1, "SIE: Collaborative-memory-management assist"),
|
|
|
016a62 |
- FEAT_INIT("pfmfi", S390_FEAT_TYPE_SCLP_CONF_CHAR_EXT, 9, "SIE: PFMF interpretation facility"),
|
|
|
016a62 |
- FEAT_INIT("ibs", S390_FEAT_TYPE_SCLP_CONF_CHAR_EXT, 10, "SIE: Interlock-and-broadcast-suppression facility"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("sief2", S390_FEAT_TYPE_SCLP_CPU, 4, "SIE: interception format 2 (Virtual SIE)"),
|
|
|
016a62 |
- FEAT_INIT("skey", S390_FEAT_TYPE_SCLP_CPU, 5, "SIE: Storage-key facility"),
|
|
|
016a62 |
- FEAT_INIT("gpereh", S390_FEAT_TYPE_SCLP_CPU, 10, "SIE: Guest-PER enhancement facility"),
|
|
|
016a62 |
- FEAT_INIT("siif", S390_FEAT_TYPE_SCLP_CPU, 11, "SIE: Shared IPTE-interlock facility"),
|
|
|
016a62 |
- FEAT_INIT("sigpif", S390_FEAT_TYPE_SCLP_CPU, 12, "SIE: SIGP interpretation facility"),
|
|
|
016a62 |
- FEAT_INIT("ib", S390_FEAT_TYPE_SCLP_CPU, 42, "SIE: Intervention bypass facility"),
|
|
|
016a62 |
- FEAT_INIT("cei", S390_FEAT_TYPE_SCLP_CPU, 43, "SIE: Conditional-external-interception facility"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT_MISC("dateh2", "DAT-enhancement facility 2"),
|
|
|
016a62 |
- FEAT_INIT_MISC("cmm", "Collaborative-memory-management facility"),
|
|
|
016a62 |
- FEAT_INIT_MISC("ap", "AP instructions installed"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("plo-cl", S390_FEAT_TYPE_PLO, 0, "PLO Compare and load (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-clg", S390_FEAT_TYPE_PLO, 1, "PLO Compare and load (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-clgr", S390_FEAT_TYPE_PLO, 2, "PLO Compare and load (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-clx", S390_FEAT_TYPE_PLO, 3, "PLO Compare and load (128 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-cs", S390_FEAT_TYPE_PLO, 4, "PLO Compare and swap (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csg", S390_FEAT_TYPE_PLO, 5, "PLO Compare and swap (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csgr", S390_FEAT_TYPE_PLO, 6, "PLO Compare and swap (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csx", S390_FEAT_TYPE_PLO, 7, "PLO Compare and swap (128 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-dcs", S390_FEAT_TYPE_PLO, 8, "PLO Double compare and swap (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-dcsg", S390_FEAT_TYPE_PLO, 9, "PLO Double compare and swap (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-dcsgr", S390_FEAT_TYPE_PLO, 10, "PLO Double compare and swap (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-dcsx", S390_FEAT_TYPE_PLO, 11, "PLO Double compare and swap (128 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csst", S390_FEAT_TYPE_PLO, 12, "PLO Compare and swap and store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csstg", S390_FEAT_TYPE_PLO, 13, "PLO Compare and swap and store (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csstgr", S390_FEAT_TYPE_PLO, 14, "PLO Compare and swap and store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csstx", S390_FEAT_TYPE_PLO, 15, "PLO Compare and swap and store (128 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csdst", S390_FEAT_TYPE_PLO, 16, "PLO Compare and swap and double store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csdstg", S390_FEAT_TYPE_PLO, 17, "PLO Compare and swap and double store (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csdstgr", S390_FEAT_TYPE_PLO, 18, "PLO Compare and swap and double store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-csdstx", S390_FEAT_TYPE_PLO, 19, "PLO Compare and swap and double store (128 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-cstst", S390_FEAT_TYPE_PLO, 20, "PLO Compare and swap and triple store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-cststg", S390_FEAT_TYPE_PLO, 21, "PLO Compare and swap and triple store (64 bit in parameter list)"),
|
|
|
016a62 |
- FEAT_INIT("plo-cststgr", S390_FEAT_TYPE_PLO, 22, "PLO Compare and swap and triple store (32 bit in general registers)"),
|
|
|
016a62 |
- FEAT_INIT("plo-cststx", S390_FEAT_TYPE_PLO, 23, "PLO Compare and swap and triple store (128 bit in parameter list)"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("ptff-qto", S390_FEAT_TYPE_PTFF, 1, "PTFF Query TOD Offset"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qsi", S390_FEAT_TYPE_PTFF, 2, "PTFF Query Steering Information"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qpc", S390_FEAT_TYPE_PTFF, 3, "PTFF Query Physical Clock"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qui", S390_FEAT_TYPE_PTFF, 4, "PTFF Query UTC Information"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qtou", S390_FEAT_TYPE_PTFF, 5, "PTFF Query TOD Offset User"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qsie", S390_FEAT_TYPE_PTFF, 10, "PTFF Query Steering Information Extended"),
|
|
|
016a62 |
- FEAT_INIT("ptff-qtoue", S390_FEAT_TYPE_PTFF, 13, "PTFF Query TOD Offset User Extended"),
|
|
|
016a62 |
- FEAT_INIT("ptff-sto", S390_FEAT_TYPE_PTFF, 65, "PTFF Set TOD Offset"),
|
|
|
016a62 |
- FEAT_INIT("ptff-stou", S390_FEAT_TYPE_PTFF, 69, "PTFF Set TOD Offset User"),
|
|
|
016a62 |
- FEAT_INIT("ptff-stoe", S390_FEAT_TYPE_PTFF, 73, "PTFF Set TOD Offset Extended"),
|
|
|
016a62 |
- FEAT_INIT("ptff-stoue", S390_FEAT_TYPE_PTFF, 77, "PTFF Set TOD Offset User Extended"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kmac-dea", S390_FEAT_TYPE_KMAC, 1, "KMAC DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmac-tdea-128", S390_FEAT_TYPE_KMAC, 2, "KMAC TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmac-tdea-192", S390_FEAT_TYPE_KMAC, 3, "KMAC TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmac-edea", S390_FEAT_TYPE_KMAC, 9, "KMAC Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmac-etdea-128", S390_FEAT_TYPE_KMAC, 10, "KMAC Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmac-etdea-192", S390_FEAT_TYPE_KMAC, 11, "KMAC Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmac-aes-128", S390_FEAT_TYPE_KMAC, 18, "KMAC AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmac-aes-192", S390_FEAT_TYPE_KMAC, 19, "KMAC AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmac-aes-256", S390_FEAT_TYPE_KMAC, 20, "KMAC AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmac-eaes-128", S390_FEAT_TYPE_KMAC, 26, "KMAC Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmac-eaes-192", S390_FEAT_TYPE_KMAC, 27, "KMAC Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmac-eaes-256", S390_FEAT_TYPE_KMAC, 28, "KMAC Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kmc-dea", S390_FEAT_TYPE_KMC, 1, "KMC DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmc-tdea-128", S390_FEAT_TYPE_KMC, 2, "KMC TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmc-tdea-192", S390_FEAT_TYPE_KMC, 3, "KMC TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmc-edea", S390_FEAT_TYPE_KMC, 9, "KMC Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmc-etdea-128", S390_FEAT_TYPE_KMC, 10, "KMC Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmc-etdea-192", S390_FEAT_TYPE_KMC, 11, "KMC Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmc-aes-128", S390_FEAT_TYPE_KMC, 18, "KMC AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmc-aes-192", S390_FEAT_TYPE_KMC, 19, "KMC AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmc-aes-256", S390_FEAT_TYPE_KMC, 20, "KMC AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmc-eaes-128", S390_FEAT_TYPE_KMC, 26, "KMC Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmc-eaes-192", S390_FEAT_TYPE_KMC, 27, "KMC Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmc-eaes-256", S390_FEAT_TYPE_KMC, 28, "KMC Encrypted-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmc-prng", S390_FEAT_TYPE_KMC, 67, "KMC PRNG"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("km-dea", S390_FEAT_TYPE_KM, 1, "KM DEA"),
|
|
|
016a62 |
- FEAT_INIT("km-tdea-128", S390_FEAT_TYPE_KM, 2, "KM TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("km-tdea-192", S390_FEAT_TYPE_KM, 3, "KM TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("km-edea", S390_FEAT_TYPE_KM, 9, "KM Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("km-etdea-128", S390_FEAT_TYPE_KM, 10, "KM Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("km-etdea-192", S390_FEAT_TYPE_KM, 11, "KM Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("km-aes-128", S390_FEAT_TYPE_KM, 18, "KM AES-128"),
|
|
|
016a62 |
- FEAT_INIT("km-aes-192", S390_FEAT_TYPE_KM, 19, "KM AES-192"),
|
|
|
016a62 |
- FEAT_INIT("km-aes-256", S390_FEAT_TYPE_KM, 20, "KM AES-256"),
|
|
|
016a62 |
- FEAT_INIT("km-eaes-128", S390_FEAT_TYPE_KM, 26, "KM Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("km-eaes-192", S390_FEAT_TYPE_KM, 27, "KM Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("km-eaes-256", S390_FEAT_TYPE_KM, 28, "KM Encrypted-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("km-xts-aes-128", S390_FEAT_TYPE_KM, 50, "KM XTS-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("km-xts-aes-256", S390_FEAT_TYPE_KM, 52, "KM XTS-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("km-xts-eaes-128", S390_FEAT_TYPE_KM, 58, "KM XTS-Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("km-xts-eaes-256", S390_FEAT_TYPE_KM, 60, "KM XTS-Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kimd-sha-1", S390_FEAT_TYPE_KIMD, 1, "KIMD SHA-1"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha-256", S390_FEAT_TYPE_KIMD, 2, "KIMD SHA-256"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha-512", S390_FEAT_TYPE_KIMD, 3, "KIMD SHA-512"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha3-224", S390_FEAT_TYPE_KIMD, 32, "KIMD SHA3-224"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha3-256", S390_FEAT_TYPE_KIMD, 33, "KIMD SHA3-256"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha3-384", S390_FEAT_TYPE_KIMD, 34, "KIMD SHA3-384"),
|
|
|
016a62 |
- FEAT_INIT("kimd-sha3-512", S390_FEAT_TYPE_KIMD, 35, "KIMD SHA3-512"),
|
|
|
016a62 |
- FEAT_INIT("kimd-shake-128", S390_FEAT_TYPE_KIMD, 36, "KIMD SHAKE-128"),
|
|
|
016a62 |
- FEAT_INIT("kimd-shake-256", S390_FEAT_TYPE_KIMD, 37, "KIMD SHAKE-256"),
|
|
|
016a62 |
- FEAT_INIT("kimd-ghash", S390_FEAT_TYPE_KIMD, 65, "KIMD GHASH"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("klmd-sha-1", S390_FEAT_TYPE_KLMD, 1, "KLMD SHA-1"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha-256", S390_FEAT_TYPE_KLMD, 2, "KLMD SHA-256"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha-512", S390_FEAT_TYPE_KLMD, 3, "KLMD SHA-512"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha3-224", S390_FEAT_TYPE_KLMD, 32, "KLMD SHA3-224"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha3-256", S390_FEAT_TYPE_KLMD, 33, "KLMD SHA3-256"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha3-384", S390_FEAT_TYPE_KLMD, 34, "KLMD SHA3-384"),
|
|
|
016a62 |
- FEAT_INIT("klmd-sha3-512", S390_FEAT_TYPE_KLMD, 35, "KLMD SHA3-512"),
|
|
|
016a62 |
- FEAT_INIT("klmd-shake-128", S390_FEAT_TYPE_KLMD, 36, "KLMD SHAKE-128"),
|
|
|
016a62 |
- FEAT_INIT("klmd-shake-256", S390_FEAT_TYPE_KLMD, 37, "KLMD SHAKE-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("pckmo-edea", S390_FEAT_TYPE_PCKMO, 1, "PCKMO Encrypted-DEA-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-etdea-128", S390_FEAT_TYPE_PCKMO, 2, "PCKMO Encrypted-TDEA-128-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-etdea-192", S390_FEAT_TYPE_PCKMO, 3, "PCKMO Encrypted-TDEA-192-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-aes-128", S390_FEAT_TYPE_PCKMO, 18, "PCKMO Encrypted-AES-128-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-aes-192", S390_FEAT_TYPE_PCKMO, 19, "PCKMO Encrypted-AES-192-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-aes-256", S390_FEAT_TYPE_PCKMO, 20, "PCKMO Encrypted-AES-256-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-ecc-p256", S390_FEAT_TYPE_PCKMO, 32, "PCKMO Encrypt-ECC-P256-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-ecc-p384", S390_FEAT_TYPE_PCKMO, 33, "PCKMO Encrypt-ECC-P384-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-ecc-p521", S390_FEAT_TYPE_PCKMO, 34, "PCKMO Encrypt-ECC-P521-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-ecc-ed25519", S390_FEAT_TYPE_PCKMO, 40 , "PCKMO Encrypt-ECC-Ed25519-Key"),
|
|
|
016a62 |
- FEAT_INIT("pckmo-ecc-ed448", S390_FEAT_TYPE_PCKMO, 41 , "PCKMO Encrypt-ECC-Ed448-Key"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kmctr-dea", S390_FEAT_TYPE_KMCTR, 1, "KMCTR DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-tdea-128", S390_FEAT_TYPE_KMCTR, 2, "KMCTR TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-tdea-192", S390_FEAT_TYPE_KMCTR, 3, "KMCTR TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-edea", S390_FEAT_TYPE_KMCTR, 9, "KMCTR Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-etdea-128", S390_FEAT_TYPE_KMCTR, 10, "KMCTR Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-etdea-192", S390_FEAT_TYPE_KMCTR, 11, "KMCTR Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-aes-128", S390_FEAT_TYPE_KMCTR, 18, "KMCTR AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-aes-192", S390_FEAT_TYPE_KMCTR, 19, "KMCTR AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-aes-256", S390_FEAT_TYPE_KMCTR, 20, "KMCTR AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-eaes-128", S390_FEAT_TYPE_KMCTR, 26, "KMCTR Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-eaes-192", S390_FEAT_TYPE_KMCTR, 27, "KMCTR Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmctr-eaes-256", S390_FEAT_TYPE_KMCTR, 28, "KMCTR Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kmf-dea", S390_FEAT_TYPE_KMF, 1, "KMF DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmf-tdea-128", S390_FEAT_TYPE_KMF, 2, "KMF TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmf-tdea-192", S390_FEAT_TYPE_KMF, 3, "KMF TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmf-edea", S390_FEAT_TYPE_KMF, 9, "KMF Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmf-etdea-128", S390_FEAT_TYPE_KMF, 10, "KMF Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmf-etdea-192", S390_FEAT_TYPE_KMF, 11, "KMF Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmf-aes-128", S390_FEAT_TYPE_KMF, 18, "KMF AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmf-aes-192", S390_FEAT_TYPE_KMF, 19, "KMF AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmf-aes-256", S390_FEAT_TYPE_KMF, 20, "KMF AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmf-eaes-128", S390_FEAT_TYPE_KMF, 26, "KMF Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmf-eaes-192", S390_FEAT_TYPE_KMF, 27, "KMF Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmf-eaes-256", S390_FEAT_TYPE_KMF, 28, "KMF Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kmo-dea", S390_FEAT_TYPE_KMO, 1, "KMO DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmo-tdea-128", S390_FEAT_TYPE_KMO, 2, "KMO TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmo-tdea-192", S390_FEAT_TYPE_KMO, 3, "KMO TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmo-edea", S390_FEAT_TYPE_KMO, 9, "KMO Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("kmo-etdea-128", S390_FEAT_TYPE_KMO, 10, "KMO Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("kmo-etdea-192", S390_FEAT_TYPE_KMO, 11, "KMO Encrypted-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("kmo-aes-128", S390_FEAT_TYPE_KMO, 18, "KMO AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmo-aes-192", S390_FEAT_TYPE_KMO, 19, "KMO AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmo-aes-256", S390_FEAT_TYPE_KMO, 20, "KMO AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kmo-eaes-128", S390_FEAT_TYPE_KMO, 26, "KMO Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kmo-eaes-192", S390_FEAT_TYPE_KMO, 27, "KMO Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kmo-eaes-256", S390_FEAT_TYPE_KMO, 28, "KMO Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-dea", S390_FEAT_TYPE_PCC, 1, "PCC Compute-Last-Block-CMAC-Using-DEA"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-tdea-128", S390_FEAT_TYPE_PCC, 2, "PCC Compute-Last-Block-CMAC-Using-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-tdea-192", S390_FEAT_TYPE_PCC, 3, "PCC Compute-Last-Block-CMAC-Using-TDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-edea", S390_FEAT_TYPE_PCC, 9, "PCC Compute-Last-Block-CMAC-Using-Encrypted-DEA"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-etdea-128", S390_FEAT_TYPE_PCC, 10, "PCC Compute-Last-Block-CMAC-Using-Encrypted-TDEA-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-etdea-192", S390_FEAT_TYPE_PCC, 11, "PCC Compute-Last-Block-CMAC-Using-EncryptedTDEA-192"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-aes-128", S390_FEAT_TYPE_PCC, 18, "PCC Compute-Last-Block-CMAC-Using-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-aes-192", S390_FEAT_TYPE_PCC, 19, "PCC Compute-Last-Block-CMAC-Using-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-eaes-256", S390_FEAT_TYPE_PCC, 20, "PCC Compute-Last-Block-CMAC-Using-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-eaes-128", S390_FEAT_TYPE_PCC, 26, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-eaes-192", S390_FEAT_TYPE_PCC, 27, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("pcc-cmac-eaes-256", S390_FEAT_TYPE_PCC, 28, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("pcc-xts-aes-128", S390_FEAT_TYPE_PCC, 50, "PCC Compute-XTS-Parameter-Using-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-xts-aes-256", S390_FEAT_TYPE_PCC, 52, "PCC Compute-XTS-Parameter-Using-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("pcc-xts-eaes-128", S390_FEAT_TYPE_PCC, 58, "PCC Compute-XTS-Parameter-Using-Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("pcc-xts-eaes-256", S390_FEAT_TYPE_PCC, 60, "PCC Compute-XTS-Parameter-Using-Encrypted-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-p256", S390_FEAT_TYPE_PCC, 64, "PCC Scalar-Multiply-P256"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-p384", S390_FEAT_TYPE_PCC, 65, "PCC Scalar-Multiply-P384"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-p521", S390_FEAT_TYPE_PCC, 66, "PCC Scalar-Multiply-P521"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-ed25519", S390_FEAT_TYPE_PCC, 72, "PCC Scalar-Multiply-Ed25519"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-ed448", S390_FEAT_TYPE_PCC, 73, "PCC Scalar-Multiply-Ed448"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-x25519", S390_FEAT_TYPE_PCC, 80, "PCC Scalar-Multiply-X25519"),
|
|
|
016a62 |
- FEAT_INIT("pcc-scalar-mult-x448", S390_FEAT_TYPE_PCC, 81, "PCC Scalar-Multiply-X448"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("ppno-sha-512-drng", S390_FEAT_TYPE_PPNO, 3, "PPNO SHA-512-DRNG"),
|
|
|
016a62 |
- FEAT_INIT("prno-trng-qrtcr", S390_FEAT_TYPE_PPNO, 112, "PRNO TRNG-Query-Raw-to-Conditioned-Ratio"),
|
|
|
016a62 |
- FEAT_INIT("prno-trng", S390_FEAT_TYPE_PPNO, 114, "PRNO TRNG"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-aes-128", S390_FEAT_TYPE_KMA, 18, "KMA GCM-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-aes-192", S390_FEAT_TYPE_KMA, 19, "KMA GCM-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-aes-256", S390_FEAT_TYPE_KMA, 20, "KMA GCM-AES-256"),
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-eaes-128", S390_FEAT_TYPE_KMA, 26, "KMA GCM-Encrypted-AES-128"),
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-eaes-192", S390_FEAT_TYPE_KMA, 27, "KMA GCM-Encrypted-AES-192"),
|
|
|
016a62 |
- FEAT_INIT("kma-gcm-eaes-256", S390_FEAT_TYPE_KMA, 28, "KMA GCM-Encrypted-AES-256"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-verify-p256", S390_FEAT_TYPE_KDSA, 1, "KDSA ECDSA-Verify-P256"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-verify-p384", S390_FEAT_TYPE_KDSA, 2, "KDSA ECDSA-Verify-P384"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-verify-p521", S390_FEAT_TYPE_KDSA, 3, "KDSA ECDSA-Verify-P521"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-sign-p256", S390_FEAT_TYPE_KDSA, 9, "KDSA ECDSA-Sign-P256"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-sign-p384", S390_FEAT_TYPE_KDSA, 10, "KDSA ECDSA-Sign-P384"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-ecdsa-sign-p521", S390_FEAT_TYPE_KDSA, 11, "KDSA ECDSA-Sign-P521"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eecdsa-sign-p256", S390_FEAT_TYPE_KDSA, 17, "KDSA Encrypted-ECDSA-Sign-P256"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eecdsa-sign-p384", S390_FEAT_TYPE_KDSA, 18, "KDSA Encrypted-ECDSA-Sign-P384"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eecdsa-sign-p521", S390_FEAT_TYPE_KDSA, 19, "KDSA Encrypted-ECDSA-Sign-P521"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eddsa-verify-ed25519", S390_FEAT_TYPE_KDSA, 32, "KDSA EdDSA-Verify-Ed25519"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eddsa-verify-ed448", S390_FEAT_TYPE_KDSA, 36, "KDSA EdDSA-Verify-Ed448"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eddsa-sign-ed25519", S390_FEAT_TYPE_KDSA, 40, "KDSA EdDSA-Sign-Ed25519"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eddsa-sign-ed448", S390_FEAT_TYPE_KDSA, 44, "KDSA EdDSA-Sign-Ed448"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eeddsa-sign-ed25519", S390_FEAT_TYPE_KDSA, 48, "KDSA Encrypted-EdDSA-Sign-Ed25519"),
|
|
|
016a62 |
- FEAT_INIT("kdsa-eeddsa-sign-ed448", S390_FEAT_TYPE_KDSA, 52, "KDSA Encrypted-EdDSA-Sign-Ed448"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("sortl-sflr", S390_FEAT_TYPE_SORTL, 1, "SORTL SFLR"),
|
|
|
016a62 |
- FEAT_INIT("sortl-svlr", S390_FEAT_TYPE_SORTL, 2, "SORTL SVLR"),
|
|
|
016a62 |
- FEAT_INIT("sortl-32", S390_FEAT_TYPE_SORTL, 130, "SORTL 32 input lists"),
|
|
|
016a62 |
- FEAT_INIT("sortl-128", S390_FEAT_TYPE_SORTL, 132, "SORTL 128 input lists"),
|
|
|
016a62 |
- FEAT_INIT("sortl-f0", S390_FEAT_TYPE_SORTL, 192, "SORTL format 0 parameter-block"),
|
|
|
016a62 |
-
|
|
|
016a62 |
- FEAT_INIT("dfltcc-gdht", S390_FEAT_TYPE_DFLTCC, 1, "DFLTCC GDHT"),
|
|
|
016a62 |
- FEAT_INIT("dfltcc-cmpr", S390_FEAT_TYPE_DFLTCC, 2, "DFLTCC CMPR"),
|
|
|
016a62 |
- FEAT_INIT("dfltcc-xpnd", S390_FEAT_TYPE_DFLTCC, 4, "DFLTCC XPND"),
|
|
|
016a62 |
- FEAT_INIT("dfltcc-f0", S390_FEAT_TYPE_DFLTCC, 192, "DFLTCC format 0 parameter-block"),
|
|
|
016a62 |
+#define DEF_FEAT(_FEAT, _NAME, _TYPE, _BIT, _DESC) \
|
|
|
016a62 |
+ [S390_FEAT_##_FEAT] = { \
|
|
|
016a62 |
+ .name = _NAME, \
|
|
|
016a62 |
+ .type = S390_FEAT_TYPE_##_TYPE, \
|
|
|
016a62 |
+ .bit = _BIT, \
|
|
|
016a62 |
+ .desc = _DESC, \
|
|
|
016a62 |
+ },
|
|
|
016a62 |
+static const S390FeatDef s390_features[S390_FEAT_MAX] = {
|
|
|
016a62 |
+ #include "cpu_features_def.inc.h"
|
|
|
016a62 |
};
|
|
|
016a62 |
+#undef DEF_FEAT
|
|
|
016a62 |
|
|
|
016a62 |
const S390FeatDef *s390_feat_def(S390Feat feat)
|
|
|
016a62 |
{
|
|
|
016a62 |
diff --git a/target/s390x/cpu_features_def.h b/target/s390x/cpu_features_def.h
|
|
|
016a62 |
index a7abe4d..412d356 100644
|
|
|
016a62 |
--- a/target/s390x/cpu_features_def.h
|
|
|
016a62 |
+++ b/target/s390x/cpu_features_def.h
|
|
|
016a62 |
@@ -2,9 +2,10 @@
|
|
|
016a62 |
* CPU features/facilities for s390
|
|
|
016a62 |
*
|
|
|
016a62 |
* Copyright IBM Corp. 2016, 2018
|
|
|
016a62 |
+ * Copyright Red Hat, Inc. 2019
|
|
|
016a62 |
*
|
|
|
016a62 |
* Author(s): Michael Mueller <mimu@linux.vnet.ibm.com>
|
|
|
016a62 |
- * David Hildenbrand <dahi@linux.vnet.ibm.com>
|
|
|
016a62 |
+ * David Hildenbrand <david@redhat.com>
|
|
|
016a62 |
*
|
|
|
016a62 |
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
|
016a62 |
* your option) any later version. See the COPYING file in the top-level
|
|
|
016a62 |
@@ -14,354 +15,11 @@
|
|
|
016a62 |
#ifndef TARGET_S390X_CPU_FEATURES_DEF_H
|
|
|
016a62 |
#define TARGET_S390X_CPU_FEATURES_DEF_H
|
|
|
016a62 |
|
|
|
016a62 |
+#define DEF_FEAT(_FEAT, ...) S390_FEAT_##_FEAT,
|
|
|
016a62 |
typedef enum {
|
|
|
016a62 |
- /* Stfle */
|
|
|
016a62 |
- S390_FEAT_ESAN3 = 0,
|
|
|
016a62 |
- S390_FEAT_ZARCH,
|
|
|
016a62 |
- S390_FEAT_DAT_ENH,
|
|
|
016a62 |
- S390_FEAT_IDTE_SEGMENT,
|
|
|
016a62 |
- S390_FEAT_IDTE_REGION,
|
|
|
016a62 |
- S390_FEAT_ASN_LX_REUSE,
|
|
|
016a62 |
- S390_FEAT_STFLE,
|
|
|
016a62 |
- S390_FEAT_EDAT,
|
|
|
016a62 |
- S390_FEAT_SENSE_RUNNING_STATUS,
|
|
|
016a62 |
- S390_FEAT_CONDITIONAL_SSKE,
|
|
|
016a62 |
- S390_FEAT_CONFIGURATION_TOPOLOGY,
|
|
|
016a62 |
- S390_FEAT_AP_QUERY_CONFIG_INFO,
|
|
|
016a62 |
- S390_FEAT_IPTE_RANGE,
|
|
|
016a62 |
- S390_FEAT_NONQ_KEY_SETTING,
|
|
|
016a62 |
- S390_FEAT_AP_FACILITIES_TEST,
|
|
|
016a62 |
- S390_FEAT_EXTENDED_TRANSLATION_2,
|
|
|
016a62 |
- S390_FEAT_MSA,
|
|
|
016a62 |
- S390_FEAT_LONG_DISPLACEMENT,
|
|
|
016a62 |
- S390_FEAT_LONG_DISPLACEMENT_FAST,
|
|
|
016a62 |
- S390_FEAT_HFP_MADDSUB,
|
|
|
016a62 |
- S390_FEAT_EXTENDED_IMMEDIATE,
|
|
|
016a62 |
- S390_FEAT_EXTENDED_TRANSLATION_3,
|
|
|
016a62 |
- S390_FEAT_HFP_UNNORMALIZED_EXT,
|
|
|
016a62 |
- S390_FEAT_ETF2_ENH,
|
|
|
016a62 |
- S390_FEAT_STORE_CLOCK_FAST,
|
|
|
016a62 |
- S390_FEAT_PARSING_ENH,
|
|
|
016a62 |
- S390_FEAT_MOVE_WITH_OPTIONAL_SPEC,
|
|
|
016a62 |
- S390_FEAT_TOD_CLOCK_STEERING,
|
|
|
016a62 |
- S390_FEAT_ETF3_ENH,
|
|
|
016a62 |
- S390_FEAT_EXTRACT_CPU_TIME,
|
|
|
016a62 |
- S390_FEAT_COMPARE_AND_SWAP_AND_STORE,
|
|
|
016a62 |
- S390_FEAT_COMPARE_AND_SWAP_AND_STORE_2,
|
|
|
016a62 |
- S390_FEAT_GENERAL_INSTRUCTIONS_EXT,
|
|
|
016a62 |
- S390_FEAT_EXECUTE_EXT,
|
|
|
016a62 |
- S390_FEAT_ENHANCED_MONITOR,
|
|
|
016a62 |
- S390_FEAT_FLOATING_POINT_EXT,
|
|
|
016a62 |
- S390_FEAT_ORDER_PRESERVING_COMPRESSION,
|
|
|
016a62 |
- S390_FEAT_SET_PROGRAM_PARAMETERS,
|
|
|
016a62 |
- S390_FEAT_FLOATING_POINT_SUPPPORT_ENH,
|
|
|
016a62 |
- S390_FEAT_DFP,
|
|
|
016a62 |
- S390_FEAT_DFP_FAST,
|
|
|
016a62 |
- S390_FEAT_PFPO,
|
|
|
016a62 |
- S390_FEAT_STFLE_45,
|
|
|
016a62 |
- S390_FEAT_CMPSC_ENH,
|
|
|
016a62 |
- S390_FEAT_DFP_ZONED_CONVERSION,
|
|
|
016a62 |
- S390_FEAT_STFLE_49,
|
|
|
016a62 |
- S390_FEAT_CONSTRAINT_TRANSACTIONAL_EXE,
|
|
|
016a62 |
- S390_FEAT_LOCAL_TLB_CLEARING,
|
|
|
016a62 |
- S390_FEAT_INTERLOCKED_ACCESS_2,
|
|
|
016a62 |
- S390_FEAT_STFLE_53,
|
|
|
016a62 |
- S390_FEAT_ENTROPY_ENC_COMP,
|
|
|
016a62 |
- S390_FEAT_MSA_EXT_5,
|
|
|
016a62 |
- S390_FEAT_MISC_INSTRUCTION_EXT,
|
|
|
016a62 |
- S390_FEAT_SEMAPHORE_ASSIST,
|
|
|
016a62 |
- S390_FEAT_TIME_SLICE_INSTRUMENTATION,
|
|
|
016a62 |
- S390_FEAT_MISC_INSTRUCTION_EXT3,
|
|
|
016a62 |
- S390_FEAT_RUNTIME_INSTRUMENTATION,
|
|
|
016a62 |
- S390_FEAT_ZPCI,
|
|
|
016a62 |
- S390_FEAT_ADAPTER_EVENT_NOTIFICATION,
|
|
|
016a62 |
- S390_FEAT_ADAPTER_INT_SUPPRESSION,
|
|
|
016a62 |
- S390_FEAT_TRANSACTIONAL_EXE,
|
|
|
016a62 |
- S390_FEAT_STORE_HYPERVISOR_INFO,
|
|
|
016a62 |
- S390_FEAT_ACCESS_EXCEPTION_FS_INDICATION,
|
|
|
016a62 |
- S390_FEAT_MSA_EXT_3,
|
|
|
016a62 |
- S390_FEAT_MSA_EXT_4,
|
|
|
016a62 |
- S390_FEAT_EDAT_2,
|
|
|
016a62 |
- S390_FEAT_DFP_PACKED_CONVERSION,
|
|
|
016a62 |
- S390_FEAT_PPA15,
|
|
|
016a62 |
- S390_FEAT_BPB,
|
|
|
016a62 |
- S390_FEAT_VECTOR,
|
|
|
016a62 |
- S390_FEAT_INSTRUCTION_EXEC_PROT,
|
|
|
016a62 |
- S390_FEAT_SIDE_EFFECT_ACCESS_ESOP2,
|
|
|
016a62 |
- S390_FEAT_GUARDED_STORAGE,
|
|
|
016a62 |
- S390_FEAT_VECTOR_PACKED_DECIMAL,
|
|
|
016a62 |
- S390_FEAT_VECTOR_ENH,
|
|
|
016a62 |
- S390_FEAT_MULTIPLE_EPOCH,
|
|
|
016a62 |
- S390_FEAT_TEST_PENDING_EXT_INTERRUPTION,
|
|
|
016a62 |
- S390_FEAT_INSERT_REFERENCE_BITS_MULT,
|
|
|
016a62 |
- S390_FEAT_MSA_EXT_8,
|
|
|
016a62 |
- S390_FEAT_CMM_NT,
|
|
|
016a62 |
- S390_FEAT_VECTOR_ENH2,
|
|
|
016a62 |
- S390_FEAT_ESORT_BASE,
|
|
|
016a62 |
- S390_FEAT_DEFLATE_BASE,
|
|
|
016a62 |
- S390_FEAT_VECTOR_PACKED_DECIMAL_ENH,
|
|
|
016a62 |
- S390_FEAT_MSA_EXT_9,
|
|
|
016a62 |
- S390_FEAT_ETOKEN,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* Sclp Conf Char */
|
|
|
016a62 |
- S390_FEAT_SIE_GSLS,
|
|
|
016a62 |
- S390_FEAT_ESOP,
|
|
|
016a62 |
- S390_FEAT_HPMA2,
|
|
|
016a62 |
- S390_FEAT_SIE_KSS,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* Sclp Conf Char Ext */
|
|
|
016a62 |
- S390_FEAT_SIE_64BSCAO,
|
|
|
016a62 |
- S390_FEAT_SIE_CMMA,
|
|
|
016a62 |
- S390_FEAT_SIE_PFMFI,
|
|
|
016a62 |
- S390_FEAT_SIE_IBS,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* Sclp Cpu */
|
|
|
016a62 |
- S390_FEAT_SIE_F2,
|
|
|
016a62 |
- S390_FEAT_SIE_SKEY,
|
|
|
016a62 |
- S390_FEAT_SIE_GPERE,
|
|
|
016a62 |
- S390_FEAT_SIE_SIIF,
|
|
|
016a62 |
- S390_FEAT_SIE_SIGPIF,
|
|
|
016a62 |
- S390_FEAT_SIE_IB,
|
|
|
016a62 |
- S390_FEAT_SIE_CEI,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* Misc */
|
|
|
016a62 |
- S390_FEAT_DAT_ENH_2,
|
|
|
016a62 |
- S390_FEAT_CMM,
|
|
|
016a62 |
- S390_FEAT_AP,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* PLO */
|
|
|
016a62 |
- S390_FEAT_PLO_CL,
|
|
|
016a62 |
- S390_FEAT_PLO_CLG,
|
|
|
016a62 |
- S390_FEAT_PLO_CLGR,
|
|
|
016a62 |
- S390_FEAT_PLO_CLX,
|
|
|
016a62 |
- S390_FEAT_PLO_CS,
|
|
|
016a62 |
- S390_FEAT_PLO_CSG,
|
|
|
016a62 |
- S390_FEAT_PLO_CSGR,
|
|
|
016a62 |
- S390_FEAT_PLO_CSX,
|
|
|
016a62 |
- S390_FEAT_PLO_DCS,
|
|
|
016a62 |
- S390_FEAT_PLO_DCSG,
|
|
|
016a62 |
- S390_FEAT_PLO_DCSGR,
|
|
|
016a62 |
- S390_FEAT_PLO_DCSX,
|
|
|
016a62 |
- S390_FEAT_PLO_CSST,
|
|
|
016a62 |
- S390_FEAT_PLO_CSSTG,
|
|
|
016a62 |
- S390_FEAT_PLO_CSSTGR,
|
|
|
016a62 |
- S390_FEAT_PLO_CSSTX,
|
|
|
016a62 |
- S390_FEAT_PLO_CSDST,
|
|
|
016a62 |
- S390_FEAT_PLO_CSDSTG,
|
|
|
016a62 |
- S390_FEAT_PLO_CSDSTGR,
|
|
|
016a62 |
- S390_FEAT_PLO_CSDSTX,
|
|
|
016a62 |
- S390_FEAT_PLO_CSTST,
|
|
|
016a62 |
- S390_FEAT_PLO_CSTSTG,
|
|
|
016a62 |
- S390_FEAT_PLO_CSTSTGR,
|
|
|
016a62 |
- S390_FEAT_PLO_CSTSTX,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* PTFF */
|
|
|
016a62 |
- S390_FEAT_PTFF_QTO,
|
|
|
016a62 |
- S390_FEAT_PTFF_QSI,
|
|
|
016a62 |
- S390_FEAT_PTFF_QPT,
|
|
|
016a62 |
- S390_FEAT_PTFF_QUI,
|
|
|
016a62 |
- S390_FEAT_PTFF_QTOU,
|
|
|
016a62 |
- S390_FEAT_PTFF_QSIE,
|
|
|
016a62 |
- S390_FEAT_PTFF_QTOUE,
|
|
|
016a62 |
- S390_FEAT_PTFF_STO,
|
|
|
016a62 |
- S390_FEAT_PTFF_STOU,
|
|
|
016a62 |
- S390_FEAT_PTFF_STOE,
|
|
|
016a62 |
- S390_FEAT_PTFF_STOUE,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMAC */
|
|
|
016a62 |
- S390_FEAT_KMAC_DEA,
|
|
|
016a62 |
- S390_FEAT_KMAC_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMAC_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMAC_EDEA,
|
|
|
016a62 |
- S390_FEAT_KMAC_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMAC_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMAC_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMAC_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMAC_AES_256,
|
|
|
016a62 |
- S390_FEAT_KMAC_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMAC_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMAC_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMC */
|
|
|
016a62 |
- S390_FEAT_KMC_DEA,
|
|
|
016a62 |
- S390_FEAT_KMC_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMC_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMC_EDEA,
|
|
|
016a62 |
- S390_FEAT_KMC_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMC_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMC_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMC_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMC_AES_256,
|
|
|
016a62 |
- S390_FEAT_KMC_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMC_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMC_EAES_256,
|
|
|
016a62 |
- S390_FEAT_KMC_PRNG,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KM */
|
|
|
016a62 |
- S390_FEAT_KM_DEA,
|
|
|
016a62 |
- S390_FEAT_KM_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KM_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KM_EDEA,
|
|
|
016a62 |
- S390_FEAT_KM_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KM_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KM_AES_128,
|
|
|
016a62 |
- S390_FEAT_KM_AES_192,
|
|
|
016a62 |
- S390_FEAT_KM_AES_256,
|
|
|
016a62 |
- S390_FEAT_KM_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KM_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KM_EAES_256,
|
|
|
016a62 |
- S390_FEAT_KM_XTS_AES_128,
|
|
|
016a62 |
- S390_FEAT_KM_XTS_AES_256,
|
|
|
016a62 |
- S390_FEAT_KM_XTS_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KM_XTS_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KIMD */
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA_1,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA_256,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA_512,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA3_224,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA3_256,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA3_384,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHA3_512,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHAKE_128,
|
|
|
016a62 |
- S390_FEAT_KIMD_SHAKE_256,
|
|
|
016a62 |
- S390_FEAT_KIMD_GHASH,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KLMD */
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA_1,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA_256,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA_512,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA3_224,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA3_256,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA3_384,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHA3_512,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHAKE_128,
|
|
|
016a62 |
- S390_FEAT_KLMD_SHAKE_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* PCKMO */
|
|
|
016a62 |
- S390_FEAT_PCKMO_EDEA,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ETDEA_256,
|
|
|
016a62 |
- S390_FEAT_PCKMO_AES_128,
|
|
|
016a62 |
- S390_FEAT_PCKMO_AES_192,
|
|
|
016a62 |
- S390_FEAT_PCKMO_AES_256,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ECC_P256,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ECC_P384,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ECC_P521,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ECC_ED25519,
|
|
|
016a62 |
- S390_FEAT_PCKMO_ECC_ED448,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMCTR */
|
|
|
016a62 |
- S390_FEAT_KMCTR_DEA,
|
|
|
016a62 |
- S390_FEAT_KMCTR_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMCTR_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMCTR_EDEA,
|
|
|
016a62 |
- S390_FEAT_KMCTR_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMCTR_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMCTR_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMCTR_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMCTR_AES_256,
|
|
|
016a62 |
- S390_FEAT_KMCTR_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMCTR_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMCTR_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMF */
|
|
|
016a62 |
- S390_FEAT_KMF_DEA,
|
|
|
016a62 |
- S390_FEAT_KMF_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMF_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMF_EDEA,
|
|
|
016a62 |
- S390_FEAT_KMF_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMF_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMF_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMF_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMF_AES_256,
|
|
|
016a62 |
- S390_FEAT_KMF_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMF_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMF_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMO */
|
|
|
016a62 |
- S390_FEAT_KMO_DEA,
|
|
|
016a62 |
- S390_FEAT_KMO_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMO_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMO_EDEA,
|
|
|
016a62 |
- S390_FEAT_KMO_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_KMO_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_KMO_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMO_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMO_AES_256,
|
|
|
016a62 |
- S390_FEAT_KMO_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMO_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMO_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* PCC */
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_DEA,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_TDEA_128,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_TDEA_192,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_ETDEA_128,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_ETDEA_192,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_TDEA,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_AES_128,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_AES_192,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_AES_256,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_EAES_128,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_EAES_192,
|
|
|
016a62 |
- S390_FEAT_PCC_CMAC_EAES_256,
|
|
|
016a62 |
- S390_FEAT_PCC_XTS_AES_128,
|
|
|
016a62 |
- S390_FEAT_PCC_XTS_AES_256,
|
|
|
016a62 |
- S390_FEAT_PCC_XTS_EAES_128,
|
|
|
016a62 |
- S390_FEAT_PCC_XTS_EAES_256,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_P256,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_P384,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_P512,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_ED25519,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_ED448,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_X25519,
|
|
|
016a62 |
- S390_FEAT_PCC_SCALAR_MULT_X448,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* PPNO/PRNO */
|
|
|
016a62 |
- S390_FEAT_PPNO_SHA_512_DRNG,
|
|
|
016a62 |
- S390_FEAT_PRNO_TRNG_QRTCR,
|
|
|
016a62 |
- S390_FEAT_PRNO_TRNG,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KMA */
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_AES_128,
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_AES_192,
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_AES_256 ,
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_EAES_128,
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_EAES_192,
|
|
|
016a62 |
- S390_FEAT_KMA_GCM_EAES_256,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* KDSA */
|
|
|
016a62 |
- S390_FEAT_ECDSA_VERIFY_P256,
|
|
|
016a62 |
- S390_FEAT_ECDSA_VERIFY_P384,
|
|
|
016a62 |
- S390_FEAT_ECDSA_VERIFY_P512,
|
|
|
016a62 |
- S390_FEAT_ECDSA_SIGN_P256,
|
|
|
016a62 |
- S390_FEAT_ECDSA_SIGN_P384,
|
|
|
016a62 |
- S390_FEAT_ECDSA_SIGN_P512,
|
|
|
016a62 |
- S390_FEAT_EECDSA_SIGN_P256,
|
|
|
016a62 |
- S390_FEAT_EECDSA_SIGN_P384,
|
|
|
016a62 |
- S390_FEAT_EECDSA_SIGN_P512,
|
|
|
016a62 |
- S390_FEAT_EDDSA_VERIFY_ED25519,
|
|
|
016a62 |
- S390_FEAT_EDDSA_VERIFY_ED448,
|
|
|
016a62 |
- S390_FEAT_EDDSA_SIGN_ED25519,
|
|
|
016a62 |
- S390_FEAT_EDDSA_SIGN_ED448,
|
|
|
016a62 |
- S390_FEAT_EEDDSA_SIGN_ED25519,
|
|
|
016a62 |
- S390_FEAT_EEDDSA_SIGN_ED448,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* SORTL */
|
|
|
016a62 |
- S390_FEAT_SORTL_SFLR,
|
|
|
016a62 |
- S390_FEAT_SORTL_SVLR,
|
|
|
016a62 |
- S390_FEAT_SORTL_32,
|
|
|
016a62 |
- S390_FEAT_SORTL_128,
|
|
|
016a62 |
- S390_FEAT_SORTL_F0,
|
|
|
016a62 |
-
|
|
|
016a62 |
- /* DEFLATE */
|
|
|
016a62 |
- S390_FEAT_DEFLATE_GHDT,
|
|
|
016a62 |
- S390_FEAT_DEFLATE_CMPR,
|
|
|
016a62 |
- S390_FEAT_DEFLATE_XPND,
|
|
|
016a62 |
- S390_FEAT_DEFLATE_F0,
|
|
|
016a62 |
-
|
|
|
016a62 |
+ #include "cpu_features_def.inc.h"
|
|
|
016a62 |
S390_FEAT_MAX,
|
|
|
016a62 |
} S390Feat;
|
|
|
016a62 |
+#undef DEF_FEAT
|
|
|
016a62 |
|
|
|
016a62 |
#endif /* TARGET_S390X_CPU_FEATURES_DEF_H */
|
|
|
016a62 |
diff --git a/target/s390x/cpu_features_def.inc.h b/target/s390x/cpu_features_def.inc.h
|
|
|
016a62 |
new file mode 100644
|
|
|
016a62 |
index 0000000..011ce4d
|
|
|
016a62 |
--- /dev/null
|
|
|
016a62 |
+++ b/target/s390x/cpu_features_def.inc.h
|
|
|
016a62 |
@@ -0,0 +1,369 @@
|
|
|
016a62 |
+/*
|
|
|
016a62 |
+ * RAW s390x CPU feature definitions:
|
|
|
016a62 |
+ *
|
|
|
016a62 |
+ * DEF_FEAT(_FEAT, _NAME, _TYPE, _BIT, _DESC):
|
|
|
016a62 |
+ * - _FEAT: Feature (enum) name used internally (S390_FEAT_##_FEAT)
|
|
|
016a62 |
+ * - _NAME: Feature name exposed to the user.
|
|
|
016a62 |
+ * - _TYPE: Feature type (S390_FEAT_TYPE_##_TYPE).
|
|
|
016a62 |
+ * - _BIT: Feature bit number within feature type block (unused for MISC).
|
|
|
016a62 |
+ * - _DESC: Feature description, exposed to the user.
|
|
|
016a62 |
+ *
|
|
|
016a62 |
+ * Copyright IBM Corp. 2016, 2018
|
|
|
016a62 |
+ * Copyright Red Hat, Inc. 2019
|
|
|
016a62 |
+ *
|
|
|
016a62 |
+ * Author(s): Michael Mueller <mimu@linux.vnet.ibm.com>
|
|
|
016a62 |
+ * David Hildenbrand <david@redhat.com>
|
|
|
016a62 |
+ *
|
|
|
016a62 |
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
|
016a62 |
+ * your option) any later version. See the COPYING file in the top-level
|
|
|
016a62 |
+ * directory.
|
|
|
016a62 |
+ */
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the STFL(E) instruction. */
|
|
|
016a62 |
+DEF_FEAT(ESAN3, "esan3", STFL, 0, "Instructions marked as n3")
|
|
|
016a62 |
+DEF_FEAT(ZARCH, "zarch", STFL, 1, "z/Architecture architectural mode")
|
|
|
016a62 |
+DEF_FEAT(DAT_ENH, "dateh", STFL, 3, "DAT-enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(IDTE_SEGMENT, "idtes", STFL, 4, "IDTE selective TLB segment-table clearing")
|
|
|
016a62 |
+DEF_FEAT(IDTE_REGION, "idter", STFL, 5, "IDTE selective TLB region-table clearing")
|
|
|
016a62 |
+DEF_FEAT(ASN_LX_REUSE, "asnlxr", STFL, 6, "ASN-and-LX reuse facility")
|
|
|
016a62 |
+DEF_FEAT(STFLE, "stfle", STFL, 7, "Store-facility-list-extended facility")
|
|
|
016a62 |
+DEF_FEAT(EDAT, "edat", STFL, 8, "Enhanced-DAT facility")
|
|
|
016a62 |
+DEF_FEAT(SENSE_RUNNING_STATUS, "srs", STFL, 9, "Sense-running-status facility")
|
|
|
016a62 |
+DEF_FEAT(CONDITIONAL_SSKE, "csske", STFL, 10, "Conditional-SSKE facility")
|
|
|
016a62 |
+DEF_FEAT(CONFIGURATION_TOPOLOGY, "ctop", STFL, 11, "Configuration-topology facility")
|
|
|
016a62 |
+DEF_FEAT(AP_QUERY_CONFIG_INFO, "apqci", STFL, 12, "Query AP Configuration Information facility")
|
|
|
016a62 |
+DEF_FEAT(IPTE_RANGE, "ipter", STFL, 13, "IPTE-range facility")
|
|
|
016a62 |
+DEF_FEAT(NONQ_KEY_SETTING, "nonqks", STFL, 14, "Nonquiescing key-setting facility")
|
|
|
016a62 |
+DEF_FEAT(AP_FACILITIES_TEST, "apft", STFL, 15, "AP Facilities Test facility")
|
|
|
016a62 |
+DEF_FEAT(EXTENDED_TRANSLATION_2, "etf2", STFL, 16, "Extended-translation facility 2")
|
|
|
016a62 |
+DEF_FEAT(MSA, "msa-base", STFL, 17, "Message-security-assist facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(LONG_DISPLACEMENT, "ldisp", STFL, 18, "Long-displacement facility")
|
|
|
016a62 |
+DEF_FEAT(LONG_DISPLACEMENT_FAST, "ldisphp", STFL, 19, "Long-displacement facility has high performance")
|
|
|
016a62 |
+DEF_FEAT(HFP_MADDSUB, "hfpm", STFL, 20, "HFP-multiply-add/subtract facility")
|
|
|
016a62 |
+DEF_FEAT(EXTENDED_IMMEDIATE, "eimm", STFL, 21, "Extended-immediate facility")
|
|
|
016a62 |
+DEF_FEAT(EXTENDED_TRANSLATION_3, "etf3", STFL, 22, "Extended-translation facility 3")
|
|
|
016a62 |
+DEF_FEAT(HFP_UNNORMALIZED_EXT, "hfpue", STFL, 23, "HFP-unnormalized-extension facility")
|
|
|
016a62 |
+DEF_FEAT(ETF2_ENH, "etf2eh", STFL, 24, "ETF2-enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(STORE_CLOCK_FAST, "stckf", STFL, 25, "Store-clock-fast facility")
|
|
|
016a62 |
+DEF_FEAT(PARSING_ENH, "parseh", STFL, 26, "Parsing-enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(MOVE_WITH_OPTIONAL_SPEC, "mvcos", STFL, 27, "Move-with-optional-specification facility")
|
|
|
016a62 |
+DEF_FEAT(TOD_CLOCK_STEERING, "tods-base", STFL, 28, "TOD-clock-steering facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(ETF3_ENH, "etf3eh", STFL, 30, "ETF3-enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(EXTRACT_CPU_TIME, "ectg", STFL, 31, "Extract-CPU-time facility")
|
|
|
016a62 |
+DEF_FEAT(COMPARE_AND_SWAP_AND_STORE, "csst", STFL, 32, "Compare-and-swap-and-store facility")
|
|
|
016a62 |
+DEF_FEAT(COMPARE_AND_SWAP_AND_STORE_2, "csst2", STFL, 33, "Compare-and-swap-and-store facility 2")
|
|
|
016a62 |
+DEF_FEAT(GENERAL_INSTRUCTIONS_EXT, "ginste", STFL, 34, "General-instructions-extension facility")
|
|
|
016a62 |
+DEF_FEAT(EXECUTE_EXT, "exrl", STFL, 35, "Execute-extensions facility")
|
|
|
016a62 |
+DEF_FEAT(ENHANCED_MONITOR, "emon", STFL, 36, "Enhanced-monitor facility")
|
|
|
016a62 |
+DEF_FEAT(FLOATING_POINT_EXT, "fpe", STFL, 37, "Floating-point extension facility")
|
|
|
016a62 |
+DEF_FEAT(ORDER_PRESERVING_COMPRESSION, "opc", STFL, 38, "Order Preserving Compression facility")
|
|
|
016a62 |
+DEF_FEAT(SET_PROGRAM_PARAMETERS, "sprogp", STFL, 40, "Set-program-parameters facility")
|
|
|
016a62 |
+DEF_FEAT(FLOATING_POINT_SUPPPORT_ENH, "fpseh", STFL, 41, "Floating-point-support-enhancement facilities")
|
|
|
016a62 |
+DEF_FEAT(DFP, "dfp", STFL, 42, "DFP (decimal-floating-point) facility")
|
|
|
016a62 |
+DEF_FEAT(DFP_FAST, "dfphp", STFL, 43, "DFP (decimal-floating-point) facility has high performance")
|
|
|
016a62 |
+DEF_FEAT(PFPO, "pfpo", STFL, 44, "PFPO instruction")
|
|
|
016a62 |
+DEF_FEAT(STFLE_45, "stfle45", STFL, 45, "Various facilities introduced with z196")
|
|
|
016a62 |
+DEF_FEAT(CMPSC_ENH, "cmpsceh", STFL, 47, "CMPSC-enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(DFP_ZONED_CONVERSION, "dfpzc", STFL, 48, "Decimal-floating-point zoned-conversion facility")
|
|
|
016a62 |
+DEF_FEAT(STFLE_49, "stfle49", STFL, 49, "Various facilities introduced with zEC12")
|
|
|
016a62 |
+DEF_FEAT(CONSTRAINT_TRANSACTIONAL_EXE, "cte", STFL, 50, "Constrained transactional-execution facility")
|
|
|
016a62 |
+DEF_FEAT(LOCAL_TLB_CLEARING, "ltlbc", STFL, 51, "Local-TLB-clearing facility")
|
|
|
016a62 |
+DEF_FEAT(INTERLOCKED_ACCESS_2, "iacc2", STFL, 52, "Interlocked-access facility 2")
|
|
|
016a62 |
+DEF_FEAT(STFLE_53, "stfle53", STFL, 53, "Various facilities introduced with z13")
|
|
|
016a62 |
+DEF_FEAT(ENTROPY_ENC_COMP, "eec", STFL, 54, "Entropy encoding compression facility")
|
|
|
016a62 |
+DEF_FEAT(MSA_EXT_5, "msa5-base", STFL, 57, "Message-security-assist-extension-5 facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(MISC_INSTRUCTION_EXT, "minste2", STFL, 58, "Miscellaneous-instruction-extensions facility 2")
|
|
|
016a62 |
+DEF_FEAT(SEMAPHORE_ASSIST, "sema", STFL, 59, "Semaphore-assist facility")
|
|
|
016a62 |
+DEF_FEAT(TIME_SLICE_INSTRUMENTATION, "tsi", STFL, 60, "Time-slice Instrumentation facility")
|
|
|
016a62 |
+DEF_FEAT(MISC_INSTRUCTION_EXT3, "minste3", STFL, 61, "Miscellaneous-Instruction-Extensions Facility 3")
|
|
|
016a62 |
+DEF_FEAT(RUNTIME_INSTRUMENTATION, "ri", STFL, 64, "CPU runtime-instrumentation facility")
|
|
|
016a62 |
+DEF_FEAT(ZPCI, "zpci", STFL, 69, "z/PCI facility")
|
|
|
016a62 |
+DEF_FEAT(ADAPTER_EVENT_NOTIFICATION, "aen", STFL, 71, "General-purpose-adapter-event-notification facility")
|
|
|
016a62 |
+DEF_FEAT(ADAPTER_INT_SUPPRESSION, "ais", STFL, 72, "General-purpose-adapter-interruption-suppression facility")
|
|
|
016a62 |
+DEF_FEAT(TRANSACTIONAL_EXE, "te", STFL, 73, "Transactional-execution facility")
|
|
|
016a62 |
+DEF_FEAT(STORE_HYPERVISOR_INFO, "sthyi", STFL, 74, "Store-hypervisor-information facility")
|
|
|
016a62 |
+DEF_FEAT(ACCESS_EXCEPTION_FS_INDICATION, "aefsi", STFL, 75, "Access-exception-fetch/store-indication facility")
|
|
|
016a62 |
+DEF_FEAT(MSA_EXT_3, "msa3-base", STFL, 76, "Message-security-assist-extension-3 facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(MSA_EXT_4, "msa4-base", STFL, 77, "Message-security-assist-extension-4 facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(EDAT_2, "edat2", STFL, 78, "Enhanced-DAT facility 2")
|
|
|
016a62 |
+DEF_FEAT(DFP_PACKED_CONVERSION, "dfppc", STFL, 80, "Decimal-floating-point packed-conversion facility")
|
|
|
016a62 |
+DEF_FEAT(PPA15, "ppa15", STFL, 81, "PPA15 is installed")
|
|
|
016a62 |
+DEF_FEAT(BPB, "bpb", STFL, 82, "Branch prediction blocking")
|
|
|
016a62 |
+DEF_FEAT(VECTOR, "vx", STFL, 129, "Vector facility")
|
|
|
016a62 |
+DEF_FEAT(INSTRUCTION_EXEC_PROT, "iep", STFL, 130, "Instruction-execution-protection facility")
|
|
|
016a62 |
+DEF_FEAT(SIDE_EFFECT_ACCESS_ESOP2, "sea_esop2", STFL, 131, "Side-effect-access facility and Enhanced-suppression-on-protection facility 2")
|
|
|
016a62 |
+DEF_FEAT(GUARDED_STORAGE, "gs", STFL, 133, "Guarded-storage facility")
|
|
|
016a62 |
+DEF_FEAT(VECTOR_PACKED_DECIMAL, "vxpd", STFL, 134, "Vector packed decimal facility")
|
|
|
016a62 |
+DEF_FEAT(VECTOR_ENH, "vxeh", STFL, 135, "Vector enhancements facility")
|
|
|
016a62 |
+DEF_FEAT(MULTIPLE_EPOCH, "mepoch", STFL, 139, "Multiple-epoch facility")
|
|
|
016a62 |
+DEF_FEAT(TEST_PENDING_EXT_INTERRUPTION, "tpei", STFL, 144, "Test-pending-external-interruption facility")
|
|
|
016a62 |
+DEF_FEAT(INSERT_REFERENCE_BITS_MULT, "irbm", STFL, 145, "Insert-reference-bits-multiple facility")
|
|
|
016a62 |
+DEF_FEAT(MSA_EXT_8, "msa8-base", STFL, 146, "Message-security-assist-extension-8 facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facility")
|
|
|
016a62 |
+DEF_FEAT(VECTOR_ENH2, "vxeh2", STFL, 148, "Vector Enhancements facility 2")
|
|
|
016a62 |
+DEF_FEAT(ESORT_BASE, "esort-base", STFL, 150, "Enhanced-sort facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(DEFLATE_BASE, "deflate-base", STFL, 151, "Deflate-conversion facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(VECTOR_PACKED_DECIMAL_ENH, "vxpdeh", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility")
|
|
|
016a62 |
+DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")
|
|
|
016a62 |
+DEF_FEAT(ETOKEN, "etoken", STFL, 156, "Etoken facility")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via SCLP SCCB Byte 80 - 98 (bit numbers relative to byte-80) */
|
|
|
016a62 |
+DEF_FEAT(SIE_GSLS, "gsls", SCLP_CONF_CHAR, 40, "SIE: Guest-storage-limit-suppression facility")
|
|
|
016a62 |
+DEF_FEAT(ESOP, "esop", SCLP_CONF_CHAR, 46, "Enhanced-suppression-on-protection facility")
|
|
|
016a62 |
+DEF_FEAT(HPMA2, "hpma2", SCLP_CONF_CHAR, 90, "Host page management assist 2 Facility") /* 91-2 */
|
|
|
016a62 |
+DEF_FEAT(SIE_KSS, "kss", SCLP_CONF_CHAR, 151, "SIE: Keyless-subset facility") /* 98-7 */
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via SCLP SCCB Byte 116 - 119 (bit numbers relative to byte-116) */
|
|
|
016a62 |
+DEF_FEAT(SIE_64BSCAO, "64bscao", SCLP_CONF_CHAR_EXT, 0, "SIE: 64-bit-SCAO facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_CMMA, "cmma", SCLP_CONF_CHAR_EXT, 1, "SIE: Collaborative-memory-management assist")
|
|
|
016a62 |
+DEF_FEAT(SIE_PFMFI, "pfmfi", SCLP_CONF_CHAR_EXT, 9, "SIE: PFMF interpretation facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_IBS, "ibs", SCLP_CONF_CHAR_EXT, 10, "SIE: Interlock-and-broadcast-suppression facility")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via SCLP CPU info. */
|
|
|
016a62 |
+DEF_FEAT(SIE_F2, "sief2", SCLP_CPU, 4, "SIE: interception format 2 (Virtual SIE)")
|
|
|
016a62 |
+DEF_FEAT(SIE_SKEY, "skey", SCLP_CPU, 5, "SIE: Storage-key facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_GPERE, "gpereh", SCLP_CPU, 10, "SIE: Guest-PER enhancement facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_SIIF, "siif", SCLP_CPU, 11, "SIE: Shared IPTE-interlock facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_SIGPIF, "sigpif", SCLP_CPU, 12, "SIE: SIGP interpretation facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_IB, "ib", SCLP_CPU, 42, "SIE: Intervention bypass facility")
|
|
|
016a62 |
+DEF_FEAT(SIE_CEI, "cei", SCLP_CPU, 43, "SIE: Conditional-external-interception facility")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/*
|
|
|
016a62 |
+ * Features exposed via no feature bit (but e.g., instruction sensing)
|
|
|
016a62 |
+ * -> the feature bit number is irrelavant
|
|
|
016a62 |
+ */
|
|
|
016a62 |
+DEF_FEAT(DAT_ENH_2, "dateh2", MISC, 0, "DAT-enhancement facility 2")
|
|
|
016a62 |
+DEF_FEAT(CMM, "cmm", MISC, 0, "Collaborative-memory-management facility")
|
|
|
016a62 |
+DEF_FEAT(AP, "ap", MISC, 0, "AP instructions installed")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the PLO instruction. */
|
|
|
016a62 |
+DEF_FEAT(PLO_CL, "plo-cl", PLO, 0, "PLO Compare and load (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CLG, "plo-clg", PLO, 1, "PLO Compare and load (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CLGR, "plo-clgr", PLO, 2, "PLO Compare and load (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CLX, "plo-clx", PLO, 3, "PLO Compare and load (128 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CS, "plo-cs", PLO, 4, "PLO Compare and swap (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSG, "plo-csg", PLO, 5, "PLO Compare and swap (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSGR, "plo-csgr", PLO, 6, "PLO Compare and swap (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSX, "plo-csx", PLO, 7, "PLO Compare and swap (128 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_DCS, "plo-dcs", PLO, 8, "PLO Double compare and swap (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_DCSG, "plo-dcsg", PLO, 9, "PLO Double compare and swap (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_DCSGR, "plo-dcsgr", PLO, 10, "PLO Double compare and swap (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_DCSX, "plo-dcsx", PLO, 11, "PLO Double compare and swap (128 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSST, "plo-csst", PLO, 12, "PLO Compare and swap and store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSSTG, "plo-csstg", PLO, 13, "PLO Compare and swap and store (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSSTGR, "plo-csstgr", PLO, 14, "PLO Compare and swap and store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSSTX, "plo-csstx", PLO, 15, "PLO Compare and swap and store (128 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSDST, "plo-csdst", PLO, 16, "PLO Compare and swap and double store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSDSTG, "plo-csdstg", PLO, 17, "PLO Compare and swap and double store (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSDSTGR, "plo-csdstgr", PLO, 18, "PLO Compare and swap and double store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSDSTX, "plo-csdstx", PLO, 19, "PLO Compare and swap and double store (128 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSTST, "plo-cstst", PLO, 20, "PLO Compare and swap and triple store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSTSTG, "plo-cststg", PLO, 21, "PLO Compare and swap and triple store (64 bit in parameter list)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSTSTGR, "plo-cststgr", PLO, 22, "PLO Compare and swap and triple store (32 bit in general registers)")
|
|
|
016a62 |
+DEF_FEAT(PLO_CSTSTX, "plo-cststx", PLO, 23, "PLO Compare and swap and triple store (128 bit in parameter list)")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the PTFF instruction. */
|
|
|
016a62 |
+DEF_FEAT(PTFF_QTO, "ptff-qto", PTFF, 1, "PTFF Query TOD Offset")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QSI, "ptff-qsi", PTFF, 2, "PTFF Query Steering Information")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QPT, "ptff-qpc", PTFF, 3, "PTFF Query Physical Clock")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QUI, "ptff-qui", PTFF, 4, "PTFF Query UTC Information")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QTOU, "ptff-qtou", PTFF, 5, "PTFF Query TOD Offset User")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QSIE, "ptff-qsie", PTFF, 10, "PTFF Query Steering Information Extended")
|
|
|
016a62 |
+DEF_FEAT(PTFF_QTOUE, "ptff-qtoue", PTFF, 13, "PTFF Query TOD Offset User Extended")
|
|
|
016a62 |
+DEF_FEAT(PTFF_STO, "ptff-sto", PTFF, 65, "PTFF Set TOD Offset")
|
|
|
016a62 |
+DEF_FEAT(PTFF_STOU, "ptff-stou", PTFF, 69, "PTFF Set TOD Offset User")
|
|
|
016a62 |
+DEF_FEAT(PTFF_STOE, "ptff-stoe", PTFF, 73, "PTFF Set TOD Offset Extended")
|
|
|
016a62 |
+DEF_FEAT(PTFF_STOUE, "ptff-stoue", PTFF, 77, "PTFF Set TOD Offset User Extended")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMAC instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMAC_DEA, "kmac-dea", KMAC, 1, "KMAC DEA")
|
|
|
016a62 |
+DEF_FEAT(KMAC_TDEA_128, "kmac-tdea-128", KMAC, 2, "KMAC TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMAC_TDEA_192, "kmac-tdea-192", KMAC, 3, "KMAC TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMAC_EDEA, "kmac-edea", KMAC, 9, "KMAC Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KMAC_ETDEA_128, "kmac-etdea-128", KMAC, 10, "KMAC Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMAC_ETDEA_192, "kmac-etdea-192", KMAC, 11, "KMAC Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMAC_AES_128, "kmac-aes-128", KMAC, 18, "KMAC AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMAC_AES_192, "kmac-aes-192", KMAC, 19, "KMAC AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMAC_AES_256, "kmac-aes-256", KMAC, 20, "KMAC AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMAC_EAES_128, "kmac-eaes-128", KMAC, 26, "KMAC Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMAC_EAES_192, "kmac-eaes-192", KMAC, 27, "KMAC Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMAC_EAES_256, "kmac-eaes-256", KMAC, 28, "KMAC Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMC instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMC_DEA, "kmc-dea", KMC, 1, "KMC DEA")
|
|
|
016a62 |
+DEF_FEAT(KMC_TDEA_128, "kmc-tdea-128", KMC, 2, "KMC TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMC_TDEA_192, "kmc-tdea-192", KMC, 3, "KMC TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMC_EDEA, "kmc-edea", KMC, 9, "KMC Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KMC_ETDEA_128, "kmc-etdea-128", KMC, 10, "KMC Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMC_ETDEA_192, "kmc-etdea-192", KMC, 11, "KMC Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMC_AES_128, "kmc-aes-128", KMC, 18, "KMC AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMC_AES_192, "kmc-aes-192", KMC, 19, "KMC AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMC_AES_256, "kmc-aes-256", KMC, 20, "KMC AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMC_EAES_128, "kmc-eaes-128", KMC, 26, "KMC Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMC_EAES_192, "kmc-eaes-192", KMC, 27, "KMC Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMC_EAES_256, "kmc-eaes-256", KMC, 28, "KMC Encrypted-AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMC_PRNG, "kmc-prng", KMC, 67, "KMC PRNG")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KM instruction. */
|
|
|
016a62 |
+DEF_FEAT(KM_DEA, "km-dea", KM, 1, "KM DEA")
|
|
|
016a62 |
+DEF_FEAT(KM_TDEA_128, "km-tdea-128", KM, 2, "KM TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KM_TDEA_192, "km-tdea-192", KM, 3, "KM TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KM_EDEA, "km-edea", KM, 9, "KM Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KM_ETDEA_128, "km-etdea-128", KM, 10, "KM Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KM_ETDEA_192, "km-etdea-192", KM, 11, "KM Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KM_AES_128, "km-aes-128", KM, 18, "KM AES-128")
|
|
|
016a62 |
+DEF_FEAT(KM_AES_192, "km-aes-192", KM, 19, "KM AES-192")
|
|
|
016a62 |
+DEF_FEAT(KM_AES_256, "km-aes-256", KM, 20, "KM AES-256")
|
|
|
016a62 |
+DEF_FEAT(KM_EAES_128, "km-eaes-128", KM, 26, "KM Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KM_EAES_192, "km-eaes-192", KM, 27, "KM Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KM_EAES_256, "km-eaes-256", KM, 28, "KM Encrypted-AES-256")
|
|
|
016a62 |
+DEF_FEAT(KM_XTS_AES_128, "km-xts-aes-128", KM, 50, "KM XTS-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KM_XTS_AES_256, "km-xts-aes-256", KM, 52, "KM XTS-AES-256")
|
|
|
016a62 |
+DEF_FEAT(KM_XTS_EAES_128, "km-xts-eaes-128", KM, 58, "KM XTS-Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KM_XTS_EAES_256, "km-xts-eaes-256", KM, 60, "KM XTS-Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KIMD instruction. */
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA_1, "kimd-sha-1", KIMD, 1, "KIMD SHA-1")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA_256, "kimd-sha-256", KIMD, 2, "KIMD SHA-256")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA_512, "kimd-sha-512", KIMD, 3, "KIMD SHA-512")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA3_224, "kimd-sha3-224", KIMD, 32, "KIMD SHA3-224")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA3_256, "kimd-sha3-256", KIMD, 33, "KIMD SHA3-256")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA3_384, "kimd-sha3-384", KIMD, 34, "KIMD SHA3-384")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHA3_512, "kimd-sha3-512", KIMD, 35, "KIMD SHA3-512")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHAKE_128, "kimd-shake-128", KIMD, 36, "KIMD SHAKE-128")
|
|
|
016a62 |
+DEF_FEAT(KIMD_SHAKE_256, "kimd-shake-256", KIMD, 37, "KIMD SHAKE-256")
|
|
|
016a62 |
+DEF_FEAT(KIMD_GHASH, "kimd-ghash", KIMD, 65, "KIMD GHASH")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KLMD instruction. */
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA_1, "klmd-sha-1", KLMD, 1, "KLMD SHA-1")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA_256, "klmd-sha-256", KLMD, 2, "KLMD SHA-256")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA_512, "klmd-sha-512", KLMD, 3, "KLMD SHA-512")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA3_224, "klmd-sha3-224", KLMD, 32, "KLMD SHA3-224")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA3_256, "klmd-sha3-256", KLMD, 33, "KLMD SHA3-256")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA3_384, "klmd-sha3-384", KLMD, 34, "KLMD SHA3-384")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHA3_512, "klmd-sha3-512", KLMD, 35, "KLMD SHA3-512")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHAKE_128, "klmd-shake-128", KLMD, 36, "KLMD SHAKE-128")
|
|
|
016a62 |
+DEF_FEAT(KLMD_SHAKE_256, "klmd-shake-256", KLMD, 37, "KLMD SHAKE-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the PCKMO instruction. */
|
|
|
016a62 |
+DEF_FEAT(PCKMO_EDEA, "pckmo-edea", PCKMO, 1, "PCKMO Encrypted-DEA-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ETDEA_128, "pckmo-etdea-128", PCKMO, 2, "PCKMO Encrypted-TDEA-128-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ETDEA_256, "pckmo-etdea-192", PCKMO, 3, "PCKMO Encrypted-TDEA-192-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_AES_128, "pckmo-aes-128", PCKMO, 18, "PCKMO Encrypted-AES-128-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_AES_192, "pckmo-aes-192", PCKMO, 19, "PCKMO Encrypted-AES-192-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_AES_256, "pckmo-aes-256", PCKMO, 20, "PCKMO Encrypted-AES-256-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ECC_P256, "pckmo-ecc-p256", PCKMO, 32, "PCKMO Encrypt-ECC-P256-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ECC_P384, "pckmo-ecc-p384", PCKMO, 33, "PCKMO Encrypt-ECC-P384-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ECC_P521, "pckmo-ecc-p521", PCKMO, 34, "PCKMO Encrypt-ECC-P521-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ECC_ED25519, "pckmo-ecc-ed25519", PCKMO, 40 , "PCKMO Encrypt-ECC-Ed25519-Key")
|
|
|
016a62 |
+DEF_FEAT(PCKMO_ECC_ED448, "pckmo-ecc-ed448", PCKMO, 41 , "PCKMO Encrypt-ECC-Ed448-Key")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMCTR instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMCTR_DEA, "kmctr-dea", KMCTR, 1, "KMCTR DEA")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_TDEA_128, "kmctr-tdea-128", KMCTR, 2, "KMCTR TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_TDEA_192, "kmctr-tdea-192", KMCTR, 3, "KMCTR TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_EDEA, "kmctr-edea", KMCTR, 9, "KMCTR Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_ETDEA_128, "kmctr-etdea-128", KMCTR, 10, "KMCTR Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_ETDEA_192, "kmctr-etdea-192", KMCTR, 11, "KMCTR Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_AES_128, "kmctr-aes-128", KMCTR, 18, "KMCTR AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_AES_192, "kmctr-aes-192", KMCTR, 19, "KMCTR AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_AES_256, "kmctr-aes-256", KMCTR, 20, "KMCTR AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_EAES_128, "kmctr-eaes-128", KMCTR, 26, "KMCTR Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_EAES_192, "kmctr-eaes-192", KMCTR, 27, "KMCTR Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMCTR_EAES_256, "kmctr-eaes-256", KMCTR, 28, "KMCTR Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMF instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMF_DEA, "kmf-dea", KMF, 1, "KMF DEA")
|
|
|
016a62 |
+DEF_FEAT(KMF_TDEA_128, "kmf-tdea-128", KMF, 2, "KMF TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMF_TDEA_192, "kmf-tdea-192", KMF, 3, "KMF TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMF_EDEA, "kmf-edea", KMF, 9, "KMF Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KMF_ETDEA_128, "kmf-etdea-128", KMF, 10, "KMF Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMF_ETDEA_192, "kmf-etdea-192", KMF, 11, "KMF Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMF_AES_128, "kmf-aes-128", KMF, 18, "KMF AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMF_AES_192, "kmf-aes-192", KMF, 19, "KMF AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMF_AES_256, "kmf-aes-256", KMF, 20, "KMF AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMF_EAES_128, "kmf-eaes-128", KMF, 26, "KMF Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMF_EAES_192, "kmf-eaes-192", KMF, 27, "KMF Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMF_EAES_256, "kmf-eaes-256", KMF, 28, "KMF Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMO instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMO_DEA, "kmo-dea", KMO, 1, "KMO DEA")
|
|
|
016a62 |
+DEF_FEAT(KMO_TDEA_128, "kmo-tdea-128", KMO, 2, "KMO TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMO_TDEA_192, "kmo-tdea-192", KMO, 3, "KMO TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMO_EDEA, "kmo-edea", KMO, 9, "KMO Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(KMO_ETDEA_128, "kmo-etdea-128", KMO, 10, "KMO Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(KMO_ETDEA_192, "kmo-etdea-192", KMO, 11, "KMO Encrypted-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(KMO_AES_128, "kmo-aes-128", KMO, 18, "KMO AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMO_AES_192, "kmo-aes-192", KMO, 19, "KMO AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMO_AES_256, "kmo-aes-256", KMO, 20, "KMO AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMO_EAES_128, "kmo-eaes-128", KMO, 26, "KMO Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMO_EAES_192, "kmo-eaes-192", KMO, 27, "KMO Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMO_EAES_256, "kmo-eaes-256", KMO, 28, "KMO Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the PCC instruction. */
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_DEA, "pcc-cmac-dea", PCC, 1, "PCC Compute-Last-Block-CMAC-Using-DEA")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_TDEA_128, "pcc-cmac-tdea-128", PCC, 2, "PCC Compute-Last-Block-CMAC-Using-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_TDEA_192, "pcc-cmac-tdea-192", PCC, 3, "PCC Compute-Last-Block-CMAC-Using-TDEA-192")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_ETDEA_128, "pcc-cmac-edea", PCC, 9, "PCC Compute-Last-Block-CMAC-Using-Encrypted-DEA")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_ETDEA_192, "pcc-cmac-etdea-128", PCC, 10, "PCC Compute-Last-Block-CMAC-Using-Encrypted-TDEA-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_TDEA, "pcc-cmac-etdea-192", PCC, 11, "PCC Compute-Last-Block-CMAC-Using-EncryptedTDEA-192")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_AES_128, "pcc-cmac-aes-128", PCC, 18, "PCC Compute-Last-Block-CMAC-Using-AES-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_AES_192, "pcc-cmac-aes-192", PCC, 19, "PCC Compute-Last-Block-CMAC-Using-AES-192")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_AES_256, "pcc-cmac-eaes-256", PCC, 20, "PCC Compute-Last-Block-CMAC-Using-AES-256")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_EAES_128, "pcc-cmac-eaes-128", PCC, 26, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_EAES_192, "pcc-cmac-eaes-192", PCC, 27, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(PCC_CMAC_EAES_256, "pcc-cmac-eaes-256", PCC, 28, "PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-256")
|
|
|
016a62 |
+DEF_FEAT(PCC_XTS_AES_128, "pcc-xts-aes-128", PCC, 50, "PCC Compute-XTS-Parameter-Using-AES-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_XTS_AES_256, "pcc-xts-aes-256", PCC, 52, "PCC Compute-XTS-Parameter-Using-AES-256")
|
|
|
016a62 |
+DEF_FEAT(PCC_XTS_EAES_128, "pcc-xts-eaes-128", PCC, 58, "PCC Compute-XTS-Parameter-Using-Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(PCC_XTS_EAES_256, "pcc-xts-eaes-256", PCC, 60, "PCC Compute-XTS-Parameter-Using-Encrypted-AES-256")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_P256, "pcc-scalar-mult-p256", PCC, 64, "PCC Scalar-Multiply-P256")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_P384, "pcc-scalar-mult-p384", PCC, 65, "PCC Scalar-Multiply-P384")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_P512, "pcc-scalar-mult-p521", PCC, 66, "PCC Scalar-Multiply-P521")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_ED25519, "pcc-scalar-mult-ed25519", PCC, 72, "PCC Scalar-Multiply-Ed25519")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_ED448, "pcc-scalar-mult-ed448", PCC, 73, "PCC Scalar-Multiply-Ed448")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_X25519, "pcc-scalar-mult-x25519", PCC, 80, "PCC Scalar-Multiply-X25519")
|
|
|
016a62 |
+DEF_FEAT(PCC_SCALAR_MULT_X448, "pcc-scalar-mult-x448", PCC, 81, "PCC Scalar-Multiply-X448")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the PPNO/PRNO instruction. */
|
|
|
016a62 |
+DEF_FEAT(PPNO_SHA_512_DRNG, "ppno-sha-512-drng", PPNO, 3, "PPNO SHA-512-DRNG")
|
|
|
016a62 |
+DEF_FEAT(PRNO_TRNG_QRTCR, "prno-trng-qrtcr", PPNO, 112, "PRNO TRNG-Query-Raw-to-Conditioned-Ratio")
|
|
|
016a62 |
+DEF_FEAT(PRNO_TRNG, "prno-trng", PPNO, 114, "PRNO TRNG")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KMA instruction. */
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_AES_128, "kma-gcm-aes-128", KMA, 18, "KMA GCM-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_AES_192, "kma-gcm-aes-192", KMA, 19, "KMA GCM-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_AES_256, "kma-gcm-aes-256", KMA, 20, "KMA GCM-AES-256")
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_EAES_128, "kma-gcm-eaes-128", KMA, 26, "KMA GCM-Encrypted-AES-128")
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_EAES_192, "kma-gcm-eaes-192", KMA, 27, "KMA GCM-Encrypted-AES-192")
|
|
|
016a62 |
+DEF_FEAT(KMA_GCM_EAES_256, "kma-gcm-eaes-256", KMA, 28, "KMA GCM-Encrypted-AES-256")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the KDSA instruction. */
|
|
|
016a62 |
+DEF_FEAT(ECDSA_VERIFY_P256, "kdsa-ecdsa-verify-p256", KDSA, 1, "KDSA ECDSA-Verify-P256")
|
|
|
016a62 |
+DEF_FEAT(ECDSA_VERIFY_P384, "kdsa-ecdsa-verify-p384", KDSA, 2, "KDSA ECDSA-Verify-P384")
|
|
|
016a62 |
+DEF_FEAT(ECDSA_VERIFY_P512, "kdsa-ecdsa-verify-p521", KDSA, 3, "KDSA ECDSA-Verify-P521")
|
|
|
016a62 |
+DEF_FEAT(ECDSA_SIGN_P256, "kdsa-ecdsa-sign-p256", KDSA, 9, "KDSA ECDSA-Sign-P256")
|
|
|
016a62 |
+DEF_FEAT(ECDSA_SIGN_P384, "kdsa-ecdsa-sign-p384", KDSA, 10, "KDSA ECDSA-Sign-P384")
|
|
|
016a62 |
+DEF_FEAT(ECDSA_SIGN_P512, "kdsa-ecdsa-sign-p521", KDSA, 11, "KDSA ECDSA-Sign-P521")
|
|
|
016a62 |
+DEF_FEAT(EECDSA_SIGN_P256, "kdsa-eecdsa-sign-p256", KDSA, 17, "KDSA Encrypted-ECDSA-Sign-P256")
|
|
|
016a62 |
+DEF_FEAT(EECDSA_SIGN_P384, "kdsa-eecdsa-sign-p384", KDSA, 18, "KDSA Encrypted-ECDSA-Sign-P384")
|
|
|
016a62 |
+DEF_FEAT(EECDSA_SIGN_P512, "kdsa-eecdsa-sign-p521", KDSA, 19, "KDSA Encrypted-ECDSA-Sign-P521")
|
|
|
016a62 |
+DEF_FEAT(EDDSA_VERIFY_ED25519, "kdsa-eddsa-verify-ed25519", KDSA, 32, "KDSA EdDSA-Verify-Ed25519")
|
|
|
016a62 |
+DEF_FEAT(EDDSA_VERIFY_ED448, "kdsa-eddsa-verify-ed448", KDSA, 36, "KDSA EdDSA-Verify-Ed448")
|
|
|
016a62 |
+DEF_FEAT(EDDSA_SIGN_ED25519, "kdsa-eddsa-sign-ed25519", KDSA, 40, "KDSA EdDSA-Sign-Ed25519")
|
|
|
016a62 |
+DEF_FEAT(EDDSA_SIGN_ED448, "kdsa-eddsa-sign-ed448", KDSA, 44, "KDSA EdDSA-Sign-Ed448")
|
|
|
016a62 |
+DEF_FEAT(EEDDSA_SIGN_ED25519, "kdsa-eeddsa-sign-ed25519", KDSA, 48, "KDSA Encrypted-EdDSA-Sign-Ed25519")
|
|
|
016a62 |
+DEF_FEAT(EEDDSA_SIGN_ED448, "kdsa-eeddsa-sign-ed448", KDSA, 52, "KDSA Encrypted-EdDSA-Sign-Ed448")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the SORTL instruction. */
|
|
|
016a62 |
+DEF_FEAT(SORTL_SFLR, "sortl-sflr", SORTL, 1, "SORTL SFLR")
|
|
|
016a62 |
+DEF_FEAT(SORTL_SVLR, "sortl-svlr", SORTL, 2, "SORTL SVLR")
|
|
|
016a62 |
+DEF_FEAT(SORTL_32, "sortl-32", SORTL, 130, "SORTL 32 input lists")
|
|
|
016a62 |
+DEF_FEAT(SORTL_128, "sortl-128", SORTL, 132, "SORTL 128 input lists")
|
|
|
016a62 |
+DEF_FEAT(SORTL_F0, "sortl-f0", SORTL, 192, "SORTL format 0 parameter-block")
|
|
|
016a62 |
+
|
|
|
016a62 |
+/* Features exposed via the DEFLATE instruction. */
|
|
|
016a62 |
+DEF_FEAT(DEFLATE_GHDT, "dfltcc-gdht", DFLTCC, 1, "DFLTCC GDHT")
|
|
|
016a62 |
+DEF_FEAT(DEFLATE_CMPR, "dfltcc-cmpr", DFLTCC, 2, "DFLTCC CMPR")
|
|
|
016a62 |
+DEF_FEAT(DEFLATE_XPND, "dfltcc-xpnd", DFLTCC, 4, "DFLTCC XPND")
|
|
|
016a62 |
+DEF_FEAT(DEFLATE_F0, "dfltcc-f0", DFLTCC, 192, "DFLTCC format 0 parameter-block")
|
|
|
016a62 |
--
|
|
|
016a62 |
1.8.3.1
|
|
|
016a62 |
|