Age | Commit message (Collapse) | Author | Files | Lines |
|
That got lost during a rebase ... oops.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
I accidentally typed uint8_t instead of uint32_t... thanks Joel.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
And use PR_DEBUG for everything
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Some boards are missing an EC for interrupts (or might not have
the FPGA properly flashed). In that case the serial interrupt isn't
working.
We attempt to detect this by enabling all interrupts by default and
when the first one occurs, we mark interrupts as "functional".
Until they are detected as such, we keep all output flushes fully
synchronous.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
This means the Linux output no longer gets into our internal log,
which makes dumping of it from Linux a lot nicer. It will also allow
us to improve the way we do the bufferring for Linux and to exploit
eventually the TX interrupts. It will also allow us to implement
some form of timeouts for the OPAL console variant of it so we don't
get stuck of the BMC doesn't consume from the virtual UART.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
When THRE is 1, we can write up to 16 bytes, so let's make good
use of it
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|