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