Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp958742iob; Fri, 13 May 2022 17:44:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJvYw/J7IIAyqKVbQ8UwPFVvilT83aqlpXQDZWBM04ExqN0bkhCtw3cO1wsm4tKCljJBou X-Received: by 2002:adf:d213:0:b0:20a:d703:154f with SMTP id j19-20020adfd213000000b0020ad703154fmr6150181wrh.604.1652489052408; Fri, 13 May 2022 17:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652489052; cv=none; d=google.com; s=arc-20160816; b=u43a2KNn7F/poJYhWRHPy2/6NNPy5PH9N91CMxDAukHnAZv5YujsM2qYfJLkr52b7g DejtwGlorLrDj0feSNlHXDhRVflS/D5BM8tzI4W2iN9Dv5qOJvbE4OU6yRGL92lLpu99 r8opKDZ2OK06S1c8tqT7jFwJ2pkiWAVCU3qhDy0xWn9qSrp91G7XL0U25q1DdPllOjFX 2eAktivcB3CQh1GB2qbPFGGb0MOcbFTGGfQSFnX1n6DrCbyQhpjuEdZtGmWY22txxOF8 Ho46DVhclD7K2VLQtJ/Id7pFtZqNRtFWw3NdFZyn2m+rMZa6XaDZc8U6j16bamvZcJNo W5Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=rxp8i+xOs9OcofR6H7QUpUynPbeh3+UqT9J3swOKg6Y=; b=OEAF1Ta3H+11+n1vOILejw6BQxZJfE6hfdryzHiack0YdoDowvRawusyOMZuMxMERs S0v8vE2feoB4+F81LbJ47cWV5GTPmOMvdblCd/R/NTq1f9MvAwWUTmh9ihO1PL5vwwNH 4EmcZcJVYQpMHyds4JSVtocu5c6gj0BqZC4BztBi8I4q802pvbdpNGkHY6zGL3a0iYMd 7oE0WpFxraZT/iupmQxB/n1psGcvO4MmWly4PhTPgfYvk1yTMee3l1I8DaH2p79T0LK3 0FlbQ57eRwRc4MgK5NomC0BtL3gcOVe6vg2OMu6sLIiY/0ae3aDvyFaqYQWT1xvj5ndm mllw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v18-20020a5d5912000000b00203e90194f3si2925294wrd.631.2022.05.13.17.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 17:44:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DF1AB319975; Fri, 13 May 2022 16:24:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345277AbiEMJou (ORCPT + 99 others); Fri, 13 May 2022 05:44:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232842AbiEMJoq (ORCPT ); Fri, 13 May 2022 05:44:46 -0400 X-Greylist: delayed 3611 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 13 May 2022 02:44:45 PDT Received: from mail-m17655.qiye.163.com (mail-m17655.qiye.163.com [59.111.176.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FBC51E2510 for ; Fri, 13 May 2022 02:44:45 -0700 (PDT) Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m17655.qiye.163.com (Hmail) with ESMTPA id 2E4D94003D; Fri, 13 May 2022 16:44:32 +0800 (CST) Message-ID: <94bf30a2-9dcf-07b2-ccb6-3c4aa5cf6a00@rock-chips.com> Date: Fri, 13 May 2022 16:44:31 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [BUG] New arm scmi check in linux-next causing rk3568 not to boot due to firmware bug Content-Language: en-US To: Sudeep Holla , Nicolas Frattaroli Cc: Cristian Marussi , Etienne Carriere , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Heiko Stuebner , Liang Chen , linux-kernel@vger.kernel.org, Jeffy Chen , Peter Geis References: <1698297.NAKyZzlH2u@archbook> <6587375.6lpfYT6tjA@archbook> From: Kever Yang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUlKS0tKN1dZLVlBSVdZDwkaFQgSH1lBWRpPQklWGkMfSkhMSx 5LTExKVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktITUpVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6ODI6Nzo*ND0*SU8tTigDOQsh AzdPCRVVSlVKTU5JT0hKT0xJQ0tPVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFIQkNMNwY+ X-HM-Tid: 0a80bc974751da01kuws2e4d94003d X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_SORBS_WEB,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Sudeep,     Rockchip has notice this issue, we will check how to fix this issue in our ATF release. Thanks, - Kever On 2022/5/12 22:34, Sudeep Holla wrote: > On Thu, May 12, 2022 at 01:11:22PM +0200, Nicolas Frattaroli wrote: >> Hello, >> >> sorry for the late reply, completely missed that there was a question >> for me in this mail. >> >> On Donnerstag, 5. Mai 2022 11:40:09 CEST Etienne Carriere wrote: >>> Hello Nicolas, Cristian, >>> [...] >>> >>> Indeed the firmware implementation is wrong in TF-A. >>> And also in OP-TEE by the way: >>> https://github.com/OP-TEE/optee_os/blob/3.17.0/core/drivers/scmi-msg/base.c#L163-L166 >>> >>> @Nicoals, do you want to send a patch to TF-A, or do you want me to do it? >> I have no experience with TF-A, so I'd prefer if you could do it. >> >> In good news, Rockchip has confirmed they're preparing to release RK356x >> TF-A sources, so I'll be able to port the patch over to their sources once >> they are released, if they don't already apply it themselves. >> > So, there is no way to get a blob release with the patch applied ? > We know it is a bug in TF-A and if Rockchip is using that codebase, it > will be the same bug there too causing this issue. Waiting until the > code is released and the proper TF-A port is done may not be acceptable > for many developers. So someone from the rockchip doing these tf-a blob > release must get involved here, understand the situation and get the fixed. > > We can workaround, but I want to hear that it will be fixed instead of > getting ignored until proper port is available. > > Etienne, are you not the author for the related TF-A code ? How can we > get that fixed in the TF-A code base. If you are not, then I will try to > get my repo login credentials sorted so that I can only push TF-A change. >