Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2063466rwb; Sat, 24 Sep 2022 02:14:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5IG6D9sRy0FCy2N2sk+fNrHma2i2uDuu7vf8g0v95FYvBqiyJ0Pd+5LADXiPG+1wWNQYJL X-Received: by 2002:a17:907:96a2:b0:782:4072:19da with SMTP id hd34-20020a17090796a200b00782407219damr10345280ejc.398.1664010875660; Sat, 24 Sep 2022 02:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664010875; cv=none; d=google.com; s=arc-20160816; b=qPCWdlUQ0hc3MKRAXxF2wyIC6aWX2QaD7UdsMzPwKi79/8rgMVcejjbjcsIK0AoQNy egxBUC6MpyAUC6GJo/nwYr4czcWVcisJCtZWzw0cvT5l3+7+4jHlcgeTS7zZ1vhfGNiM nfX4SVpMCQuvDNW3b0PJHiZhCXEB1q2RqdF1UFLLyo7jQqYFJH6axMprRh7co4PFIQcW TQaOOJssitzVQOnbweWWXKhc7udO2UOR2d8E6tjRxZw/FEWgE4BLhNTrLL5NfBlrWH4c mO4DRNaHJOGFddOdW8rYOXH2Ji2mTMVsPaY3hBIIGwRlnLIkwySI8HyWTRZCoJyuc1Kq eBsQ== 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:dkim-signature; bh=8GifTQpufEs54QBDY2QjRoLxAtLfrQ9yFBESAjAvqEk=; b=h+5DZcjey+dyvPL2u3yK6WgvI1ZHcx6q1dwhRCJEpvnzMivQPQebZxos2JXbExtqym H1mGrecHyRdsN5skYoN2IjxznughlLAkOvquIw2GL5EyFWJ75ddy6GltmPox5gJqhyhT F7eaZGk/U7kleXjSlR3vGY3pXbireTeQauhrOM71F2ty1gdSumLMN3fc39A+5nGByPiU 1bVk6O5i8IQRLwkjIKueJWC9pZe6xiPjUB4TyfNzKGH+YRTPU+c/yyb64Z0th5Z+clo9 vr0yw/pc4G0nNgn0o9tdxejPSyT7kP/pZDXIOazKb1QlV9RiJq16B01KdAeXNE8KdmtZ ehEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="h/AwTcB8"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a0564021f1400b00445fc3afc57si4717133edb.360.2022.09.24.02.14.10; Sat, 24 Sep 2022 02:14:35 -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=@linaro.org header.s=google header.b="h/AwTcB8"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233864AbiIXISp (ORCPT + 99 others); Sat, 24 Sep 2022 04:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233918AbiIXISK (ORCPT ); Sat, 24 Sep 2022 04:18:10 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB610115C for ; Sat, 24 Sep 2022 01:16:54 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id z6so3158708wrq.1 for ; Sat, 24 Sep 2022 01:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=8GifTQpufEs54QBDY2QjRoLxAtLfrQ9yFBESAjAvqEk=; b=h/AwTcB8RNdgxSnuBMHtYHGPzYnQiaTUTro3fTmKcqsqCNShPhhIqHus7fL08MOTFn 5uE/x6RMgo8e4HduYiGCEoMhwQN9gdO0ygvFqdbiUwkUXofinJTYR6NQ4qFwKrEklaLi p/BImwKzsSlipbXk98O+PCMjB8Y9evuHRmzDZVO0Sqqlcs24wjPxiU2HI5fQP/73vYo4 g7cDwt+1PXMABycZZ0JCjNhPLtN3kmvS/Y8nklzxMqkTdLAjzt08k58GmP8xSEyqhR65 XsxWhPF9fp5eTf7S4B/BxJSoO3TiNdBcnuMuSNZWEihCIbO1CJ3qIlgL1VhNtr6EIBRL ZhXQ== 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 :x-gm-message-state:from:to:cc:subject:date; bh=8GifTQpufEs54QBDY2QjRoLxAtLfrQ9yFBESAjAvqEk=; b=YyWYku5azr/0weCIGJvXG7gl+ID+wmfi7ts9AgQyIoB6mWTPXJzZvIsr0md9jxbGRS 0XG9SI5bmAEOMSDXDu1fLY4D+j1m9rQi23RMHQJEUn+VJCrhyhBZd5/L868sFlvwIIcK Qd6GNLt6tBgOX3Ecpz8hxS6wfoJod8y1eZ7lQZIkNd8jQ6hY8f1G0QsOpre1/rFb3UpV 9HxucXx58Cewx7YAEc8OZ6FOT/KBTq0FloMSic0Pu2jdiKwRx/m13p8WF1n4lGMaxOpz 1iPaufFx/Mo4FXuURwuk+UfmwciZCztUdyiOGWLZ0t8zuwyZDges83E5ftouxxdfL1MW 193w== X-Gm-Message-State: ACrzQf3NdHiaLU2MC5TV6Uj86WnCX2Yph8Es1oGa1UYgLcaCrkamHWJI VtRT64tfU6PQMwuGiITIo9n6OA== X-Received: by 2002:a05:6000:15c5:b0:22a:49be:8000 with SMTP id y5-20020a05600015c500b0022a49be8000mr7395090wry.664.1664007413262; Sat, 24 Sep 2022 01:16:53 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id iv14-20020a05600c548e00b003a6a3595edasm4763338wmb.27.2022.09.24.01.16.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Sep 2022 01:16:52 -0700 (PDT) Message-ID: <607cab94-ca0b-c7ea-b603-12d933e42ced@linaro.org> Date: Sat, 24 Sep 2022 10:16:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: INFO: task systemd-udevd:94 blocked for more than 120 seconds. Content-Language: en-US To: Hugh Dickins , Borislav Petkov Cc: Nathan Chancellor , "Rafael J. Wysocki" , Marek Szyprowski , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <28d03f8d-ed70-cdc8-70d3-7b1723e5715@google.com> From: Daniel Lezcano In-Reply-To: <28d03f8d-ed70-cdc8-70d3-7b1723e5715@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Hugh, On 24/09/2022 09:40, Hugh Dickins wrote: > On Fri, 23 Sep 2022, Borislav Petkov wrote: >> On Fri, Sep 23, 2022 at 12:18:56PM -0700, Nathan Chancellor wrote: >>> I have not seen a stacktrace like this on my machines (although I >>> suspect that is because I don't have CONFIG_DETECT_HUNG_TASK enabled in >>> my configs) but my Honeycomb LX2 hangs while booting after commit >>> 78ffa3e58d93 ("thermal/core: Add a generic thermal_zone_get_trip() >>> function") according to my bisect, which certainly seems like it could >>> be related to the trace you are seeing. >> >> Don't you just love how well our community works - one reports a bug and >> someone else has already bisected it and thus saves one the work?! >> >> :-))) >> >> Thanks Nathan, I can confirm your bisection. The commit above doesn't >> revert cleanly ontop of linux-next so I tried it and the patch before >> it: >> >> 78ffa3e58d93 ("thermal/core: Add a generic thermal_zone_get_trip() function") <- BAD >> 62022c15f627 ("Merge branch 'pm-opp' into linux-next") <- GOOD >> >> so it looks like that one is somehow b0rked. > > Yes, Nathan was alert, and saved me too from bisecting failure to boot > linux-next in another thread. > > And I see from > https://lore.kernel.org/lkml/c85a77a3-409b-3e83-08a7-ac7e1888790d@samsung.com/ > that Marek also found it: and tried to fix it, but found it goes too wide. > > I made a patch of the offending series with > git diff 78ffa3e58d93^ 2b109cffe683 > and then reverted that cleanly from next-20220923: works for me. Thanks for investigating. I believe I found from where is coming the deadlock. I'll send a fix for that. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog