Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4173430ybz; Tue, 28 Apr 2020 07:00:06 -0700 (PDT) X-Google-Smtp-Source: APiQypKROwQS0zZZsYwNp33XkKYLa6OpFl9DUe2t1B3gO5EnsX2LCgPk/col94yAyg6MoVR8sWzP X-Received: by 2002:aa7:df0a:: with SMTP id c10mr22662658edy.306.1588082406331; Tue, 28 Apr 2020 07:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588082406; cv=none; d=google.com; s=arc-20160816; b=bjxMTnzzLZrBdONbRX/gRPr2ggF1hJhj4zQFpQ5fjTH8Ecq258BDmnFtZt5B44cJ1M Gaqvzo0AnidAjd4wRdf1g15L8hpe5DjtGSKCHXgzOR9DyDM+aiPHjF935+wmf4TeTPx2 iRTA7hNFxT5jcr9a8RperVIXm7BOZjFEcNkGMZ6ChXMyv2Gu8JrrGcCXuv8019vFqiTQ L8fG7SSru81o1W65eVxbFde497+39cxp89YwYFwE1IvbKyVilEggm2PDi5CkFX91VW43 GWeFnyqcMbMdhQQ+6RnIbwZCUfCvsx3N96VK96kkO/swGCvsf/CASPnDXvfAU/Zus0Qu GMog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=ACDqhGF3gHejimPhwg0pMmJSXBeypHHjufqwWuilViY=; b=MHIH+vh/tVDdpEXNpIoP1JbbdCk1GMpcDr4+YYbuE2GXWyku89AR16vTuGfOLGv+BE 9EEdzOpMCQOHj1BkrysN/VJVoHsbQAo3fyemvbkqaj0DU2RNHCQ/h+9BNg4WutRglZ1u Q0Dmcs6cHD8Joz14mmCHbtWL6ABhqF7z85sabzQA5Kix+5e5LMSNJO1ijAXNhjTubVBy 8MdVwhBdP9TStKvTobEwpYXoFr0wHnQvxcBgzu/XC/CxB4/UC8INMCB77UxLnmpFrR5m +YIl4tpViF7rDy9HnE7QCDf3PZ282eRTDLSw3S4v4pEm+Egj2D7+p5NF74x7YwuityFZ 7PBQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si1723739ejx.485.2020.04.28.06.59.43; Tue, 28 Apr 2020 07:00:06 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbgD1N6E (ORCPT + 99 others); Tue, 28 Apr 2020 09:58:04 -0400 Received: from mga12.intel.com ([192.55.52.136]:27104 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbgD1N6E (ORCPT ); Tue, 28 Apr 2020 09:58:04 -0400 IronPort-SDR: /74rwQnrjotUXmDSSHPMkq3HGA+2Snwij6E047qaHy1ZXISuL0w13MlSuJMLEbnlFqw0ArDLgZ CB/UZ/E7dOcQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 06:58:03 -0700 IronPort-SDR: a32MKs1Vc4Ev+5F+oxdlzBOXniz5YLkYcl5nVoILGCbw18YTPY7day0GsxsDV7PMwMEoh9s9rX r1jtTbxK5XnA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="432192414" Received: from marshy.an.intel.com (HELO [10.122.105.159]) ([10.122.105.159]) by orsmga005.jf.intel.com with ESMTP; 28 Apr 2020 06:58:03 -0700 Subject: Re: [PATCH] firmware: stratix10-svc: Drop unnecessary checking for and populating /firmware/ node To: Sudeep Holla Cc: linux-kernel@vger.kernel.org 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> From: Richard Gong Message-ID: Date: Tue, 28 Apr 2020 09:14:25 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200428083238.GA21288@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > But this driver is the only one duplicating the codethen Commit 3aa0582fdb82 should be extended to handle firmware which is not defined under the root node. I am not sure if it is doable. > Regards, Richard