Re: [PATCH v3] lib/raid/xor: x86: Add AVX-512 optimized xor_gen()

From: Dave Hansen

Date: Mon Jun 15 2026 - 20:30:04 EST


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.