Re: [PATCH v2] x86/mm/cpa: Warn if set_memory_XXcrypted() fails

From: kirill.shutemov@xxxxxxxxxxxxxxx
Date: Tue Oct 31 2023 - 02:08:11 EST


On Mon, Oct 30, 2023 at 04:58:37PM +0000, Edgecombe, Rick P wrote:
> > It intended to get upstream alongside with the caller fixes to leak
> > memory
> > on failure, right? Maybe get it into one patchset?
>
> Why do you think? Since the callers are smattered across various
> drivers, and those changes are now disconnected from the changes to
> CPA, I thought to just follow up each area separately. For example I
> was going to put all the hyper-v related changes together, but that
> part is RFC due to the fact that I can't really test it. The MS folks
> said they could help out there. So the different areas were feeling
> like separate series.

I am okay with doing it separately. I just was not clear on your plans
with the fixes.

--
Kiryl Shutsemau / Kirill A. Shutemov