Re: [Xen-devel] [RFC PATCH v3 08/10] arm/mem_access: Add long-descriptor based gpt

2017-06-19 Thread Julien Grall
On 19/06/17 16:43, Sergej Proskurin wrote: Hi Julien, [...] On 06/19/2017 02:45 PM, Julien Grall wrote: Hi Sergej, +/* Normalized page granule size indices. */ +#define GRANULE_SIZE_INDEX_4K (0) +#define GRANULE_SIZE_INDEX_16K (1) +#define GRANULE_SIZE_INDEX_64K

Re: [Xen-devel] [RFC PATCH v3 08/10] arm/mem_access: Add long-descriptor based gpt

2017-06-19 Thread Sergej Proskurin
Hi Julien, [...] On 06/19/2017 02:45 PM, Julien Grall wrote: > Hi Sergej, > >> +/* Normalized page granule size indices. */ >> +#define GRANULE_SIZE_INDEX_4K (0) >> +#define GRANULE_SIZE_INDEX_16K (1) >> +#define GRANULE_SIZE_INDEX_64K (2) > > Why this is e

Re: [Xen-devel] [RFC PATCH v3 08/10] arm/mem_access: Add long-descriptor based gpt

2017-06-19 Thread Julien Grall
Hi Sergej, On 15/06/17 12:05, Sergej Proskurin wrote: This commit adds functionality to walk the guest's page tables using the long-descriptor translation table format for both ARMv7 and ARMv8. Similar to the hardware architecture, the implementation supports different page granularities (4K, 16

[Xen-devel] [RFC PATCH v3 08/10] arm/mem_access: Add long-descriptor based gpt

2017-06-15 Thread Sergej Proskurin
This commit adds functionality to walk the guest's page tables using the long-descriptor translation table format for both ARMv7 and ARMv8. Similar to the hardware architecture, the implementation supports different page granularities (4K, 16K, and 64K). The implementation is based on ARM DDI 0487B