From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: Design doc of adding ACPI support for arm64 on Xen - version 2 Date: Wed, 2 Sep 2015 12:39:42 +0100 Message-ID: <55E6DFFE.3020600@citrix.com> References: <55C413D5.7000709@huawei.com> <55CA2077.2000706@citrix.com> <55CAB7D3.5050504@huawei.com> <1439369520.9747.311.camel@citrix.com> <55CB1033.4040509@citrix.com> <20150812113655.274e4fa9@bender> <55CB3A29.3090803@citrix.com> <1441193412.26292.144.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1441193412.26292.144.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Andrew Turner Cc: Hangaohuai , "Huangpeng (Peter)" , xen-devel , Stefano Stabellini , Shannon Zhao , Jan Beulich , Shannon Zhao , Parth Dixit , Christoffer Dall List-Id: xen-devel@lists.xenproject.org Hi Ian, On 02/09/15 12:30, Ian Campbell wrote: >> Although, when running on Xen, FreeBSD is creating a Xen console by >> default with the higher priority. It will be grabbed by FreeBSD as the >> default one. > > ... Linux should be doing the same. The problem is that the existing code > to call add_preferred_console doesn't happen early enough on ARM > > Someone (you? Ard? Stefano?) has a patch to move Xen detection in Linux > earlier ages ago, but I think it failed to actually get in. The patch is present in Linux 4.2: commit f1dddd118c555508ce383b7262f4e6440927bdf4 Author: Ard Biesheuvel Date: Wed May 6 14:14:22 2015 +0000 xen/arm: allow console=hvc0 to be omitted for guests From: Ard Biesheuvel This patch registers hvc0 as the preferred console if no console has been specified explicitly on the kernel command line. The purpose is to allow platform agnostic kernels and boot images (such as distro installers) to boot in a Xen/ARM domU without the need to modify the command line by hand. Signed-off-by: Ard Biesheuvel Signed-off-by: Stefano Stabellini Reviewed-by: Julien Grall -- Julien Grall