Re: [PATCH v2 5/6] platform/x86: intel_tdx_attest: Add TDX Guest attestation interface driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Expensive and permanently fractures the direct map.

I'm struggling to figure out why the direct map is even touched here.
I think Sathya did it this way because the TD interface requires a physical address.
Why not just use a vmalloc area mapping?  You really just need *a*
decrypted mapping to the page.  You don't need to make *every* mapping
to the page decrypted.

Yes it would be possible to use vmap() on the page and only set the vmap encrypted by passing the right flags directly.

That would avoid breaking up the direct mapping.


-Andi





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux