Re: [PATCH v2] pstore-ram: add Device Tree bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/17/2015 01:17 PM, Rob Herring wrote:
+- record-size: maximum size in bytes of each dump done on oops/panic
+  (defaults to 0)

Perhaps the default should be something useful.

It's kind of a weird default, but I don't have any ideas for a better one.

First, the size you want is really determined by the number of dumps you want to keep in your circular buffer. That's not something I want to guess at.

Second, at least IME, a lot of devices legitimately want this set to 0. They're pulling in ramoops for the persistent kernel and userspace logs.

+- unbuffered: if present, use uncached mappings to map the reserved region
+  (defaults to cached mappings)

It defaults to write-combined or buffered which is not really cached.

Will fix.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux