From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12188CDE000 for ; Wed, 24 Jun 2026 07:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date: References:MIME-Version:In-Reply-To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BcsyNyejCFJkNFiW+It3towLE2DK3tuv9x9w5E3tdMA=; b=SEkNCyKwQWGbqmJwr690z4bmIu 3XDGK3eyoHBgnZ2fAASg+OgQV3ZXvkgldx8LTFccrtiku2jiUo0pTBig3NdbUbjWvTDKRuZCmMTSl VDj2+rHT3VyUizxti8d1CZez4gVnHCRUSH3hdXNhQwcVp+8CWhz9K0dJ22OIHqLqwrGhZ03uSFbN5 mEihDhZ1Tb6pW+P4tKZSQUFRlCcSS+OLmA9XxuQD1V1Q1bvOZzT3h9luxFD99MnK+0Ur08HYXtfqk 44ld6JUvaN1orC0xVxpbXPxYv/YJW675vKeoXM/UEcHnpn5+63NcG9E/3bqOScvjJO3jpQ6Q9L37+ y4WHdPKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wcHz9-00000007JTg-0orp; Wed, 24 Jun 2026 07:25:23 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wcHz7-00000007JTA-3W6U for linux-amlogic@lists.infradead.org; Wed, 24 Jun 2026 07:25:21 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id E6D15601FA for ; Wed, 24 Jun 2026 07:25:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9758F1F00AC4 for ; Wed, 24 Jun 2026 07:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782285920; bh=nvnhHh47CXixoylXWGOHPJF5vecV8c8rpU9eHVVg6DY=; h=From:In-Reply-To:References:Date:Subject:To:Cc; b=BWFXAxX/us4DQUK1idO2Ki9uFSo0MO6O6YaIQa8wMrk29Wvl4H/TKJzoVttGSCeLA Fw+NxnPqoQRwnUpQE5C6BudZxSheDVaqnhvWjhUiJPxF+3wV5/YG1rGryzMmQwahlU g9NjlbTZ/7YQdivSYRp7S3AqRIGL90jlIxUVNUJRZFFW6ArNOWjHRg7PiqY/NAdfX8 HQf7v9geddz5Kk9Q9Q7J7bBCr2nzd7GKcRobXl10AH10XMpw6KbfBhMixhNlYGlcjz r/5CGXIkZS62mPOoWQs5i5Jr3QhztcfMPaFZuaO2xAcwwVIRpl8hkSLwfX5eKwLyCf ol3EpNlVKoRCA== Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-3997a6196c5so5497081fa.0 for ; Wed, 24 Jun 2026 00:25:20 -0700 (PDT) X-Forwarded-Encrypted: i=1; AFNElJ+6lfG9sa2O5C6nlHbjQTM2Dkr8xjmdDhhBgHfjAaNazxJEpwcysEnvShjUOAw5KZtC5jFr4Obi6J6VPPta@lists.infradead.org X-Gm-Message-State: AOJu0Yw1UxAeEJDcfTdTzEJdszxwI2SFhoNrI8DOVo0hyATxb6uQwFvT LLJlQHqBbbNFVtt9rfSCulj/pfmBAWqvNpj4FI5DXcMSMkWzHmDag7DdM+xIaNkaPFVyl+PaXbN HVSsCWbVv0XHhS+Whq0VpcqZKPe0G/awtDarhjIo9Uw== X-Received: by 2002:a05:651c:897:b0:396:b398:5956 with SMTP id 38308e7fff4ca-39aba22f713mr5033881fa.16.1782285919374; Wed, 24 Jun 2026 00:25:19 -0700 (PDT) Received: from 969154062570 named unknown by gmailapi.google.com with HTTPREST; Wed, 24 Jun 2026 00:25:16 -0700 Received: from 969154062570 named unknown by gmailapi.google.com with HTTPREST; Wed, 24 Jun 2026 00:25:16 -0700 From: Bartosz Golaszewski In-Reply-To: <112d2563-e650-4881-bba0-335f6a3fcb8a@arm.com> MIME-Version: 1.0 References: <20260610153329.937833-1-v@baodeep.com> <184d315b-a0a1-4792-8a40-1b4967025916@samsung.com> <112d2563-e650-4881-bba0-335f6a3fcb8a@arm.com> Date: Wed, 24 Jun 2026 00:25:16 -0700 X-Gmail-Original-Message-ID: X-Gm-Features: AVVi8CfWZEwy0Hj6hsY9nADi3QPZuC2gya2F8U2aO77pZ-fX6Cr7FXVhzwvDF28 Message-ID: Subject: Re: [PATCH 0/2] gpio: fix sleeping-in-atomic in shared-proxy; restore meson non-sleeping To: Robin Murphy Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Diederik de Haas , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner , Marek Szyprowski , Viacheslav Bocharov , Linus Walleij , Bartosz Golaszewski X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Tue, 23 Jun 2026 17:16:44 +0200, Robin Murphy said: > On 11/06/2026 9:26 am, Marek Szyprowski wrote: >> Hi Viachesla, >> >> On 10.06.2026 17:32, Viacheslav Bocharov wrote: >>> gpio-shared-proxy chooses its descriptor lock (mutex vs spinlock) from >>> the underlying chip's can_sleep, but under that lock it calls config and >>> direction ops that reach sleeping pinctrl paths. On a controller with >>> non-sleeping MMIO value ops the lock is a spinlock, so a sleeping call >>> runs from atomic context: >>> ... >> >> I've checked this patchset with these two reverted and no warning was reported. > > If it hadn't already been fixed (...) > About that - Viacheslav, do you still plan to submit v2 of this? Bart _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic