- i386-efi-fix-proc-iomem-type-for-kexec-tools.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     i386-efi: fix /proc/iomem type for kexec-tools
has been removed from the -mm tree.  Its filename was
     i386-efi-fix-proc-iomem-type-for-kexec-tools.patch

This patch was dropped because Eric had issues

------------------------------------------------------
Subject: i386-efi: fix /proc/iomem type for kexec-tools
From: Thomas Meyer <thomas@xxxxxxxx>

The kexec-tools check for "System RAM".

Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/i386/kernel/efi.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff -puN arch/i386/kernel/efi.c~i386-efi-fix-proc-iomem-type-for-kexec-tools arch/i386/kernel/efi.c
--- a/arch/i386/kernel/efi.c~i386-efi-fix-proc-iomem-type-for-kexec-tools
+++ a/arch/i386/kernel/efi.c
@@ -636,7 +636,12 @@ efi_initialize_iomem_resources(struct re
 			res->name = "Runtime Service Data";
 			break;
 		case EFI_CONVENTIONAL_MEMORY:
-			res->name = "Conventional Memory";
+			if (md->attribute & EFI_MEMORY_WP) {
+				res->name = "System ROM";
+				res->flags |= IORESOURCE_READONLY;
+			} else {
+				res->name = "System RAM";
+			}
 			break;
 		case EFI_UNUSABLE_MEMORY:
 			res->name = "Unusable Memory";
_

Patches currently in -mm which might be from thomas@xxxxxxxx are

i386-efi-fix-proc-iomem-type-for-kexec-tools.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux