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: 3234 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp108190wrn; Thu, 22 Dec 2022 10:44:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXt2flqxjF9Dy3NTOa8w2NrqHs485GaN5eYatCU8VUx7Ep18BrtcqsTMOsy96BWqwNrSf2Hz X-Received: by 2002:a17:906:bc1:b0:7fd:eb9e:6fd5 with SMTP id y1-20020a1709060bc100b007fdeb9e6fd5mr5371337ejg.45.1671734686692; Thu, 22 Dec 2022 10:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671734686; cv=none; d=google.com; s=arc-20160816; b=W0bU0g90xkj8RyvE5SD2qG+tP3CSC+F7JyoFmQbsmB2G15mjsLCtyQ1x7J+8zRBwZU N06T+ue6yPFSy0HLp0RDC/dB/OQdpWgCx/fa8TGv5fkjV33xp/n1+H/NbPPbetJu4/rt QJMlYfre2mt6eVPlq/SCj3DsX8+KSSfJWseQs39KHb3bzaUts1i7R6KKgbGTK9Ttjp+P FfT1sXW3/FOmETvB2RjbhjcZFcAO13f0el+O/CHhwDgbiprRSQfHacz4G1tCUSgjP9RQ RifaCAz8MAATArznYNwlQPBpmnh/HSHHC55ag1mhZqHSXV0B767FAouJgd9eciBKNlUo 5PWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tJfSiMfdNyfbtNGys33w4uZ+/d6Ihy7pz5NvSjI99+w=; b=MhKZvSNgyQT6yQqQ8BA3wznmQcFRfsKe3e5C5/EX6se5QTMudMKJ7f0neCiR9ljwBB 5b4e7/1yTsje5A13MWQj9t9w0WHoD8XTTAZ1Kc/4gTag1nlwnSJ7uil0lBDTPMHIktDf CEQYG9mPkEhZtz0QMjKBBs35H+4vQysCCk//3bH1Bzybidi3d9I5M1l7RuDmnn+8qFPc xBqt8veNkrh65MrAgHAwzrLMWyraBuAef/YN8mR4yZ8hW0FF5MzAb2hjuIq4MHeYxGso XWN6JcTxVb89UnhOBo9CdFDF4giZxbg1DfWCZvLti96LCs+tNE5a1H7Cik1i791/0oqQ 5UXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xg9-20020a170907320900b007c18e8131e1si988480ejb.744.2022.12.22.10.44.23; Thu, 22 Dec 2022 10:44:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231892AbiLVSip (ORCPT + 99 others); Thu, 22 Dec 2022 13:38:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbiLVSin (ORCPT ); Thu, 22 Dec 2022 13:38:43 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C45C21D332 for ; Thu, 22 Dec 2022 10:38:42 -0800 (PST) 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752940870829085091?= X-GMAIL-MSGID: =?utf-8?q?1752940870829085091?= 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(-)