Skip to content
Permalink
Guilherme-G-Pi…
Switch branches/tags

Commits on Feb 14, 2022

  1. panic: Move panic_print before kmsg dumpers

    The panic_print setting allows users to collect more information in a
    panic event, like memory stats, tasks, CPUs backtraces, etc.
    This is an interesting debug mechanism, but currently the print event
    happens *after* kmsg_dump(), meaning that pstore, for example, cannot
    collect a dmesg with the panic_print extra information.
    
    This patch changes that in 2 steps:
    
    (a) The panic_print setting allows to replay the existing kernel log
    buffer to the console (bit 5), besides the extra information dump.
    This functionality makes sense only at the end of the panic() function.
    So, we hereby allow to distinguish the two situations by a new boolean
    parameter in the function panic_print_sys_info().
    
    (b) With the above change, we can safely call panic_print_sys_info()
    before kmsg_dump(), allowing to dump the extra information when using
    pstore or other kmsg dumpers.
    
    The additional messages from panic_print could overwrite the oldest
    messages when the buffer is full. The only reasonable solution is to
    use a large enough log buffer, hence we added an advice into the kernel
    parameters documentation about that.
    
    Cc: Feng Tang <feng.tang@intel.com>
    Cc: Petr Mladek <pmladek@suse.com>
    Acked-by: Baoquan He <bhe@redhat.com>
    Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
    Guilherme G. Piccoli authored and intel-lab-lkp committed Feb 14, 2022
  2. Add linux-next specific files for 20220214

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    sfrothwell committed Feb 14, 2022
  3. fix for "mm: don't include <linux/memremap.h> in <linux/mm.h>"

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    sfrothwell committed Feb 14, 2022
  4. Merge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/shuah/linux-kselftest.git
    sfrothwell committed Feb 14, 2022
  5. Merge branch 'hyperv-next' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/hyperv/linux.git
    sfrothwell committed Feb 14, 2022
  6. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/livepatching/livepatching
    sfrothwell committed Feb 14, 2022
  7. Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …shuah/linux-kselftest.git
    sfrothwell committed Feb 14, 2022
  8. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/thierry.reding/linux-pwm.git
    sfrothwell committed Feb 14, 2022
  9. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/pinctrl/samsung.git
    sfrothwell committed Feb 14, 2022
  10. Merge branch 'renesas-pinctrl' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/geert/renesas-drivers.git
    sfrothwell committed Feb 14, 2022
  11. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/linusw/linux-pinctrl.git
    sfrothwell committed Feb 14, 2022
  12. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/andy/linux-gpio-intel.git
    sfrothwell committed Feb 14, 2022
  13. Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/brgl/linux.git
    sfrothwell committed Feb 14, 2022
  14. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/remoteproc/linux.git
    sfrothwell committed Feb 14, 2022
  15. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/mkp/scsi.git
    
    # Conflicts:
    #	drivers/scsi/pm8001/pm8001_hwi.c
    #	drivers/scsi/pm8001/pm80xx_hwi.c
    sfrothwell committed Feb 14, 2022
  16. Merge branch 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/jic23/iio.git
    
    # Conflicts:
    #	.mailmap
    sfrothwell committed Feb 14, 2022
  17. Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/gregkh/staging.git
    
    # Conflicts:
    #	drivers/staging/fbtft/fbtft.h
    sfrothwell committed Feb 14, 2022
  18. Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …westeri/thunderbolt.git
    sfrothwell committed Feb 14, 2022
Older