Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp157048rwo; Fri, 21 Jul 2023 09:50:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFirueaHCptfkqrj58ctDON8vFNw31jSpRnGtHxC3g0b8LYcHpagxgxyBWsE8mS8uwaezpY X-Received: by 2002:a05:6a00:2e89:b0:668:7494:384a with SMTP id fd9-20020a056a002e8900b006687494384amr517908pfb.12.1689958214766; Fri, 21 Jul 2023 09:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689958214; cv=none; d=google.com; s=arc-20160816; b=qqysdVqz3HoZ2Ho8O1otn8nu/TrblblScvZK+OesCKgGceuw1A8nQGI+aZWMF4o1r/ OJH6hv5phLJ5MqkHz58800JIBPYH41oQpQyI25rjayxiFcvLAPkDKwgHlTmPi8gtMhei F5tBQ7SXscx8QENb9NwOM54xCN7xUCeWh4Yv/o56s4WQYs+WVySWBCw9pJI6xQPHHg12 SKalufF3jOPUo1XF4nj+aaJS0VXODWmVhHtGy/SJ29Xm1GFaH8Nwemp+uMGLZKp07W+z qSRP3FJlCdt0wKAV1aUZxMpTlFiZ0jJdKEd9eakW3Sy5woT84blJT6XySXbbouk0NAD2 vGcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=9hPn0vqDK5F4Kupt89UUmDtLQIxvFCQKDf5jwCD/rVE=; fh=3ukXSHmVi4LZ9H4R2bZuYamE0TfNo/qO1Z/JZYFPJX0=; b=tSliUaHZiGQui6JSFBJbIM8m+UhUxwR2IUOk8ihrrl9z2/ERIehkjV7xuqwFjCEv6k CzfUjye1iz7+4obAnJFPXoNYXFUTQUVZlIAmEZ3/DuddM0HJKTz0uSROsjUCNSrhrKS7 KkOW2IORd4Wf6+MkiEUv9PzIszy6fGal7QmxH3UsazlNNA0kv1pLxq4nGuYDgtddPakx xdZO7Su0AqwnVSbY/IVk8CIBf2uz9b+VcUYWNliv6G9HghBj4Ak4kCUQBkq2Gi09DwMY B2Ks7bHidI/x/z4LVcth3XDjentauXGMPYfDhPM8Lgd2wU1ILAQUXoTug1RBqdoH8Dxb Ip7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=YMTYZo67; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oneOUSr6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a056a000c9300b00647514cfd36si3612753pfv.242.2023.07.21.09.50.02; Fri, 21 Jul 2023 09:50:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=YMTYZo67; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oneOUSr6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230031AbjGUPyC (ORCPT + 99 others); Fri, 21 Jul 2023 11:54:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230416AbjGUPx4 (ORCPT ); Fri, 21 Jul 2023 11:53:56 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADA80269F; Fri, 21 Jul 2023 08:53:29 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 23F203200990; Fri, 21 Jul 2023 11:53:05 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 21 Jul 2023 11:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1689954784; x=1690041184; bh=9h Pn0vqDK5F4Kupt89UUmDtLQIxvFCQKDf5jwCD/rVE=; b=YMTYZo67fySHWULO6E Ynw7vXR6QCHo3+LO1PXJmKQY3h3qEKR13mS1vI4jsW4yMLYZeLbQGOLXvavWpj/v BT44AHcfYxke0EeNWldO3HHGdVnU+FiBq6YnIpLKpr6B/IFxafXKtmX7mqKrnfy5 bFa2jcPjAltL8ugcQlMCAf1XVcvKMDdQedMdgSlfG1uqwKMUmLt1UA0WSLTKGn/i nRji/7rpZ7SPplPbtPjPGP8tAmFVHRN2c3oFX/f1V8865xnXUa1sBzgBd8+7dlzU vlp29bqlKC5FVTUeowk3uR73JjVmMMXPnckfJCcTujtx2QXFJE07p+oPjFoah1lb 86vQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1689954784; x=1690041184; bh=9hPn0vqDK5F4K upt89UUmDtLQIxvFCQKDf5jwCD/rVE=; b=oneOUSr63ErkU897PPGwDKKr7BkXX U02UoooSEW86a8ho9bKWMp8x6aej4JeA9IbiSCk6KdZgU+z8bsfyF83yONYxJOmQ LDb6nNOuP5COmmiXDi89AQgmBgq8WJqgWKslJmPyuZ9hgq3/IFnRoIuNbObRMrqK 8/CFDzrO+OiiLbO3mYCzWIt7/ZeIWUck7Vc7ePH50vfPo4hkXqTiLQlLyJJXZXj4 hFC09ws2BTQZGDSbIGjLfcD882P6wEQca1KeLh/+GDA8dOzIOt736oqPYoylu/tk e0FEQ1oS76OUIHYBg1FwZBBgCc5MYCEK2XsOi3EWX8W2srf+9JkcvFYgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrhedvgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 440A2B6008D; Fri, 21 Jul 2023 11:53:04 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 Mime-Version: 1.0 Message-Id: <4f8ce95e-99ac-40e0-9827-292ef0f67906@app.fastmail.com> In-Reply-To: References: <20230714174438.4054854-1-robh@kernel.org> Date: Fri, 21 Jul 2023 17:52:44 +0200 From: "Arnd Bergmann" To: "Thierry Reding" , "Rob Herring" , "Olof Johansson" Cc: "Sudeep Holla" , "Cristian Marussi" , "Shawn Guo" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "NXP Linux Team" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Florian Fainelli" , "Broadcom internal kernel review list" , "Dinh Nguyen" , "Jon Hunter" , "Michal Simek" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] firmware: Explicitly include correct DT includes Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 21, 2023, at 17:14, Thierry Reding wrote: > On Fri, Jul 14, 2023 at 11:44:37AM -0600, Rob Herring wrote: >> The DT of_device.h and of_platform.h date back to the separate >> of_platform_bus_type before it as merged into the regular platform bus. >> As part of that merge prepping Arm DT support 13 years ago, they >> "temporarily" include each other. They also include platform_device.h >> and of.h. As a result, there's a pretty much random mix of those include >> files used throughout the tree. In order to detangle these headers and >> replace the implicit includes with struct declarations, users need to >> explicitly include the correct includes. >> >> Signed-off-by: Rob Herring >> --- >> drivers/firmware/arm_scmi/driver.c | 4 ++-- >> drivers/firmware/imx/imx-dsp.c | 1 - >> drivers/firmware/imx/imx-scu-irq.c | 1 + >> drivers/firmware/imx/imx-scu.c | 1 + >> drivers/firmware/mtk-adsp-ipc.c | 1 - >> drivers/firmware/raspberrypi.c | 1 + >> drivers/firmware/scpi_pm_domain.c | 3 ++- >> drivers/firmware/stratix10-rsu.c | 1 - >> drivers/firmware/tegra/bpmp.c | 3 +-- >> drivers/firmware/xilinx/zynqmp.c | 1 + >> 10 files changed, 9 insertions(+), 8 deletions(-) > > Not sure about the other maintainers, but I usually pick up > firmware/tegra patches up through the Tegra tree and then they > ultimately go through ARM SoC. > > Arnd, Olof, does it make sense for you guys to pick this up directly? Sure, I was going to suggest the same thing. Rob, can you send the patch to soc@kernel.org assuming nobody has objections? Feel free to send this together with the bits for drivers/soc, drivers/bus, arch/arm/mach-*/ and anything else that usually gets merged this way. Arnd