Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1860078ybg; Thu, 30 Jul 2020 04:44:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGf2+o4dQQijKSakUFwhkc9gJ/54TIIVcBO3AGcO07+sJ82qrZ18hJxujkBkpWhXow2kIc X-Received: by 2002:a17:906:6083:: with SMTP id t3mr2044320ejj.531.1596109464347; Thu, 30 Jul 2020 04:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596109464; cv=none; d=google.com; s=arc-20160816; b=hZ3EEepHqHpmi2vCPXXPOQZDqzaVqOlRMveEown04079o4+ZmZ8bWXyCs69eImEOyA QeQAHBCjWcNjSUDabDPwlRXZSsGv4KSTV/aSH36IlVVrjEMKyMXZy7QCyff0EuxkQYMq pviMi8mruUm1gQBguza+1kIlu8qo2MXfkLxP0NXwlOwjb9CkXtsxFIU5dxvUVfMJIwrE bJIWkGHnnbVkefYYxr9f3XJNkkfupTd7lyW86QqHYpKNSvDnrbkJPMGpfQWTVB2GX+LT NQJMvTvW1MTOMso4kKKEwl56sj2AnFz5NcDD9Kff2yC5zbWT35JAYDJ1XzjvZIgIOr+Q 8SVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1jqDzecXnAy9NBtoWXGkpFLq4uXfPbZb4it5GKWi0O4=; b=Z5wLW5f3uUhi6lpPzhuFGW5ceRUA5b12VcF7smrKqMAG+CEgsHqJXHF9q2TP/a2U4U LZlALq7hvH7BfZzBwl2zxbpD82unBSaI5CLuTJ40dfLwOg8zC6vOtPNzL5iaT/6RaqhV oGEJIyS/KEqA0AxAuG6Qq4JpRi1nRn0PpMYg43CjC0lMI9JXmX1ECxKT/zER9Y84eO81 /KeFjLY+G+0RLswMzrujtbzHjf9T/20iirdClj7AR9W1ZRqhvLVqNRqliAnI6c65GplD yFUgtTBFfuHcnxI5e8mMd/xfPOtUTzGPSeTqmaouZnr5o1Yeeifz4yGhEO1KFQdg9Oim XMgw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si3230793ejf.75.2020.07.30.04.44.02; Thu, 30 Jul 2020 04:44:24 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727837AbgG3Lnb (ORCPT + 99 others); Thu, 30 Jul 2020 07:43:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:51076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbgG3Lnb (ORCPT ); Thu, 30 Jul 2020 07:43:31 -0400 Received: from gaia (unknown [95.146.230.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E96142082E; Thu, 30 Jul 2020 11:43:28 +0000 (UTC) Date: Thu, 30 Jul 2020 12:43:26 +0100 From: Catalin Marinas To: Ionela Voinescu Cc: rjw@rjwysocki.net, viresh.kumar@linaro.org, dietmar.eggemann@arm.com, sudeep.holla@arm.com, will@kernel.org, linux@armlinux.org.uk, mingo@redhat.com, peterz@infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Valentin Schneider Subject: Re: [PATCH v2 5/7] arch_topology,cpufreq,sched/core: constify arch_* cpumasks Message-ID: <20200730114326.GJ25149@gaia> References: <20200722093732.14297-1-ionela.voinescu@arm.com> <20200722093732.14297-6-ionela.voinescu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722093732.14297-6-ionela.voinescu@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 10:37:30AM +0100, Ionela Voinescu wrote: > From: Valentin Schneider > > The passed cpumask arguments to: > - arch_set_freq_scale(), > - arch_set_thermal_pressure(), and > - arch_freq_counters_available() > > are only iterated over, so reflect this in the prototype. This also > allows to pass system cpumasks like cpu_online_mask without getting > a warning. > > Signed-off-by: Valentin Schneider > Signed-off-by: Ionela Voinescu > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Sudeep Holla > Cc: Rafael J. Wysocki > Cc: Viresh Kumar > Cc: Ingo Molnar > Cc: Peter Zijlstra Acked-by: Catalin Marinas