From patchwork Thu Feb 4 16:49:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 8225381 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 99E3A9F1C0 for ; Thu, 4 Feb 2016 16:52:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD82E20397 for ; Thu, 4 Feb 2016 16:52:37 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C53AF20392 for ; Thu, 4 Feb 2016 16:52:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRN6D-0004qD-O7; Thu, 04 Feb 2016 16:49:41 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRN6C-0004q8-7B for xen-devel@lists.xen.org; Thu, 04 Feb 2016 16:49:40 +0000 Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id F6/EC-06685-32183B65; Thu, 04 Feb 2016 16:49:39 +0000 X-Env-Sender: dirk.behme@gmail.com X-Msg-Ref: server-13.tower-206.messagelabs.com!1454604578!20124321!1 X-Originating-IP: [74.125.82.65] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12740 invoked from network); 4 Feb 2016 16:49:38 -0000 Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by server-13.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 4 Feb 2016 16:49:38 -0000 Received: by mail-wm0-f65.google.com with SMTP id p63so12996188wmp.1 for ; Thu, 04 Feb 2016 08:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=+kbYKllvTIcn+E71usBRimxLaI4uW8bQyel859rOk/I=; b=BFhzfWgNglQ6/vq04PiqOwjVFSDsUxF8FFTMFwf1tZkBJ/ATxrrMklEwZ450ELMB8e G9P4gpAql7FQonGInYkE9OZlldS/w5KorrNHseLcG49aA++EAb6wOafIAoscxC4FVqPd Mg0IvvA+WLoFm/0QYjPp2VMik/IuXUSK51CZhrlQx/QyaGGHQT/Ewynf3jEW8sbvVl5T s+zFWEVvQhvzLhUguXesfGk1SvEXTtOSRUtrQnV4zCUxDnbt+kauX5qVFEAu1AssEkg2 43JAtXT4KDklG8KW7CBK3aFOBZaehHYU13UDP/gOIaFuwo0iyEt1tM7TMdavFGxbakI9 m5jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+kbYKllvTIcn+E71usBRimxLaI4uW8bQyel859rOk/I=; b=Gp6KcxeQfVPG8exUHXAKHtY/IMLqGJaMoCajVH4s7zJYKlzyyc5rKAHlnATPoJQW21 iwVxiScI5aNq39eozAKQnHhJwWa0diiaxKknYxfMDC84eT/R6PE7Hr+4gSLoyrlOynb+ R/ep0ggkE02V2s2o+ffU2ZSYk1l0UlduOuDdQ0oOFWVAQczo52oPZyY+c7SKGCPtsEzr uHjk1p/8uXAyESPEqGGS/C08/vVqK+z9nRKBhkc3eSgOtko33PruIVzPNnR8AvrHJ4aK TQRVjkto/J39DfvQeBXXrqZyHtE7gBR3zvZmoxVxeVxOoNMgprSntCvHJxAaQWgTjifV oWOw== X-Gm-Message-State: AG10YOTC+2y9xkDYMAknryqYfdV28jLjgHpQs7S2MqWR90FmHgseLNMDeKZ2cZNicGtilQ== X-Received: by 10.28.129.139 with SMTP id c133mr11516450wmd.30.1454604578719; Thu, 04 Feb 2016 08:49:38 -0800 (PST) Received: from localhost.localdomain (p4FEE18AD.dip0.t-ipconnect.de. [79.238.24.173]) by smtp.gmail.com with ESMTPSA id t195sm27251410wme.13.2016.02.04.08.49.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 08:49:38 -0800 (PST) From: Dirk Behme To: xen-devel@lists.xen.org, ian.campbell@citrix.com Date: Thu, 4 Feb 2016 17:49:35 +0100 Message-Id: <1454604575-4229-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 2.7.0 Cc: Dirk Behme Subject: [Xen-devel] [PATCH] xen/arm64: Make sure we get all debug output X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dirk Behme Starting in the wrong ELx mode I get the following debug output: ... - Current EL 00000004 - - Xen must be entered in NS EL2 mode - - Boot failed - The output of "Please update the bootloader" is missing here. Make sure this is output, too. With this, we get ... - Current EL 00000004 - - Xen must be entered in NS EL2 mode - - Please update the bootloader - - Boot failed - as intended. Signed-off-by: Dirk Behme --- xen/arch/arm/arm64/head.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index 9ed9a93..19fa2bb 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -309,8 +309,8 @@ common_start: b.eq el2 /* Yes */ /* OK, we're boned. */ - PRINT("- Xen must be entered in NS EL2 mode -\r\n" \ - "- Please update the bootloader -\r\n") + PRINT("- Xen must be entered in NS EL2 mode -\r\n") + PRINT("- Please update the bootloader -\r\n") b fail el2: PRINT("- Xen starting at EL2 -\r\n")