[PATCH 00/18] MIPS: KVM: Miscellaneous clean-ups

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

 



This patchset does a whole load of miscellaneous and usually quite self
contained cleanups in the MIPS KVM code, although a few of the patches
(patches 4-7) are a bit more invasive.

It is based on my "[PATCH 0/4] MIPS: KVM: Module + non dynamic
translating fixes" patchset from earlier today.

Patches 1-3, 10   drop dead or pointless code.
Patches 4-6       make changes to types (getting rid of uint32_t style
                  types and changing Cause register to u32).
Patches 7-8       separate non TLB handling code out of tlb.c into mmu.c,
                  which is built into the KVM module.
Patches 9, 12-16  make cleanups to host and guest TLB management code.

The remaining patches (11, 17-18) make other misc cleanups.

James Hogan (18):
  MIPS: KVM: Drop unused guest_inst from kvm_vcpu_arch
  MIPS: KVM: Drop unused host_cp0_entryhi
  MIPS: KVM: Drop unused kvm_mips_sync_icache()
  MIPS: KVM: Convert headers to kernel sized types
  MIPS: KVM: Convert code to kernel sized types
  MIPS: KVM: Make various Cause variables 32-bit
  MIPS: KVM: Move non-TLB handling code out of tlb.c
  MIPS: KVM: Don't indirect KVM functions
  MIPS: KVM: Simplify even/odd TLB handling
  MIPS: KVM: Drop unused hpa0/hpa1 args from function
  MIPS: KVM: Restore host EBase from ebase variable
  MIPS: KVM: Clean up TLB management hazards
  MIPS: KVM: Use dump_tlb_all() for kvm_mips_dump_host_tlbs()
  MIPS: KVM: Arrayify struct kvm_mips_tlb::tlb_lo*
  MIPS: KVM: Simplify TLB_* macros
  MIPS: KVM: Use MIPS_ENTRYLO_* defs from mipsregs.h
  MIPS: KVM: Combine handle_tlb_ld/st_miss
  MIPS: KVM: Use va in kvm_get_inst()

 arch/mips/include/asm/kvm_host.h | 170 +++++++-------
 arch/mips/kernel/asm-offsets.c   |   4 -
 arch/mips/kernel/traps.c         |   1 +
 arch/mips/kvm/Makefile           |   1 +
 arch/mips/kvm/dyntrans.c         |  32 +--
 arch/mips/kvm/emulate.c          | 251 +++++++++-----------
 arch/mips/kvm/interrupt.c        |  12 +-
 arch/mips/kvm/interrupt.h        |  10 +-
 arch/mips/kvm/locore.S           |   7 +-
 arch/mips/kvm/mips.c             |  29 +--
 arch/mips/kvm/mmu.c              | 367 +++++++++++++++++++++++++++++
 arch/mips/kvm/tlb.c              | 481 +++------------------------------------
 arch/mips/kvm/trap_emul.c        | 133 ++++-------
 13 files changed, 675 insertions(+), 823 deletions(-)
 create mode 100644 arch/mips/kvm/mmu.c

Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: kvm@xxxxxxxxxxxxxxx
-- 
2.4.10

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux