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

From: Matthew Wilcox
Date: Fri Aug 19 2016 - 01:05:37 EST


Yes, but this actually *removes a bug* in the Linux kernel; if any memory resource is left to be set up later, it is currently not set up on x86 machines which don't have PCI busses. That's not very many x86 systems, I'll agree, but I'm sure some enterprising person is busy creating an SoC which lacks PCI.

-----Original Message-----
From: Dan Williams [mailto:dan.j.williams@xxxxxxxxx]
Sent: Thursday, August 18, 2016 4:17 PM
To: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
Cc: 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 12:56 PM, Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> wrote:
> Compared to a patch which removes 5 lines of code, almost any additional work is ocean-boiling.
>

Did you check the state of NFIT enabling in Hyper-V? Not patching the Linux kernel at all is even less work.