From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5DA68C001DB for ; Sat, 2 Sep 2023 12:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=//e0tahgOT3GtLvkHMKG7NPLKvZaycbyqXj8CIuofS0=; b=jQ93pvdTEYf6sg 4kE9H1VmcNMD9mKTiOfM8vOgcBFfnwpEfL8mIV8qvxEdznuSIwDyqt85KUaZFyTgqlfrLQk5PQkdA r8UVWeyF2hkLTDPY8OTDscUFZAeDas1xQaMdI/UP08blVnVAu0GH/eMP/I5U8VNXJDYtt096dSSQs MJ2PaIAbh/j6LIoLbie4SHQJ06b2c+hHuTSF1iRi7h0KXwdnpuC9AlTY871Z/IJ6xI88bpSCoGkqi 57zHjv6i70Ns7z42/jBDkDZx5c/Ta79WGMFyjkr2AkpDJYc/3hCf4VKXPafFy6q7Slx/BdFeAuvr0 EeaT80qNkCAzQEW2CMfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qcQ4W-001QyB-3D; Sat, 02 Sep 2023 12:49:52 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qcQ4T-001QxB-2a for linux-arm-kernel@lists.infradead.org; Sat, 02 Sep 2023 12:49:52 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-564b6276941so2017666a12.3 for ; Sat, 02 Sep 2023 05:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693658988; x=1694263788; darn=lists.infradead.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AW9SiUYVqHU6gW9QOW3GIP5QwEKPh+27Ixy8DvS3Y44=; b=FWclWjTUx94ZIVwHWgOT2RwDTgKz5ZKux+tTB4U6MhVKeBDiCSoOiMrRFQxb+U8Euc kOXxzKL9ue7KYozyuUwehRSlcAFVm1byN4+yTNpRKaSD/m2OP2gw/b47v4sB9iOnSU9o /iQgj1mxVgENdswK7QtgpfrPVVI33GU6MBRyLsj8aLRn/HdNH2xTnv7IyQQKYujKghZ0 NhZJ3KnjNmQc+/uf8UPLtnET+7Hn/yiTSxjj4Nl4Oau1q29C231UrGhBdpr2t0QmgJfU 6cfxwRAOHLDBQp8v9Fsv/XPLpQNTv1igjA7iqmdr1zT6+VC7iqZJpNDCacYbB7rhV+kJ qFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693658988; x=1694263788; h=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=AW9SiUYVqHU6gW9QOW3GIP5QwEKPh+27Ixy8DvS3Y44=; b=b+CcpUmbhhfdr7o87xjgWKFg83CH0Kh7xDOCj8+0V4HADkWB6QIi81KjH8weanflpW 1JvOvR/OwsvAXRYdhVU4DkMuPFrE7Neuj3jYnBs8Jkb6ob3yZXVT0+leBaOJFa9RjODN szg4EqvSmgqWJY6GNXddx5bgPjqFPXj76I34SYkBywyCNMHb0+MkEhi72xMIZMl1Fvi4 6bnDaqN3ceIdYZc5zj4CgGHleuc5+hpZeJ2i4BxN2EZSWpWnTgulk3HWy/CrsglJt1oO gq2yPDhBkVla3GvzOpW1QMaQiWzqLESNIwqb4i8f7ZOhRtAb7+1AxKUbja9jWTBBZ/RE mvmg== X-Gm-Message-State: AOJu0Yykke6+wOrWqq5suvhQ30lscYndukb7Qx+GOoM2HBSch8nlpmzz 724ldtILQKWkhn+7y+c7wes6TA3T5gyanuaL8Fj3WQ== X-Google-Smtp-Source: AGHT+IFDRS9ZM1b0vV6N2s1IcuMRb6QLQJGFFuAGZLmjG60YfWA2e7cGTR6Esh/hH6bpB1lww/HhRGyd8M/o6jFSaCY= X-Received: by 2002:a17:90a:d486:b0:26b:280b:d24c with SMTP id s6-20020a17090ad48600b0026b280bd24cmr4549024pju.42.1693658987992; Sat, 02 Sep 2023 05:49:47 -0700 (PDT) MIME-Version: 1.0 References: <20230901130312.247719-1-vincent.guittot@linaro.org> <20230901130312.247719-4-vincent.guittot@linaro.org> <20230902-clip-shortly-c9af45460915@spud> In-Reply-To: <20230902-clip-shortly-c9af45460915@spud> From: Vincent Guittot Date: Sat, 2 Sep 2023 14:49:36 +0200 Message-ID: Subject: Re: [PATCH 3/4] cpufreq/schedutil: use a fixed reference frequency To: Conor Dooley Cc: linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, sudeep.holla@arm.com, gregkh@linuxfoundation.org, rafael@kernel.org, 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, viresh.kumar@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, conor.dooley@microchip.com, suagrfillet@gmail.com, ajones@ventanamicro.com, lftan@kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230902_054949_855825_7788028C X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 2 Sept 2023 at 12:57, Conor Dooley wrote: > > On Fri, Sep 01, 2023 at 03:03:11PM +0200, Vincent Guittot wrote: > > > +#ifdef arch_scale_freq_ref > > +/** > > + * arch_scale_freq_ref_policy - get the reference frequency of a given CPU that > > + * has been used to correlate frequency and compute capacity. > > + * @cpu: the CPU in question. > > Copy-pasting fail? That's not what your parameter is called. Yes, I forgot to change parameter and its description > > > + * > > + * Return: the reference CPU frequency. > > + */ > > +static __always_inline > > +unsigned long arch_scale_freq_ref_policy(struct cpufreq_policy *policy) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel