Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4192928ybz; Tue, 28 Apr 2020 07:16:33 -0700 (PDT) X-Google-Smtp-Source: APiQypK1X51vqMuKCCVF72y/+xiCXMNyBQfHqFjPZQx4g754bBD6xqrkvYwehUuLtz37pVElEaA9 X-Received: by 2002:a50:951c:: with SMTP id u28mr22056357eda.310.1588083392917; Tue, 28 Apr 2020 07:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588083392; cv=none; d=google.com; s=arc-20160816; b=ZaF5rP3VMx2B6zwoNJqxv4hVrLS60M0JM9G1pMFNm4qBU0WnF2PU1PWPUYqmtB6ZRK jL23wgY5QA7Py/7PBBDO4qfGlQfyMNx+oGbPWL3+IDXdBQvpQGzbtiKYU8mtWmBBlSZV Mnh0ZGKj7rJdH1wjS5twMHM+5jJHEvNSpg1kbAl47eDEa0+PP592Ji34ixxf/z/TFSzY H8asIln0oa09jifNy8UuhtBY2RErwAzBPAbD1qzMobv2VX32c6NKJDkN5kq+wZeh55yg shKQq3JHuHmAvByIqfDKnIG2w9OUcjUEwRtXRscE+wkFH1ahZaLzixuN6Xfa9ASVt4iZ zuKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/1THEj4x75LrZlwkccG8mexDX1ACzrnhLbguvaYyCS0=; b=jLxWGnp4ICM2xcKUIVPB5L081SZYHBDRJZxPxl3N8otbkf77Cy775WMK+L46zdpkes ChuzY8NqoXfAAkyVdI++EBGH92y1JpvJqPCrPyV9xSjkjfDYmQRThG9N/Pe7IoE04rH1 Ot3F8eWoBo5VdJWAwEoSftTEkGqW4vBYgxtWN4IcLj0drh4zqI9rOVoNGlo+ljMYLDnz 0+2PYO0W1FB29aPeE3WBtTJQZ9FZhIlFFq3we8+xTbSFMG+EGHXiUJ/VhayelupX/Wu/ 5tanEZ+CLwI4Y2udu81DLmY9gd0Bkf1V2nVyMtJDVYPMpVEGPYhlQE9pBr3bsEEAr3Xq iNVA== 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 c13si1878139edq.97.2020.04.28.07.16.04; Tue, 28 Apr 2020 07:16:32 -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 S1728085AbgD1OML (ORCPT + 99 others); Tue, 28 Apr 2020 10:12:11 -0400 Received: from foss.arm.com ([217.140.110.172]:52556 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726949AbgD1OMK (ORCPT ); Tue, 28 Apr 2020 10:12:10 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 70BA131B; Tue, 28 Apr 2020 07:12:10 -0700 (PDT) Received: from bogus (unknown [10.37.12.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 667233F68F; Tue, 28 Apr 2020 07:12:09 -0700 (PDT) Date: Tue, 28 Apr 2020 15:11:58 +0100 From: Sudeep Holla To: Richard Gong Cc: linux-kernel@vger.kernel.org, Sudeep Holla Subject: Re: [PATCH] firmware: stratix10-svc: Drop unnecessary checking for and populating /firmware/ node Message-ID: <20200428141148.GA11737@bogus> References: <20200421173256.34897-1-sudeep.holla@arm.com> <8ca3666f-8ff1-3c3c-d40b-81c024b37bdd@linux.intel.com> <20200423081149.GB18538@bogus> <2b2e29ec-ebbf-3ee6-acc9-3722a2fabbfb@linux.intel.com> <20200428083238.GA21288@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 09:14:25AM -0500, Richard Gong wrote: > Hi, > > On 4/28/20 3:32 AM, Sudeep Holla wrote: > > On Mon, Apr 27, 2020 at 02:12:56PM -0500, Richard Gong wrote: > > > Hi Sudeep, > > > > > > In our dts, firmware is not under root node. You can refer to > > > arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi for details. > > > > > > This is why we need check and populate firmware node. > > > > > > > Ah that's bad. One of very few DTS I see firmware node not in the > > root. > > Per the Devicetree Specification, there is no need to define firmware > under the root node. Some examples are fsl-ls1012a.dtsi and > hi6220-hikey.dts. > Yes I checked that before I replied, otherwise I would have asked to change ???? > > But this driver is the only one duplicating the code > then Commit 3aa0582fdb82 should be extended to handle firmware which is > not defined under the root node. I am not sure if it is doable. I agree, I need to take a look at it again. -- Regards, Sudeep