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 26B5DC6FD1C for ; Fri, 10 Mar 2023 00:17:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231273AbjCJARt (ORCPT ); Thu, 9 Mar 2023 19:17:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbjCJARp (ORCPT ); Thu, 9 Mar 2023 19:17:45 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E7AA113D2 for ; Thu, 9 Mar 2023 16:17:43 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id 132so2111120pgh.13 for ; Thu, 09 Mar 2023 16:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678407463; 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=Y55T+l/IfTjCYszzbPp698Fcr0D4XjtGiCIDgfvFkg0=; b=GGGeBw2uMvUsuHTfssHrt4nvsmcKhgr6GdOHAcn/hs/w9MS1XDg5m2UFoEwevuoWk/ kZdzjwJq4ithAYy23mDIw9hMEqffNHpveWr0U0BCi3LaIpOPvtDRazQA2adwLL3xVEuI 4xbw3w36l7Tc/gFvZ7ADzoY1elod9gEJeNmunQYw0juQAf3PPK8wuI8FYUOu3aUTXT3d XUMq31BTX2Xtji31A0mvwEVauTtkRccAmsGIl2QH9TqsGitvxc+QNIP67pOMQ83qYl+W 1l/SYEdz+QFPmr+sGDi+bORjjVaFFbdzgQe2/bRauvIBKwqfnFPNMZoRLEfK3+B8jLUm yA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678407463; 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=Y55T+l/IfTjCYszzbPp698Fcr0D4XjtGiCIDgfvFkg0=; b=y5XVcERCSI9Yx5vkfhmh8i7Pyup16qSd5rqdIRKudozbW5Fz5akE68k5t5EuRe0RX+ o18YW3UOEy/R2a3SaXAhOvye0SIIRAOCTdB3j26d9fNAJaPUgJ2e6wu5U9SAxziGN48A QwNkhN+IL1lEFw7kq5kpezQbyqJtVZxmNIDuO1OA6L4g7VgI6lcfYgcOjRHMsxZqtJCB iIjMUfCE+ihurzB8++1QBDVk5+JhpW4jH9/HcfOHQbaHYqWBVVSS303uRDyhwwiZczyG 4HKiRGFGrX123xeO0nK8mt3Lbri9FG2S5a6eGIpnbH0xll/zH3qj2UsYo1wNozz/v2Fn yzyA== X-Gm-Message-State: AO0yUKVsUTpyiSUzEe53/0ALf4IKurJdPTs8Wbe4XllS4XBkY6JcO3hT Za3ZA43kt32QF2vIuiRq30Fl4ZdB3Zj3zNsSsGbtog== X-Google-Smtp-Source: AK7set92DDVjOWKfeLKwM45A4T+HyVX6lNUCVfNJW8njYHTduRXJDj6gJmYe1OxHGI6KMdngasI1DOiBRQUQ5WAWPJo= X-Received: by 2002:a62:1cc6:0:b0:620:1f4c:4b9f with SMTP id c189-20020a621cc6000000b006201f4c4b9fmr795319pfc.6.1678407462746; Thu, 09 Mar 2023 16:17:42 -0800 (PST) MIME-Version: 1.0 References: <20230301214952.2190757-1-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Thu, 9 Mar 2023 16:17:06 -0800 Message-ID: Subject: Re: [PATCH v1 0/4] Remove use of fw_devlink_purge_absent_suppliers() To: Yongqin Liu Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Heikki Krogerus , Guenter Roeck , Andy Shevchenko , Daniel Scally , Sakari Ailus , Len Brown , Sumit Semwal , Martin Kepplinger , Amelie Delaunay , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-acpi@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 9, 2023 at 10:53=E2=80=AFAM Yongqin Liu wrote: > > Hi, Saravana > > Sorry for the lateness, I was just aware of this today. No worries. > I tested with the ACK android-mainline branch + the 12 commits ending > with fb42378dcc7f > + the 4 commits of this series + hikey960 AOSP Master userspace. > The hikey960 Android build could boot to the home screen, no stuck there, Thanks for testing! Can you confirm what happens if you drop the "12 commits ending with fb42378dcc7f" ? Does it get stuck at boot or have some limited functionality? It's surprising that for the same type of DT node, in your case fw_devlink is able to handle it correctly, but no so for Martin's case. -Saravana > > Here is the link of the logat in case you want to check some message here= : > https://gist.github.com/liuyq/6525af08c547cd2e494af5d1c8b181b5 > > Thanks, > Yongqin Liu > On Fri, 10 Mar 2023 at 02:05, Saravana Kannan wrot= e: > > > > Greg, > > > > Don't pull in this series please. It needs more testing from the folks > > I cc'ed and it's already breaking things for Martin. This needs more > > revisions. > > > > -Saravana > > > > On Wed, Mar 1, 2023 at 1:49=E2=80=AFPM Saravana Kannan wrote: > > > > > > Yongqin, Martin, Amelie, > > > > > > We recent refactor of fw_devlink that ends with commit fb42378dcc7f > > > ("mtd: mtdpart: Don't create platform device that'll never probe"), > > > fw_devlink is smarter and doesn't depend on compatible property. So, = I > > > don't think these calls are needed anymore. But I don't have these > > > devices to test on and be sure and the hardware I use to test changes > > > doesn't have this issue either. > > > > > > Can you please test these changes on the hardware where you hit the > > > issue to make sure things work as expected? > > > > > > Yongqin, If you didn't have the context, this affected hikey960. > > > > > > Greg, > > > > > > Let's wait for some tests before we land these. > > > > > > Thanks, > > > Saravana > > > > > > Cc: Yongqin Liu > > > Cc: Sumit Semwal > > > Cc: Martin Kepplinger > > > Cc: Amelie Delaunay > > > > > > Saravana Kannan (4): > > > usb: typec: stusb160x: Remove use of > > > fw_devlink_purge_absent_suppliers() > > > usb: typec: tipd: Remove use of fw_devlink_purge_absent_suppliers() > > > usb: typec: tcpm: Remove use of fw_devlink_purge_absent_suppliers() > > > driver core: Delete fw_devlink_purge_absent_suppliers() > > > > > > drivers/base/core.c | 16 ---------------- > > > drivers/usb/typec/stusb160x.c | 9 --------- > > > drivers/usb/typec/tcpm/tcpm.c | 9 --------- > > > drivers/usb/typec/tipd/core.c | 9 --------- > > > include/linux/fwnode.h | 1 - > > > 5 files changed, 44 deletions(-) > > > > > > -- > > > 2.39.2.722.g9855ee24e9-goog > > > > > > > -- > Best Regards, > Yongqin Liu > --------------------------------------------------------------- > #mailing list > linaro-android@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-android