diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2020-11-09 09:58:57 +0530 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-11-10 18:44:12 +0000 |
commit | fdd99a4103c91a2067c096a4931518cc05ca9206 (patch) | |
tree | de2c0350d01daceea3f43538a33e8f456e211d0a /include | |
parent | 9fb3d4a303380ea76ebf49d930a777dd9c9dbc25 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions