Thread (23 messages) 23 messages, 6 authors, 2023-08-31

Re: [PATCH v5 04/12] virt: geniezone: Add vcpu support

From: Will Deacon <will@kernel.org>
Date: 2023-08-15 09:54:45
Also in: linux-arch, linux-arm-kernel, linux-doc, linux-mediatek, lkml

On Fri, Aug 11, 2023 at 11:00:54AM -0600, Rob Herring wrote:
On Thu, Jul 27, 2023 at 03:59:57PM +0800, Yi-De Wu wrote:
quoted
From: "Yingshiuan Pan" <redacted>

VMM use this interface to create vcpu instance which is a fd, and this
fd will be for any vcpu operations, such as setting vcpu registers and
accepts the most important ioctl GZVM_VCPU_RUN which requests GenieZone
hypervisor to do context switch to execute VM's vcpu context.

Signed-off-by: Yingshiuan Pan <redacted>
Signed-off-by: Jerry Wang <redacted>
Signed-off-by: Liju Chen <redacted>
Signed-off-by: Yi-De Wu <redacted>
---
 arch/arm64/geniezone/Makefile           |   2 +-
 arch/arm64/geniezone/gzvm_arch_common.h |  20 ++
 arch/arm64/geniezone/vcpu.c             |  88 +++++++++
 arch/arm64/geniezone/vm.c               |  11 ++
 arch/arm64/include/uapi/asm/gzvm_arch.h |  30 +++
I'm almost certain that the arm64 maintainers will reject putting this 
here. What is the purpose of the split with drivers/virt/? Do you plan 
to support another arch in the near future?
Thanks, Rob. You're absolutely right that this doesn't belong in the
architecture code.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help