|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 2/4] xen/arm: guest_walk: refuse an address outside both halves of the range
Hi Stefano, On 07/11/2026 02:14, Stefano Stabellini wrote: The bits of an input address from its top bit (bit 63, or bit 55 with the top byte ignored) down to the input address size must be all 0 for TTBR0 and all 1 for TTBR1, else the walk faults (ARM DDI 0487A.k J1.1.5). guest_walk_ld() chose the base from the top bit alone and Similar to your first patch, the specification is quite old. Please quote a more recent one (e.g. M.d). Regardless what I wrote above, I checked the algorithm in A.k and I can't find the logic suggesting for a fault. Instead it seems to be: if inputaddr<top> == '0' then inputsize = 64 - UInt(TCR_EL1.T0SZ); [...] else inputsize = 64 - UInt(TCR_EL1.T1SZ); [...]And this seems right to me because the be used for tagging. So they are not guarantee to be all 1s or all 0s. Can you point me to the part of the algorithm that says otherwise? Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |