Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp242143iob; Mon, 2 May 2022 18:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPYlVVqbGH3aL7/dGY0wPwMyN/Ujjd4MvK9VjM2KHRkKL21z3+SC1uQXHO/CWj3Q1J9bz8 X-Received: by 2002:a05:6a00:a02:b0:4fd:f9dd:5494 with SMTP id p2-20020a056a000a0200b004fdf9dd5494mr14223183pfh.68.1651540558665; Mon, 02 May 2022 18:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651540558; cv=none; d=google.com; s=arc-20160816; b=qLiNgvmOHbCySh7fPY4Yc8uYQx/uemjKIN6aze8hPmZ0g6dDz6eiXsw1pb0mrMLtZz Rz+4WXmqlNkQvdef8z7iQaXCmG7apw7DNHg9pUkOCh8DVcUL4NARpei0ugRtjEXfQ1SU yaC33VwJxbB7Efao9m4YNjkt9NOsotqUNu1SfRd7IO0SN1RMw4FrESBrgqNPoYFBakZs cTHMWBQ7/ng0qXL81EfWc1uY+64JHUeg4b5l9l9feolzEzAJJsHyrsBvlPquZds2zz/N fH9Vpnw6XM9hal2q+M8qyMk5YpEcTXwclPK+rULMSOwmKcXGPfISHiRNUwmgP9jvyWKs AP6w== 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=HkHb9zDzaQCh7icuTIrBW1dLzBtZj3gG9lMpTgSrSE4=; b=BlHHRRNid2EnYCa1292dR8bQAj+qdySWKtyQ5GF7oNkWLaDdzch3HORtaMlBXYG/06 9J/xbkEqTIJstxoHW1nOC8DQuOTQAj0+RKhblEmZxA15clnWbgtg9VAF4ZvlZVud4rQn 0RwdIwzBrtTJ5oTxbCzrljTlws/J98neVsLg8vKI/ezossIjhxcuuTGXgJcMJ+hdKhhD ki9LYwV2vt2AQszZdJemxj5tsm69KlPLmF0RCC5C9gr5EPVCKxcmBoalC/VRQATPehPp PprGwt69M75U4dfvMHcVFl3ra0cYC1sZDrNY1w9Sc2S6A7XzCnJvIaebrqsrU6okf7ai BB8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=yqitAepL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x207-20020a6331d8000000b003ab1fc361a7si15154460pgx.807.2022.05.02.18.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:15:58 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=yqitAepL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 91C335FF1F; Mon, 2 May 2022 17:55:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384691AbiEBLWb (ORCPT + 99 others); Mon, 2 May 2022 07:22:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231325AbiEBLWa (ORCPT ); Mon, 2 May 2022 07:22:30 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236B1BC17 for ; Mon, 2 May 2022 04:19:01 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id g20so16219634edw.6 for ; Mon, 02 May 2022 04:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HkHb9zDzaQCh7icuTIrBW1dLzBtZj3gG9lMpTgSrSE4=; b=yqitAepL/r7UgctBxOUq2kCCbQqEQvIwdOiY8s3pSmTs6ORlW41oYP2FWA7dfxvzb+ jL/viL3ecqJ26Fuc6oLYfD8+WhGMwM/ABX2edufGwRlrUfG2cQUWxUrsRwzcvzzVXcDk sIw9Sv9yjknXSHSnPYnAgnzoI6OuKqGCCkb0hzYI7P+VMZH5o0GvJcJ0lPOhJx6Hz3GA Aw+KSSOe917yRmBHbzDjfhYkFueOBCZhqYxLZwvtnUu0V05e2ZxqULfphKrbYjChXjU3 W3NOqmCKvb/iGzBOOBfag2KPQ/9p95eMAogvsIJhL5WfaAmou9TRL5ZfaCaZowDMvODr tHXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HkHb9zDzaQCh7icuTIrBW1dLzBtZj3gG9lMpTgSrSE4=; b=wor+w33hM/t3SZ1RsOY1hsMcUk05N5hEMD6laBDcG59+3hh1Pg7C0pZ5uigi5/ej+O 23coBN9FHzIvoMTUd8CkQ0lPK88L/WLYNjTCb8kIqdLUgbiiMxS/GstWJpGeXyMPI0SE qeeepbITc33bAt0jmA4JDXrFX9D+cKlgiRW/IwPTjcQHT+pPTTsMKYKFNtgF+bm1Qjex juv59wGx3Kr0gma5hM+eArgRruh2917oy5dBNZc+6Lb+wQd1yy4LoibeW7ouc7I2cIAZ wgP27ZVeGl/qzsdnsUePsfjTb6+rcyaJbHaOcZO+4UH5QuYjEtThfbDfGm3DKQxfPV6+ bK/Q== X-Gm-Message-State: AOAM530UDrcrHTA3LvICwEXNWKw2qxoagz648amkELTk9VjxIR5JA76a mbs6OlhPSrUXTJTWcKY/ZOCTRMp+7Gd2IKq86azXiQ== X-Received: by 2002:aa7:c49a:0:b0:425:d526:98ad with SMTP id m26-20020aa7c49a000000b00425d52698admr12673123edq.352.1651490339736; Mon, 02 May 2022 04:18:59 -0700 (PDT) MIME-Version: 1.0 References: <20220427144620.9105-1-pmalgujar@marvell.com> <20220427144620.9105-2-pmalgujar@marvell.com> In-Reply-To: <20220427144620.9105-2-pmalgujar@marvell.com> From: Bartosz Golaszewski Date: Mon, 2 May 2022 13:18:49 +0200 Message-ID: Subject: Re: [PATCH 1/5] gpio: thunderx: avoid potential deadlock To: Piyush Malgujar Cc: "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , devicetree , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Robert Richter , cchavva@marvell.com, wsadowski@marvell.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, Apr 27, 2022 at 4:46 PM Piyush Malgujar wrote: > > Using irqsave/irqrestore locking variants to avoid any deadlock. > I see you'll be resending this anyway so would you mind providing an example of a deadlock that is possible with no-irqsave variants? Thanks. Bart > Signed-off-by: Piyush Malgujar > ---