From patchwork Mon Aug 29 17:44:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 12958300 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 8DC37ECAAA5 for ; Mon, 29 Aug 2022 17:45:43 +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=qyW1ZoA7WIxMkSWRlvUrStPXTF3gSiEfDnt2Bh72fXE=; b=fn/G48wot26zmX +4Js7rZDDJpclPZ6PFuxZ86grq6AbnwByKEDBfmVvpSokhTSSwx7RE9vESRiOAvhfLgtaY3hG/4FM Rpgesf5TL5Te7M8IpBtf6LExfj2BY9mmBvG/BMUhS0yh3NrBJXZpsCDihsH2tHy/Szomd/ZAKSoOt baqdAaaTLuHpBh2WzCCdBIYee83rsSDASujBriRqhcyouEB8Oibc7++oKB2JZESzCPaw1Q8oNc30z w0FZX83HUNV2ShfIrSI8SN51U5pwdhX9Z+FphAgqDmOIsaAJDx2kuH4Pw070otgeu4AbMxBsAY3ct GCTFRsm7jqFYuqh/IKhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSioc-00C5Ta-26; Mon, 29 Aug 2022 17:44:50 +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 1oSioS-00C5Rv-FE for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2022 17:44:42 +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 040FA23A; Mon, 29 Aug 2022 10:44:45 -0700 (PDT) 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 DB2293F71A; Mon, 29 Aug 2022 10:44:37 -0700 (PDT) From: Sudeep Holla To: ARM SoC Team , SoC Team , ALKML Cc: Sudeep Holla , Arnd Bergmann , Cristian Marussi , Olof Johansson Subject: [GIT PULL] firmware: arm_scmi: Fixes for v6.0 Date: Mon, 29 Aug 2022 18:44:35 +0100 Message-Id: <20220829174435.207911-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_104440_987683_166310EE X-CRM114-Status: UNSURE ( 7.29 ) 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 ARM SoC Team, Please pull ! Regards, Sudeep -->8 The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868: Linux 6.0-rc1 (2022-08-14 15:50:18 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-6.0 for you to fetch changes up to 40d30cf680cb735eed479a2fee127a7bc7fa3d4e: firmware: arm_scmi: Harmonize SCMI tracing message format (2022-08-23 12:21:37 +0100) ---------------------------------------------------------------- Arm SCMI fixes for v6.0 Few fixes addressing possible out of bound access violations by hardening them, incorrect asynchronous resets by restricting them, incorrect SCMI tracing message format by harmonizing them, missing kernel-doc in optee transport, missing SCMI PM driver remove routine by adding it to avoid warning when scmi driver is unloaded and finally improve checks in the info_get operations. ---------------------------------------------------------------- Cristian Marussi (7): firmware: arm_scmi: Fix missing kernel-doc in optee firmware: arm_scmi: Improve checks in the info_get operations firmware: arm_scmi: Harden accesses to the sensor domains firmware: arm_scmi: Harden accesses to the reset domains firmware: arm_scmi: Fix the asynchronous reset requests firmware: arm_scmi: Add SCMI PM driver remove routine firmware: arm_scmi: Harmonize SCMI tracing message format drivers/firmware/arm_scmi/clock.c | 6 +++++- drivers/firmware/arm_scmi/optee.c | 1 + drivers/firmware/arm_scmi/reset.c | 10 +++++++--- drivers/firmware/arm_scmi/scmi_pm_domain.c | 20 ++++++++++++++++++++ drivers/firmware/arm_scmi/sensors.c | 25 +++++++++++++++++++++---- include/linux/scmi_protocol.h | 4 ++-- include/trace/events/scmi.h | 30 +++++++++++++++--------------- 7 files changed, 71 insertions(+), 25 deletions(-)