Re: [PATCH 3/6] x86/sev-es: Use __put_user()/__get_user

From: Dave Hansen
Date: Wed May 12 2021 - 13:31:03 EST


On 5/12/21 1:37 AM, 'Joerg Roedel' wrote:
> I also thought about adding page_fault_disable()/page_fault_enable()
> calls, but being in atomic context is enough according to the
> faulthandler_disabled() implementation.

That would be nice to add to a comment:
page_fault_disable()/page_fault_enable() are not needed because of the
context this must be called in.