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 65B81C433F5 for ; Wed, 16 Feb 2022 04:27:46 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vmP2TT++OERlMmhGA4KU1SCUcfYrWwi4VO2iVEKP8+g=; b=2pOZYAguibS9uk ZW+Y3o0xgBkh0VRofwH2NyRnSqTr7l9suDQIajc0CDGErc3IJc5jAoZfMyVj55P1j565VAKUDKNLk i7hE6XwNvoxhtGSc7EalYpYiNAxxKOV1G1Mw6y9JO1/4OAjYuF4tuaKOoNzy0euhWoIYHcn1X0H6O ixXqLmMwL28CEVsxPDbQPwph/3RQ215mMYysVfs4aggsZjwOXbm10+SZltoVRjKskGdL9Ix86hsHy cnaibNoVhCKqbW8OSVfO0bZl6REno/71ZryBnuErtpc+3zMx7ciYpAaK+5o4LswabVG8x2b2mRd41 0gh9jWNGbDmWwzHd1oFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKBtV-005ViM-S9; Wed, 16 Feb 2022 04:26:22 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKBtS-005VhX-Ga for linux-arm-kernel@lists.infradead.org; Wed, 16 Feb 2022 04:26:20 +0000 Received: by mail-oi1-x22e.google.com with SMTP id q8so1236607oiw.7 for ; Tue, 15 Feb 2022 20:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RY42s9XP2vCaExmg8SW1b8959hPeZEJSy7UrnQIOnSA=; b=JvejWtnqzAJkoIgn8NJ8DU5qzp0fHD2Zi41OogWhqIfNYhxNdmwdKUVcs7GRmA4rKY suPtkCqSNRDVwsEBPG6EExFAycr35RIKSwprEwQH1zohlyqqlZxZh6f5Qk0Q4/fG31Ha I4fOstVhX55t+aOotFHxE0RzOeff+hGm3EhogS7Ow6Mltk0li2itQgWm9A7ViB7DTLI3 OD29GMkEXGLSpSFsaZjURrEbRaLdo9uNgFOrayZJXuggRtaJSagZB65fyjagbctG1CRW L2qBogykcYAZgfHnoln87uG6FlpU9Ggolw3Mz6t5vntOsJMoAsFLr9OIVJNE6CGvDv8j xZ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=RY42s9XP2vCaExmg8SW1b8959hPeZEJSy7UrnQIOnSA=; b=hSwEGWJOjd54YaUPmbumXdLzBwxLWbXpYyoj4Xll/onS54r43AAa+GLQnsDrLkhkR5 YRqG8fIrK+OaBfRjm9LL/+ix+MxSfsqes2J/gmK/dm1VXvdVdixEjni2w3KfoZ7GJ35a 1ElrlAeVkDRvtteeUmQoFP0blk5s67I5V+bfeJOuXW59qKvVq5V58J9bCY5iw8oDYQ8E mqopx/W5zb6McdpfevaMFixetI7l4dhWC0cWUOBUdiGZt0jjgv6XkBYYeIknnTkblon+ V7mAnyrw/wlJDF0XJxgSHFLj2yx8E4H5mwfok2fKTRovPEzN+ZqT2Ad4OcMJs0pBrqFs VGeg== X-Gm-Message-State: AOAM533QjSAswou5mZl6zlOPuqZ5/RJjUkFqmTvQtZ2eISCqf+uSixQ+ Rm5wDbAWr8BkOn5IZbN2c9Q= X-Google-Smtp-Source: ABdhPJwEhTSlGLzNvGzaceF503qrsfiNuHkumbVADHWU2qQ9wQpGTW305eaFMDGQUWBoYy42lKmghg== X-Received: by 2002:a05:6808:f8d:b0:2ce:7461:200f with SMTP id o13-20020a0568080f8d00b002ce7461200fmr458038oiw.285.1644985577184; Tue, 15 Feb 2022 20:26:17 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id b8sm4973952otk.36.2022.02.15.20.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 20:26:16 -0800 (PST) Date: Tue, 15 Feb 2022 20:26:14 -0800 From: Guenter Roeck To: Samuel Holland Cc: Jernej =?utf-8?Q?=C5=A0krabec?= , mripard@kernel.org, wens@csie.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Klein , Hans Verkuil Subject: Re: [PATCH v2] ARM: dts: sun8i: Adjust power key nodes Message-ID: <20220216042614.GA63304@roeck-us.net> References: <20211129165510.370717-1-jernej.skrabec@gmail.com> <20220215002732.GA3215504@roeck-us.net> <4714494.31r3eYUQgx@kista> <23df0d53-d530-2363-09c9-5be2b2306a81@roeck-us.net> <35ca9258-3129-240c-7a0a-cacfa0a13253@sholland.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <35ca9258-3129-240c-7a0a-cacfa0a13253@sholland.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220215_202618_604916_3AC1F4E2 X-CRM114-Status: GOOD ( 14.50 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 15, 2022 at 10:11:36PM -0600, Samuel Holland wrote: [ ... ] > > I don't think there is any real issue here. The two irq_desc's being locked are > always different, so there is no deadlock. This recursive irq_set_irq_wake seems > to be a reasonably common pattern in GPIO drivers, and several of them contain > code to silence lockdep. I've sent a patch adding a copy of that to the sunxi > driver: > > https://lore.kernel.org/lkml/20220216040037.22730-1-samuel@sholland.org/ > > Please see if it works for you. > Yes, it does. The warning is gone with your patch applied on top of linux-next. Thanks, Guenter _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel