Hot on the heels of the pt_reg patch, here's a few more cleanup/fixes. - The first two patches deal with compilation errors that can occur if you end up selecting enough options to make some structures big enough. Some fields then end up being out of reach of the assembly code. - Patches 3 to 6 clean a bit further the register accesses. - The last patch tries to detangle the MMIO handling from the MMU and emulation code. I believe this would make the review process a tad easier. As usual, this is available in the kvm-cleanup branch of my arm-platforms tree, together with more stuff that sits upon these patches. Marc Zyngier (7): ARM: KVM: make sure the VTTBR field can be accessed from asm code ARM: KVM: move the timer's asm-accessed fields to the top ARM: KVM: enforce use of vcpu_pc/vcpu_cpsr ARM: KVM: remove PC from the register array ARM: KVM: convert GP registers from u32 to unsigned long ARM: KVM: add a predicate to check for PC ARM: KVM: move MMIO handling to its own files arch/arm/include/asm/kvm.h | 12 +- arch/arm/include/asm/kvm_arch_timer.h | 25 ++-- arch/arm/include/asm/kvm_emulate.h | 41 ++---- arch/arm/include/asm/kvm_host.h | 17 ++- arch/arm/include/asm/kvm_mmio.h | 51 +++++++ arch/arm/include/asm/kvm_mmu.h | 1 - arch/arm/kvm/Makefile | 2 +- arch/arm/kvm/arm.c | 8 +- arch/arm/kvm/coproc.c | 4 +- arch/arm/kvm/coproc.h | 4 +- arch/arm/kvm/emulate.c | 173 ++++++++++++++++++---- arch/arm/kvm/interrupts.S | 3 +- arch/arm/kvm/mmio.c | 155 ++++++++++++++++++++ arch/arm/kvm/mmu.c | 269 +--------------------------------- 14 files changed, 407 insertions(+), 358 deletions(-) create mode 100644 arch/arm/include/asm/kvm_mmio.h create mode 100644 arch/arm/kvm/mmio.c -- 1.7.12 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm