Messages in this thread | | | Date | Thu, 5 May 2022 16:06:03 -0700 | Subject | Re: [PATCH v5 3/3] x86/tdx: Add Quote generation support | From | Dave Hansen <> |
| |
On 5/5/22 15:15, Kai Huang wrote: > set_memory_xx() is supposedly only for direct-mapping. Please use my > suggestion above.
Kai, please take a look at some of the other users, especially set_memory_x(). See how long the "supposed" requirement holds up.
That said, I've forgotten by now if this _could_ have used vmalloc() or vmap() or vmap_pfn(). None of the logic about why or how the allocator and mapping design decisions were made. Could that be be rectified for the next post?
| |