From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1F53EDDDFA for ; Sun, 9 Nov 2008 13:18:35 +1100 (EST) Subject: Re: [PATCH 1/1] irq: Maintain user set affinity From: Benjamin Herrenschmidt To: Yinghai Lu In-Reply-To: <86802c440811081601w2be45e55hc400095137831b85@mail.gmail.com> References: <86802c440811081412u6d54beaam143801ce83225f40@mail.gmail.com> <1226182645.13603.90.camel@pasglop> <86802c440811081601w2be45e55hc400095137831b85@mail.gmail.com> Content-Type: text/plain Date: Sun, 09 Nov 2008 13:17:39 +1100 Message-Id: <1226197059.13603.92.camel@pasglop> Mime-Version: 1.0 Cc: Andrew Morton , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Linus Torvalds , tglx@linutronix.de Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > for MSI, affinity is set two times. > > also in dynamic_irq_init is setting with > #ifdef CONFIG_SMP > cpus_setall(desc->affinity); > #endif > > it seems should use irq_default_affinity instead of CPU_MASK_ALL directly there. That sounds more like it. Cheers, Ben.