[RFC PATCH v6] ARM KVM dealing with coproc registers in BE code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoffer, Marc,

Please take a look at updated proposal. In this version
I addressed Christoffer's comments on V5 version. 

1) dropped defensive mechanism in reg_from_user/reg_to_user.
Dor now let's rely on comments in the code and unlikelyhood that
someone will introduce another issues in this aread

2) Proposed fix word swap issue in BE case for regsize==8.
With this proposal we assume that canonical form how u64 cp15
register stored in vcpu->arch.cp15 u32 array is the following:
low word first, followed by high word. If another canonical
form will be suggested it will require more patches.

Please let me know if you are tentively OK with this
approch. In this case I will retest all combinations and
resubmit whole series for formal approval.

Thanks,
Victor

Victor Kamensky (1):
  ARM: KVM: one_reg coproc set and get BE fixes

 arch/arm/kvm/coproc.c | 64 +++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 55 insertions(+), 9 deletions(-)

-- 
1.8.1.4

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux