Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1147849lqd; Thu, 25 Apr 2024 07:18:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfPARqcTXW6yjn+P11zlyy7FXuw40Zn6+5bo0B4I/QXIGEYNq6M6w0CQyYgHka1Rt/YnjfiSDBVDgqpYmSPFYmCloFOvmba5/4S/71+w== X-Google-Smtp-Source: AGHT+IHnHx6l61I3nUZt1Mn3xpaOsO5qlgnTgthhMe5vP79swpycYuxBwf4ghd4ZlzyT8tB39wjl X-Received: by 2002:a05:6a21:6802:b0:1ad:9999:41b6 with SMTP id wr2-20020a056a21680200b001ad999941b6mr1281591pzb.10.1714054738931; Thu, 25 Apr 2024 07:18:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714054738; cv=pass; d=google.com; s=arc-20160816; b=kSooTyAUPThnga79RV+dI303rPd0M+cuBA4VyCyvoXJc2b9TS3ta5QHWOiWWnHvYeu iuNMo3iz38oJ0nG8QdPhiKFPsG5XCee7GFXcxDFMi3Hx3RqKTTQn5e9zsR5xSnrLYKuc q+S1mtH+P6pH0EaHyXbjXKBnlNEiSXyuKV6zL9d/ME7Tt8hQCn7m76O45W//Jk7qKAyR mhgijAGRcC2MP9dmTx+ZFR36a73NIPqdWMYwzDOhJTwYTW/rzMvNt/UgQRHbSjxt7mcs h7Kc2O4/R5O4QJwyeI256vOMsfQ2KmAW6alDoKcd5ICr+7AvUhTRI6hYe5HutWXdii7a xoFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=7K+Nf6VsdXl6zyASN0NLSdOXvxm4osmhlY7e+F5gksk=; fh=aqcKDbHs0wRh6+0M9tgzEbxGz7vhLPAMgbLUVAtcctE=; b=kyHQijiT4Tbl0KUfwyu+fo6MVlnywU/iTKUS4cabkENgpJMgH1BF83YljMeVGqMHB5 0u6rc789ggYpngktfuIljnmmjCfctbHTR4h07UbAc84MwE8+DtJjAE09J0YTxzea+ur2 6MbX1yWpePAsvmB4Y69ycjrJzXP29Eeg4oDxr/A1gkvhsfeJuk2n83Z6ga/olkt1A2t5 bKaH8CNcKU6K/2wvEaxH5sI55bVxpdajmycAHwVvkpzdZYFy5uwKbLhDjdwE38VToyrG 5XGG3aSBSpW12pENEm/cfTJGzc5Ywg4hBCUxS9fVAzg1a+qQe+HzKzyLaxIpHybCuILU P1+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=ghmM1RiL; arc=pass (i=1 spf=pass spfdomain=me.com dkim=pass dkdomain=me.com dmarc=pass fromdomain=me.com); spf=pass (google.com: domain of linux-kernel+bounces-158630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p12-20020a62ab0c000000b006edcb1f1440si12887770pff.353.2024.04.25.07.18.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:18:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=ghmM1RiL; arc=pass (i=1 spf=pass spfdomain=me.com dkim=pass dkdomain=me.com dmarc=pass fromdomain=me.com); spf=pass (google.com: domain of linux-kernel+bounces-158630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D06F289897 for ; Thu, 25 Apr 2024 13:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A576E149DF8; Thu, 25 Apr 2024 13:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=me.com header.i=@me.com header.b="ghmM1RiL" Received: from pv50p00im-ztbu10011701.me.com (pv50p00im-ztbu10011701.me.com [17.58.6.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7759284FC9 for ; Thu, 25 Apr 2024 13:56:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=17.58.6.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053394; cv=none; b=Z6unDOMTZeTE9mAemxZuyRDznkLMmLMisbf0TGdkD1qZbBa8sbSUB/X0lotyWfJ28bqxAHIP37L4NsOGgKqBEGSW60djXFkxZYLgQeWOwoLZACCoKBM0EOfKuZZmDNIPXWPPEMUA9nAoP/7wPc7klw6IxncfBwPc33V8ZQNTU9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053394; c=relaxed/simple; bh=7K+Nf6VsdXl6zyASN0NLSdOXvxm4osmhlY7e+F5gksk=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=IuF84371erBAvoD2G8GpDAbBIW07t3UupJ5CYrfH6RLQZGdYuEOlgfa/sLk5rydHWu9PUaR5KGJ/WF8N63swcAiJgMGlcgmg+ZY4ej/k0yIYcUBz/m0eyDjLRSGaDo+VCESXEWWil3SC2FhCdUARgF/Rd+ewKx+liU/My4vhrQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=me.com; spf=pass smtp.mailfrom=me.com; dkim=pass (2048-bit key) header.d=me.com header.i=@me.com header.b=ghmM1RiL; arc=none smtp.client-ip=17.58.6.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=me.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=me.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1714053391; bh=7K+Nf6VsdXl6zyASN0NLSdOXvxm4osmhlY7e+F5gksk=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=ghmM1RiL2wniVl79VbV1vyEX1i2eISohkaW6uB7INhH2gAcI2m7Bi8orwDpdEN1EZ OBGDd8eWAk/Um6g+jUVwhE9jLGNBP6MCc4gjoptQDRsSu9QPT+rS+4urTXPlLTkr8D rHTc4F3MAAhSMhmUOTmk+2GpdYtFFrnYS+/QsnX3fIOV+ywk+tGbDhnesNCeUBWAkK HylvAAbN8bW5H5kGjjhlJXE8EOCVUzpF/34OPbNDYdGhC/nwsir8GseAGXDyBFbDNg +lq9xbIrzXF8909SK1oh2Fb7xYKRtEpD/4Y0I6YwUPiY2V3hX1zZnbvbxezDbaH/Tf s7wFz9acIhD8Q== Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztbu10011701.me.com (Postfix) with ESMTPSA id 9B32A74029D; Thu, 25 Apr 2024 13:56:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: cpufreq: Fix printing large cpu and cpufreq number From: Thorsten Blum In-Reply-To: <20240425110017.75238-1-joshua.yeong@starfivetech.com> Date: Thu, 25 Apr 2024 15:56:16 +0200 Cc: rafael@kernel.org, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <15DCD462-940A-487C-9780-5B87BF0B3CE1@me.com> References: <20240425110017.75238-1-joshua.yeong@starfivetech.com> To: Joshua Yeong X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Proofpoint-ORIG-GUID: hMIv8pj21TZYbU91GXcnwnG2S3Wl4IZ0 X-Proofpoint-GUID: hMIv8pj21TZYbU91GXcnwnG2S3Wl4IZ0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-25_13,2024-04-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 clxscore=1011 malwarescore=0 adultscore=0 mlxlogscore=983 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2404250102 On 25. Apr 2024, at 13:00, Joshua Yeong = wrote: >=20 > Fix printing negative number when CPU frequency > with large number. >=20 > Signed-off-by: Joshua Yeong Reviewed-by: Thorsten Blum =