[Top] [All Lists]

Re: [PATCH] kill prom_printf

To: Ladislav Michl <>
Subject: Re: [PATCH] kill prom_printf
From: "Maciej W. Rozycki" <>
Date: Mon, 16 Jun 2003 17:19:45 +0200 (MET DST)
In-reply-to: <20030616143303.GA18363@simek>
Organization: Technical University of Gdansk
Original-recipient: rfc822;
Reply-to: "Maciej W. Rozycki" <>
On Mon, 16 Jun 2003, Ladislav Michl wrote:

> I was told by many people that prom_printf and friends should die and
> early_printk should be used instead. this patch (against 2.5) does first
> part of job. compiles and works on IP22 (SNI RM200 and IP32 don't
> compile anyway). Feedback appreciated, as always.

 Hmm, strange idea -- I guess that originates from systems that have no
suitable firmware to perform such an operation at the console.  Currently
only x86_64 implements early_printk() -- if we have an implementation for
MIPS, we may consider removing the alternative.  Also prom_printf() comes
almost for free and works very early and as I see in the x86_64 version
early_printk() requires initialization of a console driver, which may be
unfortunate if debugging a problem within the driver. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>