Re: [PATCH v2 12/17] xen/riscv: Implement p2m_free_entry() and related helpers

2025-07-14 Thread Jan Beulich
On 14.07.2025 18:01, Oleksii Kurochko wrote: > On 7/14/25 9:15 AM, Jan Beulich wrote: >> On 11.07.2025 17:56, Oleksii Kurochko wrote: >>> On 7/1/25 4:23 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: > +/* Put any references on the single 4K page referenced by mfn. */

Re: [PATCH v2 12/17] xen/riscv: Implement p2m_free_entry() and related helpers

2025-07-14 Thread Oleksii Kurochko
On 7/14/25 9:15 AM, Jan Beulich wrote: On 11.07.2025 17:56, Oleksii Kurochko wrote: On 7/1/25 4:23 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: +/* + * In the case of the P2M, the valid bit is used for other purpose. Use + * the type to check whether an entry is valid.

Re: [PATCH v2 12/17] xen/riscv: Implement p2m_free_entry() and related helpers

2025-07-14 Thread Jan Beulich
On 11.07.2025 17:56, Oleksii Kurochko wrote: > On 7/1/25 4:23 PM, Jan Beulich wrote: >> On 10.06.2025 15:05, Oleksii Kurochko wrote: >>> +/* >>> + * In the case of the P2M, the valid bit is used for other purpose. Use >>> + * the type to check whether an entry is valid. >>> + */ >>> static inline

Re: [PATCH v2 12/17] xen/riscv: Implement p2m_free_entry() and related helpers

2025-07-11 Thread Oleksii Kurochko
On 7/1/25 4:23 PM, Jan Beulich wrote: On 10.06.2025 15:05, Oleksii Kurochko wrote: This patch introduces a working implementation of p2m_free_entry() for RISC-V based on ARM's implementation of p2m_free_entry(), enabling proper cleanup of page table entries in the P2M (physical-to-machine) mapp

Re: [PATCH v2 12/17] xen/riscv: Implement p2m_free_entry() and related helpers

2025-07-01 Thread Jan Beulich
On 10.06.2025 15:05, Oleksii Kurochko wrote: > This patch introduces a working implementation of p2m_free_entry() for RISC-V > based on ARM's implementation of p2m_free_entry(), enabling proper cleanup > of page table entries in the P2M (physical-to-machine) mapping. > > Only few things are change