2004-10-28 19:52:04

by Bjorn Helgaas

[permalink] [raw]
Subject: [PATCH 2/2] move HCDP/PCDP to early uart console

This changes the HCDP/PCDP support to use the early uart console
rather than using early_serial_setup().

As a consequence, ia64 serial device names will now stay constant
regardless of firmware console settings. (A serial device selected as
an EFI console device on HP ia64 boxes used to automatically become
ttyS0.)

Removed the ia64 early-boot kludge of assuming legacy COM ports at
0x3f8 and 0x2f8. For boxes that have legacy ports but no HCDP,
"console=ttyS0" will still work, but the console won't start working
until after the serial driver initializes and discovers the devices.

This breaks the KGDB_EARLY hooks in PCDP. I'll work with Bob to
figure out what needs to be done there.


Attachments:
(No filename) (695.00 B)
pcdp-early-uart.patch (8.86 kB)
Download all attachments

2004-11-05 23:03:22

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: [PATCH 2/2] move HCDP/PCDP to early uart console

On Thursday 28 October 2004 1:47 pm, Bjorn Helgaas wrote:
> This changes the HCDP/PCDP support to use the early uart console
> rather than using early_serial_setup().

Andrew, would you please replace move-hcdp-pcdp-to-early-uart-console.patch
with the revised version attached?

The most important change is to add usage notes in the changeset
comments because this change breaks many existing serial console
setups (for HP ia64 boxes). The breakage is unfortunate, but I
think justified in order to finally make the ttyS names stable
across firmware configuration changes.

The other changes to the patch itself (see the attached interdiff)
are to update the config help and to ignore the HCDP/PCDP if the
user specifies "console=" explicitly.

I'll be out on vacation until 11/15. Just FYI so you don't think
I'm ignoring any feedback :-)


Attachments:
(No filename) (844.00 B)
move-hcdp-pcdp-to-early-uart-console2.patch (13.99 kB)
interdiff (1.85 kB)
Download all attachments