aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm/mips.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-28MIPS: Don't use %pK through printkThomas Weißschuh1-1/+1
2025-02-18KVM: MIPS: Switch to use hrtimer_setup()Nam Cao1-3/+2
2024-09-04KVM: MIPS: Rename virtualization {en,dis}abling APIs to match common KVMSean Christopherson1-2/+2
2024-09-04KVM: Rename arch hooks related to per-CPU virtualization enablingSean Christopherson1-2/+2
2024-07-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+1
2024-06-18KVM: Introduce vcpu->wants_to_runDavid Matlack1-1/+1
2024-06-11MIPS: kvm: Declare prototype for kvm_init_loongson_ipiJiaxun Yang1-2/+0
2023-08-17KVM: Move kvm_arch_flush_remote_tlbs_memslot() to common codeDavid Matlack1-8/+2
2023-08-17KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs()David Matlack1-1/+1
2023-07-03MIPS: KVM: Fix NULL pointer dereferenceHuacai Chen1-8/+8
2023-03-16KVM: Change return type of kvm_arch_vm_ioctl() to "int"Thomas Huth1-2/+2
2022-12-29KVM: Drop kvm_arch_check_processor_compat() hookSean Christopherson1-6/+1
2022-12-29KVM: Drop kvm_arch_{init,exit}() hooksSean Christopherson1-10/+0
2022-12-29KVM: MIPS: Register die notifier prior to kvm_init()Sean Christopherson1-4/+5
2022-12-29KVM: MIPS: Setup VZ emulation? directly from kvm_mips_init()Sean Christopherson1-1/+5
2022-12-29KVM: MIPS: Hardcode callbacks to hardware virtualization extensionsSean Christopherson1-7/+2
2022-12-29KVM: Drop arch hardware (un)setup hooksSean Christopherson1-5/+0
2022-02-01kvm/mips: rework guest entry logicMark Rutland1-4/+46
2021-12-08KVM: Stop passing kvm_userspace_memory_region to arch memslot hooksSean Christopherson1-2/+0
2021-12-08KVM: MIPS: Drop pr_debug from memslot commit to avoid using "mem"Sean Christopherson1-4/+0
2021-12-08KVM: Let/force architectures to deal with arch specific memslot dataSean Christopherson1-1/+2
2021-12-08KVM: mips: Use kvm_get_vcpu() instead of open-coded accessMarc Zyngier1-1/+1
2021-12-08KVM: Move wiping of the kvm->vcpus array to common codeMarc Zyngier1-20/+1
2021-11-18KVM: MIPS: Cap KVM_CAP_NR_VCPUS by KVM_CAP_MAX_VCPUSVitaly Kuznetsov1-1/+1
2021-09-30kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDSJuergen Gross1-1/+1
2021-08-20KVM: stats: Support linear and logarithmic histogram statisticsJing Zhang1-4/+0
2021-06-24KVM: debugfs: Reuse binary stats descriptorsJing Zhang1-39/+0
2021-06-24KVM: stats: Support binary stats retrieval for a VCPUJing Zhang1-0/+44
2021-06-24KVM: stats: Support binary stats retrieval for a VMJing Zhang1-0/+15
2021-06-24KVM: stats: Separate generic stats from architecture specific onesJing Zhang1-6/+6
2021-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-10/+11
2021-04-17KVM: MIPS: let generic code call prepare_flush_shadowPaolo Bonzini1-5/+6
2021-04-17KVM: MIPS: rework flush_shadow_* callbacks into one that prepares the flushPaolo Bonzini1-6/+6
2021-04-17KVM: constify kvm_arch_flush_remote_tlbs_memslotPaolo Bonzini1-1/+1
2021-03-10MIPS: Remove KVM_TE supportThomas Bogendoerfer1-66/+2
2021-02-03KVM: MIPS: remove unneeded semicolonYang Li1-1/+1
2020-09-28KVM: MIPS: clean up redundant kvm_run parameters in assemblyTianjia Zhang1-1/+2
2020-09-11KVM: MIPS: Change the definition of kvm typeHuacai Chen1-0/+2
2020-07-10KVM: MIPS: clean up redundant 'kvm_run' parametersTianjia Zhang1-6/+5
2020-06-15KVM: MIPS: Fix a build error for !CPU_LOONGSON64Huacai Chen1-0/+2
2020-06-12Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-3/+44
2020-06-09mm: reorder includes after introduction of linux/pgtable.hMike Rapoport1-1/+1
2020-06-09mm: introduce include/linux/pgtable.hMike Rapoport1-1/+1
2020-06-04KVM: MIPS: Add CPUCFG emulation for Loongson-3Huacai Chen1-0/+1
2020-06-04KVM: MIPS: Add Loongson-3 Virtual IPI interrupt supportHuacai Chen1-0/+6
2020-06-04KVM: MIPS: Add more types of virtual interruptsHuacai Chen1-3/+37
2020-06-03Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-36/+36
2020-05-15kvm: add halt-polling cpu usage statsDavid Matlack1-0/+2
2020-05-14KVM: MIPS: use true,false for bool variableJason Yan1-2/+2
2020-05-13kvm: Replace vcpu->swait with rcuwaitDavidlohr Bueso1-4/+2
2020-04-21KVM: Remove redundant argument to kvm_arch_vcpu_ioctl_runTianjia Zhang1-1/+2
2020-04-21kvm_host: unify VM_STAT and VCPU_STAT definitions in a single placeEmanuele Giuseppe Esposito1-31/+30
2020-03-31KVM: Pass kvm_init()'s opaque param to additional arch funcsSean Christopherson1-2/+2
2020-03-16KVM: Provide common implementation for generic dirty log functionsSean Christopherson1-58/+5
2020-03-16KVM: Drop "const" attribute from old memslot in commit_memory_region()Sean Christopherson1-1/+1
2020-03-16KVM: Drop kvm_arch_create_memslot()Sean Christopherson1-6/+0
2020-02-05KVM: MIPS: Fold comparecount_func() into comparecount_wakeup()Sean Christopherson1-10/+5
2020-02-05KVM: MIPS: Fix a build error due to referencing not-yet-defined functionSean Christopherson1-21/+21
2020-01-27KVM: Drop kvm_arch_vcpu_init() and kvm_arch_vcpu_uninit()Sean Christopherson1-10/+0
2020-01-27KVM: MIPS: Move all vcpu init code into kvm_arch_vcpu_create()Sean Christopherson1-12/+14
2020-01-27KVM: Drop kvm_arch_vcpu_setup()Sean Christopherson1-5/+0
2020-01-27KVM: MIPS: Move .vcpu_setup() call to kvm_arch_vcpu_create()Sean Christopherson1-2/+8
2020-01-27KVM: Move vcpu alloc and init invocation to common codeSean Christopherson1-27/+6
2020-01-24KVM: Introduce kvm_vcpu_destroy()Sean Christopherson1-1/+1
2020-01-24KVM: MIPS: Invoke kvm_vcpu_uninit() immediately prior to freeing vcpuSean Christopherson1-2/+2
2020-01-24KVM: Add kvm_arch_vcpu_precreate() to handle pre-allocation issuesSean Christopherson1-0/+5
2020-01-24KVM: MIPS: Drop kvm_arch_vcpu_free()Sean Christopherson1-7/+2
2020-01-24KVM: MIPS: Use kvm_vcpu_cache to allocate vCPUsSean Christopherson1-3/+3
2019-08-05KVM: remove kvm_arch_has_vcpu_debugfs()Paolo Bonzini1-10/+0
2019-06-04KVM: Directly return result from kvm_arch_check_processor_compat()Sean Christopherson1-2/+2
2019-05-28KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_IDThomas Huth1-0/+3
2019-02-04MIPS: MemoryMapID (MMID) SupportPaul Burton1-0/+5
2018-12-14kvm: introduce manual dirty log reprotectPaolo Bonzini1-0/+23
2018-12-14kvm: rename last argument to kvm_get_dirty_log_protectPaolo Bonzini1-3/+3
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-06-20sched/swait: Rename to exclusivePeter Zijlstra1-2/+2
2018-06-12Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+1
2018-06-01kvm: Change return type to vm_fault_tSouptick Joarder1-1/+1
2018-05-14KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"Colin Ian King1-1/+1
2017-12-14KVM: introduce kvm_arch_vcpu_async_ioctlPaolo Bonzini1-3/+12
2017-12-14KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctlChristoffer Dall1-20/+29
2017-12-14KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_regsChristoffer Dall1-0/+3
2017-12-14KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_get_regsChristoffer Dall1-0/+3
2017-12-14KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_runChristoffer Dall1-0/+3
2017-11-27KVM: Let KVM_SET_SIGNAL_MASK work as advertisedJan H. Schönherr1-5/+2
2017-09-15kvm,mips: Fix potential swait_active() racesDavidlohr Bueso1-2/+2
2017-08-08KVM: add spinlock optimization frameworkLongpeng(Mike)1-0/+5
2017-04-07kvm: make KVM_CAP_COALESCED_MMIO architecture agnosticPaolo Bonzini1-3/+0
2017-03-28KVM: MIPS/VZ: Trace guest mode changesJames Hogan1-0/+13
2017-03-28KVM: MIPS/VZ: Support hardware guest timerJames Hogan1-1/+5
2017-03-28KVM: MIPS: Implement VZ supportJames Hogan1-0/+5
2017-03-28KVM: MIPS: Update exit handler for VZJames Hogan1-13/+18
2017-03-28KVM: MIPS/Entry: Update entry code to support VZJames Hogan1-1/+3
2017-03-28KVM: MIPS: Abstract guest CP0 register access for VZJames Hogan1-3/+3
2017-03-28KVM: MIPS: Add guest exit exception callbackJames Hogan1-0/+5
2017-03-28KVM: MIPS: Add hardware_{enable,disable} callbackJames Hogan1-1/+6
2017-03-28KVM: MIPS: Add callback to check extensionJames Hogan1-2/+1
2017-03-28KVM: MIPS: Init timer frequency from callbackJames Hogan1-3/+0
2017-03-28KVM: MIPS: Add VZ & TE capabilitiesJames Hogan1-0/+9
2017-03-28KVM: MIPS: Extend counters & events for VZ GExcCodesJames Hogan1-0/+10
2017-03-28KVM: MIPS: Update kvm_lose_fpu() for VZJames Hogan1-8/+12
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+2
2017-02-17KVM: race-free exit from KVM_RUN without POSIX signalsPaolo Bonzini1-1/+6
2017-02-03KVM: MIPS: Allow multiple VCPUs to be createdJames Hogan1-0/+6
2017-02-03KVM: MIPS/T&E: Move CP0 register access into T&EJames Hogan1-198/+0
2017-02-03KVM: MIPS: Claim KVM_CAP_READONLY_MEM supportJames Hogan1-0/+1
2017-02-03KVM: MIPS/MMU: Implement KVM_CAP_SYNC_MMUJames Hogan1-0/+1
2017-02-03KVM: MIPS: Clean & flush on dirty page logging enableJames Hogan1-0/+24
2017-02-03KVM: MIPS/MMU: Use generic dirty log & protect helperJames Hogan1-19/+23
2017-02-03KVM: MIPS: Implement kvm_arch_flush_shadow_all/memslotJames Hogan1-0/+26
2017-02-03KVM: MIPS: Update vcpu->mode and vcpu->cpuJames Hogan1-0/+18
2017-02-03KVM: MIPS/MMU: Convert guest physical map to page tableJames Hogan1-34/+14
2017-02-03KVM: MIPS: Use CP0_BadInstr[P] for emulationJames Hogan1-1/+1
2017-02-03KVM: MIPS: Improve kvm_get_inst() error returnJames Hogan1-1/+6
2017-02-03KVM: MIPS: Drop vm_init() callbackJames Hogan1-16/+0
2017-02-03KVM: MIPS/MMU: Convert commpage fault handling to page tablesJames Hogan1-33/+1
2017-02-03KVM: MIPS/MMU: Invalidate stale GVA PTEs on TLBWJames Hogan1-0/+1
2017-02-03KVM: MIPS: Add fast path TLB refill handlerJames Hogan1-3/+5
2017-02-03KVM: MIPS/T&E: Allocate GVA -> HPA page tablesJames Hogan1-1/+6
2017-02-03KVM: MIPS: Wire up vcpu uninitJames Hogan1-0/+5
2017-02-03KVM: MIPS: Add vcpu_run() & vcpu_reenter() callbacksJames Hogan1-41/+2
2017-02-03KVM: MIPS: Remove duplicated ASIDs from vcpuJames Hogan1-5/+3
2017-02-03KVM: MIPS: Drop partial KVM_NMI implementationJames Hogan1-16/+0
2017-02-02MIPS: KVM: Return directly after a failed copy_from_user() in kvm_arch_vcpu_i...Markus Elfring1-7/+2
2017-01-05KVM: MIPS: Flush KVM entry code from icache globallyJames Hogan1-2/+2
2016-10-26KVM: MIPS: Fix lazy user ASID regenerate for SMPJames Hogan1-1/+4
2016-10-19KVM: MIPS: Add missing uaccess.h includeJames Hogan1-0/+1
2016-09-29Merge tag 'kvm_mips_4.9_1' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Radim Krčmář1-0/+30
2016-09-29KVM: MIPS: Invalidate TLB by regenerating ASIDsJames Hogan1-0/+30
2016-09-16kvm: add stubs for arch specific debugfs supportLuiz Capitulino1-0/+10
2016-08-01MIPS: KVM: Fail if ebase doesn't fit in CP0_EBaseJames Hogan1-0/+12
2016-07-05MIPS: KVM: Don't save/restore lo/hi for r6James Hogan1-0/+6
2016-07-05MIPS: KVM: Relative branch to common exit handlerJames Hogan1-5/+7
2016-07-05MIPS: KVM: Dynamically choose scratch registersJames Hogan1-0/+4
2016-07-05MIPS: KVM: Add dumping of generated entry codeJames Hogan1-0/+25
2016-07-05MIPS; KVM: Convert exception entry to uasmJames Hogan1-25/+12
2016-07-01KVM: remove kvm_guest_enter/exit wrappersPaolo Bonzini1-2/+2
2016-06-15MIPS: KVM: Add KScratch registersJames Hogan1-0/+71
2016-06-15MIPS: KVM: List FPU/MSA registersJames Hogan1-0/+58
2016-06-15MIPS: KVM: Make KVM_GET_REG_LIST dynamicJames Hogan1-7/+22
2016-06-15MIPS: KVM: Pass all unknown registers to callbacksJames Hogan1-20/+2
2016-06-14MIPS: KVM: Add guest mode switch trace eventsJames Hogan1-0/+4
2016-06-14MIPS: KVM: Clean up kvm_exit trace eventJames Hogan1-15/+2
2016-06-14MIPS: KVM: Add kvm_aux trace eventJames Hogan1-0/+11
2016-06-14MIPS: KVM: Generalise fpu_inuse for other stateJames Hogan1-19/+19
2016-06-14MIPS: KVM: Restore host EBase from ebase variableJames Hogan1-3/+0
2016-06-14MIPS: KVM: Don't indirect KVM functionsJames Hogan1-17/+1
2016-06-14MIPS: KVM: Convert code to kernel sized typesJames Hogan1-4/+4
2016-06-14MIPS: KVM: Fix modular KVM under QEMUJames Hogan1-1/+10
2016-05-13KVM: halt_polling: provide a way to qualify wakeups during pollChristian Borntraeger1-0/+1
2016-05-10MIPS: KVM: Add missing disable FPU hazard barriersJames Hogan1-1/+4
2016-05-10MIPS: KVM: Fix preemption warning reading FPU capabilityJames Hogan1-1/+2
2016-03-14Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+4
2016-03-02mips/kvm: fix ioctl error handlingMichael S. Tsirkin1-2/+2
2016-02-25KVM: Use simple waitqueue for vcpu->wqMarcelo Tosatti1-4/+4
2016-01-24MIPS: KVM: Add missing newline to kvm_err()James Hogan1-1/+1
2016-01-24MIPS: Move Cause.ExcCode trap codes to mipsregs.hJames Hogan1-16/+16
2016-01-24MIPS: KVM: Make kvm_mips_{init,exit}() staticJames Hogan1-2/+2
2015-11-18MIPS: KVM: Uninit VCPU in vcpu_create error pathJames Hogan1-1/+4
2015-09-16KVM: add halt_attempted_poll to VCPU statsPaolo Bonzini1-0/+1
2015-05-28KVM: add "new" argument to kvm_arch_commit_memory_regionPaolo Bonzini1-0/+1
2015-05-26KVM: const-ify uses of struct kvm_userspace_memory_regionPaolo Bonzini1-2/+2
2015-05-26KVM: use kvm_memslots whenever possiblePaolo Bonzini1-1/+3
2015-05-19KVM: mips: use id_to_memslot correctlyPaolo Bonzini1-1/+1
2015-05-07KVM: arm/mips/x86/power use __kvm_guest_{enter|exit}Christian Borntraeger1-2/+2
2015-03-27MIPS: KVM: Wire up MSA capabilityJames Hogan1-0/+18
2015-03-27MIPS: KVM: Expose MSA registersJames Hogan1-0/+65
2015-03-27MIPS: KVM: Add MSA exception handlingJames Hogan1-0/+10
2015-03-27MIPS: KVM: Add base guest MSA supportJames Hogan1-16/+116
2015-03-27MIPS: KVM: Wire up FPU capabilityJames Hogan1-0/+37
2015-03-27MIPS: KVM: Expose FPU registersJames Hogan1-1/+71
2015-03-27MIPS: KVM: Add FP exception handlingJames Hogan1-0/+7
2015-03-27MIPS: KVM: Add base guest FPU supportJames Hogan1-0/+126
2015-03-27MIPS: KVM: Add Config4/5 and writing of Config registersJames Hogan1-0/+14
2015-03-27MIPS: KVM: Drop pr_info messages on init/exitJames Hogan1-3/+0
2015-03-27MIPS: KVM: Sort kvm_mips_get_reg() registersJames Hogan1-3/+3
2015-03-27MIPS: KVM: Implement PRid CP0 register accessJames Hogan1-0/+7
2015-03-27MIPS: KVM: Handle TRAP exceptions from guest kernelJames Hogan1-0/+7
2015-03-27MIPS: KVM: Handle MSA Disabled exceptions from guestJames Hogan1-0/+4
2015-02-06kvm: add halt_poll_ns module parameterPaolo Bonzini1-0/+1
2015-02-04KVM: MIPS: Don't leak FPU/DSP to guestJames Hogan1-3/+3
2015-02-04KVM: MIPS: Disable HTW while in guestJames Hogan1-0/+13
2015-01-23KVM: remove unneeded return value of vcpu_postcreateDominik Dingel1-2/+1
2014-08-29KVM: remove garbage arg to *hardware_{en,dis}ableRadim Krčmář1-1/+1
2014-08-29KVM: static inline empty kvm_arch functionsRadim Krčmář1-42/+0
2014-08-21KVM: add kvm_arch_sched_inRadim Krčmář1-0/+4
2014-08-05Merge tag 'signed-kvm-ppc-next' of git://github.com/agraf/linux-2.6 into kvmPaolo Bonzini1-1/+1
2014-08-04Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+1219
2014-07-28KVM: Rename and add argument to check_extensionAlexander Graf1-1/+1
2014-06-30MIPS: KVM: Rename files to remove the prefix "kvm_" and "kvm_mips_"Deng-Cheng Zhu1-0/+1218