On Fri, Jul 31, 2020 at 8:51 PM Randy Dunlap <rdunlap(a)infradead.org> wrote:
On 7/31/20 8:25 PM, Dan Williams wrote:
> Disable parsing of the HMAT for debug, to workaround broken platform
> instances, or cases where it is otherwise not wanted.
>
> ---
> arch/x86/mm/numa.c | 2 ++
> drivers/acpi/numa/hmat.c | 8 +++++++-
> include/acpi/acpi_numa.h | 8 ++++++++
> 3 files changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c
> index 87c52822cc44..f3805bbaa784 100644
> --- a/arch/x86/mm/numa.c
> +++ b/arch/x86/mm/numa.c
> @@ -41,6 +41,8 @@ static __init int numa_setup(char *opt)
> return numa_emu_cmdline(opt + 5);
> if (!strncmp(opt, "noacpi", 6))
> disable_srat();
> + if (!strncmp(opt, "nohmat", 6))
> + disable_hmat();
Hopefully that will be documented in
Documentation/x86/x86_64/boot-options.rst.
Sorry, yes, you gave that feedback before. I can do a quick respin
with this and the kbuild-robot compile fixups.