Re: [PATCH v6 3/8] KVM: Add support for using dirty ring in conjunction with bitmap

2022-10-24 Thread Oliver Upton
On Mon, Oct 24, 2022 at 11:50:29PM +, Sean Christopherson wrote: > On Sat, Oct 22, 2022, Marc Zyngier wrote: > > On Fri, 21 Oct 2022 17:05:26 +0100, Sean Christopherson > > wrote: [...] > > > Would it be possible to require a dirty bitmap when an ITS is > > > created? That would allow trea

Re: [PATCH v6 3/8] KVM: Add support for using dirty ring in conjunction with bitmap

2022-10-24 Thread Sean Christopherson
On Mon, Oct 24, 2022, Sean Christopherson wrote: > On Sat, Oct 22, 2022, Marc Zyngier wrote: > > On Fri, 21 Oct 2022 17:05:26 +0100, Sean Christopherson > > wrote: > > > > > > On Fri, Oct 21, 2022, Marc Zyngier wrote: > > > > Because dirtying memory outside of a vcpu context makes it > > > > inc

Re: [PATCH v6 3/8] KVM: Add support for using dirty ring in conjunction with bitmap

2022-10-24 Thread Sean Christopherson
On Sat, Oct 22, 2022, Marc Zyngier wrote: > On Fri, 21 Oct 2022 17:05:26 +0100, Sean Christopherson > wrote: > > > > On Fri, Oct 21, 2022, Marc Zyngier wrote: > > > Because dirtying memory outside of a vcpu context makes it > > > incredibly awkward to handle a "ring full" condition? > > > > Kic

Re: [PATCH v3 0/6] KVM: selftests: memslot_perf_test: aarch64 cleanup/fixes

2022-10-24 Thread Maciej S. Szmigiero
On 20.10.2022 09:12, Gavin Shan wrote: kvm/selftests/memslots_perf_test doesn't work with 64KB-page-size-host and 4KB-page-size-guest on aarch64. In the implementation, the host and guest page size have been hardcoded to 4KB. It's ovbiously not working on aarch64 which supports 4KB, 16KB, 64KB in

Re: [PATCH 0/9] KVM: arm64: PMU: Fixing chained events, and PMUv3p5 support

2022-10-24 Thread Marc Zyngier
Hi Ricardo, On Fri, 12 Aug 2022 23:53:44 +0100, Ricardo Koller wrote: > > On Thu, Aug 11, 2022 at 01:56:21PM +0100, Marc Zyngier wrote: > > On Wed, 10 Aug 2022 22:55:03 +0100, > > Ricardo Koller wrote: > > > > > > Just realized that KVM does not offer PMUv3p5 (with this series applied) > > > w

Re: [PATCH 1/9] KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode

2022-10-24 Thread Marc Zyngier
Hi Reiji, Catching up on this. On Tue, 23 Aug 2022 05:30:21 +0100, Reiji Watanabe wrote: > > Hi Marc, > > On Fri, Aug 5, 2022 at 6:58 AM Marc Zyngier wrote: > > > > Ricardo recently pointed out that the PMU chained counter emulation > > in KVM wasn't quite behaving like the one on actual hard