RE: [PATCH 1/2] x86: Set up resources correctly on Hyper-V Generation 2

From: Matthew Wilcox
Date: Thu Aug 18 2016 - 21:50:11 EST


*Until* such a mechanism is in, I see no reason to not keep feature parity for all platforms. This is the exact "You should boil the ocean" response that Arjan famously complained about at Kernel Summit a few years ago.

-----Original Message-----
From: Dan Williams [mailto:dan.j.williams@xxxxxxxxx]
Sent: Thursday, August 18, 2016 2:15 PM
To: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
Cc: Matthew Wilcox <mawilcox@xxxxxxxxxxxxxxxxx>; X86 ML <x86@xxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; linux-nvdimm@xxxxxxxxxxxx
Subject: Re: [PATCH 1/2] x86: Set up resources correctly on Hyper-V Generation 2

On Thu, Aug 18, 2016 at 11:05 AM, Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> wrote:
> I'd rather the memmap= option works on all platforms. Unless we're going to get rid of it entirely and exclusively use ACPI tables, I see no good reason to leave this landmine lying around for someone else to blow their own leg off.
>

memmap= is already a landmine: https://lkml.org/lkml/2016/6/28/819

Killing memmap= in favor of NFIT is a better way to go. I chatted with Peter off list about this problem and he wondered about re-purposing using the mBFT mechanism to define memory ranges:

http://omniboot.org/txt/syslinux/memdisk.txt