Re: [PATCH] KVM: arm64: cancel the return value check of kvm_arm_init_sve()

2022-05-20 Thread kernel test robot
ttps://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Peng-Wu/KVM-arm64-cancel-the-return-value-check-of-kvm_arm_init_sve/20220520-165501 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next config: arm64-allyesconfig (https://downl

Re: [PATCH kvmtool] aarch64: Give up with MTE for AArch32 guest

2022-05-20 Thread Will Deacon
On Fri, 20 May 2022 13:38:44 +0100, Vladimir Murzin wrote: > KVM doesn't support combination of MTE and AArch32 guest, so do not > even try. > > Applied to kvmtool (master), thanks! [1/1] aarch64: Give up with MTE for AArch32 guest https://git.kernel.org/will/kvmtool/c/324cc0969b7c Cheer

Re: [PATCH v2 kvmtool 12/12] arm64: Allow the user to specify the RAM base address

2022-05-20 Thread Andre Przywara
On Mon, 16 May 2022 16:55:26 +0100 Alexandru Elisei wrote: Hi, > Allow the user to specify the RAM base address by using -m/--mem size@addr > command line argument. The base address must be above 2GB, as to not > overlap with the MMIO I/O region. Just started to play with this, in general the s

Re: [PATCH 33/89] KVM: arm64: Handle guest stage-2 page-tables entirely at EL2

2022-05-20 Thread Alexandru Elisei
Hi, On Thu, May 19, 2022 at 02:41:08PM +0100, Will Deacon wrote: > Now that EL2 is able to manage guest stage-2 page-tables, avoid > allocating a separate MMU structure in the host and instead introduce a > new fault handler which responds to guest stage-2 faults by sharing > GUP-pinned pages with

Re: [PATCH 03/89] KVM: arm64: Return error from kvm_arch_init_vm() on allocation failure

2022-05-20 Thread Alexandru Elisei
Hi, On Thu, May 19, 2022 at 02:40:38PM +0100, Will Deacon wrote: > If we fail to allocate the 'supported_cpus' cpumask in kvm_arch_init_vm() > then be sure to return -ENOMEM instead of success (0) on the failure > path. > > Signed-off-by: Will Deacon > --- > arch/arm64/kvm/arm.c | 4 +++- > 1 f

Re: [PATCH kvmtool] aarch64: Give up with MTE for AArch32 guest

2022-05-20 Thread Alexandru Elisei
Hi, On Fri, May 20, 2022 at 02:48:10PM +0100, Vladimir Murzin wrote: > Hi Alexandru, > > On 5/20/22 14:31, Alexandru Elisei wrote: > > Hi Vladimir, > > > > When I run an --aarch32 guest with --debug this is the message that I'm > > getting: > > > > Info: (arm/aarch64/kvm.c) kvm__arch_enable_m

Re: [PATCH kvmtool] aarch64: Give up with MTE for AArch32 guest

2022-05-20 Thread Vladimir Murzin
Hi Alexandru, On 5/20/22 14:31, Alexandru Elisei wrote: > Hi Vladimir, > > When I run an --aarch32 guest with --debug this is the message that I'm > getting: > > Info: (arm/aarch64/kvm.c) kvm__arch_enable_mte:146: MTE capability not > available > > Would you mind elaborating on the merits of

Re: [PATCH kvmtool] aarch64: Give up with MTE for AArch32 guest

2022-05-20 Thread Alexandru Elisei
Hi Vladimir, When I run an --aarch32 guest with --debug this is the message that I'm getting: Info: (arm/aarch64/kvm.c) kvm__arch_enable_mte:146: MTE capability not available Would you mind elaborating on the merits of the message that you are proposing: Info: (arm/aarch64/kvm.c) kvm__arch

[PATCH kvmtool] aarch64: Give up with MTE for AArch32 guest

2022-05-20 Thread Vladimir Murzin
KVM doesn't support combination of MTE and AArch32 guest, so do not even try. Signed-off-by: Vladimir Murzin --- arm/aarch64/kvm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arm/aarch64/kvm.c b/arm/aarch64/kvm.c index 1b992dd..f3fe854 100644 --- a/arm/aarch64/kvm.c +++ b/arm/aarch6

Re: [GIT PULL] KVM/arm64 updates for 5.19

2022-05-20 Thread Paolo Bonzini
On 5/19/22 11:27, Marc Zyngier wrote: Hi Paolo, Here's the bulk of the KVM/arm64 updates for 5.19. Major features are guard pages for the EL2 stacks, save/restore of the guest-visible hypercall configuration and PSCI suspend support. Further details in the tag description. Note that this PR con

[PATCH] Documentation: kvm: reorder ARM-specific section about KVM_SYSTEM_EVENT_SUSPEND

2022-05-20 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Documentation/virt/kvm/api.rst | 52 +- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index 3201933e52d9..6890c04ccde2 100644 --- a/Documentation/virt