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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9954FC433EF for ; Fri, 24 Sep 2021 20:22: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 62800611C8 for ; Fri, 24 Sep 2021 20:22:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 62800611C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com 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=EfNLuD2FVyv0n3HWQZckVWMBLfNlzlie7UR2BEVZQoU=; b=stIPFdA0NPk1pk 3hHk445ox/NDqRrnsqDHLHl2+T/1Pk0YCmoUyzWJebQ+qXdgGT9ofMEPg/+czAWLanpbMtZQI0BG7 od8jEJ8Cq8FsjTJ9nieHVtWh/h+g658xt75wMDY9sJZiF4e2ZK7b+LSYc2q8ed1uqJvCY1eBuew+u wVQ2xuJhuPFgJhdCffOfOgsLHh4cMQgaybp39MOWDJNUIkDe+jUbYP8RPycDMXOHz/BvkjOA7bHz6 9B7vz7Kjog4YjMeLz8cghRwqpgnrphQdzXvXglFaDWXwCUSVnezFExZrOyh+cWnMzaAu//w3JDDwj VpuXjb9Z34IvQa3Bm/+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTrgg-00FSOu-3u; Fri, 24 Sep 2021 20:20:50 +0000 Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTrgc-00FSNr-MK for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 20:20:48 +0000 Received: by mail-yb1-xb30.google.com with SMTP id f133so8286051yba.11 for ; Fri, 24 Sep 2021 13:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XyhQ38a/4uH67bAl5YGynvJ7Eg72vGZjm0Neu7EJ7Uc=; b=sugKOapzTbYiBxmeNfdWAfSXSs+U3/EV89R7DA5U1a32VM+oxYjy40oSJmo2l8hJIz WAjB+3JeAn7Ku+NF4E9dhQw4TyNqJzJ12tqzkreHVHfo9jxbpWeb4ARq4LIllJVeF2KA Vmer6jlQHrx/x2qy3jI3Z8FY1UEEh2/d2NSGQEizmxs9BImL1aBacyyfDnwEdLy1kB6I z26/ARJMI+VOt+MZdFXu1ZkaqZ+hIDz18MI6wbKPT5POdu0Bh6rR9X6jAXShrLVvuYBK x3mDJFHfGpJEQzOD0vh4/2ZPYL1wUcuuvkvhEcStBAvz8EzR/pU6HV001X0k9qoNbvgz QZuQ== 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=XyhQ38a/4uH67bAl5YGynvJ7Eg72vGZjm0Neu7EJ7Uc=; b=QmqicY2iSLTpgMl3AW3JrU2GAbJKi46Zi4MmkBiwLNCWPo/pe4yrJuJpvlSJIPpReq jA+T71FqtY1Xs2U9gQGLbRtB1OdEjjJ+qWL8Nu/rp/aKsgN6WkxBQ2vLYq9P43rukpP+ i7BiSTx02GwrzFTD6EdRDWTr2kazM7V3Ym1rsEoSkn3S7gGMAb3gHaEOFsvrp85yRwo1 fU4ZGIJ2nMVNAMBIA9u9ts3QtoXtOk7za8ZhqHJxTTPfFPvQ2CzTxw2OezbZkmlq0KnN ifRGtko9ha+tRftehaXZXqquuNGlJK1yRhZgmECkQo4W/rlYWmr1aWvgGqFqDUQcChje x9tQ== X-Gm-Message-State: AOAM5327iVfGizadlPanMDXW/1v8nnkhVvCDnUJZHbYzE9oXBYC/FEb9 mL45iftIoQpkFUOKfi3ofTqNDkNpX3M7rMV8+sp8wA== X-Google-Smtp-Source: ABdhPJw3UmguJUAbaav5AKykn8QK+KcLgLzhmVnIKdKzvHlgFfAoVRS7LT68ls/fxAaH3sgCg9ehHFiw2VCPF+JJqhE= X-Received: by 2002:a25:2b07:: with SMTP id r7mr13368843ybr.296.1632514838758; Fri, 24 Sep 2021 13:20:38 -0700 (PDT) MIME-Version: 1.0 References: <20210904000543.2019010-1-saravanak@google.com> <20210904000543.2019010-2-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Fri, 24 Sep 2021 13:20:02 -0700 Message-ID: Subject: Re: [PATCH v3 1/2] drivers: bus: simple-pm-bus: Add support for probing simple bus only devices To: Ulf Hansson Cc: Rob Herring , 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_132046_750982_BC86CF86 X-CRM114-Status: GOOD ( 23.14 ) 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 Fri, Sep 24, 2021 at 4:50 AM Ulf Hansson wrote: > > 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. Looks like we settled on the allow list approach during the BoF in LPC. I'll send out a v4 with some tweaks. -Saravana _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel