From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752853AbbEDU5o (ORCPT ); Mon, 4 May 2015 16:57:44 -0400 Received: from mga09.intel.com ([134.134.136.24]:64857 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbbEDU5g (ORCPT ); Mon, 4 May 2015 16:57:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,368,1427785200"; d="scan'208";a="566148607" Message-Id: From: Tony Luck Date: Mon, 4 May 2015 13:52:23 -0700 Subject: [PATCH 0/3] Find mirrored memory, use for boot time allocations To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UEFI published the spec that descibes the attribute bit we need to find out which memory ranges are mirrored. So time to post the real version of this series. These patches are against 4.1-rc1 ... I think there are a couple of trivial conflicts with the current mmotm. Tony Luck (3): mm/memblock: Add extra "flag" to memblock to allow selection of memory based on attribute mm/memblock: Allocate boot time data structures from mirrored memory x86, mirror: x86 enabling - find mirrored memory ranges arch/s390/kernel/crash_dump.c | 4 +- arch/sparc/mm/init_64.c | 4 +- arch/x86/kernel/check.c | 2 +- arch/x86/kernel/e820.c | 2 +- arch/x86/kernel/setup.c | 3 ++ arch/x86/mm/init_32.c | 2 +- arch/x86/platform/efi/efi.c | 21 ++++++++ include/linux/efi.h | 3 ++ include/linux/memblock.h | 43 ++++++++++------ mm/cma.c | 4 +- mm/memblock.c | 113 ++++++++++++++++++++++++++++++++---------- mm/memtest.c | 2 +- mm/nobootmem.c | 12 ++++- 13 files changed, 162 insertions(+), 53 deletions(-) -- 2.1.4