From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 60D16A0A02; Tue, 6 Apr 2021 10:59:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0595F140F8F; Tue, 6 Apr 2021 10:59:49 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 5B378406A2; Tue, 6 Apr 2021 10:59:47 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B50115C0100; Tue, 6 Apr 2021 04:59:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 06 Apr 2021 04:59:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= N7wsiRF+i6itDBKoQywGTDgu6XAkHzOlby7pPAc8vK0=; b=HbJZAmXdblmHJEKj X7p6fRNOzRiMz35qKwOZZLEdGI2OpU1YHEDKKnpuyW0mZxuk9pqQ77m4iZ5B/CJr iS60BeENTkLWA81/hfD5s5sZgG124Zn3/v/T6zxi2WnB8Mnm9Y9YqwXZ7TSmYYtG TFVsb6lLDSzvSkczmkrLR3PRXo98SrnEafZg0tsFYNpJ2dEBWSAcHj1VTH8YM57M b1MzD+X6Q0PKDw9fsxkOu0isx6zey9hvycdtWgj4/IKWhA4lGJQmyIS/Dky7wUnW +F5SJ2SeaPox6WdlcPgYknHg858nz0b+sCOwuEz1qrLQsD0vd1gDJHf/Z2RBxdEC 0xG5+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=N7wsiRF+i6itDBKoQywGTDgu6XAkHzOlby7pPAc8v K0=; b=EsJccShP7LEb6f9+5Op4qIvN4fXVhP5mz74sPuSuSOBL2cukTh3qj00xD aDLTUNIOF+jTlLAZZkzgT8qz6JNNaEBcofV1q7SL4YwylNOEl/g04ql1yvoSgEVx W/AgQvggCAEQ2OVtSQc2wKUX1HRnTEME+8p8AdkGHqmH52Uihe1QuZoP0TT7zqf8 BE3yD4OqLGRgINOKYNXial3TmmywtghB82boIeiSlh6cGVI2XR+J1JBnvWpbWVOR z0lnVtONCk54pUHEHOJR2l54oCqRSs1kVCrhz+8ypt0tNZdaYMQ1YjRy6zZjp4C/ a4kUPDDi8Q8xSIJS0rMzcSj+AZs0w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejgedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C8D5240057; Tue, 6 Apr 2021 04:59:45 -0400 (EDT) From: Thomas Monjalon To: Richael Zhuang Cc: dev@dpdk.org, stable@dpdk.org, David Hunt , Pablo de Lara , honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com Date: Tue, 06 Apr 2021 10:59:44 +0200 Message-ID: <2020878.rH1OUNIyh5@thomas> In-Reply-To: <20210406083006.45702-1-richael.zhuang@arm.com> References: <20210406074510.49589-1-richael.zhuang@arm.com> <20210406083006.45702-1-richael.zhuang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1 1/1] test/power: fix several bugs in cpufreq autotest X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, When sending a new version, please upgrade the version number. Would be good to cleanup patchwork as well, by setting old versions as superseded. 06/04/2021 10:30, Richael Zhuang: > 1. Sleep for 1s before checking the newly updated value from > "/sys/devices/system/cpu/cpu%u/cpufreq/cpuinfo_cur_freq", because > for some systems it may not be effective immediately. > > 2. The value in "/sys/.../cpuinfo_cur_freq" may not be exactly the > same as what we set. For example, we write "2400000" to > "/sys/.../cpufreq/scaling_setspeed" to set the frequency, then the > value in "/sys/.../cpuinfo_cur_freq" may be "2401222". So need to > round the value. If there are multiple bugs, they should be adressed in multiple patches. > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. I won't process a confidential patch.