From patchwork Thu Dec 22 18:38:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Marussi X-Patchwork-Id: 13080218 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 D8D60C4332F for ; Thu, 22 Dec 2022 18:40:16 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QUK8y1gTagYUW5rZjpafTbpILMcG2KCL40NsjWMK760=; b=IETaxwnbPuYi0P dDzNGqY9Y8wQZuZ4+JQ9+Dqt6teOigxmR8jORh4MsivC5XtYVLiyfFELbX0VQp94JA/7Hnb7MmBBT cdSMYq9dVVS8aOVfNkN1tfbtdnUjH7sz5DQmCd7cZq8BWG3XtFgk3JA2L/gZEkkP6i03NYb8KX1sg DzLhtZ+3KDTQkNpbJwVEvxMyw97PcI8KHuXRLz0UrdGYvbYFgK3N574iyJYQzJyNolBwTseXKcgrl 14VuhuQsxQysg3OyajSAm+FjcL+zwIjZbKjGCtVT5bAuo7oCf6Vg+RJ53T9uuiLTl1h+X8kpX7b4n 7mhO3xbhXgpnszFD4klw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8QTA-00FXz5-PZ; Thu, 22 Dec 2022 18:39:04 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8QSs-00FXmQ-WD for linux-arm-kernel@lists.infradead.org; Thu, 22 Dec 2022 18:38:48 +0000 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 9FE9D1570; Thu, 22 Dec 2022 10:39:23 -0800 (PST) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D793F3FAFB; Thu, 22 Dec 2022 10:38:41 -0800 (PST) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, cristian.marussi@arm.com Subject: [PATCH 0/5] Miscellaneous SCMI fixes for v6.2 Date: Thu, 22 Dec 2022 18:38:18 +0000 Message-Id: <20221222183823.518856-1-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221222_103847_213648_C67711B0 X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, a small series with a round of SCMI fixes, mostly trivial. Notably, though: - patch 4/5 adds a missing binding definition for SCMI SystemPower protocol (merged a while ago and probably lost in translation txt->yaml) - patch 5/5 addresses a possible deadlock, spotted by LOCKDEP, at SCMI stack unload time, when using a virtio transport backend. Applies on v6.1 Thanks, Cristian Cristian Marussi (5): firmware: arm_scmi: Clear stale xfer->hdr.status firmware: arm_scmi: Harden shared memory access in fetch_response firmware: arm_scmi: Harden shared memory access in fetch_notification dt-bindings: firmware: arm,scmi: Add support for syspower protocol firmware: arm_scmi: Fix virtio channels cleanup on shutdown .../devicetree/bindings/firmware/arm,scmi.yaml | 10 ++++++++++ drivers/firmware/arm_scmi/driver.c | 2 ++ drivers/firmware/arm_scmi/shmem.c | 9 ++++++--- drivers/firmware/arm_scmi/virtio.c | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-)