Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbcKIJgU (ORCPT ); Wed, 9 Nov 2016 04:36:20 -0500 Received: from foss.arm.com ([217.140.101.70]:48780 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbcKIJgQ (ORCPT ); Wed, 9 Nov 2016 04:36:16 -0500 Subject: Re: [RFC] ARCv2: MCIP: Deprecate setting of affinity in Device Tree To: Vineet Gupta References: <1478261791-2793-1-git-send-email-yuriy.kolerov@synopsys.com> <86621069-d68c-a87e-508f-d1e7b7c8948f@synopsys.com> Cc: Yuriy Kolerov , "linux-snps-arc@lists.infradead.org" , "Alexey.Brodkin@synopsys.com" , "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" From: Marc Zyngier X-Enigmail-Draft-Status: N1110 Organization: ARM Ltd Message-ID: Date: Wed, 9 Nov 2016 09:36:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <86621069-d68c-a87e-508f-d1e7b7c8948f@synopsys.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 30 Hi Vineet, On 08/11/16 20:57, Vineet Gupta wrote: > +CC MarcZ > > Hi Marc, > > I have a question below > [...] > So as discussed in a prior thread, we no longer support setting the default > affinity via DT (so removed from xlate function). However we are now using the > domain map function to set "seed" affinity based on cpu_online_mask(). Will that > be the wrong place again to do this too. > Also as Yuriy notes above, it is not guaranteed that all cpus will be online when > the map function is called. So then better to set to boot cpu only : wondering > what approach you guys take for ARM ? For global interrupts (that can target any CPU), we make them affine to the boot CPU, and let userspace move them around if required. Note that we do not support round-robin on any of our recent interrupt controllers, but maybe that's an acceptable configuration for you. Thanks, M. -- Jazz is not dead. It just smells funny...