The size of the dump is currently set using the RECORD_SIZE macro which
is set to a page size. This patch makes the record size a module
parameter and allows it to be set through platform data as well to allow
larger dumps if needed.
Signed-off-by: Sergiu Iordache <[email protected]>
Acked-by: Marco Stornelli <[email protected]>
Cc: "Ahmed S. Darwish" <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
The platform driver currently allows setting the mem_size and
mem_address.
ince dump_oops is also a module parameter it would be more consistent if
it could be set through platform data as well.
Signed-off-by: Sergiu Iordache <[email protected]>
Acked-by: Marco Stornelli <[email protected]>
Cc: "Ahmed S. Darwish" <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
As each board and system has different memory for ramoops. It's better to
define the platform data instead of module params.
[[email protected]: fix ramoops_remove() return type]
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Marco Stornelli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>