Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757443Ab1FPJB5 (ORCPT ); Thu, 16 Jun 2011 05:01:57 -0400 Received: from solo.fdn.fr ([80.67.169.19]:33264 "EHLO solo.fdn.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754295Ab1FPJBk (ORCPT ); Thu, 16 Jun 2011 05:01:40 -0400 X-Greylist: delayed 350 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Jun 2011 05:01:40 EDT Date: Thu, 16 Jun 2011 10:55:47 +0200 From: Samuel Thibault To: Vincent Guittot Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org Subject: Re: [RFC] Add Arm cpu topology definition Message-ID: <20110616085547.GH4935@const.famille.thibault.fr> Mail-Followup-To: Samuel Thibault , Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 20 Hello, Vincent Guittot, le Thu 16 Jun 2011 10:49:13 +0200, a ?crit : > The affinity between Arm processors is defined in the MPIDR register. > We can identify which processors are in the same cluster, > and which ones have performance interdependency. The cpu topology > of an Arm platform can be set thanks to this register and this topology > is then used by sched_mc and sched_smt. Cool! Could you check that the hwloc tool gets also gets this information from userland through /sys, and/or send me the output of the hwloc-gather-topology tool from hwloc so we can add an testcase for this? Samuel -- 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/