Re: [RFC PATCH 1/1] riscv: Add boot hartid to Device tree

2020-02-24 Thread Ard Biesheuvel
On Mon, 24 Feb 2020 at 23:20, Atish Patra wrote: > > Linux booting protocol mandates that register "a0" contains the hartid. > However, U-boot can not pass the hartid via a0 during EFI boot without > breaking the UEFI specification. > It is not about breaking or violating the UEFI specification.

[RFC PATCH 1/1] riscv: Add boot hartid to Device tree

2020-02-24 Thread Atish Patra
Linux booting protocol mandates that register "a0" contains the hartid. However, U-boot can not pass the hartid via a0 during EFI boot without breaking the UEFI specification. Add a DT node under chosen node to indicate the boot hartid. EFI stub in Linux kernel will parse this node and pass it to