Re: [PATCH v3 06/25] KVM: arm64: Save/restore POE registers

2023-11-30 Thread Marc Zyngier
On Fri, 24 Nov 2023 16:34:51 +, Joey Gouly wrote: > > Define the new system registers that POE introduces and context switch them. Thinking about it some more, I don't think this is enough. One fundamental thing that POE changes is that read permissions can now be removed from S1 by the

Re: [PATCH v3 06/25] KVM: arm64: Save/restore POE registers

2023-11-29 Thread Marc Zyngier
On Wed, 29 Nov 2023 15:11:23 +, Joey Gouly wrote: > > Hi Marc, > > Thanks for taking a look. > > On Mon, Nov 27, 2023 at 06:01:18PM +, Marc Zyngier wrote: > > On Fri, 24 Nov 2023 16:34:51 +, > > Joey Gouly wrote: > > > > > > Define the new system registers that POE introduces and

Re: [PATCH v3 06/25] KVM: arm64: Save/restore POE registers

2023-11-27 Thread Marc Zyngier
On Fri, 24 Nov 2023 16:34:51 +, Joey Gouly wrote: > > Define the new system registers that POE introduces and context switch them. I would really like to see a discussion on the respective lifetimes of these two registers (see below). > > Signed-off-by: Joey Gouly > Cc: Marc Zyngier >

[PATCH v3 06/25] KVM: arm64: Save/restore POE registers

2023-11-24 Thread Joey Gouly
Define the new system registers that POE introduces and context switch them. Signed-off-by: Joey Gouly Cc: Marc Zyngier Cc: Oliver Upton Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/kvm_arm.h | 4 ++-- arch/arm64/include/asm/kvm_host.h | 4