Re: [PATCH v2 09/17] xen/riscv: introduce page_set_xenheap_gfn()

2025-07-02 Thread Jan Beulich
On 02.07.2025 17:59, Oleksii Kurochko wrote: > > On 6/30/25 5:48 PM, Jan Beulich wrote: >> On 10.06.2025 15:05, Oleksii Kurochko wrote: >>> Introduce page_set_xenheap_gfn() helper to encode the GFN associated with >>> a Xen heap page directly into the type_info field of struct page_info. >>> >>> I

Re: [PATCH v2 09/17] xen/riscv: introduce page_set_xenheap_gfn()

2025-07-02 Thread Oleksii Kurochko
On 6/30/25 5:48 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: Introduce page_set_xenheap_gfn() helper to encode the GFN associated with a Xen heap page directly into the type_info field of struct page_info. Introduce a GFN field in the type_info of a Xen heap page by rese

Re: [PATCH v2 09/17] xen/riscv: introduce page_set_xenheap_gfn()

2025-06-30 Thread Jan Beulich
On 10.06.2025 15:05, Oleksii Kurochko wrote: > Introduce page_set_xenheap_gfn() helper to encode the GFN associated with > a Xen heap page directly into the type_info field of struct page_info. > > Introduce a GFN field in the type_info of a Xen heap page by reserving 10 > bits (sufficient for bot

[PATCH v2 09/17] xen/riscv: introduce page_set_xenheap_gfn()

2025-06-10 Thread Oleksii Kurochko
Introduce page_set_xenheap_gfn() helper to encode the GFN associated with a Xen heap page directly into the type_info field of struct page_info. Introduce a GFN field in the type_info of a Xen heap page by reserving 10 bits (sufficient for both Sv32 and Sv39+ modes), and define PGT_gfn_mask and PG