|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] arm: Boot allocator fails with multi node memory
Hi Jan, On 09/01/17 08:40, Jan Beulich wrote: On 07.01.17 at 07:05, <vijay.kilari@xxxxxxxxx> wrote:Question: Why this address is not mapped?. If mapped where this va is mapped?.Well, I think this is the wrong question to ask. Why would it be mapped if there's no memory there? On ARM, the function virt_to_mfn uses the hardware to do the address translation. So if the virtual address is not mapped, it will fail. This is different from the assumption made by the code and x86behavior. I'd still like to keep the current behavior on ARM as it is very handy to directly get debug information when the virtual address is not mapped. Stefano, do you have any opinions? Looking at the code pointed out by Vijay. If I understand correctly, virt_to_mfn(eva) is used to find out the maximum MFN that can be mapped. On ARM64, all the memory is direct mapped so far, so this check will always be false. This might not be true in the future. 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 |