Commit 3ef4ea3
committed
Merge tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk updates from Petr Mladek:
- Make %pK behave the same as %p for kptr_restrict == 0 also with
no_hash_pointers parameter
- Ignore the default console in the device tree also when console=null
or console="" is used on the command line
- Document console=null and console="" behavior
- Prevent a deadlock and a livelock caused by console_lock in panic()
- Make console_lock available for panicking CPU
- Fast query for the next to-be-used sequence number
- Use the expected return values in printk.devkmsg __setup handler
- Use the correct atomic operations in wake_up_klogd() irq_work handler
- Avoid possible unaligned access when handling %4cc printing format
* tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
printk: fix return value of printk.devkmsg __setup handler
vsprintf: Fix %pK with kptr_restrict == 0
printk: make suppress_panic_printk static
printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called with user_specified == true
Docs: printk: add 'console=null|""' to admin/kernel-parameters
printk: use atomic updates for klogd work
printk: Drop console_sem during panic
printk: Avoid livelock with heavy printk during panic
printk: disable optimistic spin during panic
printk: Add panic_in_progress helper
vsprintf: Move space out of string literals in fourcc_string()
vsprintf: Fix potential unaligned access
printk: ringbuffer: Improve prb_next_seq() performanceFile tree
5 files changed
+161
-36
lines changed- Documentation/admin-guide
- kernel/printk
- lib
5 files changed
+161
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
727 | 733 | | |
728 | 734 | | |
729 | 735 | | |
| |||
3516 | 3522 | | |
3517 | 3523 | | |
3518 | 3524 | | |
3519 | | - | |
3520 | | - | |
| 3525 | + | |
3521 | 3526 | | |
3522 | 3527 | | |
3523 | 3528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
| 156 | + | |
150 | 157 | | |
| 158 | + | |
151 | 159 | | |
152 | 160 | | |
153 | 161 | | |
| |||
166 | 174 | | |
167 | 175 | | |
168 | 176 | | |
169 | | - | |
| 177 | + | |
170 | 178 | | |
171 | 179 | | |
172 | 180 | | |
| |||
257 | 265 | | |
258 | 266 | | |
259 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
260 | 273 | | |
261 | 274 | | |
262 | 275 | | |
| |||
1843 | 1856 | | |
1844 | 1857 | | |
1845 | 1858 | | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1846 | 1869 | | |
1847 | 1870 | | |
1848 | 1871 | | |
| |||
2218 | 2241 | | |
2219 | 2242 | | |
2220 | 2243 | | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2221 | 2248 | | |
2222 | 2249 | | |
2223 | 2250 | | |
| |||
2324 | 2351 | | |
2325 | 2352 | | |
2326 | 2353 | | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
2327 | 2368 | | |
2328 | 2369 | | |
2329 | 2370 | | |
| |||
2340 | 2381 | | |
2341 | 2382 | | |
2342 | 2383 | | |
2343 | | - | |
2344 | | - | |
| 2384 | + | |
2345 | 2385 | | |
2346 | 2386 | | |
2347 | 2387 | | |
| |||
2351 | 2391 | | |
2352 | 2392 | | |
2353 | 2393 | | |
2354 | | - | |
| 2394 | + | |
2355 | 2395 | | |
2356 | 2396 | | |
2357 | 2397 | | |
| |||
2417 | 2457 | | |
2418 | 2458 | | |
2419 | 2459 | | |
2420 | | - | |
2421 | 2460 | | |
2422 | 2461 | | |
2423 | 2462 | | |
| |||
2573 | 2612 | | |
2574 | 2613 | | |
2575 | 2614 | | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
2576 | 2634 | | |
2577 | 2635 | | |
2578 | 2636 | | |
| |||
2603 | 2661 | | |
2604 | 2662 | | |
2605 | 2663 | | |
| 2664 | + | |
2606 | 2665 | | |
2607 | 2666 | | |
2608 | 2667 | | |
| |||
2657 | 2716 | | |
2658 | 2717 | | |
2659 | 2718 | | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
2660 | 2723 | | |
2661 | 2724 | | |
2662 | 2725 | | |
| |||
2716 | 2779 | | |
2717 | 2780 | | |
2718 | 2781 | | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
2719 | 2786 | | |
2720 | 2787 | | |
2721 | 2788 | | |
| |||
2733 | 2800 | | |
2734 | 2801 | | |
2735 | 2802 | | |
2736 | | - | |
| 2803 | + | |
2737 | 2804 | | |
2738 | 2805 | | |
2739 | 2806 | | |
| |||
3228 | 3295 | | |
3229 | 3296 | | |
3230 | 3297 | | |
3231 | | - | |
| 3298 | + | |
3232 | 3299 | | |
3233 | 3300 | | |
3234 | 3301 | | |
| |||
3262 | 3329 | | |
3263 | 3330 | | |
3264 | 3331 | | |
3265 | | - | |
| 3332 | + | |
3266 | 3333 | | |
3267 | 3334 | | |
3268 | 3335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
| |||
528 | 530 | | |
529 | 531 | | |
530 | 532 | | |
531 | | - | |
| 533 | + | |
| 534 | + | |
532 | 535 | | |
533 | 536 | | |
534 | 537 | | |
| |||
1449 | 1452 | | |
1450 | 1453 | | |
1451 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
1452 | 1458 | | |
1453 | 1459 | | |
1454 | 1460 | | |
| |||
1657 | 1663 | | |
1658 | 1664 | | |
1659 | 1665 | | |
| 1666 | + | |
| 1667 | + | |
1660 | 1668 | | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
1661 | 1672 | | |
1662 | 1673 | | |
1663 | 1674 | | |
| |||
2005 | 2016 | | |
2006 | 2017 | | |
2007 | 2018 | | |
2008 | | - | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2009 | 2027 | | |
2010 | | - | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
2011 | 2052 | | |
2012 | 2053 | | |
2013 | 2054 | | |
| |||
2044 | 2085 | | |
2045 | 2086 | | |
2046 | 2087 | | |
| 2088 | + | |
2047 | 2089 | | |
2048 | 2090 | | |
2049 | 2091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
0 commit comments