On Wed, Jul 07, 2021 at 05:54:34PM -0700, isaku.yamahata@xxxxxxxxx wrote: > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx> > > Introduce a new notifier, machine_init_done_late, that is notified after > machine_init_done. This will be used by TDX to generate the HOB for its > virtual firmware, which needs to be done after all guest memory has been > added, i.e. after machine_init_done notifiers have run. Some code > registers memory by machine_init_done(). Can you be more specific than "some code"? I see only pc_memory_init() adding guest ram (and the corresponding e820 entries), and that should run early enough ... thanks, Gerd