Re: [RFC PATCH v4 11/28] x86: Add support to determine the E820 type of an address

From: Borislav Petkov
Date: Fri Mar 03 2017 - 04:53:35 EST


On Tue, Feb 28, 2017 at 04:34:39PM -0600, Tom Lendacky wrote:
> Or if we want to guard against ACPI adding a type 0 in the future, I
> could make the function return an int and then return -EINVAL if an e820
> entry isn't found. This might be the better option.

Yap, think so too. I don't trust specs anyway :)

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.