Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1900947rwb; Fri, 12 Aug 2022 08:33:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR6vLPzXZn0tRq6MnqK2NQyV2TLdgTTxqKzUkA1h/6uJQiiafbsk+VODWyhBDF4fU4FoIVMk X-Received: by 2002:a17:902:bd08:b0:16d:4230:cb45 with SMTP id p8-20020a170902bd0800b0016d4230cb45mr4523539pls.59.1660318418547; Fri, 12 Aug 2022 08:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660318418; cv=none; d=google.com; s=arc-20160816; b=TP1jOuvZlrv3rd7kRCWitcyaydhk5ZCLdWmqKN8DKI/83xE3y5CzIBr+MESpNLgK3y 7yo/MJ2YsaejlFx6Bn5sbM2XlLzy7hsVYH33HvDAuAbErFNT3xFUF9+CLXJMrPFKcpqn V/BDrN8MzITjgQDQw6rY6gdCKpWawpacyyCq5TtJydIwBPGibVvcSpkDvkOuZmoCV3Jc Je7zYkju4XS/ox0BD/dIKa0HU0uEACCkfYIPnHU+l11VdI5aQU8SEg5wNiwVNdzMrLeX awhsmtqT9ec1b2oGXrjLrNhAKTb35dUIDQLB6qn0Om+poCC1xd16MtQuVBY6orGM2K0Q LRpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=AFUOARZXq1xWqbjN64AF0sbE84lot9hyotvLNNmb9xo=; b=Fm4rEVRGi8JHLxfWFMar6Q6YrEzFpuCBOldAn7JdeXmDdzcam41hdwPkjRjWgtqrlI EjIsFi0l2uprdFMNgSKAbmRiVn19B3NTMnxsi40DLRZ4Hur99NXycrAB93hrW/ALivXG UblOlzNAuX75AM9rK4hqcCiHS9nTpTI3agOmcLV0/SdOUWKDfMMpCU9hW8WEywpXy2h9 /b32MXMre3qr900zHI2xyb5FACukvbEUnTK0fItnHL2ILHBN1/OjD6wTzCYjLkmYjlNK QWZrrRiA5obyBHyxnUUovf/MaUx0memV4fpMh+XGY5Jv5wm99bh8tGvELFzL8J8uQSZD xSBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lbfmZHxw; 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 q24-20020a63f958000000b0041bc0b2cf83si2627816pgk.267.2022.08.12.08.33.26; Fri, 12 Aug 2022 08:33:38 -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=lbfmZHxw; 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 S236184AbiHLPTn (ORCPT + 99 others); Fri, 12 Aug 2022 11:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232082AbiHLPTl (ORCPT ); Fri, 12 Aug 2022 11:19:41 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57556ABF3D for ; Fri, 12 Aug 2022 08:19:40 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id z187so1194808pfb.12 for ; Fri, 12 Aug 2022 08:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=AFUOARZXq1xWqbjN64AF0sbE84lot9hyotvLNNmb9xo=; b=lbfmZHxwT4t3Yg5iuKcXAmksiLh2khCTE6SCy9nbrfz7thwsCx4jqmx1dA0pt8NM+0 hkV/NZSiUwmo3uIDEzzFEwnZfkn6sm8zaPTgDv+/YJL1yIVldDCVOkUShJGkvME6817e M8AdGomQ1Rsv29+xVkBNKFPtDhEqYGvVMWTkNJRs3htsvxdN7PcufjI2R5DY6nB+4QyX vZBvFqWshwKdNy70WHcBVRO8e3gE/NtzpBtpOIcks5tk3tII3Up7K+6Zrf2RiVf/XIYY Qy6pYPpxrCsoaDJ4ZS1B6EazViNOElpOcdOmsGSRv5097Mk/l7e0In0lwf+2UDgzCn58 awbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=AFUOARZXq1xWqbjN64AF0sbE84lot9hyotvLNNmb9xo=; b=7w/G2w1Xgxtc6f8hsqHm7cnkdgK8jVVBU8SejjxUIGNrWk3PXihq+4yjJZ7YwpNjWo 8LkawLXDrx1kqS+liD9hBn0teadtyDM8TXv1F1G4bKj9vVNFThc6iMEezEbddSAj8O+5 KDpPgj5eR7PkVCAZNMaL0lPMOaYeBpAKYr717K3tTK0+E7zGBiNkSwsKZeOVppgSc+MS g65mB4sCDDWmcIDVysY23B6Q32txhFtnzi4yirQSsbZUg8+ia6dj+e/uJukg+suxyflY cBbhWyJyhnckuCucg8DWzvCeAbILblTtuSW6Z+WlgBLK1qfiinHZ8rwEfg8RahgwDvfz CViA== X-Gm-Message-State: ACgBeo01e5m4kwn62r3LdBY4+bHBDQ7/W4ZYtJ0RI7mSBdDQdRSKt8BO QcjZ0SSwnA7yRgVTmanc/O4= X-Received: by 2002:a63:e102:0:b0:41b:3901:990e with SMTP id z2-20020a63e102000000b0041b3901990emr3433200pgh.107.1660317579709; Fri, 12 Aug 2022 08:19:39 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id m17-20020a17090a7f9100b001f8c532b93dsm1323151pjl.15.2022.08.12.08.19.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Aug 2022 08:19:38 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Fri, 12 Aug 2022 08:19:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v6] amba: Remove deferred device addition Content-Language: en-US To: Isaac Manjarres Cc: Saravana Kannan , Russell King , Philipp Zabel , Rob Herring , Ulf Hansson , Linus Walleij , Sudeep Holla , Nicolas Saenz Julienne , Geert Uytterhoeven , Marek Szyprowski , Kefeng Wang , Greg Kroah-Hartman , patches@armlinux.org.uk, kernel-team@android.com, linux-kernel@vger.kernel.org References: <0c6ef9a3-bbb1-9f1c-7f00-ceb05589594e@roeck-us.net> <1196e002-c07d-44fd-b07a-aa5ae446ea0b@roeck-us.net> <225747de-4348-58b3-19be-8b14356ab3a0@roeck-us.net> <971799be-8c15-fc81-ec71-bbca6483207d@roeck-us.net> <20220811195234.GA4018948@roeck-us.net> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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, NICE_REPLY_A,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 8/11/22 22:12, Isaac Manjarres wrote: > On Thu, Aug 11, 2022 at 12:55:08PM -0700, Guenter Roeck wrote: >> >> Ah, it must be triggered by one of the configuration options I have enabled >> on top of versatile_defconfig. Sorry, I should have checked. Please try >> with the configuration below. >> >> Guenter > > Thanks for sharing your config options; I was able to reproduce the > crash after copying your config options to my repository :) The > following changes fixed the problem for me. Can you please give them a > try on your end to see if they work for you too? > > diff --git a/drivers/base/dd.c b/drivers/base/dd.c > index 90b31fb141a5..0315bc2853ef 100644 > --- a/drivers/base/dd.c > +++ b/drivers/base/dd.c > @@ -1117,7 +1117,9 @@ static int __driver_attach(struct device *dev, void *data) > * is an error. > */ > > + device_lock(dev); > ret = driver_match_device(drv, dev); > + device_unlock(dev); > if (ret == 0) { > /* no match */ > return 0; > > > Thanks, > Isaac The original test passes, but I now see other boot failures with other emulations. I don't know yet if it is due to your changes or due to something else. I'll do more testing and let you know. Guenter