Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3528740rwb; Tue, 16 Aug 2022 04:52:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ONz75/hFdO0Sp8bZfamMHBf9y/zV8UHqitrvSZF7fafhKzXxDVpQX++cmqtGc95omqLj4 X-Received: by 2002:a17:906:cc15:b0:731:6cc2:7a85 with SMTP id ml21-20020a170906cc1500b007316cc27a85mr12959691ejb.512.1660650757425; Tue, 16 Aug 2022 04:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660650757; cv=none; d=google.com; s=arc-20160816; b=pXanAGDoY607Xqhw45lKALQoWMSyqBbKmShX8dwDkXMdrnbGMOrLHT+FKYvyN2UChZ i3ojr1A2imCl1N2OBG+PPgIf6xklhXMbZXb6uau8Jf22IC7ROTNiPcumjoc6KB5BrPaq PGdjLPRmR6UAjBbOJNc5CvTgRidU9es3CM8gl0T31+gkS2c1AhFVUBuJh7lx2Wj6pnN2 j7M9Zj74CJIGs2enwdHmtAy1efFMXlWDqlcNCon6/EsfeZyQ0EB4Vo9H3aCCng2CAEeP Ytu2UjOi7k4p9yUc1wG5In2tVO/ugSJs3pPcmDhp7MfVLjNjLQ4qcP+7JAZt1lCg1/Ku RiSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=V5IkeuSVi9fKfp3zra01ncb3hrHpLVL3k3XVBC9wdIU=; b=wK44RNELAmqu1eyrhVBq+2bhYQ3klgmJxBCe8AUti5q9DBfqRPVacD3njIJh/mATlw y3zyK7NHzN0RTShtwMH+iJ6zfE8lQKTO1sBbCTs9nwr0cotcTUbLVchokCyLf3wgIdEz hUUB7pTBSGuhQqFbrcXKxpbKqQ7h8u5luA3MFAPiXL8G47OtKJI8LyFAmSHdokNtYmuq MdSrdis2T3oiUGw0/3eXDEJoHbDeTYeRmZNMJ+n0/uSLKUzvxU6UniUGPDUGP4w3qCCP UoJkmlqc4MrmspNVyAGt8FDxXxcrifKafwLOVdNKO5YWegkH6B1lFOnyPezIF4rer16n tt2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=klS9soVK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr14-20020a170906d54e00b0072b53e673bbsi8561859ejc.913.2022.08.16.04.52.07; Tue, 16 Aug 2022 04:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=klS9soVK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234467AbiHPLnX (ORCPT + 99 others); Tue, 16 Aug 2022 07:43:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234357AbiHPLm7 (ORCPT ); Tue, 16 Aug 2022 07:42:59 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EA2F32E for ; Tue, 16 Aug 2022 04:13:14 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id r69so8939730pgr.2 for ; Tue, 16 Aug 2022 04:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc; bh=V5IkeuSVi9fKfp3zra01ncb3hrHpLVL3k3XVBC9wdIU=; b=klS9soVKVxOs0Xqft08jBbZnbUmDJ2wGnHyztAXIP9Sbl/u3vHNVMSVLlxj2KCtKsB DTjQPJEJJAKzL20lI8KoI7ajyPxwgQk5SeWXMJtTTmX18eFC/fJq+uF+7U4S99HSGfuf HsrlcQ4A/Npdnir/K26lp5dYANl2vb2kp5CkiSjDnfZ7FmGyHO6gUugb+ShZZBhUZ7h2 BXt5SDXJWUvE9rqUs4JN5yHddrtvoqxcKLo3xr8PuZ5lL/F7zcrRjBGPSQV/kdwNftbP jpsKPhPqiY5YSjNlQT4srBuDt61wDMQ/C+5JStujMLDxZf1gy0KDDFP/pdOXz7jF9NMS OKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc; bh=V5IkeuSVi9fKfp3zra01ncb3hrHpLVL3k3XVBC9wdIU=; b=Y2RNvQ8Fq+K65ml10uxskVLHVAj9kTslPOGFBZwzveozLv/26lqYVJ3RII4IEsach/ KJiTEK49XtEcBBRCfyEYafYybFb4mwJDG6cIVVX6FU8eNPgzPAJMiVWBExvuHPg/7Xgw CBaTc1HSotvlpBMEVfsLZUy7YE7YUCCUhTyyQvjvNO38NhXCW/pLj+dzF81EMxS5gSk6 PenKdOITG9hb/mAlmHyVBfkaz/ORElDCVFZvmpPVwGN4s9Ck/uNErxr9qq/shtPl0jWV TmqFFwlpfmjIhU7tRoOjHVIoNM2BiBYxafExHKRCkv6ktkddIBCadliKtekMhaCd3zbZ BKvQ== X-Gm-Message-State: ACgBeo2iOYmp6mQmeEwrVib+64rV0lMqQ1CE9+jkiBVW/YWwMxguYNm1 Xa9ej7mfBUTcymwYs7X/hsI= X-Received: by 2002:a63:2a95:0:b0:41a:27e5:1996 with SMTP id q143-20020a632a95000000b0041a27e51996mr17241093pgq.447.1660648393943; Tue, 16 Aug 2022 04:13:13 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id j9-20020a655589000000b0041d90d681e7sm7340496pgs.48.2022.08.16.04.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 04:13:12 -0700 (PDT) Sender: Guenter Roeck Date: Tue, 16 Aug 2022 04:13:11 -0700 From: Guenter Roeck To: Isaac Manjarres Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Ulf Hansson , Tomeu Vizoso , Russell King , Marek Szyprowski , Saravana Kannan , stable@kernel.org, kernel-team@android.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] driver core: Fix bus_type.match() error handling Message-ID: <20220816111311.GC1108868@roeck-us.net> References: <20220815211919.2028890-1-isaacmanjarres@google.com> <20220816042507.GB1108868@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 15, 2022 at 10:17:23PM -0700, Isaac Manjarres wrote: > On Mon, Aug 15, 2022 at 09:25:07PM -0700, Guenter Roeck wrote: > > > v1 -> v2: > > > - Fixed the logic in __driver_attach() to allow a driver to continue > > > attempting to match and bind with devices in case of any error, not > > > just probe deferral. > > > > > > Guenter, > > > > > > Can you please give test this patch to make sure it still works for you? > > > > > > > Not as well as v1. I still see the clk crash with versatileab, and imx25-pdk > > emulations now stall during boot when trying to boot from usb. > > > > Guenter > Thanks for trying the patch out. This patch isn't meant to fix the clk > crash that you mentioned on another thread. I had made the following patch for > that: https://lore.kernel.org/lkml/YvqTvuqSll30Rv2k@google.com/. Have > you been able to give that a shot yet? If not can you please test with the > patch in this e-mail and that patch? > No, sorry, I missed that one. It does not apply, though - it is whitespace corrupted. I tried to fix it up, but that failed. > Please make sure you do not include this patch as it is known to cause > deadlocks: https://lore.kernel.org/lkml/YvXhJRlHN9OAIA5l@google.com/. > No, I did not include that patch. > Did you test imx25-pdk emulations with just v1 of this patch previously? > I am quite sure I did because it is a single setup. Thanks, Guenter