Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4138923iog; Tue, 21 Jun 2022 12:54:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uDxQvFPJAylc2UrZr7x+VWvUX5T5pEooEVadIDJgxDNZRTMKaSqBcqHAnJsZq9y1DuDasL X-Received: by 2002:a63:2bcc:0:b0:40c:95b5:46a4 with SMTP id r195-20020a632bcc000000b0040c95b546a4mr14639518pgr.535.1655841266854; Tue, 21 Jun 2022 12:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655841266; cv=none; d=google.com; s=arc-20160816; b=qDJFNVVjR3Fj3MrK5kGPySJQp0SSkGpBLlkpssFio7sM+2bXPQOhK2svZXtoaDvLLD DZIbSjtfXwHovHNnvXaqegPJD4N7w7UoHcJOYsr/xlj6T+mSoR44RjeasM6y/JsYxHta nAORrW4NTT6IW0NdE+SQxjfhclQmt8Or+NkjWAwrpzj++m1jvGETya42J4GLL0FhcXW5 mhRW5dkhl/fHq8mQ9vY/qGfchuZsoeTZiPwYvVm5dIUEVHITZfVRZr+sAeU3Dc36Smt4 8xdo44gvfx9umu2KXwDRptjMrqwDIlDoLtlLcbhuKktgqXdwF4Y/xrI51XG4K0Y7ePfS 1m+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lqMnmN5t6PfwZW2PW8/Z3UYdaM0I28YVVuhtfkNTwTk=; b=f/+lgTy+35EZeB+42TdZ4BCraEAOIKY2BwhS3FaU7ahFrHoaRLQUsaAcL1niDEMII1 Otl50ZJus3BRdxw2E/TW6yzurP9kWVboPOdK/W27erzbc/jHt6p4U4D9IklbWhOV098+ mMna4WNX1R8xx28RyGG40/kcT6NgUtN2rW+MbZ1bgIhowcXGDI95KIGbSSXlZl4i3HdQ 7aK9g3mnr2KtfEjEoVywH19DCIbdLgiwXso60MN6wL7KTsK5GioSPmrwu8UeSmIy6gTy uh4ZicVrN1r/i167UaXvdpaaI7E7PDDQaZCAoRBh8Xef9ViwLVJ5V0mOM3t1v7/vO/7o l9gA== 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:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z127-20020a636585000000b0040c9c626e78si219870pgb.813.2022.06.21.12.54.13; Tue, 21 Jun 2022 12:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353855AbiFUT1f (ORCPT + 99 others); Tue, 21 Jun 2022 15:27:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353480AbiFUT1e (ORCPT ); Tue, 21 Jun 2022 15:27:34 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41D3B25C52 for ; Tue, 21 Jun 2022 12:27:33 -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 34A20165C; Tue, 21 Jun 2022 12:27:33 -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 D81213F792; Tue, 21 Jun 2022 12:27:31 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Cristian Marussi Cc: Sudeep Holla , vincent.guittot@linaro.org, nicola.mazzucato@arm.com, robin.murphy@arm.com, f.fainelli@gmail.com Subject: Re: [PATCH] firmware: arm_scmi: Relax CLOCK_DESCRIBE_RATES out-of-spec checks Date: Tue, 21 Jun 2022 20:27:29 +0100 Message-Id: <165583954166.3333585.2295158486736398663.b4-ty@arm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220616170347.2800771-1-cristian.marussi@arm.com> References: <20220616170347.2800771-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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, 16 Jun 2022 18:03:47 +0100, Cristian Marussi wrote: > A reply to CLOCK_DESCRIBE_RATES issued against a non rate-discrete clock > should be composed of a triplet of rates descriptors (min/max/step) > returned all in one reply message. > > This is not always the case when dealing with some SCMI server deployed in > the wild: relax such constraint while maintaining memory safety by checking > carefully the returned payload size. > > [...] Applied to sudeep.holla/linux (for-next/scmi), thanks! [1/1] firmware: arm_scmi: Relax CLOCK_DESCRIBE_RATES out-of-spec checks https://git.kernel.org/sudeep.holla/c/754f04cac3 -- Regards, Sudeep