Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbaDYIBq (ORCPT ); Fri, 25 Apr 2014 04:01:46 -0400 Received: from mail-ee0-f47.google.com ([74.125.83.47]:50454 "EHLO mail-ee0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbaDYIBn (ORCPT ); Fri, 25 Apr 2014 04:01:43 -0400 Date: Fri, 25 Apr 2014 10:01:37 +0200 From: Ingo Molnar To: Oren Twaig Cc: Thomas Gleixner , Ingo Molnar , Andi Kleen , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Shai Fultheim Subject: Re: [PATCH v2] X86: Hook apic vector allocation domain only when interrupt routing are set to ignore Message-ID: <20140425080137.GC19588@gmail.com> References: <1398376326-3055-1-git-send-email-oren@scalemp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1398376326-3055-1-git-send-email-oren@scalemp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Oren Twaig wrote: > vSMP Foundation provides locality based interrupt routing which needed > vector_allocation_domain to allow all online cpus can handle all possible > vectors. > > Enforcing Interrupt Routing Comply (IRC) mode requires us to unplug this hook as > otherwise the IOAPIC, MSI and MSIX destination selectors to always select the > lowest online cpu as the destination. I.e affinity of HW interrupts cannot be > controled by kernel and/or userspace code. > > The purpose of the patch is to fix the code to set override vector allocation > domain only when IRC is set to ignore to allow the kernel and userspace to > effectively control the destination of the HW interrupts. > > Signed-off-by: Oren Twaig > Acked-by: Shai Fultheim So what was the behavior before the change - certain IRQs did not get routed, they just ended up on CPU0 or on some other undesirable CPU? Or was IRQ distribution random? It's not clear from the changelog. Thanks, Ingo -- 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/