aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk
AgeCommit message (Expand)AuthorFilesLines
2024-03-26Merge tag 'printk-for-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+6
2024-03-21Merge tag 'tty-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-3/+18
2024-03-15printk: Update @console_may_schedule in console_trylock_spinning()John Ogness1-0/+6
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2024-03-12Merge tag 'printk-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds4-135/+396
2024-03-05serial: Lock console when calling into driver before registrationPeter Collingbourne1-3/+18
2024-02-23crash: split vmcoreinfo exporting code out from crash_core.cBaoquan He1-2/+2
2024-02-07dump_stack: Do not get cpu_sync for panic CPUJohn Ogness1-1/+0
2024-02-07printk: Avoid non-panic CPUs writing to ringbufferJohn Ogness1-20/+6
2024-02-07printk: Disable passing console lock owner completely during panic()Petr Mladek1-0/+29
2024-02-07printk: ringbuffer: Skip non-finalized records in panicJohn Ogness1-2/+26
2024-02-07printk: Wait for all reserved records with pr_flush()John Ogness3-1/+107
2024-02-07printk: ringbuffer: Cleanup reader terminologyJohn Ogness1-7/+9
2024-02-07printk: Add this_cpu_in_panic()John Ogness2-20/+24
2024-02-07printk: For @suppress_panic_printk check for other CPU in panicJohn Ogness1-2/+1
2024-02-07printk: ringbuffer: Clarify special lpos valuesJohn Ogness2-5/+31
2024-02-07printk: ringbuffer: Do not skip non-finalized records with prb_next_seq()John Ogness2-41/+127
2024-02-07printk: Use prb_first_seq() as base for 32bit seq macrosJohn Ogness2-5/+5
2024-02-07printk: Adjust mapping for 32bit seq macrosSebastian Andrzej Siewior1-1/+1
2024-02-07printk: nbcon: Relocate 32bit seq macrosJohn Ogness2-37/+37
2024-02-01cap_syslog: remove CAP_SYS_ADMIN when dmesg_restrictJingzi Meng1-11/+0
2023-11-03Merge tag 'tty-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-2/+10
2023-11-02Merge branch 'rework/nbcon-base' into for-linusPetr Mladek4-50/+1134
2023-11-02Merge branch 'rework/misc-cleanups' into for-linusPetr Mladek1-13/+13
2023-11-02Merge branch 'for-6.7' into for-linusPetr Mladek1-2/+0
2023-10-24printk: printk: Remove unnecessary statements'len = 0;'Li kunyu1-2/+0
2023-10-17printk: Constify name for add_preferred_console()Tony Lindgren1-2/+2
2023-10-17printk: Check valid console index for preferred consoleTony Lindgren1-2/+10
2023-10-11printk: Reduce pr_flush() pooling timePetr Mladek1-13/+13
2023-10-11Merge branch 'rework/misc-cleanups' into for-linusPetr Mladek1-1/+7
2023-10-09printk: flush consoles before checking progressJohn Ogness1-1/+7
2023-09-21printk: fix illegal pbufs access for !CONFIG_PRINTKJohn Ogness1-26/+18
2023-09-18printk: nbcon: Allow drivers to mark unsafe regions and check stateThomas Gleixner1-0/+75
2023-09-18printk: nbcon: Add emit function and callback function for atomic printingThomas Gleixner3-8/+113
2023-09-18printk: nbcon: Add sequence handlingThomas Gleixner3-7/+132
2023-09-18printk: nbcon: Add ownership state functionsThomas Gleixner1-1/+122
2023-09-18printk: nbcon: Add buffer managementThomas Gleixner3-15/+92
2023-09-18printk: Make static printk buffers available to nbconJohn Ogness2-4/+11
2023-09-18printk: nbcon: Add acquire/release logicThomas Gleixner1-0/+497
2023-09-18printk: Add non-BKL (nbcon) console basic infrastructureThomas Gleixner4-4/+89
2023-09-07Revert "printk: export symbols for debug modules"Christoph Hellwig1-2/+0
2023-09-04Merge tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds4-74/+154
2023-09-04Merge branch 'rework/misc-cleanups' into for-linusPetr Mladek3-73/+151
2023-08-16printk: export symbols for debug modulesEnlin Mu1-0/+2
2023-08-14printk: ringbuffer: Fix truncating buffer size min_t castKees Cook1-1/+1
2023-07-20printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic()John Ogness2-7/+10
2023-07-20printk: Add per-console suspended stateJohn Ogness1-30/+44
2023-07-20printk: Consolidate console deferred printingJohn Ogness2-14/+30
2023-07-20printk: Do not take console lock for console_flush_on_panic()John Ogness1-9/+19
2023-07-20printk: Keep non-panic-CPUs out of console lockJohn Ogness1-19/+26
2023-07-20printk: Reduce console_unblank() usage in unsafe scenariosJohn Ogness1-0/+28
2023-06-05seqlock/latch: Provide raw_read_seqcount_latch_retry()Peter Zijlstra1-1/+1
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+2
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-04-18printk: export console trace point for kcsan/kasan/kfence/kmsanPavankumar Kondeti1-0/+2
2023-04-18Change DEFINE_SEMAPHORE() to take a number argumentPeter Zijlstra1-1/+1
2023-04-03printk: Remove obsoleted check for non-existent "user" objectStanislav Kinsburskii1-12/+1
2023-02-23Merge tag 'printk-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds3-130/+225
2023-02-21Merge branch 'rework/buffers-cleanup' into for-linusPetr Mladek2-129/+224
2023-02-03kernel/printk/index.c: fix memory leak with using debugfs_lookup()Greg Kroah-Hartman1-1/+1
2023-01-31Merge tag 'v6.2-rc6' into sched/core, to pick up fixesIngo Molnar1-0/+2
2023-01-19Merge branch 'rework/console-list-lock' into for-linusPetr Mladek1-0/+2
2023-01-18printk: Use scnprintf() to print the message about the dropped messages on a ...Petr Mladek1-1/+1
2023-01-16kernel/printk/printk.c: Fix W=1 kernel-doc warningAnuradha Weeraman1-0/+1
2023-01-16tty: serial: kgdboc: fix mutex locking order for configure_kgdboc()John Ogness1-0/+1
2023-01-13printk: Remove trace_.*_rcuidle() usagePeter Zijlstra1-1/+1
2023-01-11printk: adjust string limit macrosJohn Ogness2-26/+25
2023-01-11printk: use printk_buffers for devkmsgJohn Ogness1-27/+22
2023-01-11printk: introduce console_prepend_dropped() for dropped messagesJohn Ogness2-33/+61
2023-01-11printk: introduce printk_get_next_message() and printk_messageJohn Ogness2-35/+96
2023-01-11printk: introduce struct printk_buffersJohn Ogness2-31/+36
2023-01-11printk: move size limit macros into internal.hJohn Ogness2-17/+24
2022-12-08Merge branch 'rework/console-list-lock' into for-linusPetr Mladek1-112/+384
2022-12-02printk: htmldocs: add missing descriptionJohn Ogness1-0/+2
2022-12-02printk: relieve console_lock of list synchronization dutiesJohn Ogness1-24/+20
2022-12-02printk, xen: fbfront: create/use safe function for forcing preferredJohn Ogness1-3/+46
2022-12-02console: introduce console_is_registered()John Ogness1-1/+1
2022-12-02printk: console_device: use srcu console list iteratorJohn Ogness1-1/+11
2022-12-02printk: console_flush_on_panic: use srcu console list iteratorJohn Ogness1-10/+11
2022-12-02printk: console_unblank: use srcu console list iteratorJohn Ogness1-4/+13
2022-12-02printk: console_is_usable: use console_srcu_read_flagsJohn Ogness1-4/+5
2022-12-02printk: __pr_flush: use srcu console list iteratorJohn Ogness1-1/+9
2022-12-02printk: console_flush_all: use srcu console list iteratorJohn Ogness1-15/+35
2022-12-02console: introduce wrappers to read/write console flagsJohn Ogness1-5/+5
2022-12-02printk: introduce console_list_lockJohn Ogness1-9/+80
2022-12-02printk: fix setting first seq for consolesJohn Ogness1-5/+45
2022-12-02printk: move @seq initialization to helperJohn Ogness1-9/+14
2022-12-02printk: register_console: use "registered" for variable namesJohn Ogness1-7/+7
2022-12-02printk: Prepare for SRCU console list protectionJohn Ogness1-15/+72
2022-12-02printk: Convert console_drivers list to hlistThomas Gleixner1-46/+55
2022-12-01printk: use strscpy() to instead of strlcpy()Xu Panda1-1/+1
2022-11-22printk: fix a typo of commentWang Honghui1-1/+1
2022-09-29printk: Mark __printk percpu data ready __ro_after_initThomas Gleixner1-1/+1
2022-09-29printk: Remove bogus comment vs. boot consolesThomas Gleixner1-3/+0
2022-09-29printk: Remove write only variable nr_ext_console_driversThomas Gleixner1-9/+0
2022-09-29printk: Make pr_flush() staticThomas Gleixner1-2/+3
2022-07-15printk: do not wait for consoles when suspendedJohn Ogness1-2/+11
2022-06-23Revert "printk: add functions to prefer direct printing"Petr Mladek1-28/+0
2022-06-23Revert "printk: add kthread console printers"Petr Mladek1-307/+22
2022-06-23Revert "printk: extend console_lock for per-console locking"Petr Mladek1-205/+56
2022-06-23Revert "printk: remove @console_locked"Petr Mladek1-14/+15
2022-06-23Revert "printk: Block console kthreads when direct printing will be required"Petr Mladek1-3/+1
2022-06-23Revert "printk: Wait for the global console lock when the system is going down"Petr Mladek3-38/+0
2022-06-15printk: Wait for the global console lock when the system is going downPetr Mladek3-0/+38
2022-06-15printk: Block console kthreads when direct printing will be requiredPetr Mladek1-1/+3
2022-05-27Revert "printk: wake up all waiters"John Ogness1-1/+1
2022-05-06printk, tracing: fix console tracepointMarco Elver1-2/+2
2022-04-26printk: remove @console_lockedJohn Ogness1-15/+14
2022-04-26printk: extend console_lock for per-console lockingJohn Ogness1-56/+205
2022-04-22printk: add kthread console printersJohn Ogness1-22/+307
2022-04-22printk: add functions to prefer direct printingJohn Ogness1-0/+28
2022-04-22printk: add pr_flush()John Ogness1-0/+83
2022-04-22printk: move buffer definitions into console_emit_next_record() callerJohn Ogness1-17/+43
2022-04-22printk: refactor and rework printing logicJohn Ogness1-213/+228
2022-04-22printk: add con_printk() macro for console detailsJohn Ogness1-6/+7
2022-04-22printk: call boot_delay_msec() in printk_delay()John Ogness1-3/+4
2022-04-22printk: get caller_id/timestamp after migration disableJohn Ogness1-4/+6
2022-04-22printk: wake waiters for safe and NMI contextsJohn Ogness1-12/+16
2022-04-22printk: wake up all waitersJohn Ogness1-1/+1
2022-04-22printk: add missing memory barrier to wake_up_klogd()John Ogness1-3/+36
2022-04-22printk: rename cpulock functionsJohn Ogness1-35/+36
2022-03-23Merge tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-14/+125
2022-03-21Merge branch 'rework/fast-next-seq' into for-linusPetr Mladek2-5/+49
2022-03-21Merge branch 'for-5.18-panic-deadlocks' into for-linusPetr Mladek1-1/+54
2022-03-02printk: fix return value of printk.devkmsg __setup handlerRandy Dunlap1-2/+4
2022-02-21printk: make suppress_panic_printk staticJiapeng Chong1-1/+1
2022-02-21printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called...Andre Kalb1-4/+16
2022-02-15printk: use atomic updates for klogd workJohn Ogness1-2/+2
2022-02-14printk: Drop console_sem during panicStephen Brennan1-1/+24
2022-02-14printk: Avoid livelock with heavy printk during panicStephen Brennan1-0/+15
2022-02-14printk: disable optimistic spin during panicStephen Brennan1-0/+10
2022-02-14printk: Add panic_in_progress helperStephen Brennan1-0/+5
2022-02-03printk: Fix incorrect __user type in proc_dointvec_minmax_sysadmin()Mickaël Salaün1-1/+1
2022-01-26printk: ringbuffer: Improve prb_next_seq() performancePetr Mladek2-5/+49
2022-01-22printk: fix build warning when CONFIG_PRINTK=nXiaoming Ni2-1/+4
2022-01-22printk: move printk sysctl to printk/sysctl.cXiaoming Ni4-1/+96
2021-12-06printk/console: Clean up boot console handling in register_console()Petr Mladek1-23/+24
2021-12-06printk/console: Remove need_default_console variablePetr Mladek1-12/+17
2021-12-06printk/console: Remove unnecessary need_default_console manipulationPetr Mladek1-3/+1
2021-12-06printk/console: Rename has_preferred_console to need_default_consolePetr Mladek1-6/+6
2021-12-06printk/console: Split out code that enables default consolePetr Mladek1-15/+23
2021-11-18Merge tag 'printk-for-5.16-fixup' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+5
2021-11-18Merge branch 'rework/printk_safe-removal' into for-linusPetr Mladek1-0/+5
2021-11-10printk: restore flushing of NMI buffers on remote CPUs after NMI backtracesNicholas Piggin1-0/+5
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+2
2021-11-06memblock: use memblock_free for freeing virtual pointersMike Rapoport1-2/+2
2021-11-02Merge tag 'printk-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-5/+5
2021-10-04printk: use gnu_printf format attribute for printk_sprint()John Ogness1-0/+1
2021-10-04printk: avoid -Wsometimes-uninitialized warningArnd Bergmann1-3/+2
2021-09-14memblock: introduce saner 'memblock_free_ptr()' interfaceLinus Torvalds1-2/+2
2021-09-07printk: use kvmalloc instead of kmalloc for devkmsg_userYong-Taek Lee1-2/+2
2021-08-30Merge branch 'rework/printk_safe-removal' into for-linusPetr Mladek3-494/+163
2021-08-30Merge branch 'rework/fixup-for-5.15' into for-linusPetr Mladek1-2/+5
2021-08-30Merge branch 'for-5.15-verbose-console' into for-linusPetr Mladek1-0/+12
2021-08-27printk/index: Fix -Wunused-function warningYueHaibing1-1/+1
2021-07-29printk: Add printk.console_no_auto_verbose boot parameterDmitry Safonov1-0/+12
2021-07-26printk: syslog: close window between wait and readJohn Ogness1-19/+36
2021-07-26printk: convert @syslog_lock to mutexJohn Ogness1-29/+20
2021-07-26printk: remove NMI trackingJohn Ogness2-44/+1
2021-07-26printk: remove safe buffersJohn Ogness3-424/+48
2021-07-26printk: track/limit recursionJohn Ogness1-3/+83
2021-07-26printk: Move the printk() kerneldoc comment to its new homeJonathan Corbet1-24/+0
2021-07-26printk/index: Fix warning about missing prototypesPetr Mladek1-2/+2
2021-07-19printk: Userspace format indexing supportChris Down3-5/+204
2021-07-19printk: Rework parse_prefix into printk_parse_prefixChris Down2-4/+6
2021-07-19printk: Straighten out log_flags into printk_info_flagsChris Down2-23/+26
2021-07-08printk/console: Check consistent sequence number when handling race in consol...Petr Mladek1-2/+5
2021-06-29Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+116
2021-06-22printk: fix cpu lock orderingJohn Ogness1-3/+50
2021-06-22lib/dump_stack: move cpu lock to printk.cJohn Ogness1-0/+69
2021-06-16printk: Move EXPORT_SYMBOL() closer to vprintk definitionPunit Agrawal1-1/+1
2021-03-30kernel/printk.c: Fixed mundane typosBhaskar Chowdhury1-3/+3
2021-03-30printk: rename vprintk_func to vprintkRasmus Villemoes3-11/+3
2021-03-08printk: console: remove unnecessary safe buffer usageJohn Ogness1-7/+3
2021-03-08printk: kmsg_dump: remove _nolock() variantsJohn Ogness1-52/+8
2021-03-08printk: remove logbuf_lockJohn Ogness3-97/+46
2021-03-08printk: introduce a kmsg_dump iteratorJohn Ogness1-31/+32
2021-03-08printk: kmsg_dumper: remove @active fieldJohn Ogness1-9/+1
2021-03-08printk: add syslog_lockJohn Ogness1-4/+37
2021-03-08printk: use atomic64_t for devkmsg_user.seqJohn Ogness1-12/+12
2021-03-08printk: use seqcount_latch for clear_seqJohn Ogness1-8/+50
2021-03-08printk: introduce CONSOLE_LOG_MAXJohn Ogness1-8/+12
2021-03-08printk: consolidate kmsg_dump_get_buffer/syslog_print_all codeJohn Ogness1-37/+50
2021-03-08printk: refactor kmsg_dump_get_buffer()John Ogness1-29/+33
2021-03-08printk: limit second loop of syslog_print_allJohn Ogness1-1/+8
2021-02-22Merge branch 'printk-rework' into for-linusPetr Mladek2-11/+19
2021-02-12printk: avoid prb_first_valid_seq() where possibleJohn Ogness1-10/+18
2021-02-10printk: fix deadlock when kernel panicMuchun Song1-4/+12
2021-01-26printk: rectify kernel-doc for prb_rec_init_wr()Lukas Bulwahn1-1/+1
2021-01-25Merge branch 'printk-rework' into for-linusPetr Mladek1-1/+1
2021-01-25printk: fix string termination for record_print_text()John Ogness1-1/+1
2021-01-21Merge branch 'printk-rework' into for-linusPetr Mladek2-12/+30
2021-01-19printk: fix buffer overflow potential for print_text()John Ogness1-9/+27
2021-01-15printk: fix kmsg_dump_get_buffer length calulationsJohn Ogness1-2/+2
2021-01-15printk: ringbuffer: fix line countingJohn Ogness1-1/+1
2020-12-16Merge tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-119/+170
2020-12-14Merge tag 'sched-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+2
2020-12-14Merge branch 'for-5.11' into for-linusPetr Mladek2-18/+15
2020-12-14Merge branch 'for-5.11-null-console' into for-linusPetr Mladek1-1/+8
2020-12-09printk: remove logbuf_lock writer-protection of ringbufferJohn Ogness1-40/+98