Re: [RFC PATCH v5 08/38] KVM: arm64: Unlock memslots after stage 2 tables are freed

2022-03-17 Thread Reiji Watanabe
Hi Alex, On 11/17/21 7:38 AM, Alexandru Elisei wrote: Unpin the backing pages mapped at stage 2 after the stage 2 translation tables are destroyed. Signed-off-by: Alexandru Elisei --- arch/arm64/kvm/mmu.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff

Re: [kvm-unit-tests PATCH] arm/run: Use TCG with qemu-system-arm on arm64 systems

2022-03-17 Thread Alexandru Elisei
Hi, On Thu, Mar 17, 2022 at 06:45:07PM +0100, Andrew Jones wrote: > On Thu, Mar 17, 2022 at 04:56:01PM +, Alexandru Elisei wrote: > > From: Andrew Jones > > > > If the user sets QEMU=qemu-system-arm on arm64 systems, the tests can only > > be run by using the TCG accelerator. In this case

Re: [kvm-unit-tests PATCH] arm/run: Use TCG with qemu-system-arm on arm64 systems

2022-03-17 Thread Andrew Jones
On Thu, Mar 17, 2022 at 04:56:01PM +, Alexandru Elisei wrote: > From: Andrew Jones > > If the user sets QEMU=qemu-system-arm on arm64 systems, the tests can only > be run by using the TCG accelerator. In this case use TCG instead of KVM. > > Signed-off-by: Andrew Jones > [ Alex E: Added

[kvm-unit-tests PATCH] arm/run: Use TCG with qemu-system-arm on arm64 systems

2022-03-17 Thread Alexandru Elisei
From: Andrew Jones If the user sets QEMU=qemu-system-arm on arm64 systems, the tests can only be run by using the TCG accelerator. In this case use TCG instead of KVM. Signed-off-by: Andrew Jones [ Alex E: Added commit message ] Signed-off-by: Alexandru Elisei --- arm/run | 12 ++--

Re: [PATCH v4 2/6] Partially revert "KVM: Pass kvm_init()'s opaque param to additional arch funcs"

2022-03-17 Thread Suzuki Kuruppassery Poulose
On 16/02/2022 03:15, Chao Gao wrote: This partially reverts commit b99040853738 ("KVM: Pass kvm_init()'s opaque param to additional arch funcs") remove opaque from kvm_arch_check_processor_compat because no one uses this opaque now. Address conflicts for ARM (due to file movement) and manually

Re: [PATCH v1 2/2] KVM: arm64: Add debug tracepoint for vcpu exits

2022-03-17 Thread Marc Zyngier
Hi Jing, On Thu, 17 Mar 2022 00:56:30 +, Jing Zhang wrote: > > This tracepoint only provides a hook for poking vcpu exits information, > not exported to tracefs. > A timestamp is added for the last vcpu exit, which would be useful for > analysis for vcpu exits. The trace itself gives you a

Re: [PATCH v1 1/2] KVM: arm64: Add arch specific exit reasons

2022-03-17 Thread Marc Zyngier
Hi Jing, On Thu, 17 Mar 2022 00:56:29 +, Jing Zhang wrote: > > Arch specific exit reasons have been available for other architectures. > Add arch specific exit reason support for ARM64, which would be used in > KVM stats for monitoring VCPU status. > > Signed-off-by: Jing Zhang > --- >

Re: Report an error on GICv4.1 vcpu de-schedule

2022-03-17 Thread Marc Zyngier
Hi Jingyi, On Thu, 17 Mar 2022 07:27:45 +, Jingyi Wang wrote: > > Hi Marc, > > The patch "KVM: arm64: Delay the polling of the GICR_VPENDBASER.Dirty > bit"(57e3cebd022fbc035dcf190ac789fd2ffc747f5b) remove the polling of > GICR_VPENDBASER.Dirty bit in vcpu_load() , while check the VPT

Re: [PATCH v12 20/40] arm64/sme: Implement streaming SVE signal handling

2022-03-17 Thread Thiago Jung Bauermann
Hello, Mark Brown writes: > @@ -186,9 +189,16 @@ struct sve_context { > * sve_context.vl must equal the thread's current vector length when > * doing a sigreturn. > * > + * On systems with support for SME the SVE register state may reflect either > + * streaming or non-streaming mode.

Re: [PATCH v4 0/6] Improve KVM's interaction with CPU hotplug

2022-03-17 Thread Chao Gao
Ping. Anyone can help to review this series (particularly patch 3-5)? FYI, Sean gave his Reviewed-by to patch 1,2,5 and 6. ___ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Re: [PATCH v12 11/40] arm64/sme: Identify supported SME vector lengths at boot

2022-03-17 Thread Thiago Jung Bauermann
Hello, Just a small suggestion: Mark Brown writes: > diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h > index d08062bcb9c1..550e1fc4ae6c 100644 > --- a/arch/arm64/include/asm/cpu.h > +++ b/arch/arm64/include/asm/cpu.h > @@ -64,6 +64,9 @@ struct cpuinfo_arm64 { > >

Re: [PATCH v2 2/3] KVM: arm64: selftests: add arch_timer_edge_cases

2022-03-17 Thread Marc Zyngier
On 2022-03-17 06:44, Oliver Upton wrote: On Wed, Mar 16, 2022 at 09:51:26PM -0700, Ricardo Koller wrote: Add an arch_timer edge-cases selftest. For now, just add some basic sanity checks, and some stress conditions (like waiting for the timers while re-scheduling the vcpu). The next commit will