Re: [PATCH v4 30/45] x86: Allow logging to be used in SPL reliably

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:02 PM Simon Glass wrote: > > When global_data is relocated, log_head moves in memory, meaning that > the items in that list point to the wrong place. > > Disable logging when making the change, then reenable it afterwards, so > that logging works normally. > > Signed-off-

[PATCH v4 30/45] x86: Allow logging to be used in SPL reliably

2023-06-19 Thread Simon Glass
When global_data is relocated, log_head moves in memory, meaning that the items in that list point to the wrong place. Disable logging when making the change, then reenable it afterwards, so that logging works normally. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/spl.c |