[RFC/TRIVIAL PATCH 00/13] HSR cleanup patches

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

 



This patch series falls into the "trivial" category. Its major goal is
to make things a bit more readeable, at least to my own eyes.

It just creates a bunch of accessors for the HSR bits, keeping the
various shifts and masks away from the main C code. It also makes
things a lot easier for the ARM64 port, but that is not very relevant
for the time being.

This goes on top of my earlier series, and is as always available in
my kvm-cleanup branch.

Marc Zyngier (13):
  ARM: KVM: Abstract fault register accesses
  ARM: KVM: abstract HSR_ISV away
  ARM: KVM: abstract HSR_WNR away
  ARM: KVM: abstract HSR_SSE away
  ARM: KVM: abstract HSR_SRT_{MASK,SHIFT} away
  ARM: KVM: abstract external abort detection away
  ARM: KVM: abstract S1TW abort detection away
  ARM: KVM: abstract SAS decoding away
  ARM: KVM: abstract IL decoding away
  ARM: KVM: abstract exception class decoding away
  ARM: KVM: abstract fault decoding away
  ARM: KVM: abstract condition checking away
  ARM: KVM: abstract HSR_EC_IABT away

 arch/arm/include/asm/kvm_emulate.h | 97 ++++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/kvm_host.h    | 14 +++---
 arch/arm/kernel/asm-offsets.c      |  8 ++--
 arch/arm/kvm/arm.c                 | 40 ++++++++--------
 arch/arm/kvm/coproc.c              | 24 +++++-----
 arch/arm/kvm/emulate.c             |  6 +--
 arch/arm/kvm/mmio.c                | 31 ++++--------
 arch/arm/kvm/mmu.c                 | 22 ++++-----
 8 files changed, 165 insertions(+), 77 deletions(-)

-- 
1.7.12



_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/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