Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3952330pxj; Tue, 15 Jun 2021 12:08:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGJaMChn2duMfSUh0uxlel6rZ/R77/Q7YwcZ9a7GumRcHWIn1WdUYkmQfYGswyBtkevhU3 X-Received: by 2002:a05:6402:896:: with SMTP id e22mr1265673edy.201.1623784081623; Tue, 15 Jun 2021 12:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623784081; cv=none; d=google.com; s=arc-20160816; b=SsTc0gu8rs0UpB3qoKagZV6fAKusObDqC0mE78jpEVsaqhUSLmQG4uUviSIEDMHqeE 5eA2js8K3C4xSY0okNysSIG15rTNH4dg2VlI/+HmilKsfvS7ctqlcZUHQti7A0e8UR+g vCMs8QutB3j8pUx5IelAjR92AUrur9gMVyyDUEM9Sch1JShw8JIwyinqn2UuD3LLav5l kQ4DdlQM3KjLQMdcGD9KVZSnjJCG9onIWMe4yJfpWAowyaKdZVc5sbjp74iyz7D5YAFz 2xIcS/LAd1MmkJFXKap/aOKgf9IGLTW81kKGGVEoUW7u4EJHJBSqNxrGlXx3XQ198zDX QZuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=A/aaGMWFGZ2Bau4QDRpBps+jvw53hglCBdw4WtZRV1g=; b=io5vuKodkqk0ipE4DFs6NiCO+q+zrhEp/ihOeKcdYV/aDJZAIycXA0y3tkzSrtDEyI ZVYYwOkgP10r25wi5WMITZZpe4lo8nGf1wbVN22Z5nGA6lrQ2vEP+G3S4BUzwbeXQVrO kjkqVj/ySlBZs8XrqjMvJ2UmZJZA0sPY6pUCMRabK+xbGnHaWJ+N2gDEyAvDImTRv7dU IH8XlYvhxsbbIAoGUuiu2cZinBFmWsbIHve194YOePVoivK9l/FohqioNXj2uOpkRl3X V8Mfw1nb9UC3O/AgOWU2Lf5+KMMz4/iUNigedorPTAXlioP1Bb062OpkSZQL6Onw8J8z 54bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=k0D3mqjy; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=m1X0COef; 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 m27si15909419ejn.391.2021.06.15.12.07.37; Tue, 15 Jun 2021 12:08:01 -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=@kroah.com header.s=fm1 header.b=k0D3mqjy; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=m1X0COef; 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 S231410AbhFOTI1 (ORCPT + 99 others); Tue, 15 Jun 2021 15:08:27 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:52587 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbhFOTI0 (ORCPT ); Tue, 15 Jun 2021 15:08:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 01CA816BF; Tue, 15 Jun 2021 15:06:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 15 Jun 2021 15:06:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=A/aaGMWFGZ2Bau4QDRpBps+jvw5 3hglCBdw4WtZRV1g=; b=k0D3mqjyfwPE5G7i6QauQw1e9chZZGE5grNG0eToCOp pxc9sA9N3+Z/1G7DvyMg/c9dyutiY5bLGN1nAHP/7fHqzr7ATjIc6gW00VlpLtso Xq/urilWHRTDoGlb7G4upmIShR/IwU26vwTHkEMGG97P8m1e+vYcyBAs5p+A95zd 9jRfvBevb/YCAKgy3uxvmGtb0KmW8fnVfWv3wuztfzOfsS8cGh0HGCcqx3pjIUN5 2ka59ld9YBaJYeOxoL52//4FTeulLd39g+2LfUIrnkvo9Tq/p8qW9Xmx1T3c1yfq /oPMOO5Wr2WbKhb1ht6eo4MakZhYNHkBpD16YAX3f2A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=A/aaGM WFGZ2Bau4QDRpBps+jvw53hglCBdw4WtZRV1g=; b=m1X0COef4Wh/KQm9R7md13 s1nD+YxMjQyGdiGMKbkkCjBu237o6KR233R734lGyw/551ohTEh0HeUFdTjkahpT aF30Q5TUbQye8HYTKevmPzmkIl+R6vZqI0eMh/FKk463nEwOqNb08/Ie9QCi6MNH GF6lJlqZdp+E7MhSUhzbBIPE+FkJjdYU/tFvlCxv5robKNtqkJmDwDxjnQcDRlte Bvma/hO2AnWImfU576UqwYc6NY+sBmjtBtbzSsv57sHlPqTYHLdYibAb14Xnt0bi XzR7v+i8jklghjMz7qo4gDKrs0UmJiZ+n9mXbjiM2EYY/uLAw2neNdAUPNdn86fw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvjedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuhe ejgfffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 15 Jun 2021 15:06:19 -0400 (EDT) Date: Tue, 15 Jun 2021 21:06:16 +0200 From: Greg KH To: Siddharth Gupta Cc: bjorn.andersson@linaro.org, ohad@wizery.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, psodagud@codeaurora.org, stable@vger.kernel.org Subject: Re: [PATCH v4 2/4] remoteproc: core: Move validate before device add Message-ID: References: <1623783824-13395-1-git-send-email-sidgup@codeaurora.org> <1623783824-13395-3-git-send-email-sidgup@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1623783824-13395-3-git-send-email-sidgup@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 12:03:42PM -0700, Siddharth Gupta wrote: > We can validate whether the remoteproc is correctly setup before > making the cdev_add and device_add calls. This saves us the > trouble of cleaning up later on. > > Signed-off-by: Siddharth Gupta > Reviewed-by: Bjorn Andersson > Cc: stable@vger.kernel.org > --- > drivers/remoteproc/remoteproc_core.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > Why is this relevant for stable? What commit does this fix? Please put a Fixes: tag for that. thanks, greg k-h