Re: [PATCH] RAS/AMD/ATL: Remove bitwise_xor_bits
From: Borislav Petkov
Date: Tue Nov 18 2025 - 07:34:22 EST
On Thu, Nov 13, 2025 at 01:11:25PM +0200, Nikolay Borisov wrote:
> The name of the function is somewhat misleading, it's not just XORing
> bits, but is calculating the parity of the passed in value.
Huh?
It is bitwise XORing the bits. That just *happens* to be the same thing as
calculating the parity modulo 2.
Unless you wanna say something else here which I don't grok...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette