Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp713432lqm; Wed, 1 May 2024 13:21:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGjLp66+2XvLzVxPlHqlXU2wz3MAj7YuZPOAjbAdz9LlGdox7K5EsmY1tMAk5rQ0LVfsEuCCaLvzslx7VTjAaezSKdqUNXryzWRe+brw== X-Google-Smtp-Source: AGHT+IFpTOlMqo3856pi2ozFXwI10WIpVyWzhRHs35wrYx0cq2Bw6uj60gBt5F69jB3Tq2bCH/ES X-Received: by 2002:a17:906:258f:b0:a52:2271:8fd with SMTP id m15-20020a170906258f00b00a52227108fdmr408286ejb.15.1714594876784; Wed, 01 May 2024 13:21:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714594876; cv=pass; d=google.com; s=arc-20160816; b=nm65pDOqzBcnvuItOOQOkbM4iPHRwzi3L5gVDzRvIVfuOGtOdgDoIXBIKbIwJx6EOO GNTk30hOmFn8qe+Hkbazr5ulshufmOwQAlwFTlXVD4ZFC+g3g+srgPpqv/UddJSzZswi iXkWvL4OIvLd1syqxjKinLQLI6EzkEdhL8+QeXj6s1ZcQp8cVB6u2KEb2dLuAGV71J6s hgrPsO52k0JDLgVR6gWEhEwi8dBDrSWOaPQuZOm7a2HN9T08hOtz6LE/04TJSL6SMib/ UvPNADQgsYu3svtdq4KGUNjiaBc9AH9pr1Og3q0be08RiQMrHOyHvTb/W1Ua8Vtjzz4c 8IHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VCUCcBBo8imRtEwnzPIY3m6blY8e5XFE2iUk3uTDIkk=; fh=g8CCRNr+3KZLZMubHkeBiXCSO3jG/ugkzMQ4UTUAqvs=; b=NTCFzfPkCVgE7+f0N4OiJTqeVlt8otXLrabZyZWsu9eZLXGXw8N2WsMuwYaOvJI30Q i/ire3ezZLIuRlR7mSXOH1t3NarDiC3GAM9lFi2AsPxaFqHpFgpRTL60qhScav+5WjiB cYbLoxApiMR9jsDRUkGvPFSuS8ezEDUJ9EgXe/Z0Ree7/utb+bkuDHNnz8gE3jCmGyTX 4lEeyAh4YhfTzc3CPSv7k/LXfSXONrLR2k6dahNG7H2FFbRGxEn5vmu+b2C5sBE0ds7f VrGBPXmH21oFaNLsiRiZHsdaZv1JEdctV8bzlHzWLIxDEDhw6obS0aqnhGkx2Zi0iFL0 PozA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jIKNXPc5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l26-20020a056402029a00b00572b96b32c9si219655edv.381.2024.05.01.13.21.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 13:21:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jIKNXPc5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 79F821F2426C for ; Wed, 1 May 2024 20:21:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A65161635D3; Wed, 1 May 2024 20:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jIKNXPc5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C81811635B8; Wed, 1 May 2024 20:21:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714594860; cv=none; b=RWezOX22dbSJzgX6aQTKwtNBkEOMmYiCV89VVGrKVB3bSglGJTLHyN0UZzP8Du0faJZ2PhqBhkYo0dwoS1/aiyUfRqPXw0f/G0HU08Bk7c7FQbrRxUVkit0nNxG/JYsb3GgQsluwOqZGnJli9JiS2av3Im4zvQRVAa2kqazEtsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714594860; c=relaxed/simple; bh=w6O2G7YKnMDnhaIfNdKszJTmuHApVeW5OQ3m8+R23qE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JreyxeO3BYgv5QTLAHYDk5yOGQKV7u26hUpmQsY9HjYYfRhRyJskr4v5oUhf9J3YqUi8WDZp1zNP5Pvx1wUnsTTH+qW+YeDwrAaK9sqv0GXNc+Z6bA2YQQ0OO7G93s3HZVWTOi8s9XoUXIa0n8qILou2y6rNtFcqelBT+fhyHGY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jIKNXPc5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A60EFC32789; Wed, 1 May 2024 20:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714594860; bh=w6O2G7YKnMDnhaIfNdKszJTmuHApVeW5OQ3m8+R23qE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jIKNXPc5x4HnYugSH9wCso9qS0xNQnY7sn14VH9omtrZIPXDu4KoB23C/6oo/2Bcl dTGfdZ6LQCpW0AcAV+nPC1COXi78PgEuZRalY6cplWruZFl9kIhwDCKXACZeKFGYZ5 +0kA1Nvj9lwe1zsCY0DrdxmrDN1meILJWF7Qa9SCaRtA7uESLQkgKcX+yyqNviMhhZ upab1e25JNc5Z2D1anJ33gYI3p1PspPsbBMOR8PP9556nQAViV31e7IC8DCT/6gw2n YZ0Ot83YZO0jbaITmREyHWtTQ9gfnSO5fNpxrRaTlxMQIsKa/xbCgqeMoHETvtTRxS XA7tuUf5f+dHQ== From: Bjorn Andersson To: Konrad Dybcio , Dmitry Baryshkov , Mukesh Ojha , Andrew Halaney , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH] soc: qcom: pmic_glink: Make client-lock non-sleeping Date: Wed, 1 May 2024 15:20:50 -0500 Message-ID: <171459484209.41039.14363684332772839800.b4-ty@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430-pmic-glink-sleep-while-atomic-v1-1-88fb493e8545@quicinc.com> References: <20240430-pmic-glink-sleep-while-atomic-v1-1-88fb493e8545@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 30 Apr 2024 20:38:57 -0700, Bjorn Andersson wrote: > The recently introduced commit '635ce0db8956 ("soc: qcom: pmic_glink: > don't traverse clients list without a lock")' ensured that the clients > list is not modified while traversed. > > But the callback is made from the GLINK IRQ handler and as such this > mutual exclusion can not be provided by a (sleepable) mutex. > > [...] Applied, thanks! [1/1] soc: qcom: pmic_glink: Make client-lock non-sleeping commit: 9329933699b32d467a99befa20415c4b2172389a Best regards, -- Bjorn Andersson