Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2714354rdb; Mon, 4 Dec 2023 05:46:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEd4wbRQzHXP7KxArCmWDIBEAIW+EYUgiC5t8uwL+/3PliUeiLgUzL7o3VP4Pg9tM8X2zd/ X-Received: by 2002:a05:6a20:a30a:b0:18f:9c4:d34e with SMTP id x10-20020a056a20a30a00b0018f09c4d34emr3042433pzk.62.1701697584661; Mon, 04 Dec 2023 05:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701697584; cv=none; d=google.com; s=arc-20160816; b=n4mnS06MINsDryzh2Vmm493MVmoqWgAJI6MRggFDTU5/nMaPatUZTyO8LWtzvA/hGk Vs2BoAqIqovcTTUFefYrDfMWY1RyzelE2//yn1sG9ybp9ix7qpqQN40O6v6ony1b3coo ZvyWbIVx4nS4VCbBGRyF182wIXHQGmIAc0D81zsPDThtA43AnVv7ev3ILs2ucmQ4N1bb N5yau7yw0fOzhqVhXEsymiOc2OwNk9t5WSYADhY2epr+pMJIH0vrfQr+Sioen8lvNL+M cV90aeJjGUrERLIxEbL4BktBdGyc+T9Br4lqV33XN9dQrGJNNtrfV5QB6XwUtX1MCa6K tNjg== 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=tLE6Ogb4VVEWhN6OuILs5aI9fGbnWS7wSlJMo2MsmFI=; fh=Lur3ctHBeEL7XoFAM6sF9ihz6adcTpq4ZY/1biXYn14=; b=QubJtL5WZiatj6Sj/jVB11iUxlirk46NRHB2+Bfrsq5DAiKN5/F621a6LJYAsL1yZ8 23bdUSGBlGTlmCE665GFL2w/GvpKYdkCRlqxSEw3dFQZ9XLw7Fy1/GM/HqjpEiUMmI0N GtJXKj1Q552C/qqSKE2sHOlqE5AbVzM7kkxwmdJOpvxnp5KdRmhT//ky3CBDMPIDXwkp hAIYiYyD9M+39rXIcGf8kHqucZIJSHAEc2Dgcesr9WA/iipOdfs9cFkM6tW8uQeecMg0 GLwUNUp/qQeYYVE8XfTfcwMC/rbeqwJHAY5wm9s0kX1QB0kvYSo2ac5bRFabN3unenPc m1/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z2-20020a656102000000b005c688ff3468si1956980pgu.579.2023.12.04.05.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:46:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EF84D8041384; Mon, 4 Dec 2023 05:46:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234041AbjLDNqH (ORCPT + 99 others); Mon, 4 Dec 2023 08:46:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233875AbjLDNqG (ORCPT ); Mon, 4 Dec 2023 08:46:06 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0554FD2; Mon, 4 Dec 2023 05:46:13 -0800 (PST) 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 1484B152B; Mon, 4 Dec 2023 05:47:00 -0800 (PST) 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 7A82B3F5A1; Mon, 4 Dec 2023 05:46:11 -0800 (PST) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sudeep Holla Cc: quic_mdtipton@quicinc.com, quic_asartor@quicinc.com, quic_lingutla@quicinc.com, Sibi Sankar , linux-arm-msm@vger.kernel.org, Cristian Marussi Subject: Re: [PATCH 1/2] firmware: arm_scmi: Fix frequency truncation by promoting multiplier to u64 Date: Mon, 4 Dec 2023 13:46:05 +0000 Message-ID: <170169746209.29716.16597269014104395598.b4-ty@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231130204343.503076-1-sudeep.holla@arm.com> References: <20231130204343.503076-1-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 04 Dec 2023 05:46:22 -0800 (PST) On Thu, 30 Nov 2023 20:43:42 +0000, Sudeep Holla wrote: > Fix the frequency truncation for all values equal to or greater 4GHz by > updating the multiplier 'mult_factor' to u64 type. It is also possible > that the multiplier itself can be greater than or equal to 2^32. So we need > to also fix the equation computing the value of the multiplier. > Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks! [1/2] firmware: arm_scmi: Fix frequency truncation by promoting multiplier to u64 (Applied changing u64 to unsigned long to fix armv7 build) https://git.kernel.org/sudeep.holla/c/8e3c98d9187e [2/2] firmware: arm_scmi: Fix possible frequency truncation when using level indexing mode https://git.kernel.org/sudeep.holla/c/77f5032e94f2 -- Regards, Sudeep