From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: [PATCH] Fix serial interrupt's destination Date: Fri, 10 Sep 2010 09:08:13 +0800 Message-ID: <201009100908.13592.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_9TYiMA57KolPoUh" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --Boundary-00=_9TYiMA57KolPoUh Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lowest Priority can't use with invalid cpu_mask, and the default value of CPU_MASK_ALL may cover CPU which wasn't online. --Boundary-00=_9TYiMA57KolPoUh Content-Type: text/x-patch; charset="UTF-8"; name="serial_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="serial_fix.patch" diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1015,7 +1015,7 @@ irq_vector[irq] = FIRST_HIPRIORITY_VECTOR + seridx + 1; per_cpu(vector_irq, cpu)[FIRST_HIPRIORITY_VECTOR + seridx + 1] = irq; irq_cfg[irq].vector = FIRST_HIPRIORITY_VECTOR + seridx + 1; - irq_cfg[irq].cpu_mask = (cpumask_t)CPU_MASK_ALL; + irq_cfg[irq].cpu_mask = cpu_online_map; } /* IPI for cleanuping vectors after irq move */ --Boundary-00=_9TYiMA57KolPoUh Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_9TYiMA57KolPoUh--