[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] arm,smmu: match start level of page table walk with P2M
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
- Date: Fri, 2 Oct 2020 20:36:35 +0300
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5KmmPazVlfHshnJbIHEva0ACD450kflohBpRredIuHc=; b=OUpFxSdIUlAZid6AmXxEWgEb6qdLhrTomwfN4lxK7cgUZ3BSoV0kO3zPApq+aVt8WEQmTTJU9fCB9UdQRXmKusnbfI+0Vot043LdFvPN78CfPAw8weWXGqr6wSDovTXgyAe8ixVJjsm8fBGLY/AetGpSEYzBhw5LCDP/hH2sN9eBDn7lCblOFDM07f4qxKBcfQY7al0XBjb8+E/ULLtVrCugn7nEX9zY93dpr/vK0AwhUv7mQnBAE7eOOyusRgoR1OYejN8LkrDsYFsEBlbfyryF59wW2L9TFuhkIk4mbMDzPQyQf/p/UKH/ccGuVoERc3n/l1BhJ1p0IDCYBGY5Ew==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fgUTESy/kXFaZC2Ramf0ExnaEg9WE7ufSDcMIgdRvPm6dCeWQu6/01a4AnJwjeQ/5bFAwU0hCMYHGYmnMe18vcUQQmwhJCy/p1fVKaWcQ1+3gJ+lnv7dmNwcY5AyUC/kVbAPcnCdyhSbiElKfWf4JIMm6HcwrzwY67OVx7QZGVzGWl43zzfZtvyuh2NLNkAc0PFMwZhz7sNcl9UKU4J+t7OBR46zGycZ8k8x3qJvrakj68IviYlrXlPELYzJ9CR7PJF9vp6L6IEKosFYUKpxwTl7H53UtBAu4awpFN1TQu16z9wWP5LHa6ATw/fSG7IU7lky4YP+YWk80j5iTZSX3w==
- Authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com;
- Cc: julien@xxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Volodymyr_Babchuk@xxxxxxxx, will@xxxxxxxxxx, diana.craciun@xxxxxxx, anda-alexandra.dorneanu@xxxxxxx
- Delivery-date: Fri, 02 Oct 2020 17:36:46 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 10/2/2020 8:25 PM, Stefano Stabellini wrote:
> On Fri, 2 Oct 2020, laurentiu.tudor@xxxxxxx wrote:
>> From: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
>>
>> 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 in the p2m header file (while at it, for
>> consistency also P2M_ROOT_ORDER) and use the macro in the smmu
>> driver.
>>
>> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>
Thanks, Stefano!
---
Best Regards, Laurentiu
|