]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: Add iomem resource for kernel bss section.
authorDavid Daney <david.daney@cavium.com>
Thu, 12 Oct 2017 19:50:34 +0000 (12:50 -0700)
committerJames Hogan <jhogan@kernel.org>
Mon, 13 Nov 2017 17:40:49 +0000 (17:40 +0000)
commite0c5f36b2a638fc3298200c385af7f196d3b5cd4
tree392034d773cf75ffed89dd0c72b2c9ac1ce96df9
parenta3f143106596d739e7fbc4b84c96b1475247d876
MIPS: Add iomem resource for kernel bss section.

The kexec/kdump tools need to know where the .bss is so it can be
included in the core dump.  This allows vmcore-dmesg to have access to
the dmesg buffers of the crashed kernel as well as allowing the
debugger to examine variables in the bss section.

Add a request for the bss resource in addition to the already
requested code and data sections.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Steven J. Hill <steven.hill@cavium.com>,
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17485/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/kernel/setup.c