mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peng Li <lipeng@acm.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Peter Suetterlin <P.Suetterlin@astro.uu.nl>,
	linux-kernel@vger.kernel.org
Subject: Re: 512MB/1GB RAM
Date: Wed, 12 Nov 2003 16:01:58 -0500	[thread overview]
Message-ID: <20031112210158.GA20865@seas.upenn.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0311100904280.5284-100000@home.osdl.org>

This patch works for me.  Thanks.

I used to patch the copy_e820_map() by filling some holes in the
BIOS memory region as E820_RESERVED, i.e.

add_memory_region(0x3ff7a000ULL,0x3ff80000ULL-0x3ff7a000ULL,E820_RESERVED);

Otherwise some of my PCI devices will be mapped to somewhere between
0x3ff7a000 and 0x3ff80000, which doesn't seem to work.  Is it a bug of
the BIOS?

Linux version 2.6.0-test9 (root@think) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)) #11 Wed Nov 12 15:42:56 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003ff60000 (usable)
 BIOS-e820: 000000003ff60000 - 000000003ff78000 (ACPI data)
 BIOS-e820: 000000003ff78000 - 000000003ff7a000 (ACPI NVS)
 BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved)
 BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)

-- Peng

On Mon, Nov 10, 2003 at 09:08:34AM -0800, Linus Torvalds wrote:
> Try this patch and tell me if it makes a difference.
> 
> --- 1.102/arch/i386/kernel/setup.c	Tue Oct 21 22:10:28 2003
> +++ edited/arch/i386/kernel/setup.c	Mon Nov 10 08:23:46 2003
> @@ -87,7 +87,7 @@
>  unsigned int mca_pentium_flag;
>  
>  /* For PCI or other memory-mapped resources */
> -unsigned long pci_mem_start = 0x10000000;
> +unsigned long pci_mem_start = 0x40000000;
>  
>  /* user-defined highmem size */
>  static unsigned int highmem_pages = -1;
> 

      parent reply	other threads:[~2003-11-12 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 16:35 Peter Suetterlin
     [not found] ` <Pine.LNX.4.44.0311100904280.5284-100000@home.osdl.org>
2003-11-12 21:01   ` Peng Li [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=20031112210158.GA20865@seas.upenn.edu \
    --to=lipeng@acm.org \
    --cc=P.Suetterlin@astro.uu.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®