Re: [PATCH v5 08/14] KVM: arm64: Protect stage-2 traversal with RCU

2022-12-04 Thread Oliver Upton
Hi Mingwei, On Mon, Dec 05, 2022 at 05:51:13AM +, Mingwei Zhang wrote: > On Mon, Nov 14, 2022, Oliver Upton wrote: [...] > > As hyp stage-1 is protected by a spinlock there is no actual need for > > RCU in that case. I'll post something later on today that addresses the > > issue. > > > >

Re: [PATCH v5 08/14] KVM: arm64: Protect stage-2 traversal with RCU

2022-12-04 Thread Mingwei Zhang
On Mon, Nov 14, 2022, Oliver Upton wrote: > Hi Marek, > > On Mon, Nov 14, 2022 at 03:29:14PM +0100, Marek Szyprowski wrote: > > This patch landed in today's linux-next (20221114) as commit > > c3119ae45dfb ("KVM: arm64: Protect stage-2 traversal with RCU"). > > Unfortunately it introduces a foll

Re: [PATCH] KVM: arm64: Always mask CCSIDR associativity bits

2022-12-04 Thread Marc Zyngier
Hey Akihiko, Thanks for having had a look at this. A bunch of comments below. On Fri, 02 Dec 2022 09:18:56 +, Akihiko Odaki wrote: > > M2 MacBook Air has mismatched CCSIDR associativity bits among physical > CPUs, which makes the bits a KVM vCPU sees inconsistent when migrating > among them

Re: [PATCH 0/3] KVM: arm64: Handle CCSIDR associativity mismatches

2022-12-04 Thread Marc Zyngier
On Fri, 02 Dec 2022 09:55:24 +, Akihiko Odaki wrote: > > On 2022/12/02 18:40, Marc Zyngier wrote: > > On Fri, 02 Dec 2022 05:17:12 +, > > Akihiko Odaki wrote: > >> > On M2 MacBook Air, I have seen no other difference in standard ID > registers and CCSIDRs are exceptions. Perha