All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/2] acpi: Fix PCI hole handling on SRAT table
Date: Thu, 09 Jan 2014 21:33:05 +0100	[thread overview]
Message-ID: <52CF0781.30409@redhat.com> (raw)
In-Reply-To: <1389294763-8137-1-git-send-email-ehabkost@redhat.com>

On 01/09/14 20:12, Eduardo Habkost wrote:
> The original SeaBIOS code used the RamSize variable, that was used by
> SeaBIOS for the size of RAM below 4GB, not for all RAM. When copied to
> QEMU, the code was changed to use the full RAM size, and this broke the
> build_srat() code that handles the PCI hole.
> 
> This series fixes the problem by restoring the original behavior from SeaBIOS.
> 
> Example Linux guest dmesg output when the bug is present (using -m 4G and 4 1GB
> NUMA nodes):

>   SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
>   SRAT: Node 0 PXM 0 [mem 0x00100000-0x3fffffff]
>   SRAT: Node 1 PXM 1 [mem 0x40000000-0x7fffffff]
>   SRAT: Node 2 PXM 2 [mem 0x80000000-0xbfffffff]
>   SRAT: Node 3 PXM 3 [mem 0xc0000000-0xffffffff]
>   NUMA: nodes only cover 3583MB of your 4095MB e820 RAM. Not used.

> Output after the series is applied:
> 

>   SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
>   SRAT: Node 0 PXM 0 [mem 0x00100000-0x3fffffff]
>   SRAT: Node 1 PXM 1 [mem 0x40000000-0x7fffffff]
>   SRAT: Node 2 PXM 2 [mem 0x80000000-0xbfffffff]
>   SRAT: Node 3 PXM 3 [mem 0xc0000000-0xdfffffff]
>   SRAT: Node 3 PXM 3 [mem 0x100000000-0x11fffffff]
> 
> 
> Eduardo Habkost (2):
>   pc: Save size of RAM below 4GB
>   acpi-build: Fix PCI hole handling on build_srat()
> 
>  hw/i386/acpi-build.c | 10 +++++-----
>  hw/i386/pc.c         |  1 +
>  include/hw/i386/pc.h |  2 +-
>  3 files changed, 7 insertions(+), 6 deletions(-)
> 

It looks sane to me (which might not mean much of course).

series
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

  parent reply	other threads:[~2014-01-09 20:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09 19:12 [Qemu-devel] [PATCH 0/2] acpi: Fix PCI hole handling on SRAT table Eduardo Habkost
2014-01-09 19:12 ` [Qemu-devel] [PATCH 1/2] pc: Save size of RAM below 4GB Eduardo Habkost
2014-01-09 19:12 ` [Qemu-devel] [PATCH 2/2] acpi: Fix PCI hole handling on build_srat() Eduardo Habkost
2014-01-09 20:33 ` Laszlo Ersek [this message]
2014-01-10 15:17 ` [Qemu-devel] [PATCH 0/2] acpi: Fix PCI hole handling on SRAT table Igor Mammedov
2014-01-10 15:59   ` Eduardo Habkost
2014-01-13 10:54 ` Gerd Hoffmann
2014-01-24 17:31 ` Eduardo Habkost
2014-01-26  9:25 ` Michael S. Tsirkin

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=52CF0781.30409@redhat.com \
    --to=lersek@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.