| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
The idea is to use prlog(PR_EMERG|PR_ALERT|...|PR_WARNING|..|PR_TRACE)
instead of random printf() calls, so that they can be properly
filtered for different console implementations (may only want trace level
calls in memory console rather than over serial port).
We remap PR_PRINTF to PR_NOTICE (5) rather than the absolute value 5.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
|
| |
Replace the libc printf implementation with a wrapper that does
fancy log things such as display timestamp and the log level.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the initial patch for having timestamps in the log.
It currently only wraps prerror to our prlog() function and thus only
(very slightly) modifies bootup log.
we use the timebase as an indication of the progression of time. It is
not perfect, and is indeed reset back to zero during boot, but it should
serve adequately for our needs of "approximately this much time elapsed
between log entries".
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We assumed that we always get TCE aligned address and size. But
its possible that we may non-aligned address (specially when we
add OPAL interface. This patch adds TCE validation.
Also defer TCE mapping until we make MBOX command. This is required
when we add OPAL interface. Ended up introducing new variable to
hold real address and size.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|