Guilherme-G-Pi…
Commits on Feb 14, 2022
-
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>
-
Add linux-next specific files for 20220214
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-
fix for "mm: don't include <linux/memremap.h> in <linux/mm.h>"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-
-
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/crng/random.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/rppt/memblock.git
-
Merge branch 'mhi-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/mani/mhi.git
-
Merge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/shuah/linux-kselftest.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/mdf/linux-fpga.git
-
Merge branch 'hyperv-next' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/hyperv/linux.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/srini/nvmem.git
-
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…coresight/linux.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/livepatching/livepatching
-
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…shuah/linux-kselftest.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/thierry.reding/linux-pwm.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/pinctrl/samsung.git
-
Merge branch 'renesas-pinctrl' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/geert/renesas-drivers.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/pinctrl/intel.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/linusw/linux-pinctrl.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/andy/linux-gpio-intel.git
-
Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/brgl/linux.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/remoteproc/linux.git
-
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/mst/vhost.git
-
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
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/jejb/scsi.git
-
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/tj/cgroup.git
-
Merge branch 'icc-next' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/djakov/icc.git
-
Merge branch 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/jic23/iio.git # Conflicts: # .mailmap
-
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/gregkh/staging.git # Conflicts: # drivers/staging/fbtft/fbtft.h
-
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…westeri/thunderbolt.git
-
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…vkoul/soundwire.git