From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56F27C433EF for ; Fri, 24 Sep 2021 11:50:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3822A610F7 for ; Fri, 24 Sep 2021 11:50:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343717AbhIXLwI (ORCPT ); Fri, 24 Sep 2021 07:52:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343710AbhIXLwH (ORCPT ); Fri, 24 Sep 2021 07:52:07 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91C1C061757 for ; Fri, 24 Sep 2021 04:50:33 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id g41so39152973lfv.1 for ; Fri, 24 Sep 2021 04:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=uWdMrY7koAR2hpcHNFqqG1zCoSd5p/Jjf5CeHKm4H8l1Hoam97B8JMcNypK9PrXOhA hNxHVQ/YTznhHJQME/HliSyIBBgkodP6GzSZg//VXVhavJdmPeBFgf9HdUTmbHQ9BJth qcbdPTeGL51PkKvu5yPfEV1Otx187LgYJ6s55ErkWzgKRNJT26cth4umeN4HCyjmBIOu fW1AxvMgrbc8JUze20zR4QlXYWBys49aRQw8fQ81+CYXLNVeLqqbUhvXVdRG9osRugRF oL4VAp/pniJDex748IlaewwcsX8L4K4vKHW/YV8rfk6hWwTCs2IvQnmo1zNAxf1CbHiw o1cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=QttzwDJ2XkeX/ErjlIe3O8B5oajhSr26pYL4PQ4pfFhcvglCsFW+s2Fhpeoa7Xsxd7 hl66Ww8bknJnzNNZiWYIjEUWrzpSb9cvvs9h9JOCey87Hd0USNpxWHcqAmVU2dEtNHdb 04LSyx7VhGSUmDeOoADzTyki+UzESpSLh7gA1QMNVMuBv2C0kNUgdqGmjhUnwqGQkCwa btEF7/z+w7sEwyyEn6ehK4EJKJijs1QI/q7jfVnvKYkTb5Jd4bWqye6DEEn9b5g0ZQM+ 5YarkSxLbx7QpR43oQDqF871TDLhCj4XAAs62PJUYqboNOMq+H3y4M3uYlJzIVyW9ufE W9OQ== X-Gm-Message-State: AOAM530V49dwkO6Lps88Ovdfxtx10cCykrmEWu8MYnxCD6lhsyS4g2Yd 8iNy/Ku/K5j1GR7+ukpy2E6WLhGp3Gk68IkBMHZhtA== X-Google-Smtp-Source: ABdhPJzT8CwjX6XkyqPrbzpNsUJn1D9zAENUSGXKVEkEMrS8jHcKlaUoEVK6FxOCzgq/WxRmjBV5Scn9f5DRr3Vp/tM= X-Received: by 2002:a05:6512:2397:: with SMTP id c23mr8894593lfv.358.1632484232104; Fri, 24 Sep 2021 04:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20210904000543.2019010-1-saravanak@google.com> <20210904000543.2019010-2-saravanak@google.com> In-Reply-To: From: Ulf Hansson Date: Fri, 24 Sep 2021 13:49:55 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] drivers: bus: simple-pm-bus: Add support for probing simple bus only devices To: Saravana Kannan , Rob Herring Cc: Russell King , Neil Armstrong , Geert Uytterhoeven , Magnus Damm , Tony Lindgren , Catalin Marinas , Will Deacon , Damien Le Moal , Android Kernel Team , Linux ARM , Linux Kernel Mailing List , linux-oxnas@groups.io, Linux-Renesas , linux-omap , linux-riscv Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Sept 2021 at 13:01, Ulf Hansson wrote: > > On Sat, 4 Sept 2021 at 02:05, Saravana Kannan wrote: > > > > fw_devlink could end up creating device links for bus only devices. > > However, bus only devices don't get probed and can block probe() or > > sync_state() [1] call backs of other devices. To avoid this, probe these > > devices using the simple-pm-bus driver. > > > > However, there are instances of devices that are not simple buses (they > > get probed by their specific drivers) that also list the "simple-bus" > > (or other bus only compatible strings) in their compatible property to > > automatically populate their child devices. We still want these devices > > to get probed by their specific drivers. So, we make sure this driver > > only probes devices that are only buses. > > > > [1] - https://lore.kernel.org/lkml/CAPDyKFo9Bxremkb1dDrr4OcXSpE0keVze94Cm=zrkOVxHHxBmQ@mail.gmail.com/ > > Signed-off-by: Saravana Kannan > > Tested-by: Saravana Kannan > > Tested-by: Ulf Hansson Saravana, Rob, I have been following your latest discussion in this thread - and it looks like you guys are moving towards a consensus. Although, if there is anything I can do to help to complete this, just tell me and I will jump in immediately. [...] Kind regards Uffe From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DC8AC433F5 for ; Fri, 24 Sep 2021 11:51:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0F2C610F7 for ; Fri, 24 Sep 2021 11:51:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E0F2C610F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uA8B2K4Ls3eDxtNg+Gca+x8D7AmFqWk//zP7YC9stwc=; b=Y8SJtQSbZuTwzm +IdRxNNb9VFnN2xN0vjfu7pSGa0ptMWhi54jFcsyr0BUgXqDU6VTf1RzmPKVF+T0G80mzSKQFE2JV zPu0CKOsx4DqHczGQXWYvdil2XVDCzPw982M3UbryCptQEa99UMG8mHHlqHA5bxXT1pmzsujdHHaI pvN9qfT4JmMq0h/q/bw+wJT84YGd9hKx06fU+Uen7m+WtHblbfawMJfcArUqRvCjZhsEzchh7BX99 ziQEKcVnioJp6hsm85KbKs/lHiCHnLKzT6wUl7wiTLYGkJUy5qch0dCIZ1QhS7ugcPaJ3Dm8/6tYs A/Z0Pp5r2znUjbtBZgdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTjjA-00EEoO-Fl; Fri, 24 Sep 2021 11:50:52 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTjit-00EEjj-RM for linux-riscv@lists.infradead.org; Fri, 24 Sep 2021 11:50:37 +0000 Received: by mail-lf1-x135.google.com with SMTP id i4so39289462lfv.4 for ; Fri, 24 Sep 2021 04:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=uWdMrY7koAR2hpcHNFqqG1zCoSd5p/Jjf5CeHKm4H8l1Hoam97B8JMcNypK9PrXOhA hNxHVQ/YTznhHJQME/HliSyIBBgkodP6GzSZg//VXVhavJdmPeBFgf9HdUTmbHQ9BJth qcbdPTeGL51PkKvu5yPfEV1Otx187LgYJ6s55ErkWzgKRNJT26cth4umeN4HCyjmBIOu fW1AxvMgrbc8JUze20zR4QlXYWBys49aRQw8fQ81+CYXLNVeLqqbUhvXVdRG9osRugRF oL4VAp/pniJDex748IlaewwcsX8L4K4vKHW/YV8rfk6hWwTCs2IvQnmo1zNAxf1CbHiw o1cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=LhmRsPyU5KlhJ9cyhoEMdMNHyekbQLwUBmlmVOBBkD0bSbYXKdzk3jeYjZkvhwFKUO NrX9o22q6+lWVjPYSEN7owFk+WhSeLxOCzsy490wPhmcUp7QekWSGUtSAwrkpReIZTI9 +1FD9Ol4VR8Zh8lgGGh8wvsPJP2cdosZgHEmDd1NYKGjR6M0tCGWAbPBS1MaKJnbrUJO 3/ygytF5APDm7Oou+oCHJDIKMCcvvuOIwDSD0KrL5pIain6WFNEC69wtM2bmOK6IkmsF JAQ7BgQxjNhPHFYzoUmB7Dk0mo9fYXmEAvTqXj+HlKiaEkIbfpLBIkG8bEuDi0nU7zHr fQTg== X-Gm-Message-State: AOAM532NIy8vUpmB/4mK9lTo2f+k+X0hPt0Zq2LGJ0DgPz5mErj1Ub15 9UlPlLXT3BuG3WDpNIwswAfGxEWSiC8LSoFWVwFHBw== X-Google-Smtp-Source: ABdhPJzT8CwjX6XkyqPrbzpNsUJn1D9zAENUSGXKVEkEMrS8jHcKlaUoEVK6FxOCzgq/WxRmjBV5Scn9f5DRr3Vp/tM= X-Received: by 2002:a05:6512:2397:: with SMTP id c23mr8894593lfv.358.1632484232104; Fri, 24 Sep 2021 04:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20210904000543.2019010-1-saravanak@google.com> <20210904000543.2019010-2-saravanak@google.com> In-Reply-To: From: Ulf Hansson Date: Fri, 24 Sep 2021 13:49:55 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] drivers: bus: simple-pm-bus: Add support for probing simple bus only devices To: Saravana Kannan , Rob Herring Cc: Russell King , Neil Armstrong , Geert Uytterhoeven , Magnus Damm , Tony Lindgren , Catalin Marinas , Will Deacon , Damien Le Moal , Android Kernel Team , Linux ARM , Linux Kernel Mailing List , linux-oxnas@groups.io, Linux-Renesas , linux-omap , linux-riscv X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_045035_917434_40355E00 X-CRM114-Status: GOOD ( 17.89 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, 9 Sept 2021 at 13:01, Ulf Hansson wrote: > > On Sat, 4 Sept 2021 at 02:05, Saravana Kannan wrote: > > > > fw_devlink could end up creating device links for bus only devices. > > However, bus only devices don't get probed and can block probe() or > > sync_state() [1] call backs of other devices. To avoid this, probe these > > devices using the simple-pm-bus driver. > > > > However, there are instances of devices that are not simple buses (they > > get probed by their specific drivers) that also list the "simple-bus" > > (or other bus only compatible strings) in their compatible property to > > automatically populate their child devices. We still want these devices > > to get probed by their specific drivers. So, we make sure this driver > > only probes devices that are only buses. > > > > [1] - https://lore.kernel.org/lkml/CAPDyKFo9Bxremkb1dDrr4OcXSpE0keVze94Cm=zrkOVxHHxBmQ@mail.gmail.com/ > > Signed-off-by: Saravana Kannan > > Tested-by: Saravana Kannan > > Tested-by: Ulf Hansson Saravana, Rob, I have been following your latest discussion in this thread - and it looks like you guys are moving towards a consensus. Although, if there is anything I can do to help to complete this, just tell me and I will jump in immediately. [...] Kind regards Uffe _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D33E2C433EF for ; Fri, 24 Sep 2021 11:52:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CC1A60FA0 for ; Fri, 24 Sep 2021 11:52:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9CC1A60FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mpicaOpndhjAPth3hEAiLuHvmdx0mUo6hfMtN8WkCmw=; b=WH9KywGDW/j/Ff 3Z6/zB8ubrDsPt7c4Siz5bcqU5jn2d5qjVWv1gC6efNKWarMdIKsB5aqbKcr2wmfXYaaho9b76HLU zdopt9mTLPXwbM9ffLiSbmfT+gLt1thCQ0SqpLle3a2LuOU0fNPDh8ZRVbx1aEW9NHsfWk+pFhvlR zZbXYpI3FQ+arBdCytWff7ME2Hmxpsycsik8/LDIcrOHuWtEl9OoKQjNoCH2NN+FoUTOC/4a2oStX x37OPdvyF8mMAw4Fl/YBJHeJ1xQc7bdpDnVboAMEGXN9SCL5/eFlg8BXM6uGp6MMiDAaYwybTzjVT /IZjve05qn1DEQDYSUvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTjiy-00EElY-8U; Fri, 24 Sep 2021 11:50:40 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTjit-00EEjm-R7 for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 11:50:37 +0000 Received: by mail-lf1-x131.google.com with SMTP id g41so39153013lfv.1 for ; Fri, 24 Sep 2021 04:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=uWdMrY7koAR2hpcHNFqqG1zCoSd5p/Jjf5CeHKm4H8l1Hoam97B8JMcNypK9PrXOhA hNxHVQ/YTznhHJQME/HliSyIBBgkodP6GzSZg//VXVhavJdmPeBFgf9HdUTmbHQ9BJth qcbdPTeGL51PkKvu5yPfEV1Otx187LgYJ6s55ErkWzgKRNJT26cth4umeN4HCyjmBIOu fW1AxvMgrbc8JUze20zR4QlXYWBys49aRQw8fQ81+CYXLNVeLqqbUhvXVdRG9osRugRF oL4VAp/pniJDex748IlaewwcsX8L4K4vKHW/YV8rfk6hWwTCs2IvQnmo1zNAxf1CbHiw o1cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kEt2247V9zfkMmq1F9RlST40QLwr3RwE9wMC0mnatTk=; b=xMyZb/dD8psu00b12bNUzwlhtXIQiifatkNdmOiuwRkPQD1Pm8MvpDACiHlwQcL3Gr ti6Ge8GGp7G7oUxou3+AiJBkbkGo2+GjnHChrUtUyK5p4nX6fwBdAPC97fOR62kBvEGF 2aA8j3bN+W+aeHAxmhx+VifY7/3Nt3AAdXJXq6YYHdMC2srYOvuGdUH3gqzJPWUfMfAR ZiBCHdQCJfzVEkDlWuH/ewEoSD/ANrIafvqmnXKAAOndesKp0dn4oUYQJpuluP8CKWyi YYkfXiygyI19WA/NIqYZzNtt0wNuGcFkFuM9r8afk+bajgNlatdJ7kZDymBCgEc5PIT1 8b3A== X-Gm-Message-State: AOAM5306N30PVY+VtiJKBOs/MTZK7amezNJTiwIjPggUiEpMpg+e85hZ VyB8d6aYu/PIN44vq2PR11oZCccfZIL4W+J3COnlsw== X-Google-Smtp-Source: ABdhPJzT8CwjX6XkyqPrbzpNsUJn1D9zAENUSGXKVEkEMrS8jHcKlaUoEVK6FxOCzgq/WxRmjBV5Scn9f5DRr3Vp/tM= X-Received: by 2002:a05:6512:2397:: with SMTP id c23mr8894593lfv.358.1632484232104; Fri, 24 Sep 2021 04:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20210904000543.2019010-1-saravanak@google.com> <20210904000543.2019010-2-saravanak@google.com> In-Reply-To: From: Ulf Hansson Date: Fri, 24 Sep 2021 13:49:55 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] drivers: bus: simple-pm-bus: Add support for probing simple bus only devices To: Saravana Kannan , Rob Herring Cc: Russell King , Neil Armstrong , Geert Uytterhoeven , Magnus Damm , Tony Lindgren , Catalin Marinas , Will Deacon , Damien Le Moal , Android Kernel Team , Linux ARM , Linux Kernel Mailing List , linux-oxnas@groups.io, Linux-Renesas , linux-omap , linux-riscv X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_045035_914444_4849827A X-CRM114-Status: GOOD ( 19.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 9 Sept 2021 at 13:01, Ulf Hansson wrote: > > On Sat, 4 Sept 2021 at 02:05, Saravana Kannan wrote: > > > > fw_devlink could end up creating device links for bus only devices. > > However, bus only devices don't get probed and can block probe() or > > sync_state() [1] call backs of other devices. To avoid this, probe these > > devices using the simple-pm-bus driver. > > > > However, there are instances of devices that are not simple buses (they > > get probed by their specific drivers) that also list the "simple-bus" > > (or other bus only compatible strings) in their compatible property to > > automatically populate their child devices. We still want these devices > > to get probed by their specific drivers. So, we make sure this driver > > only probes devices that are only buses. > > > > [1] - https://lore.kernel.org/lkml/CAPDyKFo9Bxremkb1dDrr4OcXSpE0keVze94Cm=zrkOVxHHxBmQ@mail.gmail.com/ > > Signed-off-by: Saravana Kannan > > Tested-by: Saravana Kannan > > Tested-by: Ulf Hansson Saravana, Rob, I have been following your latest discussion in this thread - and it looks like you guys are moving towards a consensus. Although, if there is anything I can do to help to complete this, just tell me and I will jump in immediately. [...] Kind regards Uffe _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel