Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753043AbcCLPFw (ORCPT ); Sat, 12 Mar 2016 10:05:52 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34326 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbcCLPFn (ORCPT ); Sat, 12 Mar 2016 10:05:43 -0500 From: Jianyu Zhan To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, brgerst@gmail.com, bp@suse.de, Aravind.Gopalakrishnan@amd.com, nasa4836@gmail.com, jiang.liu@linux.intel.com, feng.wu@intel.com, tj@kernel.org, dvlasenk@redhat.com, penberg@cs.helsinki.fi, yhlu.kernel@gmail.com, luto@kernel.org, ajm@sgi.com, yinghai@kernel.org, akpm@linux-foundation.org, akinobu.mita@gmail.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org, nasa4837@gmail.com Subject: [PATCH 0/3] x86/irq: Refactor special vector definition and cleanup Date: Sat, 12 Mar 2016 23:05:32 +0800 Message-Id: X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1179 Lines: 27 Currently special(system) irq definition layout is a bit random, due to quite a long period of code shuffle and refactorization, making native_init_IRQ() quit hard to follow. Besides, there are also some leftovers on the vector layout comment. For example, INVALIDATE_TLB_VECTOR_START vectors have gone by using generic IPI mechanism(see commit 52aec3308db8). VSYSCALL_EMU_VECTOR is also gone because vsyscalls are emulated by instruction fault traps(see commit 3ae36655b97a). This patch set aims at refactoring the speical vector defnition and do some cleanup. *** Test done *** This patch set has been rebased on tip/master and have done build test and run it for hours, doing daily jobs, and found no problem. Jianyu Zhan (3): x86/asm/irq: Rearrange definitoin of specical irq vectors and cleanup. x86/irq: refactor native_init_IRQ x86/irq: update first_system_vector only when X86_LOCAL_PIC is on arch/x86/include/asm/desc.h | 2 ++ arch/x86/include/asm/irq_vectors.h | 72 +++++++++++++++++++++++++++++--------- arch/x86/kernel/irqinit.c | 71 +++++++++++++++++++++---------------- 3 files changed, 97 insertions(+), 48 deletions(-) -- 2.4.3