Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753962AbcCMHl7 (ORCPT ); Sun, 13 Mar 2016 03:41:59 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33169 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbcCMHlu (ORCPT ); Sun, 13 Mar 2016 03:41:50 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Jianyu Zhan Date: Sun, 13 Mar 2016 15:41:10 +0800 Message-ID: Subject: Re: [PATCH 3/3] x86/irq: update first_system_vector only when X86_LOCAL_PIC is on To: Thomas Gleixner Cc: mingo@redhat.com, "H. Peter Anvin" , Aravind.Gopalakrishnan@amd.com, brgerst@gmail.com, bp@suse.de, feng.wu@intel.com, jiang.liu@linux.intel.com, Tejun Heo , dvlasenk@redhat.com, penberg@cs.helsinki.fi, Yinghai Lu , andi@firstfloor.org, Andy Lutomirski , ajm@sgi.com, Yinghai Lu , Akinobu Mita , x86@kernel.org, LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 42 On Sun, Mar 13, 2016 at 3:25 PM, Jianyu Zhan wrote: > My purpose of posting this patch set is trying to make the system vector layout > reveal this fact. > > we have SMP system vector defined first( these may rely on or not rely > on CONFIG_X86_LOCAL_APIC), > > then comes the CONFIG_X86_LOCAL_APIC dependent vector definition. > > then comes the rest vector definition that not only depends on > CONFIG_X86_LOCAL_APIC, but > also others(like MCE, virtualization). > > Among these stands out IRQ_WORK, which neither depends on SMP nor > CONFIG_X86_LOCAL_APIC. > My wording is incorrect, should be like this: The new system vector layout: First, two special vector: spurious and error. Second, we have SMP system vector defined first( these implicitly reply on CONFIG_X86_LOCAL_APIC), Third, comes the CONFIG_X86_LOCAL_APIC dependent vector definition, but not necessary SMP dependent.( Among these stands out IRQ_WORK, which neither depends on SMP nor CONFIG_X86_LOCAL_APIC.) Finally, comes the rest vector definition that not only depends on CONFIG_X86_LOCAL_APIC, but also others(like MCE, virtualization). Regards, Jianyu Zhan