Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753710Ab3H3HeD (ORCPT ); Fri, 30 Aug 2013 03:34:03 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:61474 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752205Ab3H3HeA (ORCPT ); Fri, 30 Aug 2013 03:34:00 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 30 Aug 2013 13:03:59 +0530 Message-ID: Subject: Re: [Query] CPUFreq: Does these machines have separate clock domains for CPUs? From: Viresh Kumar To: Magnus Damm Cc: "linux-pm@vger.kernel.org" , "cpufreq@vger.kernel.org" , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , Jesper Nilsson , Eric Miao , linux-cris-kernel@axis.com, SH-Linux , Benjamin Herrenschmidt , Miao Steven , Sekhar Nori , Mikael Starvik , Paul Mundt , sparclinux@vger.kernel.org, Dave Jones , David Miller , John Crispin Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1338 Lines: 46 On 30 August 2013 12:18, Magnus Damm wrote: > Hi Viresh, > > On Thu, Aug 29, 2013 at 7:15 PM, Viresh Kumar wrote: >> Hi, >> >> I have been doing some CPUFreq cleanup work and >> wanted to know if the below mentioned machines have separate >> clock domains for their CPUs or all share the same domain? >> >> So, that we can use some generic routines for these drivers which >> would eventually do: >> >> cpumask_setall(policy->cpus); >> >> And I wanted to make sure that this doesn't break them.. :) >> >> ...... >> >> The drivers are: > ... >> drivers/cpufreq/sh-cpufreq.c > ... > > The above SH cpufreq driver seems to be written with SMP in mind, but > I would say SMP is a very rare case for SH. So I believe it can be > considered as UP-only at this point. If Paul disagrees I'm quite sure > he will tell us. Okay.. The problem isn't really SMP but different clock domains for CPUs in a SMP system.. So, even if we have a SMP SH machine, will it have same clock line for all CPUs? I will go with the change anyway.. Thanks. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/