Re: [PATCH v3 1/8] x86/virt/tdx: Add interface to generate a Quote

From: Dave Hansen

Date: Fri Dec 04 2026 - 14:15:26 EST


On 12/4/26 10:18, Peter Fang wrote:
> + /* Populate the linked list. Allocate new nodes as needed. */
> + for (int i = 0, pages = 0; pages < num_quote_pages;
> + i = (i + 1) % HPAS_PER_NODE) {
> + if (i == HPAS_PER_NODE - 1) {
> + u64 *new_node = kmalloc(PAGE_SIZE, GFP_KERNEL);

Did a human write this code?

Do the humans on cc like this code?