mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
KVM: s390: add MSA9 to cpumodel
This enables stfle.155 and adds the subfunctions for KDSA. Bit 155 is added to the list of facilities that will be enabled when there is no cpu model involved as MSA9 requires no additional handling from userspace, e.g. for migration. Please note that a cpu model enabled user space can and will have the final decision on the facility bits for a guests. Signed-off-by: Christian Borntraeger <[email protected]> Acked-by: Janosch Frank <[email protected]> Reviewed-by: Collin Walling <[email protected]> Reviewed-by: David Hildenbrand <[email protected]>
This commit is contained in:
parent
d5cb6ab1e3
commit
13209ad039
6 changed files with 21 additions and 3 deletions
|
|
@ -152,7 +152,8 @@ struct kvm_s390_vm_cpu_subfunc {
|
|||
__u8 pcc[16]; /* with MSA4 */
|
||||
__u8 ppno[16]; /* with MSA5 */
|
||||
__u8 kma[16]; /* with MSA8 */
|
||||
__u8 reserved[1808];
|
||||
__u8 kdsa[16]; /* with MSA9 */
|
||||
__u8 reserved[1792];
|
||||
};
|
||||
|
||||
/* kvm attributes for crypto */
|
||||
|
|
|
|||
Loading…
Reference in a new issue