Re: [RFC PATCH v2 12/20] x86: Add support for changing memory encryption attribute

From: Borislav Petkov
Date: Mon Sep 12 2016 - 12:41:45 EST


On Mon, Sep 12, 2016 at 10:41:29AM -0500, Tom Lendacky wrote:
> Looking at __change_page_attr_set_clr() isn't it possible for some of
> the pages to be changed before an error is encountered since it is
> looping? If so, we may still need to flush. The CPA_FLUSHTLB flag
> should take care of a failing case where no attributes have actually
> been changed.

Ah, yes, ok, then yours is correct.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.