Thread (32 messages) 32 messages, 5 authors, 2019-01-08

Re: [PATCH 02/12] KVM: arm/arm64: Factor out hypercall handling from PSCI code

From: Andrew Jones <hidden>
Date: 2018-12-03 16:02:47
Also in: kvmarm

On Wed, Nov 28, 2018 at 02:45:17PM +0000, Steven Price wrote:
From: Christoffer Dall <redacted>

We currently intertwine the KVM PSCI implementation with the general
dispatch of hypercall handling, which makes perfect sense because PSCI
is the only category of hypercalls we support.

However, as we are about to support additional hypercalls, factor out
this functionality into a separate hypercall handler file.

Signed-off-by: Christoffer Dall <redacted>
[steven.price@arm.com: rebased]
Signed-off-by: Steven Price <steven.price@arm.com>
---
 arch/arm/kvm/Makefile        |  2 +-
 arch/arm/kvm/handle_exit.c   |  2 +-
 arch/arm64/kvm/Makefile      |  1 +
 arch/arm64/kvm/handle_exit.c |  4 +-
 include/kvm/arm_hypercalls.h | 43 ++++++++++++++++++++
 include/kvm/arm_psci.h       |  2 +-
 virt/kvm/arm/hypercalls.c    | 51 ++++++++++++++++++++++++
 virt/kvm/arm/psci.c          | 76 +-----------------------------------
 8 files changed, 102 insertions(+), 79 deletions(-)
 create mode 100644 include/kvm/arm_hypercalls.h
 create mode 100644 virt/kvm/arm/hypercalls.c
Reviewed-by: Andrew Jones <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help