|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN v1 8/9] xen/arm: Other adaptations required to support 32bit paddr
Hi,Each adaptations are distinct, so I would prefer if they are in in separate patch. This will also make clear which components you touched because I would be surprised if this is really the only place where we need adaptation. Maybe that's because you didn't compile everything (which is fine). On 15/12/2022 19:32, Ayan Kumar Halder wrote: 1. Supersections are supported only for paddr greater than 32 bits. Two questions: * Can you outline why we can't keep the code around?* Can you give a pointer to the Arm Arm that says supersection is not supported? It would be good to explain that the current use was buggy because we are printing a PTE and not a physical address.2. Use 0 wherever physical addresses are right shifted for 32 bit > 3. Use PRIx64 to print u64 A "malicious" guest can still set that bit. So now, you will return from guest_walk_sd() with 'ipa' not set at all. If this is effectively not supported, then we should return 'false' rather than claiming the translation was successful.
I think it would be better if we implement writeq(). This will also avoid the now strange ((1ULL << 32) - 1) when p2maddr is a paddr_t. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |