aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/i8254.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-03Merge tag 'mm-nonmm-stable-2025-08-03-12-47' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+2
2025-08-02KVM: x86: fix typo "notifer"WangYuli1-2/+2
2025-06-20KVM: x86: Don't clear PIT's IRQ line status when destroying PITSean Christopherson1-10/+0
2025-06-20KVM: x86: Hardcode the PIT IRQ source ID to '2'Sean Christopherson1-48/+7
2025-06-20KVM: x86: Move kvm_{request,free}_irq_source_id() to i8254.c (PIT)Sean Christopherson1-0/+44
2025-06-20KVM: x86: Move PIT ioctl helpers to i8254.cSean Christopherson1-3/+76
2025-02-18KVM: x86: Switch to use hrtimer_setup()Nam Cao1-2/+1
2025-01-08treewide: Introduce kthread_run_worker[_on_cpu]()Frederic Weisbecker1-1/+1
2022-12-29KVM: x86: Unify pr_fmt to use module name for all KVM modulesSean Christopherson1-2/+2
2022-06-08KVM: x86: PIT: Preserve state of speaker port data bitPaul Durrant1-3/+7
2022-04-02KVM: x86: Add wrappers for setting/clearing APICv inhibitsSean Christopherson1-4/+2
2021-12-08KVM: Use 'unsigned long' as kvm_for_each_vcpu()'s indexMarc Zyngier1-1/+1
2021-08-02KVM: x86: Migrate the PIT only if vcpu0 is migrated, not any BSPSean Christopherson1-1/+2
2020-06-11kvm: i8254: remove redundant assignment to pointer sColin Ian King1-1/+0
2020-03-16KVM: x86: Fix print format and coding styleMiaohe Lin1-1/+1
2020-02-05kvm: i8254: Deactivate APICv when using in-kernel PIT re-injection mode.Suravee Suthikulpanit1-0/+12
2019-02-20kvm: x86: Add memcg accounting to KVM allocationsBen Gardon1-1/+1
2017-07-12KVM: x86: take slots_lock in kvm_free_pitRadim Krčmář1-0/+2
2016-12-08KVM: x86: Handle the kthread worker using the new APIPetr Mladek1-9/+6
2016-10-11kthread: kthread worker API cleanupPetr Mladek1-7/+7
2016-06-03KVM: x86: protect KVM_CREATE_PIT/KVM_CREATE_PIT2 with kvm->lockPaolo Bonzini1-1/+3
2016-03-04KVM: i8254: drop local copy of mul_u64_u32_divPaolo Bonzini1-23/+3
2016-03-04KVM: i8254: turn kvm_kpit_state.reinject into atomic_tRadim Krčmář1-4/+4
2016-03-04KVM: i8254: move PIT timer function initializationRadim Krčmář1-2/+1
2016-03-04KVM: i8254: remove pointless dereference of PITRadim Krčmář1-2/+2
2016-03-04KVM: i8254: remove pit and kvm from kvm_kpit_stateRadim Krčmář1-5/+9
2016-03-04KVM: i8254: refactor kvm_free_pitRadim Krčmář1-13/+11
2016-03-04KVM: i8254: refactor kvm_create_pitRadim Krčmář1-15/+12
2016-03-04KVM: i8254: remove notifiers from PIT discard policyRadim Krčmář1-11/+27
2016-03-04KVM: i8254: remove unnecessary uses of PIT state lockRadim Krčmář1-8/+1
2016-03-04KVM: i8254: pass struct kvm_pit instead of kvm in PITRadim Krčmář1-60/+52
2016-03-04KVM: i8254: tone down WARN_ON pit.state_lockRadim Krčmář1-14/+3
2016-03-04KVM: i8254: use atomic_t instead of pit.inject_lockRadim Krčmář1-33/+23
2016-03-04KVM: i8254: add kvm_pit_reset_reinjectRadim Krčmář1-8/+10
2016-03-04KVM: i8254: simplify atomics in kvm_pit_ack_irqRadim Krčmář1-11/+1
2016-03-04KVM: i8254: change PIT discard tick policyRadim Krčmář1-5/+7
2016-01-07kvm: x86: only channel 0 of the i8254 is linked to the HPETPaolo Bonzini1-0/+1
2015-10-01KVM: x86: Split the APIC from the rest of IRQCHIP.Steve Rutherford1-1/+3
2015-07-03KVM: x86: make vapics_in_nmi_mode atomicRadim Krčmář1-1/+1
2015-03-26KVM: Redesign kvm_io_bus_ API to pass VCPU structure to the callbacks.Nikolay Nikolaev1-5/+9
2014-10-24KVM: x86: Improve thread safety in pitAndy Honig1-0/+2
2014-01-15KVM: x86: limit PIT timer frequencyMarcelo Tosatti1-0/+18
2013-04-15KVM: Let ioapic know the irq line statusYang Zhang1-2/+2
2012-12-18kvm: fix i8254 counter 0 wraparoundNickolai Zeldovich1-1/+0
2012-08-01KVM: fold kvm_pit_timer into kvm_kpit_stateAvi Kivity1-27/+25
2012-08-01KVM: Simplify kvm_pit_timerAvi Kivity1-13/+1
2012-08-01KVM: Remove internal timer abstractionAvi Kivity1-4/+4
2012-04-27KVM: x86: Run PIT work in own kthreadJan Kiszka1-12/+19
2011-12-27KVM: x86: Consolidate PIT legacy testJan Kiszka1-7/+3
2011-12-25KVM: x86: Prevent starting PIT timers in the absence of irqchip supportJan Kiszka1-3/+7
2011-09-25KVM: Intelligent device lookup on I/O busSasha Levin1-2/+4
2010-10-24KVM: fix typo in copyright noticeNicolas Kaiser1-1/+1
2010-10-24KVM: pit: Do not check pending pit timer in vcpu threadJason Wang1-9/+0
2010-08-17KVM: PIT: free irq source id in handling error pathXiao Guangrong1-0/+1
2010-08-15KVM: destroy workqueue on kvm_create_pit() failuresXiaotian Feng1-1/+1
2010-08-02KVM: PIT: stop vpit before freeing irq_routingXiao Guangrong1-0/+3
2010-08-02KVM: fix lock imbalance in kvm_create_pit()Jiri Slaby1-0/+1
2010-08-01KVM: x86: Introduce a workqueue to deliver PIT timer interruptsChris Lalancette1-56/+85
2010-08-01KVM: Update Red Hat copyrightsAvi Kivity1-0/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-01KVM: Convert i8254/i8259 locks to raw_spinlocksThomas Gleixner1-5/+5
2010-03-01KVM: PIT: unregister kvm irq notifier if fail to create pitWei Yongjun1-2/+3
2010-03-01KVM: convert slots_lock to a mutexMarcelo Tosatti1-1/+1
2010-03-01KVM: convert io_bus to SRCUMarcelo Tosatti1-3/+3
2010-02-09KVM: PIT: control word is write-onlyMarcelo Tosatti1-0/+3
2009-12-10x86: i8254.c: Add pr_fmt(fmt)Joe Perches1-5/+7
2009-12-03KVM: Drop kvm->irq_lock lock from irq injection pathGleb Natapov1-2/+0
2009-10-16KVM: use proper hrtimer function to retrieve expiration timeMarcelo Tosatti1-1/+1
2009-09-10KVM: remove superfluous NULL pointer check in kvm_inject_pit_timer_irqs()Bartlomiej Zolnierkiewicz1-1/+1
2009-09-10KVM: PIT: Unregister ack notifier callback when freeingGleb Natapov1-0/+2
2009-09-10KVM: make io_bus interface more robustGregory Haskins1-2/+18
2009-09-10KVM: PIT support for HPET legacy modeBeth Kon1-4/+18
2009-09-10KVM: remove in_range from io devicesMichael S. Tsirkin1-23/+26
2009-09-10KVM: convert bus to slots_lockMichael S. Tsirkin1-2/+3
2009-09-10KVM: x86: missing locking in PIT/IRQCHIP/SET_BSP_CPU ioctl pathsMarcelo Tosatti1-2/+0
2009-09-10KVM: Use macro to iterate over vcpus.Gleb Natapov1-5/+2
2009-09-10KVM: Use pointer to vcpu instead of vcpu_id in timer code.Gleb Natapov1-1/+1
2009-09-10KVM: Introduce kvm_vcpu_is_bsp() function.Gleb Natapov1-2/+2
2009-09-10KVM: switch irq injection/acking data structures to irq_lockMarcelo Tosatti1-2/+2
2009-09-10KVM: do not register i8254 PIO regions until we are initializedGregory Haskins1-9/+8
2009-09-10KVM: cleanup io_device codeGregory Haskins1-12/+28
2009-09-10KVM: Allow PIT emulation without speaker portJan Kiszka1-6/+8
2009-08-05KVM: PIT: fix kpit_elapsed division by zeroMarcelo Tosatti1-0/+3
2009-06-10KVM: PIT: fix count read and mode 0 handlingMarcelo Tosatti1-11/+15
2009-06-10KVM: make 'lapic_timer_ops' and 'kpit_ops' staticHannes Eder1-1/+1
2009-06-10KVM: unify part of generic timer handlingMarcelo Tosatti1-37/+20
2009-06-10KVM: PIT: remove usage of count_load_time for channel 0Marcelo Tosatti1-6/+31
2009-06-10KVM: PIT: remove unused scheduled variableMarcelo Tosatti1-1/+0
2009-03-24KVM: Reset PIT irq injection logic when the PIT IRQ is unmaskedAvi Kivity1-0/+15
2009-03-24KVM: Properly lock PIT creationAvi Kivity1-2/+0
2009-03-24KVM: PIT: provide an option to disable interrupt reinjectionMarcelo Tosatti1-0/+4
2009-02-15KVM: PIT: fix i8254 pending count readMarcelo Tosatti1-1/+1
2008-12-31KVM: x86: Optimize NMI watchdog deliveryJan Kiszka1-5/+6
2008-12-31KVM: x86: Fix and refactor NMI watchdog emulationJan Kiszka1-6/+9
2008-12-31KVM: x86: Enable NMI Watchdog via in-kernel PIT sourceJan Kiszka1-0/+15
2008-11-11KVM: Fix pit memory leak if unable to allocate irq source idAvi Kivity1-1/+3
2008-10-28KVM: Fix guest shared interrupt with in-kernel irqchipSheng Yang1-2/+9
2008-10-17Merge commit 'linus/master' into merge-linusArjan van de Ven1-43/+40
2008-10-15KVM: x86: do not execute halted vcpusMarcelo Tosatti1-3/+2
2008-10-15KVM: make irq ack notifier functions staticHarvey Harrison1-1/+1
2008-10-15KVM: Use kvm_set_irq to inject interruptsAmit Shah1-4/+2
2008-10-15KVM: Handle spurious acks for PIT interruptsAvi Kivity1-1/+1
2008-10-15KVM: PIT: fix injection logic and countMarcelo Tosatti1-35/+35
2008-09-05hrtimer: convert kvm to the new hrtimer apisArjan van de Ven1-3/+3
2008-07-20KVM: only abort guest entry if timer count goes from 0->1Marcelo Tosatti1-7/+4
2008-07-20KVM: kvm_io_device: extend in_range() to manage len and write attributeLaurent Vivier1-2/+4
2008-07-20KVM: PIT: support mode 3Aurelien Jarno1-0/+1
2008-07-20KVM: add statics were possible, function definition in lapic.hHarvey Harrison1-3/+3
2008-06-24KVM: close timer injection race window in __vcpu_runMarcelo Tosatti1-3/+6
2008-06-06KVM: migrate PIT timerMarcelo Tosatti1-1/+13
2008-05-18KVM: PIT: take inject_pending into account when emulating hltMarcelo Tosatti1-1/+1
2008-05-04KVM: PIT: support mode 4Marcelo Tosatti1-0/+2
2008-05-01rename div64_64 to div64_u64Roman Zippel1-3/+3
2008-04-27KVM: Rename VCPU_MP_STATE_* to KVM_MP_STATE_*Avi Kivity1-1/+1
2008-04-27KVM: hlt emulation should take in-kernel APIC/PIT timers into accountMarcelo Tosatti1-0/+10
2008-04-27KVM: Add reset support for in kernel PITSheng Yang1-11/+19
2008-04-27KVM: Add save/restore supporting of in kernel PITSheng Yang1-0/+7
2008-04-27KVM: In kernel PIT modelSheng Yang1-0/+586