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

Joerg Roedel
2020-06-11T13:06:33Z

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