Re: [PATCH v3] lib/raid/xor: x86: Add AVX-512 optimized xor_gen()
Christoph Hellwig <[email protected]> Wed, 17 Jun 2026 07:44:56 +0200
| Newsgroups | gmane.linux.uml.devel,gmane.linux.kernel.cryptoapi,gmane.linux.raid,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 15, 2026 at 05:29:58PM -0700, Dave Hansen wrote: > On 6/15/26 16:53, Borislav Petkov wrote: > > > >> In any case, I'd like these to go away: > >> > >> $ git grep cpu_has_xfeatures | wc -l > >> 31 > > Yeah, all in crypto. I can certainly see why. > > > > @dhansen, any other thoughts? > > If we can get rid of cpu_has_xfeatures(), I'm all for it. I'm not quite > sure how the code would look so I'm reserving judgement until I see the > patches. But it's worth a try. I think the most important part is to be consistent. Either use it everywhere or not at all.