Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1398425pxb; Mon, 11 Oct 2021 05:18:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjon6jnGR6477rHVwMHVHoNl4NmaX/lu3kOoLfX2VglykJXVlIjfaSdAe1+G6WS//8MaKq X-Received: by 2002:a17:906:f9c8:: with SMTP id lj8mr489315ejb.347.1633954694678; Mon, 11 Oct 2021 05:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633954694; cv=none; d=google.com; s=arc-20160816; b=ouvXEB2qEdrnCRcnvcVmnXCJosHwv3iYOqgJyHrJ4coDdg37vv9APhv2NuTlM0cE75 41fai8+sYxT9j+KtLXOFJXAFG3rUznA1P1P1hYteD+EINTCdaAnYxiJBdqLZ7Zua8dWM 2b9XLwEy/KzNyEcH6m1EgOP4hYuKvx2B8n+mET7LYHgOOLvxCvsAOYyi0OmLwzWfvlRt qRSsRZd67hpDCwQX7TVTdKHPE+hn6ZhwsBWavbe+mi93apJJTuWLWkJXPq1yeoTU7DGx GKaPVdAO3klg8IIuhcXVLucJFatLGJw+0R+0WKxGGoxTid26nFqv3lCLDsLwEvpXX339 C9nQ== 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; bh=ILfhQ1xCyJpzVVyTRUeYiOGgGsjH3OkmEIE6ubpYA5A=; b=L8VC7LqXU0bwuZYz0pkOR+jR3S/zpCOizr2CyfH5Eox8Njv4REpNB766+VwGZaqsD4 uQ1a/3GbNm/3XLPDGuFVcG9F8Z/XKrbEMLHTWUTvcrY6TjMo/+8Vb0G09DZ6S9XRbqtp kgoq9lYWzIX+5DPimAyt3E1YpoGxRjZ6SNgFxCCPZqueTfNiLodEKKIOXxALiJv6Ggrw KJGNlQy2ywMSvXlPP6/y2ayKr3D7up1vrT/WRh86ooffpTQDcIR0GFSqWobB8GI8WzeI dRbvjBONY7PfN/vumKF0wApwwgVymRDB3fiKz8x8oniqK+H6W5uOaGh4QVtdAs+RipuU E6OQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga1si13581695ejc.128.2021.10.11.05.17.45; Mon, 11 Oct 2021 05:18:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235225AbhJKIoN (ORCPT + 99 others); Mon, 11 Oct 2021 04:44:13 -0400 Received: from mail-ua1-f49.google.com ([209.85.222.49]:45712 "EHLO mail-ua1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234936AbhJKIoM (ORCPT ); Mon, 11 Oct 2021 04:44:12 -0400 Received: by mail-ua1-f49.google.com with SMTP id 64so11671870uab.12; Mon, 11 Oct 2021 01:42:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ILfhQ1xCyJpzVVyTRUeYiOGgGsjH3OkmEIE6ubpYA5A=; b=FmIlOOWO69ryaHyJx9sVvXIoK1zLqjzsxRP6/9q9w78J1/0DCt+bFWQGbGCO+Jlr4V 8RE8tJAp90EyDEZzZaORJjuDf1p1PoA0VUO84aQPqyaqmBMTeF0+KAhX3b87U5lO5HGZ m7Yag8LTAtHytL51LxIQf04N6B4u2ChnNXfcHc8lj3c7ZBj0/WajX7ou+VXmasJXqr48 1+sj0G7ckK4dFURv0Q9bVx8xhn1rZG1hiiyT6nBBi/n6+0uevXgIVVRifdo8E06tio1v pZLEHl0o3dPddOVN7cflv/XuyApTuP7Q8VGmP/onCnVu+tv8v2I+v33odoyAaab45rwG /DYQ== X-Gm-Message-State: AOAM531gHA6AUEJrHsoSPBLam1Lnn3Aw0ZIKuicDQ5owpUtQDZ9OYkui hvV/nvkm2lXptAxBVThJHUgCMhs+pnf8l/M6XZA= X-Received: by 2002:ab0:538a:: with SMTP id k10mr13426605uaa.14.1633941731939; Mon, 11 Oct 2021 01:42:11 -0700 (PDT) MIME-Version: 1.0 References: <20210928075216.4193128-1-arnd@kernel.org> <9dedf9bb-5377-9f2c-cbb1-2a57b40493da@molgen.mpg.de> In-Reply-To: <9dedf9bb-5377-9f2c-cbb1-2a57b40493da@molgen.mpg.de> From: Geert Uytterhoeven Date: Mon, 11 Oct 2021 10:42:00 +0200 Message-ID: Subject: Re: [PATCH 1/2] firmware: include drivers/firmware/Kconfig unconditionally To: Paul Menzel Cc: Arnd Bergmann , 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 Sat, Oct 9, 2021 at 11:24 AM Paul Menzel wrote: > [Cc: +linuxppc-dev@lists.ozlabs.org] > > Am 28.09.21 um 09:50 schrieb Arnd Bergmann: > > From: Arnd Bergmann > > > > Compile-testing drivers that require access to a firmware layer > > fails when that firmware symbol is unavailable. This happened > > twice this week: > > > > - My proposed to change to rework the QCOM_SCM firmware symbol > > broke on ppc64 and others. > > > > - The cs_dsp firmware patch added device specific firmware loader > > into drivers/firmware, which broke on the same set of > > architectures. > > > > We should probably do the same thing for other subsystems as well, > > but fix this one first as this is a dependency for other patches > > getting merged. > > > With this change, I have the new entries below in my .config: > > ``` > $ diff -u .config.old .config > --- .config.old 2021-10-07 11:38:39.544000000 +0200 > +++ .config 2021-10-09 10:02:03.156000000 +0200 > @@ -1992,6 +1992,25 @@ > > CONFIG_CONNECTOR=y > CONFIG_PROC_EVENTS=y > + > +# > +# Firmware Drivers > +# > + > +# > +# 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. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds