On Mon, 2014-03-31 at 15:08 +1100, Michael Neuling wrote:
+/* OPAL in-memory console. Defined in OPAL source at core/console.c */
+struct memcons {
+ __be64 magic;
+#define MEMCONS_MAGIC 0x6630696567726173L
0x6630696567726173 == f0iegras ... Ben!!! :-P
Yummy ! :-)
+ __be64
On Mon, Mar 31, 2014 at 10:29 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
+ conbuf = phys_to_virt(be64_to_cpu(mc-obuf_phys));
+ wrapped = be32_to_cpu(mc-out_pos) MEMCONS_OUT_POS_WRAP;
+ out_pos = be32_to_cpu(mc-out_pos) MEMCONS_OUT_POS_MASK;
+
Are there ordering
Joel Stanley j...@jms.id.au writes:
OPAL provides an in-memory circular buffer containing a message log
populated with various runtime messages produced by the firmware.
Provide a sysfs interface /sys/firmware/opal/messages for userspace to
view the messages.
Acked-by: Stewart Smith
Joel Stanley j...@jms.id.au wrote:
OPAL provides an in-memory circular buffer containing a message log
populated with various runtime messages produced by the firmware.
Provide a sysfs interface /sys/firmware/opal/messages for userspace to
view the messages.
Signed-off-by: Joel Stanley
Michael Neuling mi...@neuling.org wrote:
Joel Stanley j...@jms.id.au wrote:
OPAL provides an in-memory circular buffer containing a message log
populated with various runtime messages produced by the firmware.
Provide a sysfs interface /sys/firmware/opal/messages for userspace to
OPAL provides an in-memory circular buffer containing a message log
populated with various runtime messages produced by the firmware.
Provide a sysfs interface /sys/firmware/opal/messages for userspace to
view the messages.
Signed-off-by: Joel Stanley j...@jms.id.au
---