linux_dsm_epyc7002/arch/s390/kvm
David Hildenbrand f9cbd9b025 KVM: s390: provide CMMA attributes only if available
Let's not provide the device attribute for cmma enabling and clearing
if the hardware doesn't support it.

This also helps getting rid of the undocumented return value "-EINVAL"
in case CMMA is not available when trying to enable it.

Also properly document the meaning of -EINVAL for CMMA clearing.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2016-06-10 12:07:20 +02:00
..
diag.c s390/mm: split arch/s390/mm/pgtable.c 2016-03-08 15:00:15 +01:00
gaccess.c KVM: s390: gaccess: convert get_vcpu_asce() 2016-06-10 12:07:16 +02:00
gaccess.h KVM: s390: gaccess: implement instruction fetching mode 2016-02-10 13:12:51 +01:00
guestdbg.c s390: Fix misspellings in comments 2016-03-08 15:00:17 +01:00
intercept.c KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
interrupt.c KVM: halt_polling: provide a way to qualify wakeups during poll 2016-05-13 17:29:23 +02:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: halt_polling: provide a way to qualify wakeups during poll 2016-05-13 17:29:23 +02:00
kvm-s390.c KVM: s390: provide CMMA attributes only if available 2016-06-10 12:07:20 +02:00
kvm-s390.h KVM: s390: interface to query and configure cpu features 2016-06-10 12:07:13 +02:00
Makefile KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
priv.c KVM: s390: cleanup cpuid handling 2016-05-09 13:33:57 +02:00
sigp.c KVM: s390: enable SRS only if enabled for the guest 2016-05-09 13:33:55 +02:00
sthyi.c KVM: s390: Limit sthyi execution 2016-06-10 12:07:12 +02:00
trace-s390.h KVM: s390: obey kptr_restrict in traces 2015-12-15 17:06:32 +01:00
trace.h KVM: s390: Add mnemonic print to kvm_s390_intercept_prog 2016-06-10 12:07:13 +02:00