Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754609AbbERRgN (ORCPT ); Mon, 18 May 2015 13:36:13 -0400 Received: from mga02.intel.com ([134.134.136.20]:64094 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754304AbbERRgK convert rfc822-to-8bit (ORCPT ); Mon, 18 May 2015 13:36:10 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,454,1427785200"; d="scan'208";a="711997409" From: "Luck, Tony" To: Xishi Qiu CC: Andrew Morton , "linux-kernel@vger.kernel.org" , Xiexiuqi , Linux MM Subject: RE: [RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock Thread-Topic: [RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock Thread-Index: AQHQkUIx8oAMoC9040yTarZZPy8kj52B/ntA Date: Mon, 18 May 2015 17:36:07 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F32A86CA0@ORSMSX114.amr.corp.intel.com> References: <7bdbb1a569d487b3a772fbb7b66b9498d6cee551.1423259664.git.tony.luck@intel.com> <55599E2F.4060800@huawei.com> In-Reply-To: <55599E2F.4060800@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 23 On 2015/2/4 6:40, Tony Luck wrote: >> Can't post this part yet because it uses things in an upcoming[*] ACPI, UEFI, or some >> other four-letter-ending-in-I standard. So just imagine a call someplace early >> in startup that reads information about mirrored address ranges and does: >> > Does the upcoming[*] ACPI will add a new flag in SRAT tables? just like memory hotplug. > > #define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */ > +#define ACPI_SRAT_MEM_MIRROR (1<<3) /* 03: Memory region is mirrored */ The choice for this was UEFI - new attribute bit in the GetMemoryMap() return value. UEFI 2.5 has been published with this change and I posted a newer patch 10 days ago: https://lkml.org/lkml/2015/5/8/521 -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/