public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: gone@us.ibm.com
Cc: akpm@zip.com.au, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (1/2) x440 discontig support on 2.5.62: early, early ioremap
Date: Wed, 19 Feb 2003 10:28:42 -0800	[thread overview]
Message-ID: <3E53CCDA.6080501@us.ibm.com> (raw)
In-Reply-To: 200302190307.h1J37T225487@w-gaughen.beaverton.ibm.com

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

Patricia Gaughen wrote:
> This patch was written by Dave Hansen, I just brought it forward to
> 2.5.62 :-)
>
> This patch is used by the x440 discontigmem to map the srat tables
> into low memory so that the memory can be setup.  This remap function
> is used very early in the boot process... at the start of
> setup_arch().
>
> Dave posted this previously to linux-kernel.  Here's a pointer to his
> email:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=104515534619345&w=2

Here's a patch that makes the early ioremap conditional on Summit, and
NUMA.

-- 
Dave Hansen
haveblue@us.ibm.com

[-- Attachment #2: linux-2.5.62-config_early_ioremap_A0.patch --]
[-- Type: text/plain, Size: 1228 bytes --]

diff -ur linux-2.5.62-disco/arch/i386/Kconfig linux-2.5.62-disco.new/arch/i386/Kconfig
--- linux-2.5.62-disco/arch/i386/Kconfig	Wed Feb 19 10:14:34 2003
+++ linux-2.5.62-disco.new/arch/i386/Kconfig	Wed Feb 19 10:24:43 2003
@@ -754,6 +754,13 @@
 	depends on (SMP || PREEMPT) && X86_CMPXCHG
 	default y
 
+# turning this on wastes a bunch of space.
+# Summit needs it only when NUMA is on
+config BOOT_IOREMAP
+	bool
+	depends on (X86_SUMMIT && NUMA)
+	default y
+
 endmenu
 
 
Only in linux-2.5.62-disco.new/arch/i386: Kconfig~
diff -ur linux-2.5.62-disco/arch/i386/mm/Makefile linux-2.5.62-disco.new/arch/i386/mm/Makefile
--- linux-2.5.62-disco/arch/i386/mm/Makefile	Wed Feb 19 10:14:30 2003
+++ linux-2.5.62-disco.new/arch/i386/mm/Makefile	Wed Feb 19 10:15:42 2003
@@ -2,8 +2,9 @@
 # Makefile for the linux i386-specific parts of the memory manager.
 #
 
-obj-y	:= init.o pgtable.o fault.o ioremap.o extable.o pageattr.o boot_ioremap.o
+obj-y	:= init.o pgtable.o fault.o ioremap.o extable.o pageattr.o 
 
 obj-$(CONFIG_DISCONTIGMEM)	+= discontig.o
 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
 obj-$(CONFIG_HIGHMEM) += highmem.o
+obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap.o
Only in linux-2.5.62-disco.new/scripts: elfconfig.h

      reply	other threads:[~2003-02-19 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  3:07 [PATCH] (1/2) x440 discontig support on 2.5.62: early, early ioremap Patricia Gaughen
2003-02-19 18:28 ` Dave Hansen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E53CCDA.6080501@us.ibm.com \
    --to=haveblue@us.ibm.com \
    --cc=akpm@zip.com.au \
    --cc=gone@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox