]> asedeno.scripts.mit.edu Git - linux.git/commit
bootconfig: Load boot config from the tail of initrd
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:03:44 +0000 (01:03 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:39 +0000 (13:19 -0500)
commit7684b8582c24537dbe079a7d40e1d7e57ca56939
tree37f9fed6b8c8c865a1d0e2b54a128c1a50e22277
parent76db5a27a827c2c89e5120a3d486472da847863b
bootconfig: Load boot config from the tail of initrd

Load the extended boot config data from the tail of initrd
image. If there is an SKC data there, it has
[(u32)size][(u32)checksum] header (in really, this is a
footer) at the end of initrd. If the checksum (simple sum
of bytes) is match, this starts parsing it from there.

Link: http://lkml.kernel.org/r/157867222435.17873.9936667353335606867.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/Kconfig
init/main.c