Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp972120iob; Fri, 13 May 2022 18:10:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAabA+bX0nPIZ5uc2n7pYHS38UMlkX0EeZAiJvAoSxcodhp5FVrRvAccdykO5MAqPW8XJa X-Received: by 2002:a05:600c:3b04:b0:394:6150:db8f with SMTP id m4-20020a05600c3b0400b003946150db8fmr6721371wms.183.1652490612729; Fri, 13 May 2022 18:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490612; cv=none; d=google.com; s=arc-20160816; b=R+EJxjdFfElkIBku9aK7ex7yMvudJCj6OSqh77nE0J+RjZ7GSogIe6eGu7FyGnVDO4 NcIjg5Mnbw2vu7Zpdax1B3WjMbHCe5SnBT0kowCN6H7nPvoJa6bqEvl7ZAKd7jS6vCiG viVGytdb3YnZ/blw9rhzyub/v0uv8bivIkzxf92tF1/l4HxzZj8vvZYcrFzroGrJsgOf wwqblgQX/+5YU2WQS9SvZh90iTUXg6K8F6RS55DrO3p/2lYyIffEf1jfJHZ/ONXZ5o92 X8PLL0ZPSeW7d7kkbIzUZgHzPZ4oOMDweMUROOv5BgpXncL7zGftSRAxnIPFaWTGKY7d R9YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ST+qAhdU7/cZlj697gZHwuRQHlUU00vxmi2GZYjTeOY=; b=dCAoPLqoqlnp/ephLHCXCJ7vik6s5ZrRp3Xxh6DpD49pOd1ypceNOwAYfRY4qLIQYj 65C53BUdoL+yKPjrPZDsulzNdp4MDBKGzT4zqTZKwT4XVHId63HetikJ9W2n933R0hg3 +sv6IjB0YuRaZD2aYEi7cosMIagGcl10ZOa3nK47NOuXgYdkwzW7vgG2SJNupXol/Nxo HRsYqKkC3iCua6VLTfd6vQPP5vJ7IvxlkpdOmjbEadU4gEeu+FDLTYkq5UBiTNTQfDfH 0oohkEWv4rTZ4LWrm+8nxgap7nY9x2osDCDS8avmyEzz03WfRr/qWxVTbJHFM2nvWcW4 8TfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u1-20020a056000038100b0020616ed30a9si3270657wrf.344.2022.05.13.18.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:10:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A1B703916BD; Fri, 13 May 2022 16:41:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345207AbiELOel (ORCPT + 99 others); Thu, 12 May 2022 10:34:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355044AbiELOef (ORCPT ); Thu, 12 May 2022 10:34:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D834F9C2E8 for ; Thu, 12 May 2022 07:34:34 -0700 (PDT) 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 AC4C9106F; Thu, 12 May 2022 07:34:34 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 36B4B3F73D; Thu, 12 May 2022 07:34:33 -0700 (PDT) Date: Thu, 12 May 2022 15:34:30 +0100 From: Sudeep Holla To: 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, Kever Yang , Jeffy Chen , Peter Geis Subject: Re: [BUG] New arm scmi check in linux-next causing rk3568 not to boot due to firmware bug Message-ID: References: <1698297.NAKyZzlH2u@archbook> <6587375.6lpfYT6tjA@archbook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6587375.6lpfYT6tjA@archbook> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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. -- Regards, Sudeep