Re: [PATCH] x86/bootflag: Replace open-coded parity calculation with parity8()
From: Kuan-Wei Chiu
Date: Thu Feb 27 2025 - 08:24:11 EST
On Thu, Feb 27, 2025 at 01:55:45PM +0100, Uros Bizjak wrote:
> Refactor parity calculations to use the standard parity8() helper. This
> change eliminates redundant implementations and improves code
> efficiency.
>
> [ubizjak: Updated the patch to apply to the current source.]
>
> Co-developed-by: Yu-Chun Lin <eleanor15x@xxxxxxxxx>
> Signed-off-by: Yu-Chun Lin <eleanor15x@xxxxxxxxx>
> Signed-off-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
> Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Link: https://lore.kernel.org/lkml/20250223164217.2139331-4-visitorckw@xxxxxxxxx/
Not sure if the Reviewed-by tag is appropriate here, but FWIW:
Reviewed-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
I'll exclude this patch when sending the v2 parity patch series.
Thanks!
Regards,
Kuan-Wei