public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support
@ 2008-10-07 20:34 Cihula, Joseph
  2008-10-08  0:54 ` Andi Kleen
  0 siblings, 1 reply; 5+ messages in thread
From: Cihula, Joseph @ 2008-10-07 20:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wang, Shane, Wei, Gang, Van De Ven, Arjan, Mallick, Asit K,
	Nakajima, Jun, Chris Wright, Jan Beulich, mingo, tytso

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

See attached commit message (w/ patch), copied below:

Add support for the E820_UNUSABLE memory type, which is defined in
Revision 3.0b (Oct.  10, 2006) of the ACPI Specification on p.  394
Table
14-1:

  AddressRangeUnusuable This range of address contains memory in which
  errors have been detected.  This range must not be used by the OSPM.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/kernel/e820.c |    4 ++++
 include/asm-x86/e820.h |    1 +
 2 files changed, 5 insertions(+)

diff -puN
arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-m
emory-type arch/x86/kernel/e820.c
---
a/arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi
-memory-type
+++ a/arch/x86/kernel/e820.c
@@ -148,6 +148,9 @@ void __init e820_print_map(char *who)
 		case E820_NVS:
 			printk(KERN_CONT "(ACPI NVS)\n");
 			break;
+		case E820_UNUSABLE:
+			printk("(unusable)\n");
+			break;
 		default:
 			printk(KERN_CONT "type %u\n", e820.map[i].type);
 			break;
@@ -1260,6 +1263,7 @@ static inline const char *e820_type_to_s
 	case E820_RAM:	return "System RAM";
 	case E820_ACPI:	return "ACPI Tables";
 	case E820_NVS:	return "ACPI Non-volatile Storage";
+	case E820_UNUSABLE:	return "Unusable memory";
 	default:	return "reserved";
 	}
 }
diff -puN
include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-m
emory-type include/asm-x86/e820.h
---
a/include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi
-memory-type
+++ a/include/asm-x86/e820.h
@@ -43,6 +43,7 @@
 #define E820_RESERVED	2
 #define E820_ACPI	3
 #define E820_NVS	4
+#define E820_UNUSABLE	5
 
 /* reserved RAM used by kernel itself */
 #define E820_RESERVED_KERN        128


[-- Attachment #2: Type: message/rfc822, Size: 4621 bytes --]

From: <akpm@linux-foundation.org>
To: "Cihula, Joseph" <joseph.cihula@intel.com>, <andi@firstfloor.org>, "Wei, Gang" <gang.wei@intel.com>, <mingo@elte.hu>, "Wang, Shane" <shane.wang@intel.com>, <tglx@linutronix.de>, <mm-commits@vger.kernel.org>
Subject: - acpi-add-support-for-addressrangeunusuable-acpi-memory-type.patch removed from -mm tree
Date: Tue, 26 Aug 2008 11:44:49 -0700
Message-ID: <200808261844.m7QIinld021343@imap1.linux-foundation.org>


The patch titled
     acpi: add support for AddressRangeUnusuable ACPI memory type
has been removed from the -mm tree.  Its filename was
     acpi-add-support-for-addressrangeunusuable-acpi-memory-type.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: acpi: add support for AddressRangeUnusuable ACPI memory type
From: "Cihula, Joseph" <joseph.cihula@intel.com>

Add support for the E820_UNUSABLE memory type, which is defined in
Revision 3.0b (Oct.  10, 2006) of the ACPI Specification on p.  394 Table
14-1:

  AddressRangeUnusuable This range of address contains memory in which
  errors have been detected.  This range must not be used by the OSPM.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/kernel/e820.c |    4 ++++
 include/asm-x86/e820.h |    1 +
 2 files changed, 5 insertions(+)

diff -puN arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type arch/x86/kernel/e820.c
--- a/arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/arch/x86/kernel/e820.c
@@ -148,6 +148,9 @@ void __init e820_print_map(char *who)
 		case E820_NVS:
 			printk(KERN_CONT "(ACPI NVS)\n");
 			break;
+		case E820_UNUSABLE:
+			printk("(unusable)\n");
+			break;
 		default:
 			printk(KERN_CONT "type %u\n", e820.map[i].type);
 			break;
@@ -1260,6 +1263,7 @@ static inline const char *e820_type_to_s
 	case E820_RAM:	return "System RAM";
 	case E820_ACPI:	return "ACPI Tables";
 	case E820_NVS:	return "ACPI Non-volatile Storage";
+	case E820_UNUSABLE:	return "Unusable memory";
 	default:	return "reserved";
 	}
 }
diff -puN include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type include/asm-x86/e820.h
--- a/include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/include/asm-x86/e820.h
@@ -43,6 +43,7 @@
 #define E820_RESERVED	2
 #define E820_ACPI	3
 #define E820_NVS	4
+#define E820_UNUSABLE	5
 
 /* reserved RAM used by kernel itself */
 #define E820_RESERVED_KERN        128
_

Patches currently in -mm which might be from joseph.cihula@intel.com are

linux-next.patch


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support
@ 2008-10-07 22:57 Joseph Cihula
  2008-10-07 23:40 ` Joseph Cihula
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Cihula @ 2008-10-07 22:57 UTC (permalink / raw)
  To: linux-kernel
  Cc: shane.wang, gang.wei, arjan, asit.k.mallick, jun.nakajima, chrisw,
	jbeulich, mingo, tytso, linux-kernel, joseph.cihula

(re-posted with apologies for formatting and email addresses)

Commit message (w/ patch), copied below:

Add support for the E820_UNUSABLE memory type, which is defined in 
Revision 3.0b (Oct.  10, 2006) of the ACPI Specification on p.  394 Table
14-1:

  AddressRangeUnusuable This range of address contains memory in which
  errors have been detected.  This range must not be used by the OSPM.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/kernel/e820.c |    4 ++++
 include/asm-x86/e820.h |    1 +
 2 files changed, 5 insertions(+)

diff -puN 
arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type 
arch/x86/kernel/e820.c
--- 
a/arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/arch/x86/kernel/e820.c
@@ -148,6 +148,9 @@ void __init e820_print_map(char *who)
         case E820_NVS:
             printk(KERN_CONT "(ACPI NVS)\n");
             break;
+        case E820_UNUSABLE:
+            printk("(unusable)\n");
+            break;
         default:
             printk(KERN_CONT "type %u\n", e820.map[i].type);
             break;
@@ -1260,6 +1263,7 @@ static inline const char *e820_type_to_s
     case E820_RAM:    return "System RAM";
     case E820_ACPI:    return "ACPI Tables";
     case E820_NVS:    return "ACPI Non-volatile Storage";
+    case E820_UNUSABLE:    return "Unusable memory";
     default:    return "reserved";
     }
 }
diff -puN 
include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type 
include/asm-x86/e820.h
--- 
a/include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/include/asm-x86/e820.h
@@ -43,6 +43,7 @@
 #define E820_RESERVED    2
 #define E820_ACPI    3
 #define E820_NVS    4
+#define E820_UNUSABLE    5
 
 /* reserved RAM used by kernel itself */
 #define E820_RESERVED_KERN        128


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support
  2008-10-07 22:57 [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support Joseph Cihula
@ 2008-10-07 23:40 ` Joseph Cihula
  0 siblings, 0 replies; 5+ messages in thread
From: Joseph Cihula @ 2008-10-07 23:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: shane.wang, gang.wei, arjan, asit.k.mallick, jun.nakajima, chrisw,
	jbeulich, mingo, tytso, joseph.cihula

(still managed to lose the tabs--let's try one more time ;-( )

(re-posted with apologies for formatting and email addresses)

Commit message (w/ patch), copied below:

Add support for the E820_UNUSABLE memory type, which is defined in Revision 3.0b (Oct.  10, 2006) of the ACPI Specification on p.  394 Table
14-1:
    AddressRangeUnusuable This range of address contains memory in which
    errors have been detected.  This range must not be used by the OSPM.

Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

---

 arch/x86/kernel/e820.c |    4 ++++
 include/asm-x86/e820.h |    1 +
 2 files changed, 5 insertions(+)

diff -puN arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type arch/x86/kernel/e820.c
--- a/arch/x86/kernel/e820.c~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/arch/x86/kernel/e820.c
@@ -148,6 +148,9 @@ void __init e820_print_map(char *who)
 		case E820_NVS:
 			printk(KERN_CONT "(ACPI NVS)\n");
 			break;
+		case E820_UNUSABLE:
+			printk("(unusable)\n");
+			break;
 		default:
 			printk(KERN_CONT "type %u\n", e820.map[i].type);
 			break;
@@ -1260,6 +1263,7 @@ static inline const char *e820_type_to_s
 	case E820_RAM:	return "System RAM";
 	case E820_ACPI:	return "ACPI Tables";
 	case E820_NVS:	return "ACPI Non-volatile Storage";
+	case E820_UNUSABLE:	return "Unusable memory";
 	default:	return "reserved";
 	}
 }
diff -puN include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type include/asm-x86/e820.h
--- a/include/asm-x86/e820.h~acpi-add-support-for-addressrangeunusuable-acpi-memory-type
+++ a/include/asm-x86/e820.h
@@ -43,6 +43,7 @@
 #define E820_RESERVED	2
 #define E820_ACPI	3
 #define E820_NVS	4
+#define E820_UNUSABLE	5

 /* reserved RAM used by kernel itself */
 #define E820_RESERVED_KERN        128



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support
  2008-10-07 20:34 Cihula, Joseph
@ 2008-10-08  0:54 ` Andi Kleen
  2008-10-08  4:32   ` Cihula, Joseph
  0 siblings, 1 reply; 5+ messages in thread
From: Andi Kleen @ 2008-10-08  0:54 UTC (permalink / raw)
  To: Cihula, Joseph
  Cc: linux-kernel, Wang, Shane, Wei, Gang, Van De Ven, Arjan,
	Mallick, Asit K, Nakajima, Jun, Chris Wright, Jan Beulich, mingo,
	tytso

"Cihula, Joseph" <joseph.cihula@intel.com> writes:
> +#define E820_UNUSABLE	5
>  
>  /* reserved RAM used by kernel itself */
>  #define E820_RESERVED_KERN        128
>
> From: <akpm@linux-foundation.org>

Something got corrupted? Your patch contains a mailbox with another
version of the patch.

> Subject: - acpi-add-support-for-addressrangeunusuable-acpi-memory-type.patch removed from -mm tree
> To: "Cihula, Joseph" <joseph.cihula@intel.com>,
> 	<andi@firstfloor.org>,
> 	"Wei, Gang" <gang.wei@intel.com>,
> 	<mingo@elte.hu>,
> 	"Wang, Shane" <shane.wang@intel.com>,
> 	<tglx@linutronix.de>,
> 	<mm-commits@vger.kernel.org>
> Date: Tue, 26 Aug 2008 11:44:49 -0700
>
>
> The patch titled
>      acpi: add support for AddressRangeUnusuable ACPI memory type
> has been removed from the -mm tree.  Its filename was
>      acpi-add-support-for-addressrangeunusuable-acpi-memory-type.patch

-Andi
-- 
ak@linux.intel.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support
  2008-10-08  0:54 ` Andi Kleen
@ 2008-10-08  4:32   ` Cihula, Joseph
  0 siblings, 0 replies; 5+ messages in thread
From: Cihula, Joseph @ 2008-10-08  4:32 UTC (permalink / raw)
  To: Andi Kleen
  Cc: linux-kernel, Wang, Shane, Wei, Gang, Van De Ven, Arjan,
	Mallick, Asit K, Nakajima, Jun, Chris Wright, Jan Beulich, mingo,
	tytso

> From: Andi Kleen [mailto:andi@firstfloor.org]
> Sent: Tuesday, October 07, 2008 5:54 PM
> 
> "Cihula, Joseph" <joseph.cihula@intel.com> writes:
> > +#define E820_UNUSABLE	5
> >
> >  /* reserved RAM used by kernel itself */
> >  #define E820_RESERVED_KERN        128
> >
> > From: <akpm@linux-foundation.org>
> 
> Something got corrupted? Your patch contains a mailbox with another
> version of the patch.

It appears Outlook/Exchange munged more than just tabs and wrapping.  My
most recent patch should be correct (at least the copy I received looks
fine).

> 
> > Subject: - acpi-add-support-for-addressrangeunusuable-acpi-memory-
> type.patch removed from -mm tree
> > To: "Cihula, Joseph" <joseph.cihula@intel.com>,
> > 	<andi@firstfloor.org>,
> > 	"Wei, Gang" <gang.wei@intel.com>,
> > 	<mingo@elte.hu>,
> > 	"Wang, Shane" <shane.wang@intel.com>,
> > 	<tglx@linutronix.de>,
> > 	<mm-commits@vger.kernel.org>
> > Date: Tue, 26 Aug 2008 11:44:49 -0700
> >
> >
> > The patch titled
> >      acpi: add support for AddressRangeUnusuable ACPI memory type
> > has been removed from the -mm tree.  Its filename was
> >      acpi-add-support-for-addressrangeunusuable-acpi-memory-
> type.patch
> 
> -Andi
> --
> ak@linux.intel.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-08  4:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 22:57 [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support Joseph Cihula
2008-10-07 23:40 ` Joseph Cihula
  -- strict thread matches above, loose matches on Subject: below --
2008-10-07 20:34 Cihula, Joseph
2008-10-08  0:54 ` Andi Kleen
2008-10-08  4:32   ` Cihula, Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox