Re: [PATCH v7 4/8] x86/kexec: Add 8250 serial port output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:

> From: David Woodhouse <dwmw@xxxxxxxxxxxx>
> 
> If a serial port was configured for early_printk, use it for debug output
> from the relocate_kernel exception handler too.

Does the early console output something once it's initialized? If not 
then I'd go one step further here: if early_printk serial debugging was 
configured, let's output some sort of message as early as it's expected 
to work. That way if any of this debug codepath regresses for 
relocate_kernel, the discovery of that regression won't be delayed 
until something nasty triggers within relocate_kernel that would 
necessitate a working debug mechanism ...

Also, printing something to the early console using these new 
relocate_kernel printing functions would be an additional bonus as 
well, for similar reasons.

Thanks,

	Ingo




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux