|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] arm64: incorrect pa setup cause dom0 boot failure
Hi, On 11/05/17 19:24, Feng Kan wrote: Ian: Ian left Citrix a year ago. I would recommend you to CC ARM maintainers (Stefano and I) if you want to get a prompt answer. Which comment are you referring to? If it is the one in the commit message that introduce this code (1c92a2aaf8): "Systems with 42-bits are an interesting case, since they only support 3 levels of paging, implying that 8 pages are required at the root level. So far I am not aware of any systems with peripheral located so high up (the only 42-bit system I've seen has nothing above 40-bits), so such systems remain configured for 40-bit IPA with a pair of pages at the root of the p2m." My understanding is Ian decided to configure guest with only 40 bits to avoid allocate a big root level (they have to be allocated at domain creation). A guest would be free to pass any IPA via hypercall. So this is here for a sanity check, to avoid dereferencing non-existing page. If you want to support 42 bits, you would have to update the root-order (3rd field in pa_range_info) to 3. So the code will allocate the correct amount of root pages when the domain is created. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |