public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: "Kevin O'Connor" <kevin@koconnor.net>
Cc: Stefan Reinauer <stepan@coresystems.de>,
	linux-kernel@vger.kernel.org, coreboot@coreboot.org
Subject: Re: MPTable can not be high-memory on Linux
Date: Sun, 22 Feb 2009 18:53:41 +0100	[thread overview]
Message-ID: <87tz6muzmi.fsf@basil.nowhere.org> (raw)
In-Reply-To: <20090222152530.GA30576@morn.localdomain> (Kevin O'Connor's message of "Sun, 22 Feb 2009 10:25:31 -0500")

Kevin O'Connor <kevin@koconnor.net> writes:
>
> It looks like the problem is that the MPTable is located in the last
> 64K of memory (instead of the first few megabytes).  There is a
> comment about this in arch/x86/kernel/mpparse.c:
>
>    /*
>     * We cannot access to MPC table to compute
>     * table size yet, as only few megabytes from
>     * the bottom is mapped now.
>     * PC-9800's MPC table places on the very last
>     * of physical memory; so that simply reserving
>     * PAGE_SIZE from mpg->mpf_physptr yields BUG()
>     * in reserve_bootmem.
>     */
>
> However, that comment is in an #ifdef specific to 32bit kernels.
> (Though, it's not clear to me how that code would help as it sets size
> to be a negative number.)
>
> The easiest way to fix this is to change SeaBIOS to copy the whole
> mptable to the first megabyte.  Also, we need to fix your SMBIOS so
> that ACPI is used instead of the mptable.

The kernel should just use early_ioremap to access it I guess.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

      parent reply	other threads:[~2009-02-22 17:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <499DB40C.1060205@coresystems.de>
     [not found] ` <499DB480.1000909@coresystems.de>
     [not found]   ` <499DB6D8.5040706@coresystems.de>
     [not found]     ` <499DBDA0.2010606@coresystems.de>
     [not found]       ` <499DCE79.8020809@coresystems.de>
2009-02-22 15:25         ` MPTable can not be high-memory on Linux Kevin O'Connor
2009-02-22 17:06           ` Rafael J. Wysocki
2009-02-22 21:33             ` Yinghai Lu
2009-02-22 22:32               ` Kevin O'Connor
2009-02-22 22:58                 ` Ingo Molnar
2009-02-23  6:14                   ` Yinghai Lu
2009-02-23  6:42                     ` Ingo Molnar
2009-02-28 23:41                     ` Kevin O'Connor
2009-03-01  3:10                       ` Yinghai Lu
2009-03-01 18:04                         ` Kevin O'Connor
2009-03-02  3:23                           ` [PATCH] x86: ioremap mptable -v2 Yinghai Lu
2009-03-02 10:18                             ` Ingo Molnar
2009-03-02 10:19                               ` Ingo Molnar
2009-03-02 20:07                               ` Yinghai Lu
2009-03-02 20:29                                 ` Ingo Molnar
2009-03-02 20:46                                   ` Yinghai Lu
2009-03-02 20:57                                     ` Ingo Molnar
2009-02-22 17:53           ` Andi Kleen [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=87tz6muzmi.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=coreboot@coreboot.org \
    --cc=kevin@koconnor.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stepan@coresystems.de \
    /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