Re: [PATCH] KVM: arm64: Unregister HYP sections from kmemleak in protected mode

2021-08-02 Thread Marc Zyngier
On Thu, 29 Jul 2021 17:42:15 +0100, Catalin Marinas wrote: > > On Thu, Jul 29, 2021 at 02:50:16PM +0100, Marc Zyngier wrote: > > Booting a KVM host in protected mode with kmemleak quickly results > > in a pretty bad crash, as kmemleak doesn't know that the HYP sections > > have been taken away. >

Re: [PATCH] KVM: arm64: Unregister HYP sections from kmemleak in protected mode

2021-07-29 Thread Quentin Perret
On Thursday 29 Jul 2021 at 14:50:16 (+0100), Marc Zyngier wrote: > Booting a KVM host in protected mode with kmemleak quickly results > in a pretty bad crash, as kmemleak doesn't know that the HYP sections > have been taken away. > > Make the unregistration from kmemleak part of marking the sectio

Re: [PATCH] KVM: arm64: Unregister HYP sections from kmemleak in protected mode

2021-07-29 Thread Catalin Marinas
On Thu, Jul 29, 2021 at 02:50:16PM +0100, Marc Zyngier wrote: > Booting a KVM host in protected mode with kmemleak quickly results > in a pretty bad crash, as kmemleak doesn't know that the HYP sections > have been taken away. > > Make the unregistration from kmemleak part of marking the sections

[PATCH] KVM: arm64: Unregister HYP sections from kmemleak in protected mode

2021-07-29 Thread Marc Zyngier
Booting a KVM host in protected mode with kmemleak quickly results in a pretty bad crash, as kmemleak doesn't know that the HYP sections have been taken away. Make the unregistration from kmemleak part of marking the sections as HYP-private. The rest of the HYP-specific data is obtained via the pa