[S390] kvm: Enable z196 instruction facilities
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 25 Oct 2010 14:10:48 +0000 (16:10 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 25 Oct 2010 14:10:20 +0000 (16:10 +0200)
Enable PFPO, floating point extension, distinct-operands,
fast-BCR-serialization, high-word, interlocked-access, load/store-
on-condition, and population-count facilities for guests.
(bits 37, 44 and 45).

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kvm/kvm-s390.c

index 4fe6865..76482b6 100644 (file)
@@ -741,7 +741,7 @@ static int __init kvm_s390_init(void)
                return -ENOMEM;
        }
        stfle(facilities, 1);
-       facilities[0] &= 0xff00fff3f0700000ULL;
+       facilities[0] &= 0xff00fff3f47c0000ULL;
        return 0;
 }