Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp524835iof; Mon, 6 Jun 2022 07:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwM1MsAm2eYRd8DqF5+PI7CRbY2dZCZWwL58C7AUc3xN01UjSVIjNETkbfFREG0OiEqe0bs X-Received: by 2002:a17:902:700b:b0:167:736e:cfb1 with SMTP id y11-20020a170902700b00b00167736ecfb1mr8458567plk.36.1654527361741; Mon, 06 Jun 2022 07:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654527361; cv=none; d=google.com; s=arc-20160816; b=Zs6tZn8wEmhDDu4IabCi3ZVBw7hP3QlPPSa867CTuE20Hkqc4NHgL2o4Fryyf9CG42 YA2ppyfHYODQ/f1UY79J/6GJkwdHrzGMLxc/xzzsZYlhm7yXFjC9CU3QRJoZsVLAM0fT QKfi+uUut6GqXR2fQOAoJKVrxArKI65C4LSHuIKuMWFEVnpft4DBgj4pVlMNO8RXx33H f9NAXlOPEPIpvu8vFpyUpeeoQs273WreAnOpmhAC16/ZzJm2rJZGKZlxmQhqnHIOcOuh gX/aAsr90iyuugE7QQsMptUf9qppXBJ4O8nMqPyqmzEQVdTtOK9iOgsJrbLZj4l3mIDJ dQew== 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=gw82k34GCoDmwgrLFb+MS/hiX79vlnx9ash2q9XevC8=; b=t7M2rIFuSgJkE7kD2ABQLQRMGguBr90j8mhPuKAJ5uKqsiv7eZSECwo/MdXVlwYocv BlwC2Tm1F5NPTo0SLYE3qiOwPYYVdyUB67aqVvdcHl+oIPvWsGkeELQx0lUKvn7ldb/I ORbEvPR4IQCGMAQKiua52FH50JTO82nBZr6TZ2i/1GR/5BK72phPaa6pbWkOZEfJsoHd B0p93zh06AsRa+SxAUIuToD2XdvAbJU5VT9+cs3b9o8XD60afeWlzben+nhkEERtX4Cd f5GpMbLRpkgjHyHiRv2+4pGAXx3aPoG6d4CfZWC2OtYoI1NMl0vZHvCcBAvp6M2sDnva SgHQ== 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=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id np17-20020a17090b4c5100b001dff303247dsi27200498pjb.1.2022.06.06.07.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 07:56:01 -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=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD8DC4F441; Mon, 6 Jun 2022 07:44:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239888AbiFFOoA (ORCPT + 99 others); Mon, 6 Jun 2022 10:44:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239836AbiFFOny (ORCPT ); Mon, 6 Jun 2022 10:43:54 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 406F84E3B2 for ; Mon, 6 Jun 2022 07:43:54 -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 198711595; Mon, 6 Jun 2022 07:43:54 -0700 (PDT) Received: from bogus (unknown [10.57.9.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 38C0F3F73B; Mon, 6 Jun 2022 07:43:52 -0700 (PDT) Date: Mon, 6 Jun 2022 15:43:05 +0100 From: Sudeep Holla To: Cristian Marussi Cc: Michael Riesch , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Heiko Stuebner , Liang Chen , Kever Yang , Sudeep Holla , Jeffy Chen , Peter Geis , Nicolas Frattaroli , Etienne Carriere Subject: Re: [PATCH] firmware: arm_scmi: Relax BASE protocol sanity checks on protocol list Message-ID: <20220606144305.agzzyf7c4kp2nwlw@bogus> References: <20220523171559.472112-1-cristian.marussi@arm.com> <45bf11a8-47eb-e088-ba99-30c8788c7143@wolfvision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Jun 06, 2022 at 02:31:48PM +0100, Cristian Marussi wrote: > On Mon, Jun 06, 2022 at 02:59:10PM +0200, Michael Riesch wrote: > > Hi Cristian, > > > Hi Michael, > > > On 5/23/22 19:15, Cristian Marussi wrote: > > > Even though malformed replies from firmware must be treated carefully to > > > avoid memory corruption Kernel side, some out-of-spec SCMI replies can > > > be tolerated to avoid breaking existing deployed system, as long as they > > > won't cause memory issues. > > > > > > Reported-by: Nicolas Frattaroli > > > Cc: Etienne Carriere > > > Cc: Sudeep Holla > > > Signed-off-by: Cristian Marussi > > > > Thanks a lot, without this fix the Mali G52 GPU won't probe on my RK3568 > > EVB1 in vanilla v5.19-rc1. > > > > Yes, the break was reported on -next and today it appeared in 5.19-rc1. > A proper FW fix is also up for review by Etienne but in the meantime > this tries to limit damages relaxing a bit the checks. > > > I guess this patch should have a Fixes: tag, right? > > > > It has not a Fixes tag because the issue was introduced in 5.19-rc1 and the > fix will go in with the next round of v5.19 fixes by Sudeep (AFAIU) so it > will be solved within the v5.19 cycle and I thought the Fixes tag was > not needed in this case (I could be wrong...) Correct, if for some reason, we can't push this before v5.19, then fixes tag needs to added. I will add that then, but for now let us target getting it in before v5.19 -- Regards, Sudeep