From patchwork Tue Jun 28 13:33:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 1649520 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.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=ZxNJzggq; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LXQY040fcz9sG2 for ; Tue, 28 Jun 2022 23:33:56 +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=D/HJQiWsx7tkSUXCyH8ZDPSywj3oVa1EOq3fDlr284c=; b=ZxNJzggqbTVV/i pN5Xsdltx7Yxh+++elZq4JnYnqpO+8drqGC9GSGgWNqcwMHe5nTZolBHYSsU8dt2Ufog5ecJN3sD3 ElsDrULuf+paNzHIk4tXDYXUqTJnKINXSUuUVMz5PgMX0C/aTDj8Kcassye9lovFaAL54Jlk37m3y JDBiPQCrxoOSmKkJqDhlEW8BPxam8BQpDRq6EhZZ6yLKYxtQbLt3ML1agR/XdImQT+g2bYD8jb7F/ dFeCVW2YrcVCHjms0hkEYyRGycODRZZmz0w2K5Mkj4raSqEcWvmQk1rV86n30cudBSJA/rC+whVxB ddfuML5z5K5eAOsmy14Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6BLK-006R91-Da; Tue, 28 Jun 2022 13:33:26 +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 1o6BLG-006R6v-KW for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 13:33:24 +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 6D776152B; Tue, 28 Jun 2022 06:33:20 -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 43B0D3F5A1; Tue, 28 Jun 2022 06:33:19 -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.19(Round 2) Date: Tue, 28 Jun 2022 14:33:15 +0100 Message-Id: <20220628133315.699803-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_063322_757625_A61B4B67 X-CRM114-Status: GOOD ( 11.61 ) 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 ! We pushed several extra conformance checks in the SCMI driver and quite a few firmware bugs have been discovered with that. Due to absence of formal conformace test suite for SCMI, we have to workarou [...] 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 ! We pushed several extra conformance checks in the SCMI driver and quite a few firmware bugs have been discovered with that. Due to absence of formal conformace test suite for SCMI, we have to workaround them in the kernel for now :(. Regards, Sudeep -->8 The following changes since commit 44dbdf3bb3f44bf08897ed5f22eb262edcf3d926: firmware: arm_scmi: Fix incorrect error propagation in scmi_voltage_descriptors_get (2022-06-12 19:59:55 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-5.19-2 for you to fetch changes up to 4ce7e51dc712f8a006ce6abcc49f788c79287c03: firmware: arm_scmi: Remove usage of the deprecated ida_simple_xxx API (2022-06-27 16:58:14 +0100) ---------------------------------------------------------------- Arm SCMI firmware driver fixes for v5.19 Few more fixes to address: 1. Issue reported on Juno with HDLCD clock which turned out to be yet another firmware issue. The firmware is not conformant to the spec and we now have to workaround as this may be copied to other platforms as well. The spec expects to return size of 3 for a range clock rate description while the firmware returns 1. We have other ways to validate all the 3 entries the driver reads are polpulated and we use the same to workaround this firmware bug. 2. Optee transport not setting the correct reponse length which is similar to the one reported earlier on Rockchip platform. 3. Drop the usage of the deprecated ida_simple_{get,remove} and migrate to the ida_{alloc,free} ---------------------------------------------------------------- Bo Liu (1): firmware: arm_scmi: Remove usage of the deprecated ida_simple_xxx API Cristian Marussi (1): firmware: arm_scmi: Relax CLOCK_DESCRIBE_RATES out-of-spec checks Vincent Guittot (1): firmware: arm_scmi: Fix response size warning for OPTEE transport drivers/firmware/arm_scmi/bus.c | 6 +++--- drivers/firmware/arm_scmi/clock.c | 26 +++++++++++++++++++++++++- drivers/firmware/arm_scmi/driver.c | 1 + drivers/firmware/arm_scmi/optee.c | 7 ++++++- drivers/firmware/arm_scmi/protocols.h | 3 +++ 5 files changed, 38 insertions(+), 5 deletions(-)