Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4DFFC6FA8E for ; Thu, 2 Mar 2023 18:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjCBSHn (ORCPT ); Thu, 2 Mar 2023 13:07:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbjCBSHj (ORCPT ); Thu, 2 Mar 2023 13:07:39 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A209737578 for ; Thu, 2 Mar 2023 10:07:37 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id y10so10647446pfi.8 for ; Thu, 02 Mar 2023 10:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677780457; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bVufqt2q+1OxmxXvizVLiJnEoIcg0hYQSdi895bILhk=; b=jfgW0mkdIo+66M6yepHxjJnbjVud5yqIQC8vDG9Pn/LBIPcajv22gvOrpN3l6nLvX3 DbdbiHN9YfilFGa6SJ2f4BHhtD0NfhErKqNJe/MJlyWfaYdXKPLdBVbQac5DBUUZojH1 JQHAefreZuFn4LAep+mafMpxQqNLcTh4nc5/v87w4UGW0tQaQ2hePzS+S71JfZicMkWA mFvu+oaimj7VzuSg/fKGT840NPbN9tWGNOHqMVjXpv+clCs70u8CAe1apnD5zQbfpnrp GhxADdc0kAWpuDLxpC9/3/iqC9tNdOH64F1c2QIWhUIYwi4zAWzFbULGjef0YZBs2CiP 33Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677780457; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bVufqt2q+1OxmxXvizVLiJnEoIcg0hYQSdi895bILhk=; b=dL/h/REnSiNGhYF9E0uhOUDZMXkMBPl/uK/7yv5C/FJAeEh9diJN//RCH4IIVBAPiN 7Lb+3lJBLiDDHfhIExVbxdQ6uWyuaDMPKPOK4KluUpgvbpsiuZ34ZUG7Skqu/sLGJ8B6 pKejwMNYkh8XRkZz9hSvvyQIHYoP86wx1Iy65fp0i6Od+eb1kxs8PP2b/NHCAaGxaHEz KKAf4jGE+YPE9TjktoihUyUFUvzj7HkomBSOkqaa0TfCIEEGsda/c7PP5kDBbkJqEalR 0t1uueyBFWW91dALEInHqkQsu3xC8tgUZQbe8P4Wmdgf8ghLZ8orxUlyN1Ab405pHDYS Yn2w== X-Gm-Message-State: AO0yUKVFCJSAQ7yAsHghxM3MpxPY/fNEVNhbPf6QRTsou/6r1HJONm+9 ctotAeUEQMbb4MbTzYCThzPZfPcDJi/Yt4DVy/nXrX5xC+J5r+uwkbE= X-Google-Smtp-Source: AK7set+wJr4ZeaN1idB6Fcp8tiIPrlabfRBjutTrKKHxAjXUMLEp+20opx4fQEeQAeW/CXIdPZ6fMZQ9TwsClnLtryA= X-Received: by 2002:a62:8281:0:b0:5df:9809:6220 with SMTP id w123-20020a628281000000b005df98096220mr4372776pfd.3.1677780456826; Thu, 02 Mar 2023 10:07:36 -0800 (PST) MIME-Version: 1.0 References: <20230302023509.319903-1-saravanak@google.com> <2cc752fb-a25d-0789-0fad-54b99f08ced7@i2se.com> In-Reply-To: From: Saravana Kannan Date: Thu, 2 Mar 2023 10:07:00 -0800 Message-ID: Subject: Re: [PATCH v1] serdev: Set fwnode for serdev devices To: Florian Fainelli Cc: Stefan Wahren , Rob Herring , Greg Kroah-Hartman , Jiri Slaby , kernel-team@android.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 2, 2023 at 9:51=E2=80=AFAM Florian Fainelli wrote: > > > > On 3/2/2023 9:20 AM, Saravana Kannan wrote: > > On Thu, Mar 2, 2023 at 9:01=E2=80=AFAM Stefan Wahren wrote: > >> > >> Hi Saravana, > >> > >> Am 02.03.23 um 03:35 schrieb Saravana Kannan: > >>> This allow fw_devlink to do dependency tracking for serdev devices. > >>> > >>> Reported-by: Florian Fainelli > >>> Link: https://lore.kernel.org/lkml/03b70a8a-0591-f28b-a567-9d2f736f17= e5@gmail.com/ > >>> Cc: Stefan Wahren > >>> Signed-off-by: Saravana Kannan > >> > >> since this fixes an issue on Raspberry Pi 4, shouldn't this be mention= ed > >> in the commit message and providing a Fixes tag? > > > > So RPi 4 was never creating a device links between serdev devices and > > their consumers. The error message was just a new one I added and we > > are noticing and catching the fact that serdev wasn't setting fwnode > > for a device. > > > > I'm also not sure if I can say this commit "Fixes" an issue in serdev > > core because when serdev core was written, fw_devlink wasn't a thing. > > Once I add Fixes, people will start pulling this into stable > > branches/other trees where I don't think this should be pulled into > > older stable branches. > > That is kind of the point of Fixes: tag, is not it? It is appropriate to > list a commit that is not specific to serdev, but maybe a particular > point into the fw_devlink history. I don't want to pick an arbitrary point in fw_devlink as I don't want people picking this up with some old version of fw_devlink and having to support it there. > Given this did not appear to have a > functional impact, we could go without one. This is my take too. Greg/Rob, If you really want a Fixes here, can you please just add it instead of a v2 patch just for that? You can use this commit: 3fb16866b51d driver core: fw_devlink: Make cycle detection more robust -Saravana