Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2266183pxb; Mon, 8 Mar 2021 20:20:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+deU+cnKk8PGwBr28PhU/HBgEoaPrkrIOnjTwW3V6eXbhUi/A9MXxOvMdp02TxZKieLBa X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr1875328edt.160.1615263654735; Mon, 08 Mar 2021 20:20:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615263654; cv=none; d=google.com; s=arc-20160816; b=boX98rYDgJjzAzhhel+xpMaQ8Ou7urZ+t+ZOSnuluknGBN/TnCYWrMgKuSX4dIQ6gU vT8YpOPs6oTZv3MinQh2sUsV22eq68N9R76Z3lhakrHq31NPkmqXoECAJnQftdGArKxX PU628RgDBOHEpZ5pTa9bePiUXAIVYIacuOJ1UaUjdjp8n5P5uqYV5ycjvCDldZk2dBYw 5kElBTtdtU8TL9/Ut0seu9ybc6zvxZBuIIGuCFn/4tGeEdCcoVr2G/h83J83Ky/cX8m5 43XDEJrcCY+3nKeYcYBTPNIB7oNbulgTzsWXAtMqWzuCXWP+j8QVX5fgBRTQ2qZ6P5El SHBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OOzXeoaDPDG4o7C6QAmsob4sFXF0PCvgXzZVS0klYx0=; b=q6c7lt+V/uYMN8/rfxU7F+LPnJLiJVZvbrnZ7tW+qMi9mUV9J1CH73BzL16ACR/xkW 0z6LlOHnqYr7S8SgzmTZ2gsUlsoJIdyDUUTXN4olXLmHfl3CEDr3pcdLKL/3pD66IUV1 Ecbe+5iQfAxb+fq8xi401t8oyUjRoIqXVgHOjIr0uAlPw7eoMo5GXyfusIB8rCQxHFon rtcd2TRtTMVLx+pQPCpMZOiHguRkoMEVCqUj/0Hf5dZn6Sn9Vf8BuDXTXCUx6igwbYdK kkGOxTvj2c/GQoyJLr7JiSYa+G+wccQvr6OsCiJCrdfW7JhWK8nMeSG9iFS/cm3B3oep EIpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VkTs3X6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k16si8033595ejd.246.2021.03.08.20.20.21; Mon, 08 Mar 2021 20:20:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VkTs3X6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbhCIERW (ORCPT + 99 others); Mon, 8 Mar 2021 23:17:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbhCIEQq (ORCPT ); Mon, 8 Mar 2021 23:16:46 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7F5FC061760 for ; Mon, 8 Mar 2021 20:16:46 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id q204so8508172pfq.10 for ; Mon, 08 Mar 2021 20:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OOzXeoaDPDG4o7C6QAmsob4sFXF0PCvgXzZVS0klYx0=; b=VkTs3X6JDzLp04bSLBCOaODP8wcxa6dTq9kp8PLjDNTn2k/wKlA8YDK7QIUb+gAxUw eIQZuiHknEQKeUyy36vzovwOLSUIuGrCnwITT8IJ1t55doh6c6wgr5RUH8puDFSGVP8V gy8tZ1hbaEhrExEsXy9cSK6yNBh+79lsX/Iexzilbh2cLtzfyVUi2NvCRRz1s034Tzct Nr2IkssxTMW7qd9DCY/ANZkwFAPkQZrFeXNc0K5wLFPe6uN1h48RaCeQ+KieVcEq07U9 Khqqf5WZ/rxW8mNHilHP8Ojsom/4bvR/uJfHZZCN809av8gbgjGEk7vCTHomH27BT+zM L/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OOzXeoaDPDG4o7C6QAmsob4sFXF0PCvgXzZVS0klYx0=; b=CKQp/J4TM3hn5wD7l+EdQOY2pJyeigkU3yex8t6AAq/nszSTDIm9oYOjyA/HhRdShR jkAalJ/13EMaUB5PZNzPOyeXnvf5bqN3VrIjQdyt5V6x8e1pWz7v4+M7Prc8Wz74IsQP SUmmQ1DLlbLVtdqW5mcU5gldOjvtpkrPDO4CmuTCWY4mprDEZa6+Wewrn1sM0LeGp2AW qja0gMlwBCymvWeBQQUf8ZlorkVJ5DUbaMXq3zEFWreBS3xwZzyqEUpcS+QUBcczWY7k gPAqu0NwXD+OjfjxmmBWGxZNQu5n8SQc+FJjzji6S+yB9wK0ZQMQRwe5zvZuFx614d/2 1GoA== X-Gm-Message-State: AOAM530pLO2pcB081WIfVXtqqS8O64cL/WwDRjxjOr6rCV2dorY/kFf7 ubTFNworNQ4iMa+BeW+TuZkPuw== X-Received: by 2002:a63:1813:: with SMTP id y19mr15956854pgl.317.1615263406257; Mon, 08 Mar 2021 20:16:46 -0800 (PST) Received: from localhost ([122.171.124.15]) by smtp.gmail.com with ESMTPSA id l19sm864473pjt.16.2021.03.08.20.16.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Mar 2021 20:16:45 -0800 (PST) Date: Tue, 9 Mar 2021 09:46:43 +0530 From: Viresh Kumar To: Will Deacon Cc: Rafael Wysocki , Catalin Marinas , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Vincent Guittot , Ionela Voinescu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V5 1/2] topology: Allow multiple entities to provide sched_freq_tick() callback Message-ID: <20210309041643.tcyv6rpto4k3sv5v@vireshk-i7> References: <20210308145209.GA26458@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210308145209.GA26458@willie-the-truck> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-03-21, 14:52, Will Deacon wrote: > On Mon, Mar 01, 2021 at 12:21:17PM +0530, Viresh Kumar wrote: > > +EXPORT_SYMBOL_GPL(topology_set_scale_freq_source); > > I don't get why you need to export this in this patch. The arm64 topology > code is never built as a module. > > > +EXPORT_SYMBOL_GPL(topology_clear_scale_freq_source); > > Same here. > > > +EXPORT_SYMBOL_GPL(freq_scale); > > And here. After this patch, any part of the kernel can use these helpers/variables to run their own implementation of tick-freq-scale and so this patch looked to be the right place for that to me. And the second patch in the series updates the CPPC cpufreq driver (tristate) to use these exported symbols, so we have the first user who needs the exported symbols as well. > This one probably wants a less generic name as well if it's going > to be exported. x86 names it arch_freq_scale, perhaps we should stick to that instead. -- viresh