From: "Jan Beulich" Subject: Re: [PATCH for-4.5] EFI: Ignore EFI commandline, skip console setup when booted from GRUB Date: Mon, 03 Nov 2014 09:33:31 +0000 Message-ID: <545759FB02000078000443F2@mail.emea.novell.com> References: <1414995190-2267-1-git-send-email-roy.franz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1414995190-2267-1-git-send-email-roy.franz@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roy Franz Cc: ian.campbell@citrix.com, daniel.kiper@oracle.com, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 03.11.14 at 07:13, wrote: > This patch implements what I understand to be the desired behavior when > booting > an EFI Xen image via GRUB based on the thread last week. The EFI command > line > is not used, and the Xen commandline comes via the multiboot protocol (and > in the ARM case the multiboot FDT bindings). This brings the x86 and arm64 > GRUB EFI boot cases into alignment in not using the EFI commandline. Right, but ... > The current state of the arm64 code takes the Xen commandline from the FDT, > but still looks in the EFI commandline for EFI boot specific options. If > unexpected options are passed in the EFI commandline, it will generate > "unrecognized option" ouput for all unexpected options. ... why is this? > + if ( use_cfg_file ) > { > EFI_FILE_HANDLE dir_handle; > + size = 0; Coding style (missing blank line between declaration(s) and statement(s). Plus - did you check whether some of the so far function wide variables (e.g. gop) could be moved into this more narrow scope? > } > } > } > - > efi_arch_edd(); > > /* XXX Collect EDID info. */ Please don't. Jan