Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1457605pxb; Mon, 11 Oct 2021 06:29:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcHiyCQnz2fVyyWPUnsZBrgOLUEkdGSH9XSLDUN5Voa1qqV7OCp3LIPINwFj42vEZH2h9M X-Received: by 2002:a17:906:3486:: with SMTP id g6mr25850031ejb.71.1633958990626; Mon, 11 Oct 2021 06:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633958990; cv=none; d=google.com; s=arc-20160816; b=ioX2XHVrRn7bUzVD92H2sh0XWDW6PsRt4d8VSFNQqBR3iMK5Bk56AElIcOQ9kTIx6A VJftyTAQ69ygphn3dyJPNj6FwuhvHJ6QCryYGeGJm6acYgVUAKYoJ9tX0E/maPQCn9Se T2zNFy4OuQ5LW9gxyU/MkYdpe+boxhzafNCEIGjxs/Q+ChJ+lmGCsKKopnra5H+lZz4o vbKg1Uv0tABybBBy9argOwRLQktGPsHZAab3An3PoCWBipi0N3YLK0kwdU8M5730p2hg l8ivDMzXipSIraP8YmMgD9gVSf7gOndvNjgXQopm+gCLFE9U8FCaS8ATR0k58FwE/Zps 8v7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=f9N2FHLnIFH6ISwIDfHWYEhN52FGtbSUwIsYWXbPLRk=; b=yFy3bYvDqBD2E4MVX1tYRmfjj4cMn9YvZm3LUXAD9XzhS2y2pjuZJUSmy1gku8aa9z 3ZwiQv63aYyAkZpyy+A9K6dU7D95yRlwcwa0wBQALUTQJmTjjfcjUeX8yAduIJPxUfGl fm860ZRk6mqUFLQYlzMiuDSMsuw8DzVwphl93vYupmBmSFt1x5m7uUAzxMiyhHwA7vfm YTAtrQYoWxLPXzWiD4SKe7i/0sQBsybeiblwYu00ge2IMNdfrP5NwNo5GfmKLKbS9Ign fZT6VxsgqD73uw7VnbZlfjxTIGyST1YsYLWIa8UaUBmOLPHZEI7m2KcvQosgaT9NsA7j 2IIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZnZETaa9; 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 o16si4588911edi.503.2021.10.11.06.29.27; Mon, 11 Oct 2021 06:29:50 -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=k20201202 header.b=ZnZETaa9; 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 S235593AbhJKJsh (ORCPT + 99 others); Mon, 11 Oct 2021 05:48:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:42910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235624AbhJKJsQ (ORCPT ); Mon, 11 Oct 2021 05:48:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4B61B61040; Mon, 11 Oct 2021 09:46:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633945576; bh=qRyh8ehsFmtn9ig4J8UbiRrew6heVcGUFCDbxxmKZf8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZnZETaa9OuNwX0DpDQTge5IMXAkuyM+/s2ByE8NOqM9aqQ73JVSVHok5AdiMYnS24 k348ZHgZbG0Jtf0Z3zIO8hm2EgLo99RkSqFwFGzXgQdrhnvF4w9+NumaFHnvq0xYlJ ITQVLs+S61g7iLyTJuFYrpfQfPQmphxELjDppzN+7RhD2vIc64DhliDeWVZjGEH85W d0dDuE20L19zOnsqolYhp9UlZQcUQW/V6Kd2W1KMpchDpxyX/SoyHwBJJ9Ziw+GLEa DSjC592BNq/jM1Ma8c7DI9NYmgESNSnc2khWntaZebtO96uLboiSmjXpNQOCNSDuZf V0nu5NTx4/7CA== Received: by mail-lf1-f45.google.com with SMTP id x27so71174523lfa.9; Mon, 11 Oct 2021 02:46:16 -0700 (PDT) X-Gm-Message-State: AOAM531sdBmYJ2AcftE++nQeY6tecHeu5jAqDZ6blQb96jF9RTWgFsov 6NVh72BgxZtX0jdN6fceYSRDH5u7LC0LS9lSY8Y= X-Received: by 2002:adf:b1c4:: with SMTP id r4mr23576993wra.428.1633945563612; Mon, 11 Oct 2021 02:46:03 -0700 (PDT) MIME-Version: 1.0 References: <20210928075216.4193128-1-arnd@kernel.org> <9dedf9bb-5377-9f2c-cbb1-2a57b40493da@molgen.mpg.de> In-Reply-To: From: Arnd Bergmann Date: Mon, 11 Oct 2021 11:45:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] firmware: include drivers/firmware/Kconfig unconditionally To: Geert Uytterhoeven Cc: Paul Menzel , Bjorn Andersson , Arnd Bergmann , Mark Brown , Liam Girdwood , Charles Keepax , Simon Trimmer , Michael Ellerman , Russell King , Catalin Marinas , Will Deacon , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Paul Walmsley , Palmer Dabbelt , Albert Ou , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , "H. Peter Anvin" , Geert Uytterhoeven , Linus Walleij , Andrew Morton , Greg Kroah-Hartman , Linux ARM , Linux Kernel Mailing List , "linux-ia64@vger.kernel.org" , "open list:BROADCOM NVRAM DRIVER" , Parisc List , linux-riscv , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 10:42 AM Geert Uytterhoeven wrote: > On Sat, Oct 9, 2021 at 11:24 AM Paul Menzel wrote: > > Am 28.09.21 um 09:50 schrieb Arnd Bergmann: > > > From: Arnd Bergmann > > +# > > +# ARM System Control and Management Interface Protocol > > +# > > +# end of ARM System Control and Management Interface Protocol > > + > > +# CONFIG_FIRMWARE_MEMMAP is not set > > +# CONFIG_GOOGLE_FIRMWARE is not set > > + > > +# > > +# Tegra firmware driver > > +# > > +# end of Tegra firmware driver > > +# end of Firmware Drivers > > + > > # CONFIG_GNSS is not set > > CONFIG_MTD=m > > # CONFIG_MTD_TESTS is not set > > ``` > > > > No idea if the entries could be hidden for platforms not supporting them. > > > > ARM System Control and Management Interface Protocol ---- > > [ ] Add firmware-provided memory map to sysfs > > [ ] Google Firmware Drivers ---- > > Tegra firmware driver ---- > > GOOGLE_FIRMWARE should probably depend on something. > I highly doubt Google is running servers on e.g. h8300 and nds32. GOOGLE_FIRMWARE is only the 'menuconfig' option that contains the other options, but on architectures that have neither CONFIG_OF nor CONFIG_ACPI, this is empty. Most architectures of course do support or require CONFIG_OF, so it's unclear whether we should show the options for coreboot. Since it's a software-only driver, I would tend to keep showing it, given that coreboot can be ported to every architecture. The DT binding [1] seems to be neither Google nor Arm specific. CONFIG_FIRMWARE_MEMMAP in turn can be used for anything that has memory hotplug, and in theory additional drivers that register with this interface. I'd lean towards "leave as is" for both, to avoid having to change the dependencies again whenever something else can use these. Arnd [1] Documentation/devicetree/bindings/firmware/coreboot.txt