Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4089214imm; Wed, 5 Sep 2018 10:30:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYmqM1/Ek4yED41YPsWyZRT26eCwiXXnmYnXMndRD/ywjuIkYgRXIu6XxJbU8XoYfpPkzUR X-Received: by 2002:a63:ee56:: with SMTP id n22-v6mr37782384pgk.402.1536168603603; Wed, 05 Sep 2018 10:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536168603; cv=none; d=google.com; s=arc-20160816; b=LoR65L4I4RVLkHd84VFxFkkWR2I4vd+CLA3O4Z4O4hsE24Wl8loXDrMw9+zA40ElYL xmdOdzmFHCA6dwUD22kVY6KLgg9K2xToEGH+q6C7+BgsO2Ik6kKQ8nlriCutdrDhlkzo mvrnitPgfPLSPksYQR3e/Yf9qKhuSKsl06jx1kj94uG+KgZBnBHImatuHPPHcf2bXxqk F5ceX+ESCHU1vhRzb4/L3bxIhS4l86bMpp7yFRXr1IA7sB501CPvlmdnGfvnalHIWCnY YRokgjs8haXMz2KnDohr2/yX8HvQ5kHorTWM+jReZ/CerSRjHkWVV9GOIXYEDZ3K9se0 rqMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WtednLBCYi/JKtzhl8JcGANt2+iJhfuTfwmB5akQbPM=; b=dVhgghlI+tKMQU4WOZDoAxFg1iUVqUYQKfwETl4ExD8yiBUdEsPE7KDb/XU2ZaJwpm +jcuGIXIBDvs9EAcrgbwcThqDWDuK92pT7RqUsrAxcSMF3P/xadoMBRuMVKxoJKQg+qR t0u3G6am9ZBqA5Til0eit2tqgX+1kcXApL9xCltZFqFr3O5bktE2kUOvU7ErdU8EDhTc RhGyX5glJxkoC2yD1v4KYey+m+WEh0NEaqphDFbAK961PLc4TcIZ3gHAxm09PEbhc1gF gVMVSZaHxoYJ58tlL1WCQyBTxj8GGnalo2SoQK4/ep58qKiu3R+wupnLNn5EbYK3OA5U H2WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Eehfu6WE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11-v6si2688832pfc.253.2018.09.05.10.29.48; Wed, 05 Sep 2018 10:30:03 -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=@broadcom.com header.s=google header.b=Eehfu6WE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbeIEV7J (ORCPT + 99 others); Wed, 5 Sep 2018 17:59:09 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:34154 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727629AbeIEV7J (ORCPT ); Wed, 5 Sep 2018 17:59:09 -0400 Received: by mail-qk1-f195.google.com with SMTP id d15-v6so5435908qkc.1 for ; Wed, 05 Sep 2018 10:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WtednLBCYi/JKtzhl8JcGANt2+iJhfuTfwmB5akQbPM=; b=Eehfu6WE0Y/Jw/s10H7OokSVBu5obrFGq3eN5QbqvygveRSK44PuOOpaSC4QXGQ2ag icwCeii/W1bvsImsTRRF2wMMDg1dvZ1n0tiHm/UVGXNlL4aP9kEN8pmuamf56Xwd5n/h giZrFZ+QWwmGdscDQ1i8kzlg9ehyzWxIyzi+Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WtednLBCYi/JKtzhl8JcGANt2+iJhfuTfwmB5akQbPM=; b=nymzdrHR1iEKQR+FSmDXFOGkB93y4VCxtsr+uKyz5fwPZqw611pPEHg266DFo6IHKY HKjMeAY3WXwhU7ylLf/EX/Fmu1k32U9IpgNzD91s4K9UMsDraWlCZ6Nqr+e5HiLUlly4 fvc0PS1m62JawaBEXTpgY/uZq9MmfMXfurum1Vq+GicD/QxgKF3XcBM2VwmnZ0bg5OZ7 Hr+ZSRMgg5HGy/5s0TFUBOLbq2ze5BsmjM4oS93dIjMbO5mhFdYFbpEyLQMylHRpSebZ dwL41iIZXSVqbL6HJrjR4VW0noei25Caofj0tHAQotJRDITjsAU3yZmRuXOq2uLTBdqb CTwA== X-Gm-Message-State: APzg51C0OWZ+lWbrrzsPx4bE+RMpEHO07mnxB+Kt5uy2rqGTP7FnBEm8 QBQWa1/h1V0hVvwhFWET0kgSHQ== X-Received: by 2002:a37:2821:: with SMTP id o33-v6mr33429936qkh.83.1536168479544; Wed, 05 Sep 2018 10:27:59 -0700 (PDT) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id w12-v6sm1522275qtj.93.2018.09.05.10.27.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 10:27:58 -0700 (PDT) Subject: Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER To: Ard Biesheuvel Cc: Grant Likely , Olof Johansson , Catalin Marinas , Will Deacon , Arnd Bergmann , BCM Kernel Feedback , Linux ARM , Linux Kernel Mailing List , Leif Lindholm , Alexander Graf References: <1535563287-24803-1-git-send-email-scott.branden@broadcom.com> From: Scott Branden Message-ID: <1f8095f1-1f0c-0791-31c4-c7b986c4ce1f@broadcom.com> Date: Wed, 5 Sep 2018 10:27:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-09-05 02:40 AM, Ard Biesheuvel wrote: > On 4 September 2018 at 19:19, Scott Branden wrote: >> Rather than introduce EFI_ARMSTUB_DTB_LOADER, why not have >> the efistub use CONFIG_OF to determine whether it supports dtb= or not? >> >> That way ACPI-only distros disable devicetree support entirely. >> > Unfortunately, CONFIG_OF cannot be disabled on arm64 even on ACPI-only builds. OF shouldn't be automatically selected in the arm64/Kconfig.  It should have a config parmaeter like other archs as mips and arm.  I can submit a patch so it functions the same way as other archs so it is not always selected.  It will be good to add a USE_OF config options like the other archs (or simply remove the select from the Kconfig and choose OF directly in the defconfig. This will have the added benefit of doing away with OF support when its not needed on an ARM64 platform.  ACPI is already not automatically selected for all ARM64 platforms, nor should devicetree.