bootconfig: Cleanup and reorder the init parameter from bootconfig
Get series with b4
b4 am 163077084169.222577.4459698040375322439.stgit@devnote2Versions newest first · linked by author and title
- v3 Latest6 patches 2 repliesIn review
- v23 patches 0 repliesSuperseded
- v13 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | init: bootconfig: Remove all bootconfig data when the init memory is removedinit/ | +12 | 0 replies | |
| 2/6 | init/bootconfig: Reorder init parameter from bootconfig and cmdlineinit/ | +14 | 0 replies | |
| 3/6 | docs: bootconfig: Add how to use bootconfig for kernel parametersDocumentation/ | +38 | 0 replies | |
| 4/6 | tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.shtools/ | +2 | 0 replies | |
| 5/6 | bootconfig: Fix missing return check of xbc_node_compose_key functiontools/ | +3 | 0 replies | |
| 6/6 | tools/bootconfig: Show whole test command for each test casetools/ | +2 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Masami Hiramatsu |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | A-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] bootconfig: Cleanup and reorder the init parameter from bootconfig
Hi Steve,
Here is the 3rd version of the patches to update the bootconfig. I added 3 patches to fix some issues. One issue is from Julio which fixes a compilation error ([5/6]*). And the other 2 are fixing ftrace2bconf script ([4/6]) and cleanup test script ([6/6]).
* https://lore.kernel.org/all/[email protected]/T/#u
The 1st one is for bootconfig memory cleanup when exiting init stage. The 2nd one and 3rd one are for reordering the init parameters from bootconfig.
Since the current kernel concatenate the kernel cmdline and the bootconfig parameters as below.
[bootconfig kernel params][cmdline] -- [init cmdline][bootconfig init params]
This is bit odd because for the kernel parameters, user passed cmdline can override the previous (bootconfig) one, but for the init cmdline, bootconfig may override the parameter.
Thus, this series invert the order as the following.
[bootconfig kernel params][cmdline] -- [bootconfig init params][init cmdline]
The 3rd patch is adding how to use the bootconfig for passing kernel and init parameters.
Thank you,
---
Julio Faracco (1):
bootconfig: Fix missing return check of xbc_node_compose_key function
Masami Hiramatsu (5):
init: bootconfig: Remove all bootconfig data when the init memory is removed init/bootconfig: Reorder init parameter from bootconfig and cmdline
docs: bootconfig: Add how to use bootconfig for kernel parameters tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh tools/bootconfig: Show whole test command for each test case
Documentation/admin-guide/bootconfig.rst | 39 +++++++++++++++++++++++++++++- init/main.c | 37 ++++++++++++++++++++-------- tools/bootconfig/main.c | 4 ++- tools/bootconfig/scripts/ftrace2bconf.sh | 4 ++- tools/bootconfig/test-bootconfig.sh | 4 ++- 5 files changed, 71 insertions(+), 17 deletions(-)
--
Masami Hiramatsu (Linaro) <[email protected]>