From patchwork Wed Jul 14 16:58:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 1505342 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=qC+Uhh1C; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GQ3d70wNNz9sPf for ; Thu, 15 Jul 2021 02:59:23 +1000 (AEST) 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=Wk2O17XxRU7RiNvShYyCwpFCaRLXGozjdaTiv+Tfamw=; b=qC+Uhh1CVVqa1N 6/YgDvcPgPTsEZdRl9FigEeGg9mIea8C01mAT45OD3Lah3DjH23cvpdogo7/D+NrP9w6PBHIC73wj IKlPHm11kS/vMEM4ZKLt6WVG8y+k2OTsEOeeSghaQXA1X61dd9in7Q34ahu3cPznWDwsn6ZtAS6jo wsQ+8MRxlojw23cwDJpZLrv/r26jcetIMaNnXUpkdBV3C8q/Qzh4ts1aNeTUhfHeFRIbb5PymUzay slzu2lSZ9M2ybBDIjJlrMHL6v1O9X4ZM9kWEcHhGohhx9p5N9CwYjmTn8X4cePRz5riItVi/vRz1Q KZnJdtmMrN69pAVxO4GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3iDY-00ECci-Fi; Wed, 14 Jul 2021 16:58:40 +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 1m3iDU-00ECbH-4z for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 16:58:37 +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 CA985D6E; Wed, 14 Jul 2021 09:58:34 -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 C91C53F774; Wed, 14 Jul 2021 09:58:33 -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 v5.14 Date: Wed, 14 Jul 2021 17:58:31 +0100 Message-Id: <20210714165831.2617437-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_095836_284107_3AE9CAED X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi ARM SoC Team, Please pull ! Regards, Sudeep Content analysis details: (-5.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [217.140.110.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi ARM SoC Team, Please pull ! Regards, Sudeep -->8 The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-5.14 for you to fetch changes up to bdb8742dc6f7c599c3d61959234fe4c23638727b: firmware: arm_scmi: Fix range check for the maximum number of pending messages (2021-07-13 11:42:20 +0100) ---------------------------------------------------------------- ARM SCMI fixes for v5.14 A small set of fixes: - adding check for presence of probe while registering the driver to prevent NULL pointer access - dropping the duplicate check as the driver core already takes care of it - fix for possible scmi_linux_errmap buffer overflow - fix to avoid sensor message structure padding - fix the range check for the maximum number of pending SCMI messages - fix for various kernel-doc warnings ---------------------------------------------------------------- Cristian Marussi (3): firmware: arm_scmi: Fix kernel doc warnings about return values firmware: arm_scmi: Avoid padding in sensor message structure firmware: arm_scmi: Fix range check for the maximum number of pending messages Sudeep Holla (5): firmware: arm_scmi: Simplify device probe function on the bus firmware: arm_scmi: Ensure drivers provide a probe function firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow firmware: arm_scmi: Fix kernel doc warnings firmware: arm_scpi: Fix kernel doc warnings drivers/firmware/arm_scmi/bus.c | 8 +++----- drivers/firmware/arm_scmi/driver.c | 14 +++++++++----- drivers/firmware/arm_scmi/notify.c | 4 ++++ drivers/firmware/arm_scmi/sensors.c | 6 ++++-- include/linux/scmi_protocol.h | 14 +++++++++----- include/linux/scpi_protocol.h | 8 ++++++++ 6 files changed, 37 insertions(+), 17 deletions(-)