Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4065823rdb; Thu, 28 Dec 2023 09:00:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGp57njdIZz6V9lw0ecyJjLz/AyWDdmUCLRrtehGOlWWGcv5yepJoTR/g2ztsXVhR3h/2NM X-Received: by 2002:a17:903:40c9:b0:1d3:f1b7:67da with SMTP id t9-20020a17090340c900b001d3f1b767damr5974137pld.39.1703782837436; Thu, 28 Dec 2023 09:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703782837; cv=none; d=google.com; s=arc-20160816; b=YMkaXBTf8ox1Q1psPGe+CLL6D4hkRv2+1E+c1PEwsb2AsVwgU94g0ouYVEnODkwpu7 iipRzYU4/9/jX+OYNw/fSxlEind+Sl/Sd/yNXbnHaL7KW895HfgThUeu91Nw4qNEXTmq P+naddtmPHXtnD42WSuLbfJluHMpDjeKTYVZjPep556tuXWDcgl3LUVyk89XtST+LGQS b8rjfg7q0GADUxNwzRZX5kScElyoQ+Ms39dk6KZov1yblu8iwHO6rK8C1mCAoWxamTr7 iu04Elprvj84V35ugMozM1gbe+x5Phw8m4xOfogEL1teZ32pxUb2q6ILCfN5UitbhOkI gmKQ== ARC-Message-Signature: i=1; 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=BJkw3kMfw4c7+0aPOU/382bF1hMC8vk98/y6RCWuVXs=; fh=SxHhTsAdJqr/LLyiPt/hO9HGS2MvCviLtaUdSWFtlDw=; b=Mf5oi4Jby3nTD8bIC2fu0x7AmgAB3IE1//4ZyivaqsWE3hdl+xaU7uElobqQ/Ql4r6 3G1K5c+0CIx1b/ZoV/xnU5z/3KUgMp3PCC5ieiXraq73pM9fBLnK9DV3wC0YM41MetN9 g+OpL+ocAc2gHPkYhazxlEFq+f1mG5CR6BywiYBHv2zYIxcN66rG9yrAIOS+lOvdCurG 2MpQ6CI9res6l4sMxWO+cL5pDfLe6FpEW00UjDhbwjAvNlU9OO+Ha2QkcszVMUx0dg6a DJFydiDQ4UfbQ7uUu7GLIAz8WiJ5dBRkSk40wRH2Gut2d4DflHlMDTvwG/JoSsT9wufg Jx8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=gGN9rLI8; spf=pass (google.com: domain of linux-kernel+bounces-12797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12797-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z8-20020a170902708800b001d37163ce07si12960455plk.306.2023.12.28.09.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 09:00:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=gGN9rLI8; spf=pass (google.com: domain of linux-kernel+bounces-12797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12797-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 37689285D0B for ; Thu, 28 Dec 2023 17:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D209AF9D3; Thu, 28 Dec 2023 16:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b="gGN9rLI8" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 97ED0F513 for ; Thu, 28 Dec 2023 16:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-40d5ab2f9f1so24551615e9.3 for ; Thu, 28 Dec 2023 08:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20230601.gappssmtp.com; s=20230601; t=1703782743; x=1704387543; 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=BJkw3kMfw4c7+0aPOU/382bF1hMC8vk98/y6RCWuVXs=; b=gGN9rLI8hHJjgC/bAtsjR0B5MC+34HnQRgGoA1UwRtqpmFstl2p5P9+gc6JuPkVjwC Ztz7T5ZWe9UBst/+Kq3k2By8LDdadE1ZHiO7/HLB/ooNZ+1cKjQUCj9vn4KPmVOn1f5j 6N3f+lbS0Ugi/k25HvDyd0wOiO6Mp2vY6Xp3Fl0C6Ty4ACnCJrqV8ScBFbTKxaASlMnK 27417QjXJHeeXNPOKFWYgUTeBKuMnjzZD8hwrOQip4Ov0dvfkHuBYx17Op/WtYJJFX44 LSXYRDVgHIfO4j75OguQV9dmFOenldm9BQ5X14PO65bGYEJWM8Ff3lhOv1aEgLuNH5ob lvYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703782743; x=1704387543; 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=BJkw3kMfw4c7+0aPOU/382bF1hMC8vk98/y6RCWuVXs=; b=tq2aFZkKuVC+IFZe9dcXLRT9wDsL545oEQeabwrZzFIlOr5Q8Nz6/XLIWc8UHw/c76 9osM6Fr+pX7EnK8Lj7z38GKp4/pmgWvZvLPbI2UUitZ7lV+SF7hOasxIZ+Czw6JUN/zN 5J2SJaKB4Pgch1V2lAxTYAOBDO5QgWV0ebzYAczab9svZ/TMz/WhVcS20LbKUdQUbgn6 RYs2f3knmMmnuM5yn+zILR/aUkaVBQWyeI0MDnB+S0D2QF6RtCl4Ryjniqzm+FctTVPI tnGFnPiVOn4lzKD5liHEhN3ZJePD4YguSlp4GNM9a4DYnQOX8744a3sd5zyzBA3TyvB7 oPTA== X-Gm-Message-State: AOJu0YxE4ScGuSMoSroHZCzVoydnHVjyPF2OM88wjJPdDAR48yX5DxGs AesyuS/fGxzPnuA+9vGKSgM4tKM8qnInRA== X-Received: by 2002:a05:600c:a04:b0:40d:6f02:cbef with SMTP id z4-20020a05600c0a0400b0040d6f02cbefmr309420wmp.59.1703782742789; Thu, 28 Dec 2023 08:59:02 -0800 (PST) Received: from airbuntu (host109-154-238-212.range109-154.btcentralplus.com. [109.154.238.212]) by smtp.gmail.com with ESMTPSA id t7-20020a05600c198700b0040d579817b0sm12545409wmq.15.2023.12.28.08.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 08:59:02 -0800 (PST) Date: Thu, 28 Dec 2023 16:59:01 +0000 From: Qais Yousef To: Lukasz Luba Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rafael@kernel.org, dietmar.eggemann@arm.com, rui.zhang@intel.com, amit.kucheria@verdurent.com, amit.kachhap@gmail.com, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, len.brown@intel.com, pavel@ucw.cz, mhiramat@kernel.org, wvw@google.com Subject: Re: [PATCH v5 02/23] PM: EM: Refactor em_cpufreq_update_efficiencies() arguments Message-ID: <20231228165901.q4sj43wkpiy2be2t@airbuntu> References: <20231129110853.94344-1-lukasz.luba@arm.com> <20231129110853.94344-3-lukasz.luba@arm.com> <20231217175812.s5vaabxtm4cgil36@airbuntu> <89df2982-5492-43db-8e25-d974ff19fda2@arm.com> 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=utf-8 Content-Disposition: inline In-Reply-To: <89df2982-5492-43db-8e25-d974ff19fda2@arm.com> On 12/19/23 10:30, Lukasz Luba wrote: > > > On 12/17/23 17:58, Qais Yousef wrote: > > On 11/29/23 11:08, Lukasz Luba wrote: > > > In order to prepare the code for the modifiable EM perf_state table, > > > refactor existing function em_cpufreq_update_efficiencies(). > > > > nit: What is being refactored here? The description is not adding much info > > about the change. > > The function takes the ptr to the table now as its argument. You have > missed that in the code below? I meant the commit message could be more descriptive if you care to expand on it.