[{"id":3686164,"web_url":"http://patchwork.ozlabs.org/comment/3686164/","msgid":"<20260505062714.jayZOl2t@linutronix.de>","list_archive_url":null,"date":"2026-05-05T06:27:14","subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","submitter":{"id":86,"url":"http://patchwork.ozlabs.org/api/people/86/","name":"Sebastian Andrzej Siewior","email":"bigeasy@linutronix.de"},"content":"On 2026-05-04 12:34:48 [-0400], Waiman Long wrote:\n> The atomic_tx_lock was first introduced by commit 1abb081e41a7\n> (\"firmware: tegra: Simplify channel management\") as a spinlock_t. It\n> is used only in tegra_bpmp_transfer_atomic() to ensure mutual exclusion.\n> \n> Since the merging of PREEMPT_RT support into mainline Linux kernel\n> in v6.12, a spinlock becomes a sleeping lock when CONFIG_PREEMPT_RT\n> is enabled. As tegra_bpmp_transfer_atomic() is called with interrupt\n> disabled, acquiring a sleeping lock will lead to the following bug\n> report when booting up a PREEMPT_RT kernel on an tegra based arm64\n> system with Boot and Power Management Processor (BPMP).\n> \n>   BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48\n>   in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0\n>   preempt_count: 0, expected: 0\n>   RCU nest depth: 0, expected: 0\n>   2 locks held by swapper/0/1:\n>    #0: ffff42bda2d5b0f0 (&dev->mutex){....}-{3:3}, at: __driver_attach+0x110/0x2c0\n>    #1: ffff42bda4da5138 (&bpmp->atomic_tx_lock){....}-{2:2}, at: tegra_bpmp_transfer_atomic+0x118/0x3c0\n> \n> Fix it by changing the type of atomic_tx_lock in the tegra_bpmp structure\n> to raw_spinlock_t and use raw_spinlock APIs to access it.\n\nDo you have a backtrace why interrupts are disabled to begin with?\n\nSebastian","headers":{"Return-Path":"\n <linux-tegra+bounces-14168-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-tegra@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256\n header.s=2020 header.b=JPllJHKt;\n\tdkim=pass header.d=linutronix.de header.i=@linutronix.de\n header.a=ed25519-sha256 header.s=2020e header.b=28Pfh6f5;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-tegra+bounces-14168-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=\"JPllJHKt\";\n\tdkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=\"28Pfh6f5\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=193.142.43.55","smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linutronix.de","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linutronix.de"],"Received":["from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g8pTS2Rxgz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 16:27:24 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id EF811300752D\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  5 May 2026 06:27:20 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 9D8E73C73D9;\n\tTue,  5 May 2026 06:27:19 +0000 (UTC)","from galois.linutronix.de (Galois.linutronix.de [193.142.43.55])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 241F23BF66E;\n\tTue,  5 May 2026 06:27:18 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777962439; cv=none;\n b=XXsciAdkE4UwJzmSHbsdic9iFvSDNX8wjWHXruGEMMtR/HwH7qUasdkzHFcJJRzR2ofxmHrEpqofat98QjSHfGX9xlzP/36lJyt9sy/Bb2+sOOgPeaSlMmVvIwXjGin32Dk73+1WqAWk/WqJp8hoAmKpkgRUH5IiVnveF6MvCRI=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777962439; c=relaxed/simple;\n\tbh=+KEtOCQsGDRLpQu7nmv9x+S1q2+x8pKajXVJ9gqyYOA=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=RpqOeC2JJ6nhEHBpuFbF4B+VELODS09f6VvjcMBaL9muRoP0cQZwA6ni5Mc/OhwqDsAwhBPjW+47xUg2TetoteGc0DC0Kh0qeyTbd9VPbB6yb4vGF8GKmPLGJlFXr0QhZ1GLpcaZjhwJMDcBc4igCPkEXIK5nDVcl80JKPRnnAI=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linutronix.de;\n spf=pass smtp.mailfrom=linutronix.de;\n dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=JPllJHKt;\n dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=28Pfh6f5; arc=none smtp.client-ip=193.142.43.55","Date":"Tue, 5 May 2026 08:27:14 +0200","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;\n\ts=2020; t=1777962436;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=WSN6Iss074GJAg0Cap5/M8tkIWKay7mbArGgThSND00=;\n\tb=JPllJHKtmvMQOeBdRxuAPktyEj5370t2b0F4tZvcNvWy0/cJGTjdcqZm3jAIIm4GpD5VZv\n\t1XFvvH4dHqsQIf42hg+1OwGqjIzup3LZBb2dUDXBvkZIYRwKsL+yf6tsJV7ymhWTvuZCB1\n\tArwGsY/Jk2nb6f/IxwAZUJ1AA7gzV02EN24meD9xeMAY+KznJmRCNmFbnSpAhwlpAGOds3\n\tydBvrcTzAFDuKpDGEgCPhhgjA5RZ20TtueKUG/S5jZfu+c0zqXto99x9BN+qVrLnc52nU1\n\tANLu3l6l0J+pF4XPlupQDWDdkCzNw8tXh5cG+d0QaWfBTzpPdXT4n0ynsWokig==","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;\n\ts=2020e; t=1777962436;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=WSN6Iss074GJAg0Cap5/M8tkIWKay7mbArGgThSND00=;\n\tb=28Pfh6f5Pk67M/b8Y6TY2UJ6WRjHPf9OrjJNvIpudObczlWMNbRk8p6AdwQTe1vOS4GBVO\n\t+G+RCNN+MSGLnVBQ=="],"From":"Sebastian Andrzej Siewior <bigeasy@linutronix.de>","To":"Waiman Long <longman@redhat.com>","Cc":"Thierry Reding <thierry.reding@kernel.org>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tClark Williams <clrkwllms@kernel.org>,\n\tSteven Rostedt <rostedt@goodmis.org>, linux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev,\n\tjberring@redhat.com","Subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","Message-ID":"<20260505062714.jayZOl2t@linutronix.de>","References":"<20260504163448.1063474-1-longman@redhat.com>","Precedence":"bulk","X-Mailing-List":"linux-tegra@vger.kernel.org","List-Id":"<linux-tegra.vger.kernel.org>","List-Subscribe":"<mailto:linux-tegra+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-tegra+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20260504163448.1063474-1-longman@redhat.com>"}},{"id":3686842,"web_url":"http://patchwork.ozlabs.org/comment/3686842/","msgid":"<20260506064105.7R4Q7XJP@linutronix.de>","list_archive_url":null,"date":"2026-05-06T06:41:05","subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","submitter":{"id":86,"url":"http://patchwork.ozlabs.org/api/people/86/","name":"Sebastian Andrzej Siewior","email":"bigeasy@linutronix.de"},"content":"On 2026-05-05 15:47:23 [-0400], Waiman Long wrote:\n>  __might_resched+0x254/0x330\n>  rt_spin_lock+0x70/0x140\n>  tegra_bpmp_transfer_atomic+0x118/0x3c0\n>  tegra_bpmp_probe+0x564/0x6f0\n\nSo this is tegra_bpmp_ping().\n\n> I know that interrupt is disabled becasue of the following code.\n> \n> 346 int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp, 347 struct\n> tegra_bpmp_message *msg) 348 { 349 struct tegra_bpmp_channel *channel; 350\n> int err; 351 352 if (WARN_ON(!irqs_disabled())) 353 return -EPERM;\n\nWell, yes. It disables interrupts just probably to document the time it\ntook for the transfer so it can write it then via dev_dbg().\nIt is hard to tell what the worst-case delay here is but it is probably\nnot important if this is just boot time/ driver probe. Maybe.\nWhat I am bit more concerned if the actual path of this\ntegra_bpmp_transfer_atomic() invocation via i2c driver is actually\ninvoked with disabled interrupts on PREEMPT_RT. Because that might not\nbe the case. I've been looking at the i2c call chain and it is not\nobvious what the actual call chain is. There is just\ni2c_in_atomic_xfer_mode() check. So it may or may not be used in the\nend.\n\n> Cheers, Longman\n\nSebastian","headers":{"Return-Path":"\n <linux-tegra+bounces-14227-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-tegra@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256\n header.s=2020 header.b=4I4AwYbQ;\n\tdkim=pass header.d=linutronix.de header.i=@linutronix.de\n header.a=ed25519-sha256 header.s=2020e header.b=pyeCEy4W;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-tegra+bounces-14227-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=\"4I4AwYbQ\";\n\tdkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=\"pyeCEy4W\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=193.142.43.55","smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linutronix.de","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linutronix.de"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9Ql02Tqnz1yJx\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 16:41:16 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id DB1E53047749\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  6 May 2026 06:41:09 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A372A311C01;\n\tWed,  6 May 2026 06:41:09 +0000 (UTC)","from galois.linutronix.de (Galois.linutronix.de [193.142.43.55])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 3891E3101A7;\n\tWed,  6 May 2026 06:41:08 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778049669; cv=none;\n b=UHnjbPpxDDm+f+ybif5O2qtkI1SvXfxXEAU+nusfZ5541YC8zKwzFyzx3BBJpGR79YHIPa7YySZeWQ9MCk0cupKYNP01I3/qv2eFWb2/LYuHE2YERUsUv9EB4f3dBdWJtufPsfRZQKHAjMnN8oi2HU48jiePpld7R8f/joj58XE=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778049669; c=relaxed/simple;\n\tbh=x7UCgp8b7qknECnRSkXyT1Vd7jQFx6dofShcudHrvzk=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=YqTp+sr/XdyY2HhhgZssKKieedtpLDDb/Z2m5cIjcggEBh8gicx8QCKsA5Vlpa9PtxkBA5EWI6HaqoGauzCHk2E+st1h6+DuL5f7V1bVRG1Z5AMbGgCLZM732B1K1SIsOybw55YYDpWxVY99Hhi2AWdugzD8OzpdtCyqFHNvPY0=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linutronix.de;\n spf=pass smtp.mailfrom=linutronix.de;\n dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=4I4AwYbQ;\n dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de\n header.b=pyeCEy4W; arc=none smtp.client-ip=193.142.43.55","Date":"Wed, 6 May 2026 08:41:05 +0200","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;\n\ts=2020; t=1778049666;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=x7UCgp8b7qknECnRSkXyT1Vd7jQFx6dofShcudHrvzk=;\n\tb=4I4AwYbQAZ9tzhfcl9HGOznA+HWoAiAqrUiz1qHflGOZg5bJ1GJkPgn7T5x5EL9GGPC9dC\n\tBkEIwk7ZU3+3BzjUkJ+3WpxTkfVsPHWz8NwZ0G/jP3AnZQsVPzRiqdCx4ugvCg1WGVJNwL\n\tstFBGi8JJZVtx50LMYid4kQg6COs6Uej6rJLeBUMLL8Ojmy8MULBtwQewXkT9olyc7oUqv\n\tRNEfC9fBBAElb0kkTFpXMfj13U8iT+O3A0OIpG9A+fiCm5uRMQ6UjbHDUUXniO48AZKVH4\n\tMtwzTCQ7Wpn7DS7u5lu76UTRGcFZzYK/Pvqb4c0XQjhYGE/JzwTjYGg6HZbrCA==","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;\n\ts=2020e; t=1778049666;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=x7UCgp8b7qknECnRSkXyT1Vd7jQFx6dofShcudHrvzk=;\n\tb=pyeCEy4WrMGax2ZI0Do75MWLWWVBnca+/u7SrEgYSoFHRJQdOs6pDECIhQj4ZuoK8rBFFk\n\tjbIYCPNQVOLTsxAw=="],"From":"Sebastian Andrzej Siewior <bigeasy@linutronix.de>","To":"Waiman Long <longman@redhat.com>","Cc":"Thierry Reding <thierry.reding@kernel.org>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tClark Williams <clrkwllms@kernel.org>,\n\tSteven Rostedt <rostedt@goodmis.org>, linux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev,\n\tjberring@redhat.com","Subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","Message-ID":"<20260506064105.7R4Q7XJP@linutronix.de>","References":"<20260504163448.1063474-1-longman@redhat.com>\n <20260505062714.jayZOl2t@linutronix.de>\n <afdb5fc1-f478-4547-aa39-04d477854d64@redhat.com>","Precedence":"bulk","X-Mailing-List":"linux-tegra@vger.kernel.org","List-Id":"<linux-tegra.vger.kernel.org>","List-Subscribe":"<mailto:linux-tegra+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-tegra+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<afdb5fc1-f478-4547-aa39-04d477854d64@redhat.com>"}},{"id":3690470,"web_url":"http://patchwork.ozlabs.org/comment/3690470/","msgid":"<1a8ce61a-8f4f-443a-a454-0301b42af7de@redhat.com>","list_archive_url":null,"date":"2026-05-12T23:42:03","subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","submitter":{"id":71281,"url":"http://patchwork.ozlabs.org/api/people/71281/","name":"Waiman Long","email":"longman@redhat.com"},"content":"On 5/6/26 2:41 AM, Sebastian Andrzej Siewior wrote:\n> On 2026-05-05 15:47:23 [-0400], Waiman Long wrote:\n>>   __might_resched+0x254/0x330\n>>   rt_spin_lock+0x70/0x140\n>>   tegra_bpmp_transfer_atomic+0x118/0x3c0\n>>   tegra_bpmp_probe+0x564/0x6f0\n> So this is tegra_bpmp_ping().\n>\n>> I know that interrupt is disabled becasue of the following code.\n>>\n>> 346 int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp, 347 struct\n>> tegra_bpmp_message *msg) 348 { 349 struct tegra_bpmp_channel *channel; 350\n>> int err; 351 352 if (WARN_ON(!irqs_disabled())) 353 return -EPERM;\n> Well, yes. It disables interrupts just probably to document the time it\n> took for the transfer so it can write it then via dev_dbg().\n> It is hard to tell what the worst-case delay here is but it is probably\n> not important if this is just boot time/ driver probe. Maybe.\n> What I am bit more concerned if the actual path of this\n> tegra_bpmp_transfer_atomic() invocation via i2c driver is actually\n> invoked with disabled interrupts on PREEMPT_RT. Because that might not\n> be the case. I've been looking at the i2c call chain and it is not\n> obvious what the actual call chain is. There is just\n> i2c_in_atomic_xfer_mode() check. So it may or may not be used in the\n> end.\n\ntegra_bpmp_channel_write() calls tegra_bpmp_wait_request_channel_free() \nwhich waits until the channel is freed. So it is hard to tell how long \ndoes that take. In my case, the bug report happened at boot time.\n\nAnyway, are there other comment about this patch?\n\nThanks,\nLongman","headers":{"Return-Path":"\n <linux-tegra+bounces-14408-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-tegra@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=VfLo7qBE;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-tegra+bounces-14408-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=\"VfLo7qBE\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=170.10.129.124","smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=redhat.com"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gFY6M0CMtz1yHW\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 13 May 2026 09:42:19 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 84651307375E\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 12 May 2026 23:42:15 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 0A724386571;\n\tTue, 12 May 2026 23:42:15 +0000 (UTC)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 8500D34405B\n\tfor <linux-tegra@vger.kernel.org>; Tue, 12 May 2026 23:42:13 +0000 (UTC)","from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-693-gnllGmdsN_SK1mDCeqaF5w-1; Tue,\n 12 May 2026 19:42:09 -0400","from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 9343C1956095;\n\tTue, 12 May 2026 23:42:07 +0000 (UTC)","from [10.2.16.241] (unknown [10.2.16.241])\n\tby mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 0E80B19560A2;\n\tTue, 12 May 2026 23:42:04 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778629334; cv=none;\n b=EDP/mBwjEyDbT+OgqU7PNg2lpiQWWyfCuJa3IXGFS4odoakNH08xoJ/hLoauVi4wPk+i09DDOFwMb4jN7mqRrUFo6NODDhjyCRizuFrdgQR0gB0nXg+7bCl7WIdvpA0YpRwPctCFygD9vGMJydgAac0wy4idWrsWi0gPCpdx6Pc=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778629334; c=relaxed/simple;\n\tbh=K/FbVyEnSjXQNhl2/gYDd+uql3tMVW2iPkwNkLb10xk=;\n\th=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:\n\t In-Reply-To:Content-Type;\n b=jPTd6P4JXwK34vI2uJm6Mi8/OfwOdfpY4F0oi/WySyVZN8laWqtqJNo45oXlx/ZgAXy/+s6GPwAPVyxko1iBcwYSQbtS0ni59ZAJnDuk7KEnwKRbmsDa3Fx5V6uE9QucjdvFloUb8g/aRiTF2TR85z63JMmqp4OC7p4FPvtwXKM=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com;\n spf=pass smtp.mailfrom=redhat.com;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=VfLo7qBE; arc=none smtp.client-ip=170.10.129.124","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1778629332;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=7o5mBg4H1s27CSkJ6QLJUQ+LW+M3lQ1OujNNhR5gy5M=;\n\tb=VfLo7qBE+B+AxRTLxYyrks7+bCfrrPHBK9OPPHjQmFvmp0Ot6q4xViv53Tgn+Jq0TidBV8\n\tvKl4WSFdJgYbKlAC5sZp8c7p4e8wVDf/Tv6zIpYS70ceCMRo04UCNSaVC8CmpmEDndDp55\n\tCpiLZksXmZBIXan5ckz2hal/zXCB/Vs=","X-MC-Unique":"gnllGmdsN_SK1mDCeqaF5w-1","X-Mimecast-MFC-AGG-ID":"gnllGmdsN_SK1mDCeqaF5w_1778629328","Message-ID":"<1a8ce61a-8f4f-443a-a454-0301b42af7de@redhat.com>","Date":"Tue, 12 May 2026 19:42:03 -0400","Precedence":"bulk","X-Mailing-List":"linux-tegra@vger.kernel.org","List-Id":"<linux-tegra.vger.kernel.org>","List-Subscribe":"<mailto:linux-tegra+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-tegra+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] firmware: tegra: bpmp: Make atomic_tx_lock a raw_spinlock","To":"Sebastian Andrzej Siewior <bigeasy@linutronix.de>","Cc":"Thierry Reding <thierry.reding@kernel.org>,\n Jonathan Hunter <jonathanh@nvidia.com>, Clark Williams\n <clrkwllms@kernel.org>, Steven Rostedt <rostedt@goodmis.org>,\n linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,\n linux-rt-devel@lists.linux.dev, jberring@redhat.com","References":"<20260504163448.1063474-1-longman@redhat.com>\n <20260505062714.jayZOl2t@linutronix.de>\n <afdb5fc1-f478-4547-aa39-04d477854d64@redhat.com>\n <20260506064105.7R4Q7XJP@linutronix.de>","Content-Language":"en-US","From":"Waiman Long <longman@redhat.com>","In-Reply-To":"<20260506064105.7R4Q7XJP@linutronix.de>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-Scanned-By":"MIMEDefang 3.0 on 10.30.177.12"}}]