Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-07-13 Thread Penny Zheng
Hi, On 2023/7/5 21:52, Julien Grall wrote: Hi, On 05/07/2023 10:53, Penny Zheng wrote: Since if not and when anyone wants to update map_pages_to_xen(), destroy_xen_mappings() and modify_xen_mappings() in the future, it is possible for them to leave changes in only one file. The helpers are

Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-07-05 Thread Julien Grall
Hi, On 05/07/2023 10:53, Penny Zheng wrote: Since if not and when anyone wants to update map_pages_to_xen(), destroy_xen_mappings() and modify_xen_mappings() in the future, it is possible for them to leave changes in only one file. The helpers are just wrappers. I doubt they will change in th

Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-07-05 Thread Penny Zheng
Hi, On 2023/7/3 17:31, Julien Grall wrote: Hi, On 03/07/2023 07:10, Penny Zheng wrote: On 2023/6/30 23:19, Ayan Kumar Halder wrote: Hi Penny, On 26/06/2023 04:34, Penny Zheng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when ope

Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-07-03 Thread Julien Grall
Hi, On 03/07/2023 07:10, Penny Zheng wrote: On 2023/6/30 23:19, Ayan Kumar Halder wrote: Hi Penny, On 26/06/2023 04:34, Penny Zheng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or respond

Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-07-02 Thread Penny Zheng
Hi Ayan On 2023/6/30 23:19, Ayan Kumar Halder wrote: Hi Penny, On 26/06/2023 04:34, Penny Zheng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Xen is using pa

Re: [PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-06-30 Thread Ayan Kumar Halder
Hi Penny, On 26/06/2023 04:34, Penny Zheng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Xen is using page as the smallest granularity for memory managment. An

[PATCH v3 33/52] xen/mpu: initialize frametable in MPU system

2023-06-25 Thread Penny Zheng
Xen is using page as the smallest granularity for memory managment. And we want to follow the same concept in MPU system. That is, structure page_info and the frametable which is used for storing and managing the smallest memory managment unit is also required in MPU system. In MPU system, since w