|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/device-tree: Allow exact match for overlapping regions
Hi, On 13/11/2024 15:40, Michal Orzel wrote: On 13/11/2024 15:40, Julien Grall wrote:Hi, On 13/11/2024 14:19, Michal Orzel wrote:On 13/11/2024 14:50, Julien Grall wrote:Hi Michal, On 06/11/2024 15:07, Michal Orzel wrote:On 06/11/2024 14:41, Luca Fancellu wrote: Sure we noticed that U-boot is doing some we didn't expect. But this really doesn't mean there are not other interesting behavior happening. Not sure how I would do that given that it is all scattered.rely on it. If Linux starts to rely on it, then it is probably a better argument, but first I would need to see the code. Can you paste a link? There are no requirements to be all scattered.> But if it means sth, here is kexec code> to create fdt. It is clear they do the same trick as u-boot. https://github.com/torvalds/linux/blob/master/drivers/of/kexec.c#L355 Yet this doesn't provide any information why this only has to be an exact region... It only tells me the current behavior. For things that Xen can be interested in, only region for ramdisk for dom0 can match the /memreserve/ region. Providing a generic solution (like Luca did) would want providing an example of sth else that can match which I'm not aware of.I would argue this is the other way around. If we are not certain that /memreserve/ will not be used for any other boot module, then we should have a generic solution. Otherwise, we will end up with similar weird issue in the future.We have 3 possible modules for bootloader->kernel workflow: kernel, dtb and ramdisk. The first 2 are not described in DT so I'm not sure what are your examples of bootmodules for which you want kernel know about memory reservation other than ramdisk. The DTB is not described but the kernel is. We also have XSM modules. All of which could in theory be in memreserve if for some reasons the bootloader wanted to preserve the modules for future use (think Live-Update)... Anyway, to be honest, I don't understand why you are pushing back at a more generic solution... Yes this may be what we just notice today, but I haven't seen any evidence that it never happen. So I would rather go with the generic solution. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |