Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1002467rdd; Wed, 10 Jan 2024 06:03:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkDuMi6ftcJT3DfRQwPRn1hDa9by7++og4WmSrFjPF+y+yVV7CBjzQ2SqHUbnmmPUsAxB9 X-Received: by 2002:a05:6a00:6c9c:b0:6db:1653:47a0 with SMTP id jc28-20020a056a006c9c00b006db165347a0mr1370197pfb.1.1704895408110; Wed, 10 Jan 2024 06:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704895408; cv=none; d=google.com; s=arc-20160816; b=S4uVwvrBkVND9nyEEb42HP6TEtF0EDmdwY4e4AM2ZlCPTMblHNNMfxP7pGODL0qJbn w1NG72Mox6J/GYKN4WSLgfYgVirWAqdRVMBi3UOoGlD1Gbgn4sSG/OqGuBt/Y2qAW6ea BHHGBc932eGmAFNJXWY4XhlaAGJCLUftQT0gGYaEFT5db37bX80tjfF/IEJjvCbXSLUk xs860cIPVBzt/3VrCHSUCGMpV6gwyCvqEfjis0BSOX0SKnM5gaLuDogA0SoJGc5Bbj+1 3TAdFDhRlWBAuZZ6cBQpr4ley4krHlwG3i9mden7gNw4NlgkqV3Mr01PAgs3Yx+uaS96 eXMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=k+Mr+KmJGelRGf3klMViR3zDDIQDGoGWBzgH3D20qPM=; fh=Sntd+G0CthFoKfHeh5KAtcEJMuc35jsG6LFomUCRudQ=; b=J5tLLnZpUf2u2JcISj7zxW96UUfkPX3aMZGjzxRsOS6CkjjzAUtx0oDfSInwBLHXRR 2u/9DIVZZnNMhGigZ1A1XJ+imkpV1VsMdHXXGiFFuFwuQRKD9ogWIKvkeiUMYN6viXxq /V/SqRBzab5WIvlvmEeVSdfiRDZWMtzhuY4Xj4wsyETXab+U4NcjT07wguecJpIfi+xY 0HThfXG4jnGBXd1Sp0TYStGm9zu8VmltSB6zQZ0VQFWX/pDBNNU5fEfsH8kuZ5YFjshO fJUUobHrhe3cAUhb4WsebnbluNBJ3CbuYvzrP0F7p8sMJg1Dq79M/92hh8AyEiXP9nWm AmEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22290-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22290-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l18-20020a656812000000b005ced4fbe639si3733677pgt.549.2024.01.10.06.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 06:03:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22290-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22290-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22290-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8D8D0B255CC for ; Wed, 10 Jan 2024 13:57:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 819FB495D9; Wed, 10 Jan 2024 13:57:25 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EA604A997; Wed, 10 Jan 2024 13:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 5DB272F4; Wed, 10 Jan 2024 05:58:08 -0800 (PST) Received: from [10.57.87.179] (unknown [10.57.87.179]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 50C1F3F5A1; Wed, 10 Jan 2024 05:57:20 -0800 (PST) Message-ID: Date: Wed, 10 Jan 2024 13:58:44 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 07/23] PM: EM: Refactor how the EM table is allocated and populated Content-Language: en-US To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, linux-pm@vger.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, qyousef@layalina.io, wvw@google.com References: <20240104171553.2080674-1-lukasz.luba@arm.com> <20240104171553.2080674-8-lukasz.luba@arm.com> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/4/24 19:18, Rafael J. Wysocki wrote: > The changelog actually sets what happens here, so why don't you put > that into the changelog too? Something like: "Split the allocation > and initialization of the EM table" OK I will do that. > > On Thu, Jan 4, 2024 at 6:15 PM Lukasz Luba wrote: >> >> Split the process of allocation and data initialization for the EM table. >> The upcoming changes for modifiable EM will use it. >> >> This change is not expected to alter the general functionality. >> >> Signed-off-by: Lukasz Luba >> --- >> kernel/power/energy_model.c | 55 ++++++++++++++++++++++--------------- >> 1 file changed, 33 insertions(+), 22 deletions(-) [snip] >> -- > > The code changes LGTM. Thanks