From patchwork Wed Mar 1 21:49:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravana Kannan X-Patchwork-Id: 13156541 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 675B6C7EE30 for ; Wed, 1 Mar 2023 21:50:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbjCAVuD (ORCPT ); Wed, 1 Mar 2023 16:50:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjCAVt6 (ORCPT ); Wed, 1 Mar 2023 16:49:58 -0500 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 943D0367F0 for ; Wed, 1 Mar 2023 13:49:56 -0800 (PST) Received: by mail-yb1-xb4a.google.com with SMTP id 190-20020a250dc7000000b0074747131938so1784304ybn.12 for ; Wed, 01 Mar 2023 13:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677707396; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=4RECI28gZMH42xFUmeyPKXZCKhhTKa9MVymREOSN0hE=; b=T+pFFGwgPa4pI0wvbgJ5Nv1XTD6EzJ980GZ2CigJCMiXo/2H5AX2iP09w37S8IkDjs fKurysuLB9rmkvZMmooNXV33jeMaXBLYE+5q5Hd3LoaMckW1hbMyXwpg/jW00gJz8UvF XFYJqb8SbTGqi0KRJmYp9lbhlAPBOuwHK9/+l/NS4grrK6z11GVzoj/jdA5tf4L8oGCw 68Yk/Wz6Tlqn1Xwc2FN6OogUeAXezh7Ih9ks48KB0WwQdmIv9vQbpEF4U7gQHfJXcVKT 51y6dDi03TLct9Z3/7qP68F9zjaGT7rZKFKlLOUKzTf5HC359WvrKA0LAIEq8HeYF3NA NkCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677707396; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4RECI28gZMH42xFUmeyPKXZCKhhTKa9MVymREOSN0hE=; b=mxbgrSUYS91uDS5oRKiaoduA2bHGs+hbU3QaQ40hsVopnC26pB7Wozz+p2Bn53GbWS KhxR9WexUWb0Vv4i2uJymgMnH2iWhoCGNdlnW3MtiX67rxz99q1I9kWK5Jww0GqSKdMU VwXfC77ThtZeZh5o/C9Yphu08BSdR7cfxIT2p11tM/VEsYF5T3vqqXye1Lc9q2K40EWl Rrbkyp42hiNRDxaIS0mT6TlhT2hosshFeZLXTfDbMhm4JMUez/Whfm4F8AEub0G8rvb/ asWj8Op+HI5ykhxJDX0xa6gTc3ubTZVNUlORZ0FEi5ASp9i8lyUxWzLwQXNEUNrf7dPj X/JA== X-Gm-Message-State: AO0yUKVWjVYS1OpGkVMSlaBHQEVDV3Xkm+K21DxLnUOzXttpPruWXhca IbKKtPbjXizWS0qX3b6Qjom090bxm4xV6bM= X-Google-Smtp-Source: AK7set9qQzjT7IWidSbI9GPtE0+6SsLSf3v2Z8moxU6S0G3hx6ZtJgjiUAecBGiGtoIpLuPquRTIbXuK7rxyQ4w= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:debf:1aed:5c45:c92]) (user=saravanak job=sendgmr) by 2002:a05:690c:f0d:b0:52e:e8b1:d51e with SMTP id dc13-20020a05690c0f0d00b0052ee8b1d51emr7909315ywb.1.1677707395850; Wed, 01 Mar 2023 13:49:55 -0800 (PST) Date: Wed, 1 Mar 2023 13:49:47 -0800 Message-Id: <20230301214952.2190757-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.39.2.722.g9855ee24e9-goog Subject: [PATCH v1 0/4] Remove use of fw_devlink_purge_absent_suppliers() From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Heikki Krogerus , Guenter Roeck , Andy Shevchenko , Daniel Scally , Sakari Ailus , Len Brown Cc: Saravana Kannan , Yongqin Liu , 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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(-) Tested-by: Fabrice Gasnier