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 F212DC7EE33 for ; Thu, 2 Mar 2023 09:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229933AbjCBJVX (ORCPT ); Thu, 2 Mar 2023 04:21:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbjCBJUz (ORCPT ); Thu, 2 Mar 2023 04:20:55 -0500 X-Greylist: delayed 409 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 02 Mar 2023 01:19:52 PST Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1942B136D4; Thu, 2 Mar 2023 01:19:51 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id EBA22F26EF; Thu, 2 Mar 2023 01:13:01 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ikHPNBsCrCUU; Thu, 2 Mar 2023 01:13:00 -0800 (PST) Message-ID: <2a8e407f4f18c9350f8629a2b5fa18673355b2ae.camel@puri.sm> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1677748380; bh=r48wB6y4CBJwYtBteM3rF7T/sJ4KdxxhAPNNK5Gf/Ec=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=oTNCEeRcVfcNOWLo+JTxt1El60vDjbozFzialHRHif8ZThhebi85cAbmlfjM9g9oY ByM6aVQf7vFb+mzQIJKpOBu3VzzVKjOM2S+iAw4c94Z+uIDm1/R8qipRW6e/0J/R7G kBHPE1h7tcXrYmf5O2nK+4YNEvGxTUQ8nWXWF3g6qGbIjWtse1P64ANqW9aAjFCvSL ewaCdj3PRXSCKbZNrKmvKtM2jvjh34ktPqDl+X7/mEaHjWxKJX12kCqShMj+C//fed SF6g+JLB+Qjj158JpSOr1kWvEaapC+bgYH34zPPR60SIYN9PDBxIaQwnk3taOkYZty uC/xo/AfgJ4Cg== Subject: Re: [PATCH v1 0/4] Remove use of fw_devlink_purge_absent_suppliers() From: Martin Kepplinger To: Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Heikki Krogerus , Guenter Roeck , Andy Shevchenko , Daniel Scally , Sakari Ailus , Len Brown Cc: Yongqin Liu , Sumit Semwal , Amelie Delaunay , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-acpi@vger.kernel.org Date: Thu, 02 Mar 2023 10:12:54 +0100 In-Reply-To: <20230301214952.2190757-1-saravanak@google.com> References: <20230301214952.2190757-1-saravanak@google.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, dem 01.03.2023 um 13:49 -0800 schrieb Saravana Kannan: > 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 hi Sravana, I picked the 12 commits leading up to commit fb42378dcc7f ("mtd: mtdpart: Don't create platform device that'll never probe") ( https://source.puri.sm/martin.kepplinger/linux-next/-/commits/test_fw_devlink ) and included the tipd patch below to test it. With that, I get the following errors: [ 0.237931] imx-uart 30890000.serial: Failed to create device link with regulator-gnss [ 0.334054] nwl-dsi 30a00000.mipi-dsi: Failed to create device link with regulator-lcd-1v8 [ 0.346964] nwl-dsi 30a00000.mipi-dsi: Failed to create device link with backlight-dsi but they are independent of this final tipd patch below. I'll test a real linux-next tree soon, for completeness, maybe I missed something? Anyways, on that tree, your tipd removal patch breaks type-c still for me, imx8mq-librem5.dtsi just to give a first reply quickly... thanks, martin > > 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(-) >