Re: [PATCH v2 6/7] xen/riscv: implement prereq for DTB relocation

2024-12-16 Thread Jan Beulich
On 11.12.2024 18:27, Oleksii Kurochko wrote: > @@ -175,10 +176,16 @@ static inline void invalidate_icache(void) > #define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) > #define copy_page(dp, sp) memcpy(dp, sp, PAGE_SIZE) > > -/* TODO: Flush the dcache for an entire page. */ > static i

[PATCH v2 6/7] xen/riscv: implement prereq for DTB relocation

2024-12-11 Thread Oleksii Kurochko
DTB relocatin in Xen heap requires the following functions which are introduced in current patch: - xvmalloc_array() - copy_from_paddr() For internal use of xvmalloc, the functions flush_page_to_ram() and virt_to_page() are introduced. virt_to_page() is also required for free_xenheap_pages(). Sig