Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4121120imm; Wed, 5 Sep 2018 11:02:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZj/NB+uaZqWVt7AQl0jZ3w51Jj9fD6r82sivvSuhbzFI1blnI3N7XZOAw/iaXeCjyNBd36 X-Received: by 2002:a62:234d:: with SMTP id j74-v6mr41438476pfj.106.1536170553749; Wed, 05 Sep 2018 11:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536170553; cv=none; d=google.com; s=arc-20160816; b=PkM8m06tCI9Pw7r9KjtWV42JY9Sju6pmfSbZtRw2r1nZYqZEpSR6I/yTJObUWbD/FJ +JREbIpsX/Iq/5WbCPNxJ1I13tOyy7W53mjM4h1O4oq3fqP1pqCt3Fp7W+8cfn05AOqw 69GsJSQVOHL8TsZX5wSD8xQ4Dsx6cNPopPT0PFnsijLD++6Zd7R6PnQ9kJ03JJNB8FY2 q0a4tVo4RGn6w6ipsqweoPntx/RBoPFL8xX7Zu+jcGWu2mfQyud0IOE4L7eLQGukdLyq 8IsHosYccjIEIwAQKS5/ZWfPMgKuOI/wGYf5LERi75K9k4CZw8M2xg0MKI08u5wFKHXn 9UFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=82d7u6EIUkm3e8Al+ODyPM7ikSeXTKoy+eFfuvXToGE=; b=DnGnF8XQgYWfAH1rvPYpQrSxi68s3m+0C0j7avr0zP4z9jjRPCkYUhuLeBfz6+zn/F 1Bjjn16DY9nTyOemVi/1Mpwzjh1rMnqIZLL82+IdprUI+Z2PZt4jcSmbSXj/PrQ4JXp9 2LRaNHYWYEtnbJmulqZWgHJUtCQbjjpGvatuyPnM2UWO4tR/dToDrH+EG9sKQB8kt3W8 r/ECZejmo+ZImxxtKViC9/jvTaQTZF/QZ3bsnzI4Tdo26urvqxvnT5kdNPpO8etNJc7o 3hCrohc4JIsQezkZrq1hjV7TthEVEMPxEq3zaPGo/ee0soN1+snW1yJVjtmMjdeIrOOD 097g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@secretlab-ca.20150623.gappssmtp.com header.s=20150623 header.b=n04TrIix; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si2436664ply.405.2018.09.05.11.02.14; Wed, 05 Sep 2018 11:02:33 -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=@secretlab-ca.20150623.gappssmtp.com header.s=20150623 header.b=n04TrIix; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbeIEWcB (ORCPT + 99 others); Wed, 5 Sep 2018 18:32:01 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:41515 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbeIEWcB (ORCPT ); Wed, 5 Sep 2018 18:32:01 -0400 Received: by mail-qt0-f195.google.com with SMTP id t39-v6so9131054qtc.8 for ; Wed, 05 Sep 2018 11:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretlab-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=82d7u6EIUkm3e8Al+ODyPM7ikSeXTKoy+eFfuvXToGE=; b=n04TrIixCYEhegktck3rz9lUjzPHgJJ8vLzw6Hw/5wmpZhOaff/qhvIVg92jT0SXDa c8b1/xjxG6A7GW32wCcw6xeFwJoETeO3P2cLKLDKLrsf5mooCAxEywhiJQpkFOJeVWo/ dkGtVletFhad4Lq5+geMRyqmQkJQwyAZCDi94a93nl2ChCNjTPl3I39789mcn4+dtwQ3 8Ly9tLifWKlyQ2+ZAFqYHPLgdphzvBW4a2KVTjpkvV8gOVRzsHnFMlszww5mX+OYrp7L QJRli3Qvb9cMjQJT7WeC6X5fKj5iqJG8mNc1Z6tDDZ9X4paMtlo5HB02drt2onj8kkGT d8LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=82d7u6EIUkm3e8Al+ODyPM7ikSeXTKoy+eFfuvXToGE=; b=PHHXKGnZb5DHFy80KFHh7oaJnc4NOvJKG1xV3AQULSdlup6Kk5xldeebLR8EXt1chc kUg8pUxOqWSB12gpViLPDDN5fnUqTbQIJyzI6TtEbJQi+imb1WXgQPos+0lH72i4Zfi/ kHkxrl441edMlDTe90+wRTRhuBypiKSDRaKBl1pqlq9BI2s4LVlVHNH4c0n1NLUv0KSQ ina9p/j4c2VVgPkUxtLna2xWn9RWEDaeBFgDQSEdA066RELQD0pefBzMzlwwxJ2sY7wa HCqxpz2cD5IGo1C2S+rjJdWcq840lG+pnED6X8sewwk02KGpn5Hv+2eeP5TToVYpb2Fp Bghw== X-Gm-Message-State: APzg51ArKYUIKY/OOBIESgA/uYINQxpz2pMICRYGaBmfgeHbUFLjt3qA rrk9azeUa8N8U0GgtRHSZCJJeBG0dt+2luxwG2d9sQ== X-Received: by 2002:ac8:1c06:: with SMTP id a6-v6mr34980694qtk.16.1536170444186; Wed, 05 Sep 2018 11:00:44 -0700 (PDT) MIME-Version: 1.0 References: <1535563287-24803-1-git-send-email-scott.branden@broadcom.com> <1f8095f1-1f0c-0791-31c4-c7b986c4ce1f@broadcom.com> In-Reply-To: <1f8095f1-1f0c-0791-31c4-c7b986c4ce1f@broadcom.com> From: Grant Likely Date: Wed, 5 Sep 2018 19:00:33 +0100 Message-ID: Subject: Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER To: scott.branden@broadcom.com Cc: Ard Biesheuvel , Olof Johansson , Catalin Marinas , Will Deacon , Arnd Bergmann , bcm-kernel-feedback-list@broadcom.com, Linux ARM , Linux Kernel Mailing List , Leif Lindholm , Alexander Graf Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 5, 2018 at 6:27 PM Scott Branden wrote: > > > > 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. We don't do that on Arm because a devicetree is always required at boot time. Even on ACPI systems a tiny DTB is used containing just a /chosen node for passing the kernel command line and the initrd location. g. g.