]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Move kvm_{request,free}_irq_source_id() to i8254.c (PIT)
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:48 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:47 +0000 (13:52 -0700)
commit77a74b8ff41ae620f5a5d727d596b670b7b9994e
treed290f98e660cfa85a89a91ab5731490981371e4f
parentdf35135680fae0b13f843b6f4c6c310c567d7900
KVM: x86: Move kvm_{request,free}_irq_source_id() to i8254.c (PIT)

Move kvm_{request,free}_irq_source_id() to i8254.c, i.e. the dedicated PIT
emulation file, in anticipation of removing them entirely in favor of
hardcoding the PIT's "requested" source ID (the source ID can only ever be
'2', and the request can never fail).

No functional change intended.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/irq_comm.c
include/linux/kvm_host.h