KVM: arm64: Remove __vcpu_{read,write}_sys_reg_{from,to}_cpu()
authorMarc Zyngier <maz@kernel.org>
Sun, 17 Aug 2025 12:19:26 +0000 (13:19 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 28 Aug 2025 18:39:48 +0000 (11:39 -0700)
commit3328d17e70545f83515b07851302d48c85c466b0
treede34b368e52d4dee06ae72c1cb92e9ae18370bcb
parentec0ab059d4359b2dad69f4ef90fa58a0bcdef525
KVM: arm64: Remove __vcpu_{read,write}_sys_reg_{from,to}_cpu()

There is no point having __vcpu_{read,write}_sys_reg_{from,to}_cpu()
exposed to the rest of the kernel, as the only callers are in
sys_regs.c.

Move them where they below, which is another opportunity to
simplify things a bit.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250817121926.217900-5-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/sys_regs.c