Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp232048rdb; Thu, 18 Jan 2024 01:42:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu4GynEboNXf6ZCbXmK9VKp9DLkBXDeVSV4cRDCXpwE4zF5U+QXY3RggUBI+rj1t4AYGBq X-Received: by 2002:ad4:4ee8:0:b0:67f:1f0c:b30e with SMTP id dv8-20020ad44ee8000000b0067f1f0cb30emr553894qvb.32.1705570948640; Thu, 18 Jan 2024 01:42:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705570948; cv=pass; d=google.com; s=arc-20160816; b=nxWUIFfX+plAtmkeg+loFuOpxAtUVyvifPDiATQF25qHoLWTmejFSK8DUjCV0CXBpB eGsULtUKUvlxiOv8VKFDVj5ZC38ucdRwtCUzYgSC4AjIyjNJDZGp+pbznmhZ5ZD4JMLd g0PmnUq4iztD2ILHg3wcDMLIwaqXCztnvFR40zt/PPtyVFh1krwRT0c6Edl2/F41XTzU y0TfvDW59TZduF5tTP9yzd+wlAHYZjd3OTqoQYnsUruPrJ0WGDsg1ZPfYLR0tAUti9N3 AbE54Zq5bl34tcqlH7Urid5zq0/qO6HmsVknJeIlUgzClGAl1CPnY3XUVhxK5S0qVk1Q w8yg== 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; bh=r8plYihb9laS5d5T4pemVhe8YrP40NGTCHr5Tf+g4LI=; fh=bXjBr0D3X/yvgentrAET5QfVThNX5BfZTYyByB44puo=; b=lakvcOzvVOds1dF3f3gtShU8nqvodZSUbFkgXbm1Lw6+hrpUawMSGjkKAWVqG6KI9s 7uQq5F8fg9fYIsNmxV8UrQ6foqoa/w9u61jehUXCeNmEJf9wgBlndghaFmVX9i+cTJAk MKhVpkkXMqxCY071FkYJluNpFgkkOcd8FQqsumEwb//Uqf5Yf1CH2gKMxH/AMeylzZci ROynlQQGfh4aTQOw9cou0adSDnFaAlnTank5ZZuHpItiGj5r/kCQS9jJjgc9f0T0Txg0 RWQFaZWuEwMrVTXZiPNJ8Pclp0l+t/1tYBRvz9W8cZSdlptnOd8g27I+Oj1iee2U9VxP CG1w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-29970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t25-20020a0cb719000000b0068191db76fdsi821262qvd.262.2024.01.18.01.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 01:42:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-29970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29970-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6850C1C24299 for ; Thu, 18 Jan 2024 09:42:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A22B41F610; Thu, 18 Jan 2024 09:42:21 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76D9F1A279 for ; Thu, 18 Jan 2024 09:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705570941; cv=none; b=r1j+WLO7EuqyGYADAv01Jjoh+TIxYtAdFNvWMOtqDZLFTUdQvS8wkDfvzAhXYTnEey14kOqSzKGZ7AiUaq6VWItF+6YTyIuSVQTuYixrylTsURbti2JribIvg9v6bxOY/UnMQ5kmCewlsZ6cTZKWpHmAd0R+4jEHSxvuThUQVT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705570941; c=relaxed/simple; bh=r8plYihb9laS5d5T4pemVhe8YrP40NGTCHr5Tf+g4LI=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=I93Jzxo1P28Y8c1r/Ynz8dVngahLd5/KKqTRxGHY0jR41uhILYgGTzeQGKMOCkTRhvQeRrKTXjeE4j7Sa4Q7TKLSih4lRPmxSuY+ij9mNl8OMIi2LR5PjUXGD2nhEOF3VosVKV9NVZDh9rlLZqInIcm1zb8HC/xAzmj+kxWLXp0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 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 866F51042; Thu, 18 Jan 2024 01:43:04 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B7E003F5A1; Thu, 18 Jan 2024 01:42:16 -0800 (PST) Date: Thu, 18 Jan 2024 09:42:14 +0000 From: Sudeep Holla To: Vincent Guittot Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org, lukasz.luba@arm.com, ionela.voinescu@arm.com, Sudeep Holla Subject: Re: [Resend PATCH] topology: Set capacity_freq_ref in all cases Message-ID: References: <20240117190545.596057-1-vincent.guittot@linaro.org> 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: <20240117190545.596057-1-vincent.guittot@linaro.org> On Wed, Jan 17, 2024 at 08:05:45PM +0100, Vincent Guittot wrote: > If "capacity-dmips-mhz" is not set, raw_capacity is null and we skip the > normalization step which includes setting per_cpu capacity_freq_ref. > Always register the notifier but skip the capacity normalization if > raw_capacity is null. > LGTM, Acked-by: Sudeep Holla -- Regards, Sudeep