[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251118123352.GJaRxnsHRC6KcbQanQ@fat_crate.local>
Date: Tue, 18 Nov 2025 13:33:52 +0100
From: Borislav Petkov <bp@...en8.de>
To: Nikolay Borisov <nik.borisov@...e.com>
Cc: Yazen.Ghannam@....com, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RAS/AMD/ATL: Remove bitwise_xor_bits
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
Powered by blists - more mailing lists