Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-26 Thread Oleksii Kurochko
On 6/26/25 1:01 PM, Jan Beulich wrote: On 26.06.2025 10:40, Oleksii Kurochko wrote: On 6/25/25 5:53 PM, Jan Beulich wrote: On 25.06.2025 17:31, Oleksii Kurochko wrote: On 6/18/25 6:08 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: @@ -14,6 +18,29 @@ /* Per-p2m-

Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-26 Thread Jan Beulich
On 26.06.2025 10:40, Oleksii Kurochko wrote: > On 6/25/25 5:53 PM, Jan Beulich wrote: >> On 25.06.2025 17:31, Oleksii Kurochko wrote: >>> On 6/18/25 6:08 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: > @@ -14,6 +18,29 @@ > >/* Per-p2m-table state */ >>

Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-26 Thread Oleksii Kurochko
On 6/25/25 5:53 PM, Jan Beulich wrote: On 25.06.2025 17:31, Oleksii Kurochko wrote: On 6/18/25 6:08 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: @@ -14,6 +18,29 @@ /* Per-p2m-table state */ struct p2m_domain { +/* + * Lock that protects updates to the

Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-25 Thread Jan Beulich
On 25.06.2025 17:31, Oleksii Kurochko wrote: > On 6/18/25 6:08 PM, Jan Beulich wrote: >> On 10.06.2025 15:05, Oleksii Kurochko wrote: >>> @@ -14,6 +18,29 @@ >>> >>> /* Per-p2m-table state */ >>> struct p2m_domain { >>> +/* >>> + * Lock that protects updates to the p2m. >>> + */ >

Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-25 Thread Oleksii Kurochko
On 6/18/25 6:08 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: Introduce the following things: - Update p2m_domain structure, which describe per p2m-table state, with: - lock to protect updates to p2m. - pool with pages used to construct p2m. - clean_pte which indi

Re: [PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-18 Thread Jan Beulich
On 10.06.2025 15:05, Oleksii Kurochko wrote: > Introduce the following things: > - Update p2m_domain structure, which describe per p2m-table state, with: > - lock to protect updates to p2m. > - pool with pages used to construct p2m. > - clean_pte which indicate if it is requires to clean the

[PATCH v2 05/17] xen/riscv: introduce things necessary for p2m initialization

2025-06-10 Thread Oleksii Kurochko
Introduce the following things: - Update p2m_domain structure, which describe per p2m-table state, with: - lock to protect updates to p2m. - pool with pages used to construct p2m. - clean_pte which indicate if it is requires to clean the cache when writing an entry. - radix tree to stor