Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp364510rdb; Mon, 22 Jan 2024 06:42:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIdv9IpP08lG6wFegGqGcPCqiOejG9DdTI0ElmisfW+Q2oNoXuTMRVxvW/c2k2A4bMGr1y X-Received: by 2002:a50:d606:0:b0:557:16e9:487b with SMTP id x6-20020a50d606000000b0055716e9487bmr2821edi.44.1705934545741; Mon, 22 Jan 2024 06:42:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705934545; cv=pass; d=google.com; s=arc-20160816; b=YLRZFbEQ647NsUvclGQCaSy7nAS2mJRhHkD2kd30G4kqUs68pG8gxPJ9Zzityw6CuY Guuii+06ksxk2eZmyS08SU4EaOzADjqwco1hFmPspoyfs8MksLqSnr4oHiMU6N5r8Dh2 OiDuFr4aLCHzbWo/AuzdYenaQn+2iACDJsF7lnpQOVCkmwSSShqzbG0OIvMXr0xcqimE uRhVDbqLJxVysGtPO98B9p9P6sPTvtII7W7r9Tm9ZCAt0tLd5LrvbmmVycgKq5tBFR+P c350MdG6Z8SXaCH1nCOp0+GID8Tm8YuIDs1Z14x9fzsndmHHEVEf5CW7//SNAHjgRf0u 5i6A== 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; bh=kANNPMlj3u/rSsAO8DDBi3jaVbzhQB0p+LPXJ/4a04k=; fh=JzgozjwYu+0uTg5mcQmcU36R64juOCyEQ7nQsnJH94Y=; b=q1dUl1IR/kVL1eKbcQtjDwb/3VGyHbO9zvUHqezdNP5PzK4f+uSGzBgARq4UeUv3Gq wrXRmE1zKaZRilLBy+Q7thgbzWbP1i4zWOHx6zssLlYuy/EzEZdNIAZxv2Lm/vdehPdM n8+vxYX7URenLCp1QG7Q8tDdxPwpfzy0xfSf4Nj+0uygDYEYSlTMvAPKI54RuufxayqA TfrWdr+7pow2gIzPG7L6DKur81rpGYkLoJNnZKaaIZqTuOPG+rRXpRRJPzPy8KX5Zo9n oF5i8d4Eb51pxI7fdrAV1F+5eqD/xkm0PA6pRavnhYc9sFvLi8q8nU7DHyMq5JF9NRD9 vkTQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-33180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z5-20020a05640235c500b0055a8cb2d5a0si2845343edc.398.2024.01.22.06.42.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 06:42:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-33180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 81B6A1F22BB6 for ; Mon, 22 Jan 2024 14:42:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E11493D56B; Mon, 22 Jan 2024 14:42:00 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A381A3CF6D; Mon, 22 Jan 2024 14:41:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705934520; cv=none; b=jCAQQYirVF0LfsAgQP8x13Rcv6yQEIECdIUPOymZ14wKdAddLK2I/6NjML8aemwcW0dGeLdCnwMrekVCTqREa7NGPLi/5awI/O/mgchq1AhN3IiGwIOKmSjjGe8PaIUJVYfEp00nEo+sAlUmQukjv80ON3TXYmGEeYmEVQ/E5Mg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705934520; c=relaxed/simple; bh=JvnshlR0gFiI2tKo5823WoQz/LUZa7lQ4DVNorByMPE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZEEcj8ecGTtYOesZJnAhX1530pgOLSPp+9qujq47P3bFchhlpmVaT9wD1oLajMycg4izLQHPAU4PTbcDeNxuWzzoFWxx+n8wE3y92HeDagaRJ7bYCiWKBGVPdpUXda3Mu2Qcn5dj2747jihstKoJKEJL6RYvLoHah6uxhq/SSKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 186E31FB; Mon, 22 Jan 2024 06:42:44 -0800 (PST) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F21053F73F; Mon, 22 Jan 2024 06:41:56 -0800 (PST) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Cristian Marussi Cc: Sudeep Holla , vincent.guittot@linaro.org, Xinglong Yang , stable@vger.kernel.org Subject: Re: [PATCH] firmware: arm_scmi: Check Mailbox/SMT channel for consistency Date: Mon, 22 Jan 2024 14:41:50 +0000 Message-ID: <170592361006.3509502.11519593066787083768.b4-ty@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231220172112.763539-1-cristian.marussi@arm.com> References: <20231220172112.763539-1-cristian.marussi@arm.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 Wed, 20 Dec 2023 17:21:12 +0000, Cristian Marussi wrote: > On reception of a completion interrupt the SMT memory area is accessed to > retrieve the message header at first and then, if the message sequence > number identifies a transaction which is still pending, the related > payload is fetched too. > > When an SCMI command times out the channel ownership remains with the > platform until eventually a late reply is received and, as a consequence, > any further transmission attempt remains pending, waiting for the channel > to be relinquished by the platform. > > [...] Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks! [1/1] firmware: arm_scmi: Check Mailbox/SMT channel for consistency https://git.kernel.org/sudeep.holla/c/437a310b2224 -- Regards, Sudeep