>> > - the dtb section also is optional but supported, and given kexec
>> > supports loading a new dtb I think this change should support it too
>> > immediately.  Moreover, we are adding support for multiple DTBs in a
>> > single UKI (by simply having multiple .dtb sections, and picking the
>> > one that matches the firmware), as a stretch goal would be nice to
>> > support that too, but it can also come later
>>
>> As far as I know dtb is not supported by kexec_file_load at all at the 
>> moment. Maybe someone here knows more about this. I'll look into it.
>
> Not sure about the specific syscalls, but I definitely use kexec
> --load --dtb on arm64 with existing released versions of
> kernel/tooling

Ok, it looks like this is supported and should be doable (on arm64, not for 
x86). When I was looking around the source code yesterday I forgot that my LSP 
had indexed the kernel for x86 and not arm64.

>> > - also what would it take to support arm64, which is the other major UEFI 
>> > arch?
>>
>> I'm not familiar with UEFI on arm64, but I can certainly look into it. I 
>> assume it's not gonna be that difficult.

I'll work on a separate patch for UKI support on arm64 (with .dtb section 
support). I think it's best to keep this x86 patch separate from that. I have a 
v2 patch for x86 put together with the small fix for the optional .cmdline 
section + a few other tweaks that I'll submit shortly.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to