public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Hicks <mort@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: efi_memmapwalk re-write (please test)
Date: Wed, 07 Sep 2005 19:17:17 +0000	[thread overview]
Message-ID: <20050907191717.GS13449@localhost> (raw)
In-Reply-To: <200509062048.j86KmBPD004877@agluck-lia64.sc.intel.com>


On Wed, Sep 07, 2005 at 03:16:24PM -0400, Martin Hicks wrote:
> 
> Attached is a very small patch to find the uncached memory on SN2.
> 

and the patch this time...

mh

-- 
Martin Hicks   ||   Silicon Graphics Inc.   ||   mort@sgi.com


Index: linux-2.6.13/arch/ia64/kernel/efi.c
=================================--- linux-2.6.13.orig/arch/ia64/kernel/efi.c	2005-09-07 07:46:05.000000000 -0700
+++ linux-2.6.13/arch/ia64/kernel/efi.c	2005-09-07 07:47:41.000000000 -0700
@@ -831,7 +831,8 @@ efi_memmap_init(unsigned long *s, unsign
 	for (p = efi_map_start; p < efi_map_end; pmd = md, p += efi_desc_size) {
 		md = p;
 		if (!efi_wb(md)) {
-			if (efi_uc(md) && md->type = EFI_CONVENTIONAL_MEMORY) {
+			if (efi_uc(md) && (md->type = EFI_CONVENTIONAL_MEMORY ||
+				    	   md->type = EFI_BOOT_SERVICES_DATA)) {
 				k->attribute = EFI_MEMORY_UC;
 				k->start = md->phys_addr;
 				k->num_pages = md->num_pages;

  parent reply	other threads:[~2005-09-07 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 20:48 efi_memmapwalk re-write (please test) Luck, Tony
2005-09-07 19:16 ` Martin Hicks
2005-09-07 19:17 ` Martin Hicks [this message]
2005-09-07 19:33 ` Luck, Tony
2005-09-08 15:26 ` Martin Hicks
2005-09-08 18:05 ` Luck, Tony

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=20050907191717.GS13449@localhost \
    --to=mort@sgi.com \
    --cc=linux-ia64@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