[RFC PATCH v5 0/2] ARM/ARM64 KVM dealing with coproc registers in BE code

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

 



Hi Marc, Christoffer,

Please take a look at updated proposal.

Wrt V7 coproc register handling I think I finally got what
Christoffer wanted from me:
 1) enforce rule that '*val' type size where data
 copied to/from should match register size
 2) for all existing oddballs where 1) was not true
 added code that handles it on reg_from_user/reg_to_user
 caller size
Sorry, it took a bit of time to get here. But I hope
it looks good now.

Wrt V8 sys register addressed Marc's comment. Actually
existing code is endian clean, so patch just do a bit
of clean up.

Please let me know your thoughts. If you are tentively
OK with it. I will repost these patches along with all
series from fromal review after I retest all possible
LE/BE 64/32 combinations.

Thanks,
Victor

Victor Kamensky (2):
  ARM: KVM: one_reg coproc set and get BE fixes
  ARM64: KVM: set and get of sys registers in BE case

 arch/arm/kvm/coproc.c     | 95 ++++++++++++++++++++++++++++++++++++-----------
 arch/arm64/kvm/sys_regs.c |  6 +--
 2 files changed, 76 insertions(+), 25 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