Message ID | 20170911110522.vwgwnohjrrj2twtk@bivouac.eciton.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sep 11 2017, Leif Lindholm <leif.lindholm@linaro.org> wrote: > Are you asking because you want to use a different console in a lab > setup or because there are issues with SPCR on your platform? The console from the SPCR is not the one forwarded by the BMC. Andreas.
On 11 September 2017 at 12:39, Andreas Schwab <schwab@suse.de> wrote: > On Sep 11 2017, Leif Lindholm <leif.lindholm@linaro.org> wrote: > >> Are you asking because you want to use a different console in a lab >> setup or because there are issues with SPCR on your platform? > > The console from the SPCR is not the one forwarded by the BMC. > Considering the SPCR table in question seems mildly insane, you could always unload the SPCR in grub. Graeme
On Sep 11 2017, Graeme Gregory <graeme.gregory@linaro.org> wrote: > Considering the SPCR table in question seems mildly insane, you could > always unload the SPCR in grub. How do you "unload the SPCR"? But in any case, console= should always take precedence. Andreas.
On 11 September 2017 at 13:28, Andreas Schwab <schwab@suse.de> wrote: > On Sep 11 2017, Graeme Gregory <graeme.gregory@linaro.org> wrote: > >> Considering the SPCR table in question seems mildly insane, you could >> always unload the SPCR in grub. > > How do you "unload the SPCR"? But in any case, console= should always > take precedence. > Ah apologies, I thought the acpi command in grub could delete a table, but it seems it cannot. Graeme
On Mon, Sep 11, 2017 at 02:28:20PM +0200, Andreas Schwab wrote: > On Sep 11 2017, Graeme Gregory <graeme.gregory@linaro.org> wrote: > > > Considering the SPCR table in question seems mildly insane, you could > > always unload the SPCR in grub. > > How do you "unload the SPCR"? But in any case, console= should always > take precedence. I am not saying it shouldn't. But you should probably talk to your supplier with regards to fixing their system. The BMC knows which console you are attached to, and the firmware still instructs the kernel to use something else. / Leif
diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c index 324b35bfe781..c3cf0f1ebb8f 100644 --- a/drivers/acpi/spcr.c +++ b/drivers/acpi/spcr.c @@ -96,6 +96,9 @@ int __init parse_spcr(bool earlycon) int baud_rate; int err; + if (console_set_on_cmdline) + return 0; + if (acpi_disabled) return -ENODEV;