[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 0/4] xen/riscv: fix boot on missing extensions and MMU setup bugs





On 10/1/26 11:04 AM, Baptiste Le Duc wrote:
[...]

---
Baptiste Le Duc (4):
       xen/riscv: rename PTE "permissions" to "pte_flags"

I think because of this patch is already in upstream/staging (and it is small difference in how if()-check is formatted) this patch series can't be applied as it is. But it is easy to resolve by just doing git am --skip.

And as a result ...

       xen/riscv: always preset A/D bits in G-stage PTEs
       xen/riscv: fix A/D bits in Xen's page-table mappings

... doesn't apply on top of the current staging. Hunk #2 for
xen/arch/riscv/mm.c expects:

                if ( is_kernel_text(addr) || is_kernel_inittext(addr) )
                    pte_flags = PTE_EXECUTABLE | PTE_READABLE | PTE_VALID;

while the tree has:

                if ( is_kernel_text(addr) ||
                     is_kernel_inittext(addr) )
                    pte_flags = PTE_EXECUTABLE | PTE_READABLE | PTE_VALID;

It is to resolve but it seems like this patch series needs to be re-rebased on top of current staging.

       xen/riscv: use pte_is_valid() in pte_is_mapping()
After fixing the things in the prev patch I was able to apply the full patch series.

~ Oleksii



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.