Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2680815pxb; Thu, 11 Feb 2021 20:49:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWztRZmijvflcDD/dKv8z02/R/1ExPWSHbBV5a7jbnl+P+hPk6KHQs5A8KGEg1Sq32FtGq X-Received: by 2002:a17:906:c00a:: with SMTP id e10mr1171154ejz.501.1613105368332; Thu, 11 Feb 2021 20:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613105368; cv=none; d=google.com; s=arc-20160816; b=LOWRxqDHBGgAZeQsu15APLUDXYjo76B9GoBMp+4a2Gr8L8AFguNBcVfBejnirVfQur xU9+/KYH171sPrPD+HKrF+4I6AjN1UAAhmZAWezYszIbXjjHAT0k4i5ZqGxGT2JZdBN0 z8D3+M34DW0IHXi2VUjzC9HWXnVbDTpZzmsHEkpncCQu5XJkso25dOHQrpAzQ8tJY/7V f2/TCXLhy+AOTCIWPrjLspXyD7yW+Sv2A7Por6Dkxop1LRcP0aNrQ/HE6qX69j8S7Yno oaWFqtuQIuEGmdQSkXimdcsI8T8SyHHGHujMWQ/id6MkH7EoSRNURSUZc7LmveXfCLg0 Vi3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9+2yrPqX2PuOtJQUEK4jTbIiRslC1Fg3ZyV+1OHc848=; b=hZ+cvMeadkLWjzJaJDp9NqyG5kff/rSktVREJmwlfhP1epNFL83NvnSXodyUGrg9nl KAyU599nJ9WYU/Up6gq7YV/b6F0ADFg8jortFVsyeRvqeNj7sKxD9pivBFEnIQxr/Nfn iNF7S5lz0+MEqiygRX0khtYBvHLgxlU/k2La1TzzoALgtWoHUvzEe8L5DwA27kdaX5ym rytWdiBCOlQPRSyIbypoo44JuIFNJPxdq87B/PIAQUrUzQRWM56H/N5ivM2hrI1UKNYf jQ8b8jmzdDfLkuGvrClOeVokUjF4JuZSPk7ql2Ka7JkL5LtPZBN/pL9CDmp3VYkDq7Nf 9JdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RKyIKnbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si6442397eds.434.2021.02.11.20.49.05; Thu, 11 Feb 2021 20:49:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RKyIKnbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229881AbhBLErZ (ORCPT + 99 others); Thu, 11 Feb 2021 23:47:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbhBLErE (ORCPT ); Thu, 11 Feb 2021 23:47:04 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BB7CC061756 for ; Thu, 11 Feb 2021 20:46:23 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id l12so9362764edt.3 for ; Thu, 11 Feb 2021 20:46:23 -0800 (PST) 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=9+2yrPqX2PuOtJQUEK4jTbIiRslC1Fg3ZyV+1OHc848=; b=RKyIKnbvKOs02wQagQDLcw7ZyPj/rRl1baNQmo2q3O7ofpvR5z/20KgSJjIXuH09iZ 5QYL0YL2PZFQ71p1YAR0tsJnuSnYqt9OgACRg7g7EK+HXwA1vschMMJCvq1P2pZI+GaY zV2XFRSNH+/OyEuOUb4hCCIDeKOsP8PBs/XS67mT4/01ckV9zzpEsmAEX/nbk55xuv5Y i9jMGuP6aPmTKilWKCFuulkwPmb+F01x+GntLPDkviI4PyYI8n7N9DzzoRG0xVMDhSEx RyO22bnInB8Hxw34sFVS7DJ/K69LrDXYAV9Ti96id7n6mHAVDkVpW7/cj3SG4vIj9ZbM zakg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9+2yrPqX2PuOtJQUEK4jTbIiRslC1Fg3ZyV+1OHc848=; b=PGH4SMpJV78ZPIWpw/GkT5eTiscj0t1iiXolrgiYN1QP7Z1z4ReynjOXqK1SlkeBI3 QGojxrgCIilyHabgKmH2lkEDC5WLvi8NGYtvMuI5GB15f+jzyCMwDlqOCwK0CSURMC0P FwIx5VEw2XqCXkEx94o07wqHRL0Vjp6lnCRKnwtoYbH+DHf+fcfluwivF9Snd8Ktkw0k pvr8U9/ffX3ZyOPQtL7TuVGyR2RY4Jajl87ucqQ6yxUbijG90mQoQ53p0Pl0necSA+4f AU6OgpGLP7iUGx+uRnvqhl5FzMcrtPmSnTpvsT/ROwZJhQJRejB3icSPXSS0TixvrbW4 4mew== X-Gm-Message-State: AOAM5305fRGlHSfK6/eCMXLFxvdUggVYzHZwnaZhUFrzbYWTSMmLGTvK ypuBF8xMQlTK10YdzB+uhexA183osrFyUVVNRm3Qpg== X-Received: by 2002:a05:6402:2053:: with SMTP id bc19mr1453492edb.230.1613105182209; Thu, 11 Feb 2021 20:46:22 -0800 (PST) MIME-Version: 1.0 References: <20210211150147.743660073@linuxfoundation.org> In-Reply-To: <20210211150147.743660073@linuxfoundation.org> From: Naresh Kamboju Date: Fri, 12 Feb 2021 10:16:11 +0530 Message-ID: Subject: Re: [PATCH 4.19 00/24] 4.19.176-rc1 review To: Greg Kroah-Hartman Cc: open list , Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, Jon Hunter , linux-stable , pavel@denx.de, Andrew Morton , Linus Torvalds , Guenter Roeck , linux-arm-msm , David Collins , Mark Brown Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 Feb 2021 at 20:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.176 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Sat, 13 Feb 2021 15:01:39 +0000. > Anything received after that time might be too late. > > The whole patch series can be found in one patch at: > https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.176-rc1.gz > or in the git tree and branch at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y > and the diffstat can be found below. > > thanks, > > greg k-h The following lockdep noticed on the arm beaglebone x15 device. I have not bisected this problem yet. Suspecting this patch, > David Collins > regulator: core: avoid regulator_resolve_supply() race condition [ 2.470568] WARNING: possible recursive locking detected [ 2.470580] 4.19.176-rc1 #1 Not tainted [ 2.470590] -------------------------------------------- [ 2.470600] swapper/0/1 is trying to acquire lock: [ 2.470611] (ptrval) (&rdev->mutex){+.+.}, at: regulator_enable+0x44/0x20c [ 2.470639] [ 2.470639] but task is already holding lock: [ 2.470650] (ptrval) (&rdev->mutex){+.+.}, at: regulator_lock_nested+0x28/0x88 [ 2.470676] [ 2.470676] other info that might help us debug this: [ 2.470687] Possible unsafe locking scenario: [ 2.470687] [ 2.470698] CPU0 [ 2.470707] ---- [ 2.470716] lock(&rdev->mutex); [ 2.470728] lock(&rdev->mutex); [ 2.470740] [ 2.470740] *** DEADLOCK *** [ 2.470740] [ 2.470752] May be due to missing lock nesting notation [ 2.470752] [ 2.470765] 2 locks held by swapper/0/1: [ 2.470774] #0: (ptrval) (&dev->mutex){....}, at: __driver_attach+0x78/0x168 [ 2.470797] #1: (ptrval) (&rdev->mutex){+.+.}, at: regulator_lock_nested+0x28/0x88 [ 2.470820] [ 2.470820] stack backtrace: [ 2.470836] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.176-rc1 #1 [ 2.470846] Hardware name: Generic DRA74X (Flattened Device Tree) [ 2.470871] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 2.470891] [] (show_stack) from [] (dump_stack+0xe8/0x114) [ 2.470910] [] (dump_stack) from [] (__lock_acquire+0x7cc/0x1acc) [ 2.470925] [] (__lock_acquire) from [] (lock_acquire+0xdc/0x238) [ 2.470941] [] (lock_acquire) from [] (__mutex_lock+0xa0/0xaf4) [ 2.470958] [] (__mutex_lock) from [] (mutex_lock_nested+0x2c/0x34) [ 2.470974] [] (mutex_lock_nested) from [] (regulator_enable+0x44/0x20c) [ 2.470990] [] (regulator_enable) from [] (regulator_resolve_supply+0x184/0x2c8) [ 2.471006] [] (regulator_resolve_supply) from [] (regulator_register_resolve_supply+0x24/0x8c) [ 2.471022] [] (regulator_register_resolve_supply) from [] (class_for_each_device+0x70/0xe8) [ 2.471037] [] (class_for_each_device) from [] (regulator_register+0xa18/0xc58) [ 2.471053] [] (regulator_register) from [] (devm_regulator_register+0x54/0x84) [ 2.471069] [] (devm_regulator_register) from [] (pbias_regulator_probe+0x1f4/0x2d0) [ 2.471084] [] (pbias_regulator_probe) from [] (platform_drv_probe+0x58/0xa8) [ 2.471101] [] (platform_drv_probe) from [] (really_probe+0x310/0x418) [ 2.471119] [] (really_probe) from [] (driver_probe_device+0x88/0x1dc) [ 2.471135] [] (driver_probe_device) from [] (__driver_attach+0x14c/0x168) [ 2.471150] [] (__driver_attach) from [] (bus_for_each_dev+0x84/0xc4) [ 2.471167] [] (bus_for_each_dev) from [] (driver_attach+0x2c/0x30) [ 2.471184] [] (driver_attach) from [] (bus_add_driver+0x1d0/0x274) [ 2.471199] [] (bus_add_driver) from [] (driver_register+0x84/0x118) [ 2.471213] [] (driver_register) from [] (__platform_driver_register+0x50/0x58) [ 2.471231] [] (__platform_driver_register) from [] (pbias_regulator_driver_init+0x24/0x28) [ 2.471249] [] (pbias_regulator_driver_init) from [] (do_one_initcall+0xa0/0x394) [ 2.471268] [] (do_one_initcall) from [] (kernel_init_freeable+0x3ec/0x484) [ 2.471283] [] (kernel_init_freeable) from [] (kernel_init+0x18/0x128) [ 2.471299] [] (kernel_init) from [] (ret_from_fork+0x14/0x28) [ 2.471310] Exception stack(0xee19bfb0 to 0xee19bff8) [ 2.471323] bfa0: 00000000 00000000 00000000 00000000 [ 2.471336] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 2.471348] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 2.471385] vtt_fixed: supplied by smps3 test log link, https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.19.y/build/v4.19.175-25-g30e16c3fd5ac/testrun/3938030/suite/linux-log-parser/test/check-kernel-warning-2263196/log metadata: git branch: linux-4.19.y git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git commit: 30e16c3fd5acd42264d873aacb75891f3cd202c4 git describe: v4.19.175-25-g30e16c3fd5ac make_kernelversion: 4.19.176-rc1 kernel-config: http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/am57xx-evm/lkft/linux-stable-rc-4.19/747/config -- Linaro LKFT https://lkft.linaro.org