Re: [PATCH] x86, libnvdimm/test: Remove COPY_MC_TEST

From: Borislav Petkov
Date: Tue Oct 20 2020 - 05:32:29 EST


On Mon, Oct 19, 2020 at 09:08:03PM -0700, Dan Williams wrote:
> The COPY_MC_TEST facility has served its purpose for validating the
> early termination conditions of the copy_mc_fragile() implementation.
> Remove it and the EXPORT_SYMBOL_GPL of copy_mc_fragile().
>
> Reported-by: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: Vishal Verma <vishal.l.verma@xxxxxxxxx>
> Cc: Dave Jiang <dave.jiang@xxxxxxxxx>
> Cc: Ira Weiny <ira.weiny@xxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> ---
> arch/x86/Kconfig.debug | 3 -
> arch/x86/include/asm/copy_mc_test.h | 75 -------------------------
> arch/x86/lib/copy_mc.c | 4 -
> arch/x86/lib/copy_mc_64.S | 10 ---
> tools/testing/nvdimm/test/nfit.c | 103 -----------------------------------
> 5 files changed, 195 deletions(-)
> delete mode 100644 arch/x86/include/asm/copy_mc_test.h

I love patches removing code. ACK.

I'll take this through tip after -rc1.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette