Re: [PATCH] KVM: arm64: Prevent kmemleak from accessing pKVM memory

2022-06-17 Thread Marc Zyngier
On 2022-06-17 09:45, Quentin Perret wrote: On Friday 17 Jun 2022 at 11:38:14 (+0300), Mike Rapoport wrote: On Fri, Jun 17, 2022 at 09:21:31AM +0100, Marc Zyngier wrote: > On Thu, 16 Jun 2022 16:11:34 +, Quentin Perret wrote: > > Commit a7259df76702 ("memblock: make memblock_find_in_range

Re: [PATCH] KVM: arm64: Prevent kmemleak from accessing pKVM memory

2022-06-17 Thread Mike Rapoport
On Fri, Jun 17, 2022 at 09:21:31AM +0100, Marc Zyngier wrote: > On Thu, 16 Jun 2022 16:11:34 +, Quentin Perret wrote: > > Commit a7259df76702 ("memblock: make memblock_find_in_range method > > private") changed the API using which memory is reserved for the pKVM > > hypervisor. However, it

Re: [PATCH] KVM: arm64: Prevent kmemleak from accessing pKVM memory

2022-06-17 Thread Marc Zyngier
On Thu, 16 Jun 2022 16:11:34 +, Quentin Perret wrote: > Commit a7259df76702 ("memblock: make memblock_find_in_range method > private") changed the API using which memory is reserved for the pKVM > hypervisor. However, it seems that memblock_phys_alloc() differs > from the original API in terms

Re: [PATCH] KVM: arm64: Prevent kmemleak from accessing pKVM memory

2022-06-17 Thread Mike Rapoport
On Thu, Jun 16, 2022 at 04:11:34PM +, Quentin Perret wrote: > Commit a7259df76702 ("memblock: make memblock_find_in_range method > private") changed the API using which memory is reserved for the pKVM > hypervisor. However, it seems that memblock_phys_alloc() differs > from the original API in

Re: [PATCH] KVM: arm64: Prevent kmemleak from accessing pKVM memory

2022-06-16 Thread Catalin Marinas
On Thu, Jun 16, 2022 at 04:11:34PM +, Quentin Perret wrote: > Commit a7259df76702 ("memblock: make memblock_find_in_range method > private") changed the API using which memory is reserved for the pKVM > hypervisor. However, it seems that memblock_phys_alloc() differs > from the original API in