[1/2] KVM: s390: Enable all facility bits that are known good for passthrough

Message ID 1517612046-1939-2-git-send-email-joseph.salisbury@canonical.com
State New
Headers show
Series
  • KVM enablement for facility bit 81 and 82
Related show

Commit Message

Joseph Salisbury Feb. 2, 2018, 10:54 p.m.
From: Alexander Yarygin <yarygin@linux.vnet.ibm.com>

BugLink: http://bugs.launchpad.net/bugs/1747090

Some facility bits are in a range that is defined to be "ok for guests
without any necessary hypervisor changes". Enable those bits.

Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
(cherry picked from commit ed8dda0bf74b4fb8e73d8880c78effabd3285fd8)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>

---
 arch/s390/kvm/kvm-s390.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 23e3f5d..2323cc0 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -118,8 +118,8 @@  struct kvm_stats_debugfs_item debugfs_entries[] = {
 
 /* upper facilities limit for kvm */
 unsigned long kvm_s390_fac_list_mask[] = {
-	0xffe6fffbfcfdfc40UL,
-	0x005e800000000000UL,
+	0xffe6ffffffffffffUL,
+	0x005effffffffffffUL,
 };
 
 unsigned long kvm_s390_fac_list_mask_size(void)