The patch titled Subject: printk: add ignore_loglevel as module parameter has been removed from the -mm tree. Its filename was printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel-fix.patch This patch was dropped because it was folded into printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Yanmin Zhang <yanmin_zhang@xxxxxxxxxxxxxxx> Subject: printk: add ignore_loglevel as module parameter We are enabling some power features on medfield. To test suspend-2-RAM conveniently, we need turn on/off ignore_loglevel frequently without rebooting. Add a module parameter, so users could change it by: /sys/module/printk/parameters/ignore_loglevel Signed-off-by: Zhang Yanmin <yanmin_zhang@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/kernel-parameters.txt | 3 +++ kernel/printk.c | 2 ++ 2 files changed, 5 insertions(+) diff -puN Documentation/kernel-parameters.txt~printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel-fix Documentation/kernel-parameters.txt --- a/Documentation/kernel-parameters.txt~printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel-fix +++ a/Documentation/kernel-parameters.txt @@ -973,6 +973,9 @@ bytes respectively. Such letter suffixes ignore_loglevel [KNL] Ignore loglevel setting - this will print /all/ kernel messages to the console. Useful for debugging. + We also add it as printk module parameter, so users + could change it dynamically, usually by + /sys/module/printk/parameters/ignore_loglevel. ihash_entries= [KNL] Set number of hash buckets for inode cache. diff -puN kernel/printk.c~printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel-fix kernel/printk.c --- a/kernel/printk.c~printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel-fix +++ a/kernel/printk.c @@ -533,6 +533,8 @@ static int __init ignore_loglevel_setup( early_param("ignore_loglevel", ignore_loglevel_setup); module_param_named(ignore_loglevel, ignore_loglevel, bool, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to" + "print all kernel messages to the console."); /* * Write out chars from start to end - 1 inclusive _ Patches currently in -mm which might be from yanmin_zhang@xxxxxxxxxxxxxxx are printk-add-module-parameter-ignore_loglevel-to-control-ignore_loglevel.patch printk-add-console_suspend-module-parameter.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html