Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp259034ybj; Fri, 8 May 2020 11:06:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJGkSPRqkLFoNd1IIPS1rq7VGvq0YOAW/YRPMtE+1db4xyIRnAJhD9Swu3byLaobw4GBx/a X-Received: by 2002:aa7:d1d6:: with SMTP id g22mr3385734edp.36.1588961213744; Fri, 08 May 2020 11:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588961213; cv=none; d=google.com; s=arc-20160816; b=RLQjwFMOa/Er1hVfVWWQp+Dl8v8kEqYf80jsE/3s3ZF3TIgGVZeR4Gi9NypFAf8qQT Fg6Tb9SIv7BT01UpaU4/MrGqdsi1VyjOGuexBHzJOHxL86U5NrDFgAsX3/0qtMceVxpx zWQisXhEOLbLJJGNGuKxcaZgCgGDJBbu1LyOxZueHIkZHDx7h9O3jWn75ukBKWVLc/UF O4HMnqWwFNlZYISbcswOVxD2lfTSBnS8KdAp2EFNUnIgxlndzZLRM6wB0Ngc0DKItcuO 2HNjXPT+CYIbPIcLbmpcgfCeEP5Ikqj7duRwaJRgF8uSEw+6RtUbYsS9p0akhyumk+na ynRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4Kz69IkrX1SdSEj1cgrpGWm37d7aQcRNzI2GCyRumC0=; b=fyVvHwFg9xWJorFOzGYdn4KcUB395Rl0sTSFcxkypPHZu84/G6V7h9V9mV0LqDTKP3 HtsgcEgDS7bqSxbXIPk3NrSjW2BiUzYXkzBV7/Dp8HFgswVQUCx+kN/JQV1YuA+TTovu kHKN27uI42C2Slhq7SGJrT1R04LWGkstvBw+OfI5MJp5b2m2mCqaIWGy38J3CW3PPV1m ndGtlPhse55oZuNejIn2d0cPqn6A8ShDef7bWZF/kwixK4HJRXrjlHhOTS6oFMOH3yFD q4FzRNl2V3eC8vbn5LtpPIS5wVu7t7HEqFvd0QZyDj3/et9IMFHioSlsCR0/qFXfiRV+ jodg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fhj4MoXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si1288324ejm.465.2020.05.08.11.06.26; Fri, 08 May 2020 11:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fhj4MoXd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727952AbgEHSCl (ORCPT + 99 others); Fri, 8 May 2020 14:02:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:48134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727922AbgEHSCi (ORCPT ); Fri, 8 May 2020 14:02:38 -0400 Received: from e123331-lin.nice.arm.com (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr [109.210.65.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D607924966; Fri, 8 May 2020 18:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588960958; bh=oMjpzDDlh2D1GE9o+Fjd+U1ibu0bpncO6VpG1sd997M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fhj4MoXdUqj8yzhTUGgvYW+H0XQoe3/Zz/3lcPtHgGzEURkTg/ySvKnHgAhDpdIAT ui9qEe1p+jXCZ8SXhTjYbLI9CWaS8bLjiMQuuLfr9iarzNy5EmjKtg79eA5mcLQySl 8ZhIsUrSnWMc/6AO6TpyTfZ2WNec59jI7H7slTio= From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, Arnd Bergmann , Arvind Sankar , Guenter Roeck , Joe Perches Subject: [PATCH 07/15] efi/libstub: Upgrade ignored dtb= argument message to error Date: Fri, 8 May 2020 20:01:49 +0200 Message-Id: <20200508180157.1816-8-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508180157.1816-1-ardb@kernel.org> References: <20200508180157.1816-1-ardb@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arvind Sankar Use efi_err if we ignore a command-line dtb= argument, so that it shows up even on a quiet boot. Signed-off-by: Arvind Sankar Link: https://lore.kernel.org/r/20200430182843.2510180-8-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/libstub/efi-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/libstub/efi-stub.c b/drivers/firmware/efi/libstub/efi-stub.c index 72ffd2670f99..cb02e8bb6b44 100644 --- a/drivers/firmware/efi/libstub/efi-stub.c +++ b/drivers/firmware/efi/libstub/efi-stub.c @@ -241,7 +241,7 @@ efi_status_t efi_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg) if (!IS_ENABLED(CONFIG_EFI_ARMSTUB_DTB_LOADER) || secure_boot != efi_secureboot_mode_disabled) { if (strstr(cmdline_ptr, "dtb=")) - efi_info("Ignoring DTB from command line.\n"); + efi_err("Ignoring DTB from command line.\n"); } else { status = efi_load_dtb(image, &fdt_addr, &fdt_size); -- 2.17.1