Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1670438rdb; Wed, 31 Jan 2024 05:57:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFW1SdpFA913XMnJ5VwCVVbC5q94b4jki+HEPkCDgMA9kjn2bci1ANGM4YR75vtZMK2u4pM X-Received: by 2002:a05:622a:552:b0:42b:e033:f6e6 with SMTP id m18-20020a05622a055200b0042be033f6e6mr1841099qtx.39.1706709426594; Wed, 31 Jan 2024 05:57:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706709426; cv=pass; d=google.com; s=arc-20160816; b=d0A7Lf/188jTU+LFfQmQ+AE1XO08dPDS0m5VepyP7fM1F5T0dvCOQ4QKhAedc5OaiO wrh1feYPYwWF5lK8H95u1IETjl33SRCf/WYEHoqszucN7XNEsnal94ntn95UDaAieI0V A8cBRSiMoS2wVrc1QE7Dc1ykLRnfcRbGfRE52bQZ0kCM3Gz3Ov7Y7u0TRdvVe2nYo0iN HV/OJ2jR4i+BsgzYgZ41q+11kiO/1KWwth2aX/aT6D/okZS5rZEr35/oCM8aio923qA0 S2rMNBkYjJ5Y2pjZUfydqcrPS8mtuoUIRwACYODgoqfzzhDJRzWmSFvy33B5XJ/PBxKF zN5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=rGSvB5/8qxA64jtWN9ZfyRNxz1iktfkomOYpwJsrEU8=; fh=zjZ3Q25jd0ywk1VFszkwcXCDtk6qCggiWxvjts+YF5s=; b=xFbFhm77EAo2qEAxb4pN+wYcUAyR73Yl9IV3LbQf5QhAd8eFAtagtmVRNx+mbsVIxR YQB7LRPg8vhNoPZwqSO6H9zgynZabwAZT/hTkS+tVtbv+jn3wsGByLtyezFSTVpgiBjv O7utzrJ407LVswJkAUs4C3m6KIM28ORl+l7XKnYU3l/ools1Nn5pLehsQvU4cMbUWVFr Nkvhx/rFJ9e5jOA9QAmmgvO1XtxWWME6KdQX5pt/R3WKGa7eiGu681E9/d4XiVmDbVBq zKmEAGszJueNLKLnoCHvd0k1DcNe3WGabptMIX2hQw59tmh0ICgXqAB9PjpjCHa7uihE D30A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Nb3Ivi5f; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCX2keSl5zYePrD10avjhfgsOmSIMJq0Pi6u0oriTUWqh67mHdTdadQATUY14n3mV8d/rcEMiF7dCnjKa92sdo/n9Eiswr6FLmZQTwVUCQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h17-20020ac85e11000000b0042a5f8e1bafsi12085473qtx.452.2024.01.31.05.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:57:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46542-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=@gmail.com header.s=20230601 header.b=Nb3Ivi5f; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-46542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 5B8961C20CD0 for ; Wed, 31 Jan 2024 13:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50B5279DB8; Wed, 31 Jan 2024 13:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nb3Ivi5f" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 D4D6A82864 for ; Wed, 31 Jan 2024 13:56:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706709411; cv=none; b=LEZSCKHaeKXiRv3QIul2/2ItnZyPHWxUBotFfJhPktr2pr9jusZ8SOfQqbVIq0IyGQ0ro9xXwgyWnFVTo47qsq2EvPJm22ATVo/DL/PbY8vCB3YwGc2cfJJ49Zm/KavkTuo2Tbyi9hK7Rml1Gwo9eWLMPaW7BnS4YY1DS5PDd9A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706709411; c=relaxed/simple; bh=rGSvB5/8qxA64jtWN9ZfyRNxz1iktfkomOYpwJsrEU8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=li/v+FTVZgjjM/r198lwGhL45UJHmyU6Jl2vsm74R86lTFlrrLvIJMXB0+EXm1K2g9yj6LdX3PGx2T97xnRL0clqrYsqGTXZRVmdXeIkXnQBroe8H6Om1IRsgGuC+GN/1Zi9laL1DVT6aZr4hR8vyvoBCcpuPc8AQHZlNmG1Nwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Nb3Ivi5f; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d057b6ddfdso24613751fa.2 for ; Wed, 31 Jan 2024 05:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706709408; x=1707314208; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rGSvB5/8qxA64jtWN9ZfyRNxz1iktfkomOYpwJsrEU8=; b=Nb3Ivi5fzBXJa7q9Kl7AOMGtiRU6JhK+evIEifxG2Pdz43ii8k5w8kBob2JHs1EnRZ A86V8O3OX1E8ILZ+1A9Xrnvi8hxjSmSwakhfLyWZKZOovAjoaW+S/ibKsUn/Mzoxm9Qo hTehEJqs2Mp3fNY+Kx46u+AZObw62Sm/vRiErbi6It13XZfQEq9yg8ZhuXdNIfdHCqIA 5xYBlUub4uxFQboZuecWBtoXNY5gp8OnvNW3orKfpbYMumCPEPsTyKCckKrjxjspvanL 15rMfoDwYkghO7sBWJSZYTJXfK8qlqKwkAS5d/sU4lux64vDThwa+59oRwVM7MW2jSX7 UW7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706709408; x=1707314208; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rGSvB5/8qxA64jtWN9ZfyRNxz1iktfkomOYpwJsrEU8=; b=S3sxJ2ngkc/dJUbluqhLhdAU3gnhs322FURDmdGFUjiaTXJM/sqQxjstKI3jX606Xa ProlT/cFgPIUjYecGq+gcAQeAG+h6xfr2fXPRs9Y5zZHz6n5sM7X6vF8r0h5Vbd4g7E9 So/eO6kss6Aa6mspSbTCTzY2+anXADgxW9OKzxM0WxVe5Qdse+ySBxnCs9GQkdpcoHAw oeJ6hXSoCgXEG+oiP6suFr4GmTgSIyKuhZJMxk8UqMN3Anlbc3ccDyOGa6YTJgbzLTNa 9V0ak+srIUA36WZg7qYbQ9A/q+x9VXIzwH/UhehmJOKSg5aHP5XWpJphUGNhVpxM5gB6 6kDw== X-Gm-Message-State: AOJu0YwJ02f+pgtyMSs8KQsbmXSH3awz/uZMQctvE6k/h6j/TI5TumX/ DHJQJ+RVgnNfjFRCGPi4LP0NOSCNpthEvyws9eCy9H6RzsOHr8DLvLXujzKBoT/ACXBU5L0JS6x H5dHX3aoHWuleINC8rmRx8z3P8dg= X-Received: by 2002:a2e:8906:0:b0:2d0:6396:ba91 with SMTP id d6-20020a2e8906000000b002d06396ba91mr1189479lji.44.1706709407473; Wed, 31 Jan 2024 05:56:47 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240117190545.596057-1-vincent.guittot@linaro.org> In-Reply-To: <20240117190545.596057-1-vincent.guittot@linaro.org> From: Erico Nunes Date: Wed, 31 Jan 2024 14:56:35 +0100 Message-ID: Subject: Re: [Resend PATCH] topology: Set capacity_freq_ref in all cases 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, sudeep.holla@arm.com, gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org, lukasz.luba@arm.com, ionela.voinescu@arm.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 17, 2024 at 8:06=E2=80=AFPM 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. I bisected an issue of cpufreq no longer working on v6.8-rc on a TI SK-AM62 board and it pointed me to b3edde44e5d4 ("cpufreq/schedutil: Use a fixed reference frequency"). This commit does fix the issue but doesn't appear to be merged anywhere yet. It would be good to have this fixed before 6.8 release. Tested-by: Erico Nunes