Re: [Xen-devel] [PATCH v3 24/38] arm/p2m: Make p2m_mem_access_check ready for altp2m

2016-09-13 Thread Julien Grall
On 13/09/16 15:00, Sergej Proskurin wrote: Hi Julien, Hello Sergej, On 09/12/2016 11:02 AM, Julien Grall wrote: On 16/08/2016 23:17, Sergej Proskurin wrote: This commit extends the function "p2m_mem_access_check" and "p2m_mem_access_check_and_get_page" to consider altp2m. The function "p2

Re: [Xen-devel] [PATCH v3 24/38] arm/p2m: Make p2m_mem_access_check ready for altp2m

2016-09-13 Thread Sergej Proskurin
Hi Julien, On 09/12/2016 11:02 AM, Julien Grall wrote: > Hello Sergej, > > On 16/08/2016 23:17, Sergej Proskurin wrote: >> This commit extends the function "p2m_mem_access_check" and >> "p2m_mem_access_check_and_get_page" to consider altp2m. The function >> "p2m_mem_access_check_and_get_page" nee

Re: [Xen-devel] [PATCH v3 24/38] arm/p2m: Make p2m_mem_access_check ready for altp2m

2016-09-12 Thread Julien Grall
Hello Sergej, On 16/08/2016 23:17, Sergej Proskurin wrote: This commit extends the function "p2m_mem_access_check" and "p2m_mem_access_check_and_get_page" to consider altp2m. The function "p2m_mem_access_check_and_get_page" needs to translate the gva upon the hostp2m's vttbr, as it contains all

[Xen-devel] [PATCH v3 24/38] arm/p2m: Make p2m_mem_access_check ready for altp2m

2016-08-16 Thread Sergej Proskurin
This commit extends the function "p2m_mem_access_check" and "p2m_mem_access_check_and_get_page" to consider altp2m. The function "p2m_mem_access_check_and_get_page" needs to translate the gva upon the hostp2m's vttbr, as it contains all valid mappings while the currently active altp2m view might no