Re: [PATCH] hw/riscv/riscv-iommu: Fix process directory table walk

2025-03-01 Thread Jason Chien
Hi Danial, I have rebased onto commit d1d54e60bcbfb9ef7804ec5376b84bb0a1e7148f and submitted patch v2. Daniel Henrique Barboza 於 2025年2月28日 週五 下午7:18寫道: > Hi Jason, > > > Patch LGTM but it won't apply on top of alistair/riscv-to-apply.next. Can > you please rebase? > > > Thanks, > > Daniel > >

Re: [PATCH] hw/riscv/riscv-iommu: Fix process directory table walk

2025-02-28 Thread Daniel Henrique Barboza
Hi Jason, Patch LGTM but it won't apply on top of alistair/riscv-to-apply.next. Can you please rebase? Thanks, Daniel On 2/27/25 4:34 AM, Jason Chien wrote: The PPN field in a non-leaf PDT entry is positioned differently from that in a leaf PDT entry. The original implementation incorrectly

[PATCH] hw/riscv/riscv-iommu: Fix process directory table walk

2025-02-26 Thread Jason Chien
The PPN field in a non-leaf PDT entry is positioned differently from that in a leaf PDT entry. The original implementation incorrectly used the leaf entry's PPN mask to extract the PPN from a non-leaf entry, leading to an erroneous page table walk. This commit introduces new macros to properly def