Message ID | 20230504165823.v3.9.I76dffbd644a8af409f3be94419ace7ef642d9ee4@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=aTOBsuuX; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QC8Sd5DRfz214G for <incoming@patchwork.ozlabs.org>; Fri, 5 May 2023 09:01:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A3477860A6; Fri, 5 May 2023 00:59:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="aTOBsuuX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6315685F39; Fri, 5 May 2023 00:58:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8784186009 for <u-boot@lists.denx.de>; Fri, 5 May 2023 00:58:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-3318961b385so14102625ab.1 for <u-boot@lists.denx.de>; Thu, 04 May 2023 15:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1683241134; x=1685833134; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5cida9zUr22J6LeAtPBIe1ZrtBDL8/2Y6Ndimd+92+E=; b=aTOBsuuXdIgbAlr1Zdrn5+1gR6+S4xv36U7KxCler2xTMDLSpDaWBNY7XGf9+CanLh Cwj7mQDHbg4PGNnvSHqyFOXy4HG37lLVDP+0i6Jvpzy01kUv/IiDu5nhpk2wbTNGKqHW Ssa3lwifjvxxwd2P0nF/odYW2o42UUGOSntz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683241134; x=1685833134; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5cida9zUr22J6LeAtPBIe1ZrtBDL8/2Y6Ndimd+92+E=; b=eOBb4SAxzLi9lb2KqHElxlQE5PD0Evz1xt2bLL87LRA4xDdezDqO2SM8gluEji47LJ 30+axAT/3EqU3NGaqxonnwXNR/1x+LAAoW/xW/UsP2XBYWiwPP5kznoQefahGRBCYrNb bfK2oupnpYAaVfdGFvq4CfJUPhz3ThOMVZWj/H0yhQDYa/UklNIXKHpv+KFqWXqHWP7A ypoEMs5mC/pMKcPKjxW8N3dOir2Ddyyhb9pKzt05qvRH6zWq8011rAIkhtNbwDTl+bhT +dyLdolmZdmKxMPjET+qd4Rcud7ZohyTX7WCc6bXTGo4WJdTS2TUNRvlgJ2RGQJnVBIk Lb+g== X-Gm-Message-State: AC+VfDxcO0u68w5b8UUP6F5MZO3q2S4U+Sw/QeRMWQF6M1qYgRzqikvV k9sA6e43PCQShdjkmVk2eL18uQ9FMfpMfGnOr9Y= X-Google-Smtp-Source: ACHHUZ6hJ+GwICWx6DIK9lWv05iFEl+okiJw169EbZDM/uRbMWk0xyVxG3J6Qpskw+myFmwfr9SObQ== X-Received: by 2002:a5e:da03:0:b0:769:b99d:f43e with SMTP id x3-20020a5eda03000000b00769b99df43emr171172ioj.8.1683241134182; Thu, 04 May 2023 15:58:54 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:b5a:9fa0:3da:54ec]) by smtp.gmail.com with ESMTPSA id e11-20020a5ede0b000000b007608af6dfb4sm39506iok.31.2023.05.04.15.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 15:58:53 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Nikhil M Jain <n-jain1@ti.com>, Bin Meng <bmeng.cn@gmail.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 09/43] x86: Show an error when a BIOS exception occurs Date: Thu, 4 May 2023 16:57:55 -0600 Message-ID: <20230504165823.v3.9.I76dffbd644a8af409f3be94419ace7ef642d9ee4@changeid> X-Mailer: git-send-email 2.40.1.521.gf1e218fcd8-goog In-Reply-To: <20230504225829.2537050-1-sjg@chromium.org> References: <20230504225829.2537050-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: Use qemu-x86_64 to boot EFI installers
|
expand
|
diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c index 94349ba8073..8cc686fd146 100644 --- a/arch/x86/lib/bios.c +++ b/arch/x86/lib/bios.c @@ -78,7 +78,7 @@ static int int_exception_handler(void) }; struct eregs *regs = ®_info; - debug("Oops, exception %d while executing option rom\n", regs->vector); + log_err("Exception %d while executing option rom\n", regs->vector); cpu_hlt(); return 0;
Rather than silently hanging, show an error first. This can happen when there is something wrong with the video BIOS. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v2) Changes in v2: - Fix BINS typo - Drop the Ooops string arch/x86/lib/bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)