ACK/cmnt: [Utopic] [PULL] UBUNTU: fix no console in case of cloud environment V1

Stefan Bader stefan.bader at canonical.com
Thu Apr 2 10:40:09 UTC 2015


On 02.04.2015 03:20, Ming Lei wrote:
> Hi Guys,
> 
> In current arm64 utopic cloud image, the 'console=' parameter
> has been removed from grub config, and always resort to 'stdout'
> DT property which is setup from QEMU.
> 
> Unfortunately parsing 'stdout' DT property is just merged to 3.19
> kernel, so there is no console usable any more for arm64 utopic
> VM when booting via uefi/grub.
> 
> 5 of these 6 patches are cherry picked from 3.19 to utopic, and the
> other one is backported by just dropping the dt self-test code, and
> with these 6 patches, arm64 utopic VM can be booted with console
> usable via uefi/grub.
> 
> BugLink: http://bugs.launchpad.net/bugs/1438585
> 
> SRU Justification:
>     Impact: no console if arm64 utopic based VM is booted from the cloud image
>     Fix: backport stdout enablement patches from 3.19
>     Testcase: boot one arm64 utopic VM via uefi/grub
> 
> So please pull the top 6 patches from below tree/branch:
> 
>      git://kernel.ubuntu.com/git/ming/ubuntu-utopic.git  console-fix_stdout
> 
> 5ba2ee8 of: support passing console options with stdout-path
> 5c64126 of: add optional options parameter to of_find_node_by_path()
> 7507839 of: Add bindings for chosen node, stdout-path
> 54e15d7 of: correct of_console_check()'s return value
Those above look consistent and ok.

> 4f2b1f0 of: Enable console on serial ports specified by /chosen/stdout-path
This touches common code though I assume of_node will be NULL for anything not
belonging to open firmware.

> a699dfd of: Create of_console_check() for selecting a console
> specified in /chosen
This may carry some risk as it also removes an exported function
(of_device_is_stdout_path). Maybe that should be modified to add the new
function in parallel instead. Even though it is claimed the function is not used
by anything, there always may be someone doing so in external modules.

Pending decision about above patch: ACK.

-Stefan
> 
> V1:
>    - fix commit log style
>    - add more bug description
> 
> Thanks,
> Ming Lei
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20150402/8a75aaf5/attachment.sig>


More information about the kernel-team mailing list