Re: [PATCH] hw/riscv/riscv-iommu: Get target page info using runtime helpers

2025-03-05 Thread Alistair Francis
On Wed, Mar 5, 2025 at 9:20 AM Philippe Mathieu-Daudé wrote: > > Prefer runtime helpers to get target page size / mask / bits > rather than compile time definitions. This will help to build > these files once for all RISC-V binaries. > > Signed-off-by: Philippe Mathieu-Daudé Thanks! Do you mind

Re: [PATCH] hw/riscv/riscv-iommu: Get target page info using runtime helpers

2025-03-05 Thread Alistair Francis
On Wed, Mar 5, 2025 at 9:20 AM Philippe Mathieu-Daudé wrote: > > Prefer runtime helpers to get target page size / mask / bits > rather than compile time definitions. This will help to build > these files once for all RISC-V binaries. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistai

Re: [PATCH] hw/riscv/riscv-iommu: Get target page info using runtime helpers

2025-03-04 Thread Pierrick Bouvier
On 3/4/25 15:19, Philippe Mathieu-Daudé wrote: Prefer runtime helpers to get target page size / mask / bits rather than compile time definitions. This will help to build these files once for all RISC-V binaries. Signed-off-by: Philippe Mathieu-Daudé --- hw/riscv/riscv-iommu-pci.c | 4 +++-

[PATCH] hw/riscv/riscv-iommu: Get target page info using runtime helpers

2025-03-04 Thread Philippe Mathieu-Daudé
Prefer runtime helpers to get target page size / mask / bits rather than compile time definitions. This will help to build these files once for all RISC-V binaries. Signed-off-by: Philippe Mathieu-Daudé --- hw/riscv/riscv-iommu-pci.c | 4 +++- hw/riscv/riscv-iommu.c | 29 +++