lkml.org 
[lkml]   [2002]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BK PATCH] Dynamic MP_BUSSES and IRQ_SOURCES for 2.4.21-pre1
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.039 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site