Re: [PATCH v3 54/75] x86/sev-es: Handle DR7 read/write events

From: Joerg Roedel
Date: Thu Jun 11 2020 - 09:07:04 EST


On Mon, May 25, 2020 at 12:59:35PM +0200, Borislav Petkov wrote:
> On Tue, Apr 28, 2020 at 05:17:04PM +0200, Joerg Roedel wrote:
> > + if (data)
> > + data->dr7 = val;
>
> Are we still returning ES_OK if !data?

Yes, it just means we ignore DR7 writes when they happen early before
runtime_data is allocated. Since the DR7 value never makes it to the
hardware register anyway, it doesn't matter.


Joerg