On 7/12/20 9:26 AM, Dan Williams wrote: > Disable parsing of the HMAT for debug, to workaround broken platform > instances, or cases where it is otherwise not wanted. > > Cc: [email protected] > Cc: "Rafael J. Wysocki" <[email protected]> > Cc: Dave Hansen <[email protected]> > Cc: Andy Lutomirski <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: "H. Peter Anvin" <[email protected]> > Signed-off-by: Dan Williams <[email protected]> > --- > 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 ee24646dc44e..44fdf06d497e 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(); > return 0; > } > early_param("numa", numa_setup);
Please add that to Documentation/x86/x86_64/boot-options.rst. thanks. -- ~Randy

