]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[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 4fe68650535cf2acc4d3e968b839a1e750a00529..76482b65ba3e98d854ed35cdf06cdea556b545ec 100644 (file)
@@ -741,7 +741,7 @@ static int __init kvm_s390_init(void)
                return -ENOMEM;
        }
        stfle(facilities, 1);
                return -ENOMEM;
        }
        stfle(facilities, 1);
-       facilities[0] &= 0xff00fff3f0700000ULL;
+       facilities[0] &= 0xff00fff3f47c0000ULL;
        return 0;
 }
 
        return 0;
 }