aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2020-11-09 09:58:57 +0530
committerCatalin Marinas <catalin.marinas@arm.com>2020-11-10 18:44:12 +0000
commitfdd99a4103c91a2067c096a4931518cc05ca9206 (patch)
treede2c0350d01daceea3f43538a33e8f456e211d0a /block
parentarm64/mm/hotplug: Enable MEM_OFFLINE event handling (diff)
downloadlinux-dev-fdd99a4103c91a2067c096a4931518cc05ca9206.tar.xz
linux-dev-fdd99a4103c91a2067c096a4931518cc05ca9206.zip
arm64/mm/hotplug: Ensure early memory sections are all online
This adds a validation function that scans the entire boot memory and makes sure that all early memory sections are online. This check is essential for the memory notifier to work properly, as it cannot prevent any boot memory from offlining, if all sections are not online to begin with. Although the boot section scanning is selectively enabled with DEBUG_VM. Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Steve Capper <steve.capper@arm.com> Cc: Mark Brown <broonie@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/1604896137-16644-4-git-send-email-anshuman.khandual@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions