Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2677702rdb; Wed, 15 Nov 2023 07:38:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjVr4To0MCo1YvJJtlVlvZD/HZft7xyNVooiAuOSRpLleyU8TUdYhh+sP+npmP+w04kQKC X-Received: by 2002:a17:903:244d:b0:1cc:2ef7:2abe with SMTP id l13-20020a170903244d00b001cc2ef72abemr6803501pls.48.1700062697556; Wed, 15 Nov 2023 07:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700062697; cv=none; d=google.com; s=arc-20160816; b=hDxB+ij3Avjsuo7p8Z1Hcq8wVaefQ+FY83unFC47BYRNhKfaZlMYvqSqb8SAtekbtb S/IsPNBNeB8AZ1NjiSm01dN4JSCrO+rZNjxmRS3YBZzIaah30TaOy7lig7+4gndEeq0h ZP4FOHlGM7Qo+bvJOjINhwk4fIl0/YRv9J+b81nrZtszLC0XzHysjlNa4tZDgEyoUWEr ciAZsnDIS4JSAonEXeWwyxtN/eIG0juFdGoxhSzjGbecU7DWIQYNi+pgJ6CnWBGuJyy+ 1N5NKD6qY9dDBpzfh3IWn2u4+TfNx6TZLxvD4BhmRC4rB2t3msWq4F1lG8XBIwdTZ6DX +nEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nxWKE0RnE67ZCac+DE3wf0+WlhQHwaxB8ToZtgmVZwY=; fh=vdzM7QVOS2g+Tx9s6W8p61ZtnYs/hkG8UrJ+yZ/WYXM=; b=wDQddp/o83MFrKcyji5pEyNlxHCpN6eQQI3VFwJc41/XgjaOIf8GGXy7aHgSM2xU2f bJpqTOCmkXAu+VLveQYgpKeRchbD7lrhZ5zNBxr49hbgn4K+imEqKGUyLi9Bh/sciDwd JfP0IeoarfZYMInDQ/ku8gbZwdSod1Fwfkbv+JO4jYG0D1qiuT5c9VeG2Lvz9UlT/vNf mIQgbWUe3L9hroHVNsgjSU5240fLgWK1JkIjNCR6GK87/yWovxm1KGN3BID4uZRDpgW/ sYJFmNsLESmp35xLOxw/jB3nmQk8IkCxhSWxhbewaZls0hIHbeADA3uGGal2mDOcObHw pa2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pBDRktK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n6-20020a170902d2c600b001ca335f71bbsi10625749plc.140.2023.11.15.07.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 07:38:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pBDRktK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A48628142D96; Wed, 15 Nov 2023 07:38:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbjKOPht (ORCPT + 99 others); Wed, 15 Nov 2023 10:37:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjKOPhs (ORCPT ); Wed, 15 Nov 2023 10:37:48 -0500 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B633612C for ; Wed, 15 Nov 2023 07:37:44 -0800 (PST) Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6cf65093780so4020005a34.0 for ; Wed, 15 Nov 2023 07:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700062664; x=1700667464; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nxWKE0RnE67ZCac+DE3wf0+WlhQHwaxB8ToZtgmVZwY=; b=pBDRktK76id6NpKj3jlCs/xMSpWkPsLSPwkT+oitTZfn0ctMgfSu3Cj3lbVGNtzSVl JnDunYOnaj8kozNVwM9OxPo9AtRtqJaOpXbPsaly16Z9gUGxtgJZ/LivykVi5zgTeVYE Eg6okvKXfe4AYLB2Rw391JlzhG2NXJF+xfe+pEVblOydZOfQSlxZsPao3Nz0VK2Lo/zS lfBb1NMozCh+QRcsMT0lexpxwe4Zll4na8lEHLIftatwZPm27lE5Ih9xehsv8azYIvoT 4bD42ibE65tdd/f8ddjIyaGGjAql5tAf81PGYn2KetJnvcDj21wpf0zQANRTSKH6hiZe QXuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700062664; x=1700667464; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nxWKE0RnE67ZCac+DE3wf0+WlhQHwaxB8ToZtgmVZwY=; b=hdo4ay+ADbEVK7sG5S4MxyM9Ew++QdMUvPM9Tw32p8UQxkx1wN6SpT9gihexYt+aE7 ojkzphIJKfrfb+NKwOZumGA5H4pjG7VAfEmRRm7tJON4HFBAE8/lDDR7pMUolZltMns2 rd+cxGZr3+le9NALEspKwKKmmBIo3jMRaRCMsVaBoc8LyaDs177iU33SOCr2I9uMvVGn 68ag4nWlA+XhzVifGb0jcefmPwwZ9YNaVpIjUaSsfiD8JA2Ze/cpX1Uhe29KQ+0gd8DO wxRMqy8q+0szpy6v2lSUxvTfS452G+zCuB1XompDCosCNMIpRni1EQWTwNJnE9FVlhng w/vA== X-Gm-Message-State: AOJu0Yz6e0SYoDp6FZGiwgRrlvTCSp9kS2/duEplm13PtQwfu9l3pLPJ jdmou9ixgZfeNqEX2/rMHFIPt0S9yVDk5LDnl3VrHw== X-Received: by 2002:a05:6358:590c:b0:168:e69b:538c with SMTP id g12-20020a056358590c00b00168e69b538cmr6106636rwf.3.1700062663887; Wed, 15 Nov 2023 07:37:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Wed, 15 Nov 2023 21:07:32 +0530 Message-ID: Subject: Re: selftests: gpio: crash on arm64 To: andy.shevchenko@gmail.com Cc: Linus Walleij , Bartosz Golaszewski , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , Anders Roxell , Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, "open list:KERNEL SELFTEST FRAMEWORK" , linux-mm , Arnd Bergmann , Shuah Khan , Andrew Morton , Pengfei Xu , yi1.lai@intel.com, Andy Shevchenko , Dan Carpenter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 15 Nov 2023 07:38:06 -0800 (PST) On Wed, 15 Nov 2023 at 07:12, wrote: > > Tue, Nov 07, 2023 at 07:21:32PM +0530, Naresh Kamboju kirjoitti: > > On Tue, 20 Jun 2023 at 22:11, Andy Shevchenko > > wrote: > > > On Tue, Apr 11, 2023 at 10:57:28AM +0200, Linus Walleij wrote: > > > > On Mon, Apr 10, 2023 at 11:16=E2=80=AFAM Naresh Kamboju > > > > wrote: > > ... > > > > > Add a pr_info() devm_gpio_chip_release() in drivers/gpio/gpiolib-de= vres.c > > > > and see if the callback is even called. I think this could be the > > > > problem: if that isn't cleaned up, there will be dangling reference= s. > > > > > > Side note: Since we have devres tracepoints, your patch seems an over= kill :-) > > > Just enable devres tracepoints and filter out by the function name. I= believe > > > that should work. > > > > Since I have been tracking open issues on the stable-rc kernel, > > The reported problem on stable-rc linux.6.3.y has been solved > > on the stable-rc linux.6.6.y branch. > > > > Thanks for fixing this reported issue. > > > > Upstream links about this fix and discussion, > > I'm a bit lost. Is the [3] fixed? Is the fix the below mentioned commit? As per my understanding on this, The reported issue has been fixed with the below commit. > > > Commit daecca4b8433 > > gpiolib: Do not alter GPIO chip fwnode member > > > > [1] https://lore.kernel.org/linux-gpio/20230703142308.5772-4-andriy.she= vchenko@linux.intel.com/ > > [2] https://lore.kernel.org/linux-gpio/CAMRc=3DMfFEBSeJ78NO7XeuzAMJ0Kez= EPAYWsWnFXXaRyQPAf3dA@mail.gmail.com/ > > [3] https://lore.kernel.org/linux-gpio/CA+G9fYv94gx8+-JMzbmQaue3q3y6QdB= msGUCdD-26X5XavL3Ag@mail.gmail.com/ > > -- > With Best Regards, > Andy Shevchenko - Naresh