The patch titled Fix BIOS-e820 end address has been added to the -mm tree. Its filename is fix-bios-e820-end-address.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Fix BIOS-e820 end address From: "Keshavamurthy, Anil S" <anil.s.keshavamurthy@xxxxxxxxx> --snip of boot message-- BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000007fe8cc00 (usable) ----end snip--- As you see from above the address 0000000000100000 is both shown as reserved and usable which is confusing. This patch fixes the BIOS-e820 end address. Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx> Cc: "Siddha, Suresh B" <suresh.b.siddha@xxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/i386/kernel/e820.c | 2 +- arch/x86_64/kernel/e820.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/e820.c~fix-bios-e820-end-address arch/i386/kernel/e820.c --- a/arch/i386/kernel/e820.c~fix-bios-e820-end-address +++ a/arch/i386/kernel/e820.c @@ -753,7 +753,7 @@ void __init print_memory_map(char *who) for (i = 0; i < e820.nr_map; i++) { printk(" %s: %016Lx - %016Lx ", who, e820.map[i].addr, - e820.map[i].addr + e820.map[i].size); + e820.map[i].addr + e820.map[i].size - 1); switch (e820.map[i].type) { case E820_RAM: printk("(usable)\n"); break; diff -puN arch/x86_64/kernel/e820.c~fix-bios-e820-end-address arch/x86_64/kernel/e820.c --- a/arch/x86_64/kernel/e820.c~fix-bios-e820-end-address +++ a/arch/x86_64/kernel/e820.c @@ -368,7 +368,7 @@ void __init e820_print_map(char *who) for (i = 0; i < e820.nr_map; i++) { printk(KERN_INFO " %s: %016Lx - %016Lx ", who, (unsigned long long) e820.map[i].addr, - (unsigned long long) (e820.map[i].addr + e820.map[i].size)); + (unsigned long long) (e820.map[i].addr + e820.map[i].size - 1)); switch (e820.map[i].type) { case E820_RAM: printk("(usable)\n"); break; _ Patches currently in -mm which might be from anil.s.keshavamurthy@xxxxxxxxx are optimize-x86-page-faults-like-all-other-achitectures-and-kill-notifier-cruft.patch fix-bios-e820-end-address.patch kprobes-support-kretprobe-blacklist.patch intel-iommu-dmar-detection-and-parsing-logic.patch intel-iommu-pci-generic-helper-function.patch intel-iommu-clflush_cache_range-now-takes-size-param.patch intel-iommu-iova-allocation-and-management-routines.patch intel-iommu-intel-iommu-driver.patch intel-iommu-avoid-memory-allocation-failures-in-dma-map-api-calls.patch intel-iommu-intel-iommu-cmdline-option-forcedac.patch intel-iommu-dmar-fault-handling-support.patch intel-iommu-iommu-gfx-workaround.patch intel-iommu-iommu-gfx-workaround-kconfig-fix.patch intel-iommu-iommu-floppy-workaround.patch intel-iommu-iommu-floppy-workaround-kconfig-fix.patch intel-iommu-optimize-sg-map-unmap-calls.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