Re: [PATCH v3 2/2] x86/early_printk: Add earlyprintk=tdx to drive the UART with TDVMCALLs

From: Kiryl Shutsemau

Date: Sat Oct 03 2026 - 19:34:56 EST


On Fri, Oct 02, 2026 at 07:31:00PM +0000, Verma, Vishal L wrote:
> > +/* Only referenced when X86_FEATURE_TDX_GUEST is enabled, no stubs needed */
> > +unsigned int tdx_serial_in(unsigned long addr, int offset);
> > +void tdx_serial_out(unsigned long addr, int offset, int value);
> > +
> >
>
> .. Should these also be:
>
> +__noendbr unsigned int tdx_serial_in(unsigned long addr, int offset);
> +__noendbr void tdx_serial_out(unsigned long addr, int offset, int value);

Yes, my bad.

--
Kiryl Shutsemau / Kirill A. Shutemov