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 A57C9C678D5 for ; Tue, 7 Mar 2023 04:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjCGEs7 (ORCPT ); Mon, 6 Mar 2023 23:48:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjCGEsz (ORCPT ); Mon, 6 Mar 2023 23:48:55 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D42812BF2D for ; Mon, 6 Mar 2023 20:48:26 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id ay18so7306814pfb.2 for ; Mon, 06 Mar 2023 20:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678164506; 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=STW7qruBhVR0gEyrFVepjZKXX6IzFFtUbDhI7bfVrIY=; b=PgB6iylFvaSMcAvFUkWc7vMWr2tYd/pzwguNtRHcuCPCitwz8CfEYJz+USeraSUQ2O lJ6ULML4JKSR5TwzRPVTsVeNGFUDKKmJ5ZEWExeymkHWkvWFidrAdCMh5dfbU5JbWESp cKuHBCoYrhrlX0ictLZuklrW65c+AncCB0qLwo5/BunD2nNCVuq5xoM9+nqGbqMIWuhc 2H42tC1cemj+Wr1f0LxWn1DaE2PsnQHOvdO6jHMbHg6UDhwL/KbSALxy4nZxXJajxIF0 6tav5oKHkrF2BDh+9b/46vCifW1kZlSEn5IUGRsrD3C+/Hczzk7hYCBR5d3k3ueJqdOX V6tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678164506; 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=STW7qruBhVR0gEyrFVepjZKXX6IzFFtUbDhI7bfVrIY=; b=eI9S/XqAMK45QveqeBkVTXTsUt5Qvn0F3gf3xJkftdcyEjff28KtxQGgILDpmCPZPO Qyh/3a2xCYSTRYfEl2qeSMrgKPglQNHvhldsyHPJOGOTgK68HZrsSSW2Vv0lUjTMqxoJ izMGNIWhsQxcF7SRYwmdKA3g5iKLOQXD2sQqpHMMK1YO7KJGEnmsYsumlYZ6rAIEvOy0 6sZxrwx6E9BsAsybDBcJKqQ/REqCBqOA29/KxSlTKXGvbJKyNOeaZVYeTR3u14TtXcF+ uFrioFX8I/jIbldKkStnIu8gUGz18p4nBxknhxH8RMFdcb6s+ztUaBfg6sru//oNqg+j NAbA== X-Gm-Message-State: AO0yUKV6dAQ54jbPyC2Xe5dTy9kO0V8tpNN0yph03Yvc/ZXpkwVwT21S Y59nctH7Tjw/PgqzxypUIs0M8QhLZEp+tOK3/Py/gA== X-Google-Smtp-Source: AK7set8HvWOKLdo++SGONzexHM/kSOnmjJoguD/k0KVsEHXOSbN45WeBVZ0WOkf9vWu1DFoKUPbcsRqQeMiHcf+SKV4= X-Received: by 2002:a63:af53:0:b0:507:469a:ca54 with SMTP id s19-20020a63af53000000b00507469aca54mr2255004pgo.7.1678164505961; Mon, 06 Mar 2023 20:48:25 -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: Mon, 6 Mar 2023 20:47:48 -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 10:07=E2=80=AFAM Saravana Kannan wrote: > > 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-9d2f736f= 17e5@gmail.com/ > > >>> Cc: Stefan Wahren > > >>> Signed-off-by: Saravana Kannan > > >> > > >> since this fixes an issue on Raspberry Pi 4, shouldn't this be menti= oned > > >> 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 t= o > > 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 Rob/Greg, Can you pick this up for 6.3-rc2 please? -Saravana