From: James Hogan Subject: [PATCH 00/16] MIPS: KVM: Misc trivial cleanups Date: Wed, 16 Dec 2015 23:49:25 +0000 Message-ID: <1450309781-28030-1-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Gleb Natapov , , , James Hogan To: Ralf Baechle , Paolo Bonzini Return-path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: List-Id: kvm.vger.kernel.org This patchset contains a bunch of miscellaneous cleanups (which are mostly trivial) for MIPS KVM & MIPS headers, such as: - Style/whitespace fixes - General cleanup and removal of dead code. - Moving/refactoring of general MIPS definitions out of arch/mips/kvm/ and into arch/mips/include/asm/ so they can be shared with the rest of arch/mips. Specifically COP0 register bits, exception codes, cache ops, & instruction opcodes. - Add MAINTAINERS entry for MIPS KVM. Due to the interaction with other arch/mips/ code, I think it makes sense for these to go via the MIPS tree. James Hogan (16): MIPS: KVM: Trivial whitespace and style fixes MIPS: KVM: Drop some unused definitions from kvm_host.h MIPS: Move definition of DC bit to mipsregs.h MIPS: KVM: Drop unused kvm_mips_host_tlb_inv_index() MIPS: KVM: Convert EXPORT_SYMBOL to _GPL MIPS: KVM: Refactor added offsetof()s MIPS: KVM: Make kvm_mips_{init,exit}() static MIPS: Move Cause.ExcCode trap codes to mipsregs.h MIPS: Update trap codes MIPS: Use EXCCODE_ constants with set_except_vector() MIPS: Break down cacheops.h definitions MIPS: KVM: Use cacheops.h definitions MIPS: Move KVM specific opcodes into asm/inst.h MIPS: KVM: Add missing newline to kvm_err() MIPS: KVM: Consistent use of uint*_t in MMIO handling MAINTAINERS: Add KVM for MIPS entry MAINTAINERS | 8 +++ arch/mips/Kconfig | 3 +- arch/mips/include/asm/cacheops.h | 106 ++++++++++++++++++++-------------- arch/mips/include/asm/kvm_host.h | 39 +------------ arch/mips/include/asm/mipsregs.h | 34 +++++++++++ arch/mips/include/uapi/asm/inst.h | 3 +- arch/mips/kernel/cpu-bugs64.c | 8 +-- arch/mips/kernel/traps.c | 52 ++++++++--------- arch/mips/kvm/callback.c | 2 +- arch/mips/kvm/dyntrans.c | 10 +--- arch/mips/kvm/emulate.c | 118 ++++++++++++++++---------------------- arch/mips/kvm/interrupt.c | 8 +-- arch/mips/kvm/locore.S | 12 ++-- arch/mips/kvm/mips.c | 38 ++++++------ arch/mips/kvm/opcode.h | 22 ------- arch/mips/kvm/tlb.c | 77 +++++++------------------ arch/mips/kvm/trap_emul.c | 1 - 17 files changed, 245 insertions(+), 296 deletions(-) delete mode 100644 arch/mips/kvm/opcode.h Cc: Ralf Baechle Cc: Paolo Bonzini Cc: Gleb Natapov Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org -- 2.4.10