Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1574188ybz; Thu, 23 Apr 2020 01:14:12 -0700 (PDT) X-Google-Smtp-Source: APiQypLAIxDZSfDc3vvo5h/HnppRR46vAbooDOAvEJZUyIPfijmgf2Vo5OY8iI7R4zazFE7B78vl X-Received: by 2002:a05:6402:b03:: with SMTP id bm3mr1632681edb.299.1587629652336; Thu, 23 Apr 2020 01:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587629652; cv=none; d=google.com; s=arc-20160816; b=WWI3+Yt0Ks0h85nRi+8W71g+i5lVO9YdrxLGG20sQdJHx4CkpSKYU6lJPn9bOLmW1w jeGOqTFtORwAGp8qK7DheYgb0+/PkTtGLEeUSgHpG/06W8jvz/J4r9BvXhjKa0VC1lTS qG/q7v9qiqrp29IfDkhwVl4MSnHfrx5Gs90JuBhrq8jnmOvD0K8OYNptjMbxl5dVwnGe yXSCMkDx4yAmaXT3fH2y+AETWmshDT1cplrOduHxbQqhq3codM/W/4I9b2QLnJmVx5fz YaN+GkgzWyf32ah3iWosUqfjxageAMnCvcQZ/judsyJJ0pJr3OPLoCYxfy2yQBmELlCj AflA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VNw8v8dZ0+ae3YALignQ/77yc634+izqGM32Qnug3GQ=; b=RpcbWWYfynuB2a0lJICArRMt++Lh3vw2UX8PDLXPYIbNsADqhU1PQrJsvLMJ3n5Xg2 vsgOQIouaF6+qG2LlqNMCiRfQ6E7utUVqZyfzygvphUB99QKy1rCOIuhp13BQLu+wOCq jBgIJg7PDb7vlzax6DjTmjdOxW/yeTVrxQ3IoajLrv8mgF+pHJ6aDwYnb/Na3MLJIx4m srawoE57Vf9ma1+c0SfJ8ELpLtFGuZCvdBnOAznA8+5O8wNDnH2Gsjk7jyNNzjwBy1fj 5vLiTo6WojhmwYSXJ+xeddpIra/rVJ+FrsOu3y5DqIr5ubATpVNz0jnyLH/3uqzHdelw KvAw== 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 c4si808409ejk.442.2020.04.23.01.13.48; Thu, 23 Apr 2020 01:14:12 -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 S1726027AbgDWILy (ORCPT + 99 others); Thu, 23 Apr 2020 04:11:54 -0400 Received: from foss.arm.com ([217.140.110.172]:34710 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgDWILy (ORCPT ); Thu, 23 Apr 2020 04:11:54 -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 6DFE430E; Thu, 23 Apr 2020 01:11:53 -0700 (PDT) Received: from bogus (unknown [10.37.12.118]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6315E3F73D; Thu, 23 Apr 2020 01:11:52 -0700 (PDT) Date: Thu, 23 Apr 2020 09:11:49 +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: <20200423081149.GB18538@bogus> References: <20200421173256.34897-1-sudeep.holla@arm.com> <8ca3666f-8ff1-3c3c-d40b-81c024b37bdd@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ca3666f-8ff1-3c3c-d40b-81c024b37bdd@linux.intel.com> 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 Wed, Apr 22, 2020 at 04:50:00PM -0500, Richard Gong wrote: > Hi Sudeep, > > I tried and couldn't load stratix10-svc driver with your patch on kernel > 5.6. > What exactly do you mean by not loading stratix10-svc driver ? This patch doesn't change that part, the driver should still get loaded. The change may affect probing part if for some reason the devices for nodes under firmware are not populated which I still can't understand. Do you see any change under i/sys/devices/platform/firmware\:* with and without this change ? Lots of drivers removed the code similar to this patch after the Commit 3aa0582fdb82 ("of: platform: populate /firmware/ node from of_platform_default_populate_init()") and continue to work fine. I am interested to see what is different in stratix10-svc. -- Regards, Sudeep