On Wed Dec 2, 2026 at 9:06 PM JST, Eliot Courtney wrote: > From: John Hubbard <[email protected]> > > The two load-and-execute events of the r000 boot protocol arrive as GMC > events, and the command ID of a GMC event names its kind. Nova-core has > a handler for each of the two events, and no code that selects the > handler from the command ID. > > Add a dispatcher that selects the handler from the command ID of a GMC > event, decodes the payload of the event into the parameters of that > handler, and rejects an event with any other command ID. > > Co-developed-by: Alexandre Courbot <[email protected]> > Signed-off-by: Alexandre Courbot <[email protected]> > Signed-off-by: John Hubbard <[email protected]> > [ecourtney: check MAILBOX0 and call `resume_gsp_rm()` here, for both events] > [ecourtney: return EIO without resuming if MAILBOX0 != FLCN_OK] > [ecourtney: move to `GspBootContext::handle_load_exec_event()`] > [ecourtney: drop `bootloader` param, loaded in handler] > Signed-off-by: Eliot Courtney <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]> (dropping my Co-developed-by as I'm not sure I actually contributed much to this one)
