Re: [PATCH v7 9/9] x86/mmu: Allocate/free PASID

Borislav Petkov
2020-09-14T19:25:26Z

On Mon, Sep 14, 2020 at 06:37:15PM +0000, Fenghua Yu wrote:
> get_xsave_addr() will not return NULL because xsave->header.xfeatures has
> XFEATURE_MASK_PASID set.

Ah, you're setting it in the line above.

> I will remove the unnecessary check "if (ppasid_state)" to optimize
> the function and add a comment on why the check is unnecessary.

Ok.

> I addressed all of your comments and will send out the updated series soon.
>
> Thank you very much for your review!

You're welcome and thanks!

--
Regards/Gruss,
Boris.