From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756808AbZEOVIw (ORCPT ); Fri, 15 May 2009 17:08:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754955AbZEOVHf (ORCPT ); Fri, 15 May 2009 17:07:35 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:31027 "EHLO g5t0007.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754224AbZEOVHd (ORCPT ); Fri, 15 May 2009 17:07:33 -0400 From: Bjorn Helgaas To: Yinghai Lu Subject: Re: [PATCH] x86: update_mptable need pci_routeirq Date: Fri, 15 May 2009 15:07:27 -0600 User-Agent: KMail/1.9.10 Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Jesse Barnes , "linux-kernel@vger.kernel.org" , linux-pci@vger.kernel.org References: <4A0DC7DC.7000204@kernel.org> In-Reply-To: <4A0DC7DC.7000204@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905151507.29083.bjorn.helgaas@hp.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 15 May 2009 01:51:56 pm Yinghai Lu wrote: > to get all device irq routing and save them This changelog isn't really enough for me to understand what's going on. > Index: linux-2.6/arch/x86/kernel/mpparse.c > =================================================================== > --- linux-2.6.orig/arch/x86/kernel/mpparse.c > +++ linux-2.6/arch/x86/kernel/mpparse.c > @@ -17,6 +17,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -961,6 +962,7 @@ static int __initdata enable_update_mpta > static int __init update_mptable_setup(char *str) > { > enable_update_mptable = 1; > + pci_routeirq = 1; I hate to see new uses of pci_routeirq. It'd be nice to remove it completely someday. But maybe it can't be helped. > return 0; > } > early_param("update_mptable", update_mptable_setup); "update_mptable" is apparently a boot option, but it's not mentioned in Documentation/kernel-parameters.txt. Is this some sort of debug code or BIOS-writer's helper? Same with "alloc_mptable". Why do we have this stuff? > @@ -973,6 +975,7 @@ static int __initdata alloc_mptable; > static int __init parse_alloc_mptable_opt(char *p) > { > enable_update_mptable = 1; > + pci_routeirq = 1; > alloc_mptable = 1; > if (!p) > return 0;