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

From
Verma, Vishal L <vishal.l.verma@intel.com>
Date
2026-09-21 20:11:48
Also in
kvm, linux-doc, lkml
Reply to
Dave Hansen, 2026-09-21
On Mon, 2026-09-21 at 12:58 -0700, Dave Hansen wrote:
On 9/21/26 12:52, Vishal Verma wrote:
quoted
+			earlyprintk=tdx[,ttySn[,baudrate]]
Isn't keeping support for ttySn and baudrate kinda silly? It costs a few
lines of code at least.
I kept it because ultimately we call early_serial_init() to set the
'serial port' up - mainly select which address we want to use. The baud
rate parsing tags along because that's just how the helper is set up.

I think ttySN parsing can still be useful? The guest could be set up
with multiple serial devices and someone could choose to redirect
earlyprintk output to say ttyS1, and that would work.
Thread (7 messages) 7 messages, 2 authors, last reply 2026-09-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help