[BK PATCH] Dynamic MP_BUSSES and IRQ_SOURCES for 2.4.21-pre1

From: Greg KH (greg@kroah.com)
Date: Wed Dec 11 2002 - 20:53:26 EST


Here is a bk tree with two changesets that fix some problems with
mpparse.c.

The first patch fixes a problem for machines that have more busses or
irq sources than MAX_MP_BUSSES or MAX_IRQ_SOURCES has been set to. This
happens on some Intel Foster machines (or whatever they are calling the
processors now) when a PCI bus expansion unit is plugged in at boot
time.
  
Without this patch, those machines can not boot Linux.
  
If the machine needs more busses or interrupts, they will be dynamically
allocated at boot time. If not, the existing MAX_MP_BUSSES and
MAX_IRW_SOURCES value will be used. Once nice side effect of this patch
is when running a SMP kernel on a UP machine without a MP table, less
kernel memory is used than without the patch.
  
This patch was originally written by James Cleverdon, and has been in
the -ac tree for quite some time. I also think Red Hat includes it in
their main kernel, but am not sure.

There's also a minor patch to fix a formatting error in mpparse.c too.

Please pull from:
        bk://linuxusb.bkbits.net/marcelo-smp-2.4

Patches will be sent as a response to this message for those who want to
see them.

thanks,

greg k-h

 arch/i386/kernel/mpparse.c | 80 +++++++++++++++++++++++++++++++++++++++++----
 include/asm-i386/io_apic.h | 2 -
 include/asm-i386/mpspec.h | 12 ++----
 3 files changed, 79 insertions(+), 15 deletions(-)
-----

ChangeSet@1.813, 2002-12-11 17:44:54-08:00, greg@kroah.com
  mpparse.c: Fix a minor code formatting issue.

 arch/i386/kernel/mpparse.c | 2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
------

ChangeSet@1.812, 2002-12-11 11:53:05-08:00, greg@kroah.com
  [PATCH] dynamic MAX_MP_BUSSES and MAX_IRQ_SOURCES
  
  Here's a patch that fixes a problem for machines
  that have more busses or irq sources than MAX_MP_BUSSES or
  MAX_IRQ_SOURCES has been set to. This happens on some Intel Foster
  machines (or whatever they are calling the processors now) when a PCI
  bus expansion unit is plugged in at boot time.
  
  Without this patch, those machines can not boot Linux.
  
  If the machine needs more busses or interrupts, they will be dynamically
  allocated at boot time. If not, the existing MAX_MP_BUSSES and
  MAX_IRW_SOURCES value will be used. Once nice side effect of this patch
  is when running a SMP kernel on a UP machine without a MP table, less
  kernel memory is used than without the patch.
  
  This patch was originally written by James Cleverdon.

 arch/i386/kernel/mpparse.c | 78 +++++++++++++++++++++++++++++++++++++++++----
 include/asm-i386/io_apic.h | 2 -
 include/asm-i386/mpspec.h | 12 ++----
 3 files changed, 78 insertions(+), 14 deletions(-)
------

-
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/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:24 EST