From patchwork Tue Sep 18 21:36:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 146944 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp377017ljw; Tue, 18 Sep 2018 14:38:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ6X0m8JgmVk/dd4H5G+I7ENyT5IBHqWCX0yb4yw1cLeJfrZNGJLycGKG1rD0L2OkCag5um X-Received: by 2002:a62:ce82:: with SMTP id y124-v6mr401409pfg.140.1537306716317; Tue, 18 Sep 2018 14:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537306716; cv=none; d=google.com; s=arc-20160816; b=MoTOlz/7fYOXW1iQ/5SQSzLNcRcOAumtrUb9wgHQlk3dM8UtUs8f9Le39awFySij3I Z8gVkK38vCY0peSeC1MYRI79HXDUcLLnfKWKtAAhVpvNDiB3bX8xj19rE6omDgJ8cuKd THKij1cs98YCmvyt3irV1ktlxwvKOvO1ZgpH5mTuuq+QZ7rNsM1jevgFMwwnyidgp26T SOo+lTZXACzoabPsIufzeBTqZ+gxi3KGcoD0vp5Zz8+lKaXPtOWF5YxGgwbQy/BiuYIE 8ZK/zsH+PBTUTdWxrD2vqeRWcXv8yqEN6QkH39SvWxL2BprDT4edv1R9ehrEu7ahslt2 gbNA== 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=w+VRD2Tl3jpAXs+NZaGNcbb96l49trHCObOMZHjoKPA=; b=AwXCiUW7DwbQz/7YpoVhtCz3sqA1oMiNcBm75QpLEeQ0Gz1OUvXuo5FdOpBl6QbVSU aE2k5bc0O3oHWZjIUP1FheoUvCqLrmAkVmIbuvD/C+x1/U9fHeye/R5awwr74yvzxIK5 v4PPBmLBq1+RWWwucbNmqt5wnCnqL9gqTyGC/of8l2Z8NcNetvpPlpx7i+UxNrj3kVRv qpB+p5qvABYTWFKki+s1aKoHbqwH/fL0i6nSJUcrhZ+IIzPg8qujF37tC8y4aDqQTIQJ Xf0Bp+PC6dhlk+UWpuO2+xyVhDDB9FwlpJJjw5lefu0N4nFqXB8B7TL4EOQ6DFNbKW/W rU7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V39Jy7L2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si20355290plc.475.2018.09.18.14.38.36; Tue, 18 Sep 2018 14:38:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V39Jy7L2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730543AbeISDNE (ORCPT + 32 others); Tue, 18 Sep 2018 23:13:04 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:54600 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730331AbeISDNE (ORCPT ); Tue, 18 Sep 2018 23:13:04 -0400 Received: by mail-it0-f65.google.com with SMTP id f14-v6so5474616ita.4 for ; Tue, 18 Sep 2018 14:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w+VRD2Tl3jpAXs+NZaGNcbb96l49trHCObOMZHjoKPA=; b=V39Jy7L2fq0wv4eZzLnznzM94erLPLuOoKrJDkVZFlBjluVKqEf0EWRCSRwLdFc+hv dRg4cZb9AAX8D5Km9SuGtDDak+AbiQ2DphTbBjNbwVRVOlbjA3c71/Q2JRqUuJ1InMlp PEVO8YBgNkla4AErY1MIhUzRBUDzLtj5HcnSM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w+VRD2Tl3jpAXs+NZaGNcbb96l49trHCObOMZHjoKPA=; b=f6wOmq9aq09F5Rp0KnKdosgJuBYUHY5EUkJXTmpYaY+6cwDTxRwOyoCvGiqZ087oRo E3+eI4OXtrDi18ze+7Q/DeZ5cm7f3mpTDmgu2evo93HHZzT4pHqi7LkepIRWjUmEpYhm jJYSU3OaOxTUiNUWGmEF9SXnHqkINC9s+Fm+Mo02nrv6/KH9Wixb+sJTqkaA3Hpm907T fL6Yf3PwUEV0xh02b2xSkKy0PlMCvEMsZ1riDJym+HkpUtExlZIwQiB7twFKS+BxAm1B 3RA/UiEAX7g0W5KR8StpjFpPGNdcZxAnpf9X0g2m3Y2l5AS98Bpz2O1MoZsNOLKyITeA QHWw== X-Gm-Message-State: APzg51AQY2ofZ0uKLJgU/Uqo7bKtk76/zicWBPk1aGRyeXZLR+vuvSza AoRMqwxm5KcZaF2oDY+eJWaobA== X-Received: by 2002:a02:8c5d:: with SMTP id j29-v6mr27779759jal.28.1537306712422; Tue, 18 Sep 2018 14:38:32 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id m123-v6sm5018285itg.29.2018.09.18.14.38.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 14:38:31 -0700 (PDT) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Scott Branden , Ard Biesheuvel , linux-kernel@vger.kernel.org Subject: [PATCH 1/1] efi/libstub/arm: default EFI_ARMSTUB_DTB_LOADER to y Date: Tue, 18 Sep 2018 14:36:52 -0700 Message-Id: <20180918213652.5648-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180918213652.5648-1-ard.biesheuvel@linaro.org> References: <20180918213652.5648-1-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Scott Branden Default EFI_ARMSTUB_DTB_LOADER to y to allow the dtb= command line parameter to function with efi loader. Required for development purposes and to boot on existing bootloaders that do not support devicetree provided by the firmware or by the bootloader. Fixes: 3d7ee348aa41 ("efi/libstub/arm: Add opt-in Kconfig option ...") Signed-off-by: Scott Branden Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index d8e159feb573..89110dfc7127 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -90,14 +90,17 @@ config EFI_ARMSTUB config EFI_ARMSTUB_DTB_LOADER bool "Enable the DTB loader" depends on EFI_ARMSTUB + default y help Select this config option to add support for the dtb= command line parameter, allowing a device tree blob to be loaded into memory from the EFI System Partition by the stub. - The device tree is typically provided by the platform or by - the bootloader, so this option is mostly for development - purposes only. + If the device tree is provided by the platform or by + the bootloader this option may not be needed. + But, for various development reasons and to maintain existing + functionality for bootloaders that do not have such support + this option is necessary. config EFI_BOOTLOADER_CONTROL tristate "EFI Bootloader Control"