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

From: Edgecombe, Rick P
Date: Mon Oct 30 2023 - 12:58:47 EST


On Mon, 2023-10-30 at 11:27 +0300, kirill.shutemov@xxxxxxxxxxxxxxx
wrote:
> Tha patch looks good:
>
> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
>
Thanks!

> 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.