[PATCH] arm,smmu: match start level of page table walk with P2M

2020-09-28 Thread laurentiu . tudor
From: Laurentiu Tudor Don't hardcode the lookup start level of the page table walk to 1 and instead match the one used in P2M. This should fix scenarios involving SMMU where the start level is different than 1. Signed-off-by: Laurentiu Tudor --- xen/arch/arm/p2m.c | 2 +-

Re: [PATCH] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread Laurentiu Tudor
On 10/2/2020 2:52 AM, Stefano Stabellini wrote: > On Mon, 28 Sep 2020, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Don't hardcode the lookup start level of the page table walk to 1 >> and instead match the one used in P2M. This should fix scena

Re: [PATCH] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread Laurentiu Tudor
On 10/2/2020 11:18 AM, Julien Grall wrote: > Hi, > > On 02/10/2020 00:52, Stefano Stabellini wrote: >> On Mon, 28 Sep 2020, laurentiu.tu...@nxp.com wrote: >>> From: Laurentiu Tudor >>> >>> Don't hardcode the lookup start level of the page table

[PATCH v2] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread laurentiu . tudor
From: Laurentiu Tudor Don't hardcode the lookup start level of the page table walk to 1 and instead match the one used in P2M. This should fix scenarios involving SMMU where the start level is different than 1. In order for the SMMU driver to also compile on arm32 move the P2M_ROOT_LEVEL i

[PATCH v3] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread laurentiu . tudor
From: Laurentiu Tudor Don't hardcode the lookup start level of the page table walk to 1 and instead match the one used in P2M. This should fix scenarios involving SMMU where the start level is different than 1. In order for the SMMU driver to also compile on arm32 move the P2M_ROOT_LEVEL i

Re: [PATCH v3] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread Laurentiu Tudor
On 10/2/2020 7:36 PM, Julien Grall wrote: > Hi, > > On 02/10/2020 11:33, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Don't hardcode the lookup start level of the page table walk to 1 >> and instead match the one used in P2M. This should

Re: [PATCH v3] arm,smmu: match start level of page table walk with P2M

2020-10-02 Thread Laurentiu Tudor
On 10/2/2020 8:25 PM, Stefano Stabellini wrote: > On Fri, 2 Oct 2020, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Don't hardcode the lookup start level of the page table walk to 1 >> and instead match the one used in P2M. This should fix scena