Public bug reported:

[Impact]
ARM servers that boot in ACPI mode will not autodetect their console settings. 
The SBSA (Server Base System Architecture) spec requires that these settings be 
specified using the ACPI SPCR table. Support for parsing this table just landed 
upstream in the 4.9 merge window.

[Test Case]
Boot an ARM system in ACPI mode(I used a Cavium ThunderX CRB1S w/ acpi=force). 
You'll have no console unless you know and explicitly specify the correct 
console= parameter on the cmdline.

[Regression Risk]
The changes cleanly cherry-pick from upstream, so we'll have upstream support 
for any regressions. Though the patches do touch code in arch-indep 
directories, that code is limited by config options that restrict the 
functionality to either ARM or OpenFirmware systems:

of/serial: move earlycon early_param handling to serial
 - Cleanup of OF-specific code.

ACPI: parse SPCR and enable matching console
 - Adds parse_spcr() for all archs, but this function is only called from
   arch/arm64 code (next patch).
 - Adds an arch-generic call to a stub function only if the OF-specific
   earlycon parameter is specified. Further, that stub function just returns
   -ENODEV on non-OF systems.

ARM64: ACPI: enable ACPI_SPCR_TABLE
 - ARM64-specific code, only built if CONFIG_ACPI=y

serial: pl011: add console matching function
 - Driver for ARM AMBA-type serial port - code is only activated if a
   console=pl011,* parameter is specified on the cmdline.

** Affects: linux (Ubuntu)
     Importance: High
     Assignee: dann frazier (dannf)
         Status: In Progress

** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => dann frazier (dannf)

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1630311

Title:
  arm64: SPCR console not autodetected

Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Impact]
  ARM servers that boot in ACPI mode will not autodetect their console 
settings. The SBSA (Server Base System Architecture) spec requires that these 
settings be specified using the ACPI SPCR table. Support for parsing this table 
just landed upstream in the 4.9 merge window.

  [Test Case]
  Boot an ARM system in ACPI mode(I used a Cavium ThunderX CRB1S w/ 
acpi=force). You'll have no console unless you know and explicitly specify the 
correct console= parameter on the cmdline.

  [Regression Risk]
  The changes cleanly cherry-pick from upstream, so we'll have upstream support 
for any regressions. Though the patches do touch code in arch-indep 
directories, that code is limited by config options that restrict the 
functionality to either ARM or OpenFirmware systems:

  of/serial: move earlycon early_param handling to serial
   - Cleanup of OF-specific code.

  ACPI: parse SPCR and enable matching console
   - Adds parse_spcr() for all archs, but this function is only called from
     arch/arm64 code (next patch).
   - Adds an arch-generic call to a stub function only if the OF-specific
     earlycon parameter is specified. Further, that stub function just returns
     -ENODEV on non-OF systems.

  ARM64: ACPI: enable ACPI_SPCR_TABLE
   - ARM64-specific code, only built if CONFIG_ACPI=y

  serial: pl011: add console matching function
   - Driver for ARM AMBA-type serial port - code is only activated if a
     console=pl011,* parameter is specified on the cmdline.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1630311/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to