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: 12898315 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 9F6D9C433EF for ; Tue, 28 Jun 2022 13:34:39 +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=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-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 ! 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(-)