lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <D936D925018D154694D8A362EEB0892005AC105D@orsmsx416.amr.corp.intel.com>
Date:	Tue, 7 Oct 2008 13:34:47 -0700
From:	"Cihula, Joseph" <joseph.cihula@...el.com>
To:	<linux-kernel@...r.kernel.org>
Cc:	"Wang, Shane" <shane.wang@...el.com>,
	"Wei, Gang" <gang.wei@...el.com>,
	"Van De Ven, Arjan" <arjan.van.de.ven@...el.com>,
	"Mallick, Asit K" <asit.k.mallick@...el.com>,
	"Nakajima, Jun" <jun.nakajima@...el.com>,
	"Chris Wright" <chrisw@...hat.com>,
	"Jan Beulich" <jbeulich@...ell.com>, <mingo@...e.hu>,
	<tytso@....edu>
Subject: [RFC][PATCH 1/3] TXT: ACPI AddressRangeUnusuable support

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@...el.com>
Signed-off-by: Shane Wang <shane.wang@...el.com>
Signed-off-by: Gang Wei <gang.wei@...el.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Andi Kleen <andi@...stfloor.org>
Signed-off-by: Andrew Morton <akpm@...ux-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


X-MimeOLE: Produced By Microsoft Exchange V6.5
Received:  from orsmsx335.jf.intel.com ([10.22.226.40]) by orsmsx416.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Aug 2008 11:45:45 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Received:  from azsmsx333.amr.corp.intel.com ([10.2.121.77]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Aug 2008 11:45:45 -0700
Received:  from fmsmga001.fm.intel.com ([10.253.24.23]) by azsmsx333.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Aug 2008 11:45:45 -0700
Received:  from fmsmga101.fm.intel.com ([10.1.193.65])  by fmsmga001-1.fm.intel.com with ESMTP; 26 Aug 2008 11:46:45 -0700
Received:  from smtp1.linux-foundation.org ([140.211.169.13])  by mga01.intel.com with ESMTP; 26 Aug 2008 11:43:54 -0700
Received:  from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id m7QIinbk031036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Aug 2008 11:44:50 -0700
Received:  from localhost.localdomain (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id m7QIinld021343; Tue, 26 Aug 2008 11:44:49 -0700
Content-class: urn:content-classes:message
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@...p1.linux-foundation.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: - acpi-add-support-for-addressrangeunusuable-acpi-memory-type.patch removed from -mm tree
Thread-Index: AckHq/M8DymmjbyVT/6tTW8tuGvnzw==
From: <akpm@...ux-foundation.org>
To: "Cihula, Joseph" <joseph.cihula@...el.com>,
	<andi@...stfloor.org>,
	"Wei, Gang" <gang.wei@...el.com>,
	<mingo@...e.hu>,
	"Wang, Shane" <shane.wang@...el.com>,
	<tglx@...utronix.de>,
	<mm-commits@...r.kernel.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@...el.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@...el.com>
Signed-off-by: Shane Wang <shane.wang@...el.com>
Signed-off-by: Gang Wei <gang.wei@...el.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Andi Kleen <andi@...stfloor.org>
Signed-off-by: Andrew Morton <akpm@...ux-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-me=
mory-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-me=
mory-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
=20
 /* reserved RAM used by kernel itself */
 #define E820_RESERVED_KERN        128
_

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

linux-next.patch


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ