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: 13156536 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 0403BC7EE23 for ; Wed, 1 Mar 2023 21:49:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229509AbjCAVt6 (ORCPT ); Wed, 1 Mar 2023 16:49:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjCAVt5 (ORCPT ); Wed, 1 Mar 2023 16:49:57 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 943063646D for ; Wed, 1 Mar 2023 13:49:56 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id h3-20020a25d003000000b00a1a201a745aso1802563ybg.22 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=CbY8JU7ZL09HgEmwXBb3j/dYc+Vd8MjptrczP0HlN2KKkD+oZM05VHTtHtY3fpT1tA Z/F2UPMPdZBlNYL3z/t503xcA+D+Nj3ysmlh5HYThgqf9+p+bSmyi+Vn+KBWPXj0fiEX xRG1YXvtFR5fWsWAB0Troju0DH5tv9x8gHxWHbaFhu2DEfKzI2sUPzQhGy+NsP2Fzerm yktHkwI0AfKKzMaus8hZxpSuNp2PD1q1S7N4HLIiUCkchPyITX8BjC/GZLE1yzX3nZn0 FRDxGd5075kwPDHLhDORCUk5Dv3pkOBHVJQGhKKCOA8kVZr7NdgiEUmbGouKWKplU3ez lFeg== X-Gm-Message-State: AO0yUKWwfaOSLZZuNueIUcauXylXiUveL2lmkxclS98zQzwdmQY1EhnF OHVw41LRzkLJ7i96oqw6+GwK8TN6rR8S58o= 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-acpi@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