Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp471419pxb; Wed, 29 Sep 2021 03:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsJDQq/SPYChw+TSfT1M6OKe3IwYh6OyW2uCawDHb/R00rFM+HsjGjvyZ9tJq/j4gl9VBY X-Received: by 2002:a17:906:63ca:: with SMTP id u10mr12622553ejk.411.1632910841525; Wed, 29 Sep 2021 03:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632910841; cv=none; d=google.com; s=arc-20160816; b=KXAjk8WrNMNV7SYI3GWOzeuOI4BSZaaEPC3jojG6Zxug9bVjLCIL7JIKCsKVzZlZGo CzUdFABYhMVcogzTUaF7M/NLnr5rskIK7Ipqq/lLAdEBA1YjfuWajcJQxWptO1oOV6N1 e5uP5YFbTBuorKjWoFOeqsSLxLuYgxFfjzt0VLbq7VzeKQB/YTJno+3kzE5ZLvlRW3Rm gEiaEYKfpeCZT4nne+ZC0nYE6QJ3hL9lVGGbQqUC/wdsCimvjngC2wsuOg8r4NqQ/hRl D8ST/mm4LmxboDPYOnQMMgU1vfa8RM+sp6MrrZsAgWgXKVK5Zg3vkSOXAASbk+ja5606 b97Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=h9oGR5cIRDQXpdKfu9FlBvjVuQdYIWWFgJJAbA5A1z0=; b=WBMnn7917jLMvgE08RaelO4T/cupPAHYeI8JkZjyuNfKRHr4Vs05jUM6ExoQwSEDaj nUR+3q4RKFWjOmpEKU4WsFRR5N+YJU4UwtJcbIxhCsmT+F09EVf+zij+nRwc9UQfWbuA 8FfO4Kwy5OltjmHdmw4DWT5zWHRz5h4URgmV1eR9RgL5EbLXO9/WP2B/uxktnfECUMrc 5qwZyJqGQonOtoVcViNL36dzaRFPw7gguYVYTg+msFZ36YUvOfCwNfmnm12MdNpicqky 1NLDNSKvyo2Dfg2Z6BfUQg03dH0GlPGz8/Q2U+bVG3HT4I3WtmWN48VTLmnHrlmVeLdO 6Xpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c7UIdY1p; 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 i22si3770289ejw.286.2021.09.29.03.20.16; Wed, 29 Sep 2021 03:20:41 -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=c7UIdY1p; 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 S245499AbhI2KT0 (ORCPT + 99 others); Wed, 29 Sep 2021 06:19:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:49948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245508AbhI2KTK (ORCPT ); Wed, 29 Sep 2021 06:19:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 596CC613CD; Wed, 29 Sep 2021 10:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632910650; bh=ApwjsuHkRLKIvYsUtPvCU+3a2n55yhVlsEyPpAqiq0Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c7UIdY1ptOrLLATvIT6DQbSfUmSx4SW/6eQVuBkuabAAD6uJYv4KiaePlAqUnYzIO GWvJvq0km3JiPj6oi8WIpC7VAhVnopNtYfFQ5TfCQmqWH/jYFXW5/5nc9UXGqjZfMb s4b9oUKpC2NR2W8UPrHHup6LTDl/yvXmNXhJnb4D4YqHdXiDvgoKL1VAUTAE/OzaT/ h7v+R1Nu8NrQgzctHkX8920rEm0HTH/b5a/VWhWRUhVBHJLYHe88ZnR+UOy/kHxHQm KJlpI5M79mfgpL7cLLj6EGaYGvFx8zdBTlGWVrlYSSCCzBuvmaOxsoj8MrcBrikKei DEg8ELCDAzEng== Date: Wed, 29 Sep 2021 11:17:21 +0100 From: Will Deacon To: Arnd Bergmann Cc: Bjorn Andersson , Arnd Bergmann , Mark Brown , Liam Girdwood , Charles Keepax , Simon Trimmer , Michael Ellerman , Russell King , Catalin Marinas , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Paul Walmsley , Palmer Dabbelt , Albert Ou , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Geert Uytterhoeven , Linus Walleij , Andrew Morton , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 1/2] firmware: include drivers/firmware/Kconfig unconditionally Message-ID: <20210929101721.GC21057@willie-the-truck> References: <20210928075216.4193128-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210928075216.4193128-1-arnd@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 09:50:26AM +0200, Arnd Bergmann wrote: > 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. > > Cc: Mark Brown > Cc: Liam Girdwood > Cc: Charles Keepax > Cc: Simon Trimmer > Cc: Arnd Bergmann > Cc: Michael Ellerman > Signed-off-by: Arnd Bergmann > --- > Not sure how we'd want to merge this patch, if two other things > need it. I'd prefer to merge it along with the QCOM_SCM change > through the soc tree, but that leaves the cirrus firmware broken > unless we also merge it the same way (rather than through ASoC > as it is now). > > Alternatively, we can try to find a different home for the Cirrus > firmware to decouple the two problems. I'd argue that it's actually > misplaced here, as drivers/firmware is meant for kernel code that > interfaces with system firmware, not for device drivers to load > their own firmware blobs from user space. > --- > arch/arm/Kconfig | 2 -- > arch/arm64/Kconfig | 2 -- > arch/ia64/Kconfig | 2 -- > arch/mips/Kconfig | 2 -- > arch/parisc/Kconfig | 2 -- > arch/riscv/Kconfig | 2 -- > arch/x86/Kconfig | 2 -- > drivers/Kconfig | 2 ++ > 8 files changed, 2 insertions(+), 14 deletions(-) For arm64: Acked-by: Will Deacon Will