Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp246668lqp; Tue, 11 Jun 2024 23:26:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3EQMPPlFUP8YtnGAzc77DuTGyLhR1PjeDLiIKB6PbmcxF+XU6LFhYniHAqnlCUARXw0mSH5mG1FStc2h441eoOZ8t8SqabIIoEUSmDw== X-Google-Smtp-Source: AGHT+IHBjj9tydzybrNziM5txCCASgDn9Okz4wc4bxe7dXtK0bTjCs2WtdRDumM6vl5NzcpRof/t X-Received: by 2002:ac8:5fca:0:b0:440:f3d8:2148 with SMTP id d75a77b69052e-4415abb331dmr9005681cf.1.1718173597659; Tue, 11 Jun 2024 23:26:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718173597; cv=pass; d=google.com; s=arc-20160816; b=GYfiM/UWKkNHssuGQbJtsS1oXyXhpgBVU5T0u2k9J7+kl4Mv1uJa4eor9iyXXvVsyO /MtT+LwZe1fALPFhfXbggjvITLcqGYZ+k/oIFEmw2L2GZS4vXQgNEbEBr30qEUM1+Pqs kJQBAkpAt327BUOT8NC+voxOdctuO+vcZm2Cae3i+OdANelomUffhJPYS5v8TEeEBlEr xoCZA3ov7evOZkW3EZlD8Xwq8D64lL6l3oG3EdNMeAUADh1St4gmDPoLq3kvElKNK/K/ gGQr0wea7Wv9n0Btm441zP+KB2SSQNhyiduT6W4E3iH3Cjgvi09N9P7W7145tEu7eiAz 0lQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+0qDpNTuN255HruljLxZ81sNK88XdDWwGWSt+LRgqrk=; fh=qsJOLIMWnc5Y5X511DjaFiCmNtxydKaB9sgkI4aMD6o=; b=sB8IRpOhbhlO25GBXNPtzkSSqvXbqei9bhvKgFBr0TQ/EA6WxVtLKPtMwAJPlHW92B 5pyIdPEupkTYhQln/XzasaXZy/lyP+9+Y5e2QCPzUY4j1V/9ng1L4pKg9/BTQLuMbbaS 6mrbeoyndyGu9SIXno7x6QRpoaQzzuqUfW9IQAA0Br1x6Ol7z4sDi2sLziNs3PabPtls tDSat2slumvAjweVPZrwoGawWu4SL4Y1jP4w4tPymcj1X3QN15SdlQ6H73pyrqAYrLMw hg2ZclguBivjxWrulLnbC9woB51uA8A3aX9UH6+5RsNrrAKBkm5tQJXXlyiqbqR6A4fd Df2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z6a9aNld; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-210974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-4405e608a2esi86308811cf.103.2024.06.11.23.26.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 23:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z6a9aNld; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-210974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F37B1C2113B for ; Wed, 12 Jun 2024 06:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6F07168C16; Wed, 12 Jun 2024 06:26:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z6a9aNld" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6AD91649BE for ; Wed, 12 Jun 2024 06:26:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718173589; cv=none; b=MULBDc58U6N7I/XTDY+Hrlymfiu7b8VRtdand9B20RRTp02K8K+bwsfV+oN05KaSLdGjwoqcsz8u6dSdlXSVe+z6W/92HNIFIL4NSxs3H8teH7bW8a6Amp4K4SeAVMRdBdqy8dmVuDKTipDMGBpttnRe8eM6gLM/jo87Te1Hm98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718173589; c=relaxed/simple; bh=OjV2vgagW1+36R48ACdlpUls/Ff5SMqKkUp9o2DpjS8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gy3eD8RZPGPX6igqsUuOiywsj91X9vQ+3bIlD69nhan2OoXVyeJC06OLmiO7Az6lPvel1l5AR1lfdvgHnHwjwVjEur4G9QC6Qb2deFGxIhfuVeCxIX1DkKhyDp9m0pjM3vzBd9rEvU7PVNrxDtDJU89CBFm3cz8SMY4fWcXmmNk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Z6a9aNld; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-70417a6c328so4001594b3a.1 for ; Tue, 11 Jun 2024 23:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718173587; x=1718778387; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=+0qDpNTuN255HruljLxZ81sNK88XdDWwGWSt+LRgqrk=; b=Z6a9aNld1t2HgEmd1UnMeg1fWCv8oBp+tHv2ilPRrRzXEJYygV0maRiC/TuZRJJmsK +C5WjAaU2gW6//5K3Sd1QNSEjGQZVtUKwjCBy+cuBXH301EUjBkLjghIg3ZKW04C+jnj OT3zcayDwptwZC0nsP2bS3Fa568Uh4LPoy7q24KTBF4qm+gsdoxzhW83wmnMPrXcAYO1 1FX5LUwv3+KfdHsagVpPuy9u/lPIDuRvIt2Qx0a94W1d9J/XqpSEMBEsz2J7zZQY001F 1os7McqTEY73SPT9ewUA0EKk1rgMUA9rl0JW4QtoDDbUVpoNCRZ0XCGplpYH5eIJjcOb Ujgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718173587; x=1718778387; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+0qDpNTuN255HruljLxZ81sNK88XdDWwGWSt+LRgqrk=; b=tAPFYtFvKNGDYRhWAobsmu8OGXH2CeJkWdHVARKfLxbszsf3hcqBp7QpI28RC7DFJ8 pBaoCIUnjvkq1PnsyDx4lKKrv0ghu3k6kGAcS1tFErKWB9xb+S48J4rC4Bl5xRYlwcL0 KQbK7pqFUXwYT2mhMjz7fA4+cjbaTozPEhgnsZ91XmvcMSdUNHmgR4ag2Amf6ILQaUrR /cwItqULwA52R8Fx0KE4WJlsFwp75o2EVFKw3KwDU3FhY194eqwq5XOv8rwxr8nz+pIC dgsUMaErLokSa1CAZMVxD/bX/9qMcH4QibowN0aVKzP9SqvUOY2zKiX2d8v5jy6mzhZX eyxg== X-Forwarded-Encrypted: i=1; AJvYcCX7BjNNM3SFptdzj4O5kAYOiG8nSXT4jyjMlJ0RHcJ6b0VBkQI5fNQ8F+tzB+gXr+vdLi3liYAN0JVwWsHkQaL+XYKCw/eZ+rSWRi9L X-Gm-Message-State: AOJu0YyPfvVOu7zk8yfSoWMcQP9jxN2mi/1tGfhIDWcM5DShhc0imv08 GAODBrelOymykAN1pM7u9dopn1hNSrBRHmF7R1mdKooBlBIXqCLIkajLAwOs1UE= X-Received: by 2002:a05:6a21:32aa:b0:1af:fbab:cf92 with SMTP id adf61e73a8af0-1b8ab6a8be5mr1146101637.54.1718173586835; Tue, 11 Jun 2024 23:26:26 -0700 (PDT) Received: from localhost ([122.172.82.13]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f712408089sm53434545ad.117.2024.06.11.23.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 23:26:26 -0700 (PDT) Date: Wed, 12 Jun 2024 11:56:24 +0530 From: Viresh Kumar To: Riwen Lu Cc: Ionela Voinescu , beata.michalska@arm.com, rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, hotran@apm.com, Riwen Lu Subject: Re: [PATCH v3] cpufreq/cppc: Remove the desired_perf compare when set target Message-ID: <20240612062624.i4kcm2nhneed6yjk@vireshk-i7> References: <20240530061621.36byo5a2iqc6o2az@vireshk-i7> <20240606090737.z3qenphikjs5ijj4@vireshk-i7> <20240611091049.lrypvvluntf37uff@vireshk-i7> <20240612062404.yjfduze4bvgyts6a@vireshk-i7> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240612062404.yjfduze4bvgyts6a@vireshk-i7> On 12-06-24, 11:54, Viresh Kumar wrote: > On 12-06-24, 10:52, Riwen Lu wrote: > > I think it's no need to remove the "desired_perf" local variable here, the > > code is seems more readable. > > There is no need of a temporary variable and I don't think it increases > readability at all. Moreover, same needs to be done in > cppc_cpufreq_fast_switch() too. Also please don't send the new patch in-reply-to the earlier one. Send a fresh thread. Thanks. -- viresh