diff options
author | Michael Mueller <mimu@linux.vnet.ibm.com> | 2017-06-29 18:39:27 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-01-26 09:49:09 +0100 |
commit | c7901a6ebee4b624971361bbd93f21ab0b359786 (patch) | |
tree | 8247eb88130353574f5f2fa35452059ac7c7dd40 /README | |
parent | 8d5fb0dc4ec069ea02395593e9b6b2b39a92457e (diff) | |
download | linux-c7901a6ebee4b624971361bbd93f21ab0b359786.tar.gz linux-c7901a6ebee4b624971361bbd93f21ab0b359786.tar.bz2 linux-c7901a6ebee4b624971361bbd93f21ab0b359786.zip |
KVM: s390: reverse bit ordering of irqs in pending mask
This patch prepares a simplification of bit operations between the irq
pending mask for emulated interrupts and the Interruption Pending Mask
(IPM) which is part of the Guest Interruption State Area (GISA), a feature
that allows interrupt delivery to guests by means of the SIE instruction.
Without that change, a bit-wise *or* operation on parts of these two masks
would either require a look-up table of size 256 bytes to map the IPM
to the emulated irq pending mask bit orientation (all bits mirrored at half
byte) or a sequence of up to 8 condidional branches to perform tests of
single bit positions. Both options are to be rejected either by performance
or space utilization reasons.
Beyond that this change will be transparent.
Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions