[PATCH v3 0/1] correct the inside linear map range during hotplug check

From: Pavel Tatashin
Date: Tue Feb 16 2021 - 10:04:53 EST


v3: - Sync with linux-next where arch_get_mappable_range() was
introduced.
v2: - Added test-by Tyler Hicks
- Addressed comments from Anshuman Khandual: moved check under
IS_ENABLED(CONFIG_RANDOMIZE_BASE), added
WARN_ON(start_linear_pa > end_linear_pa);

Fixes a hotplug error that may occur on systems with CONFIG_RANDOMIZE_BASE
enabled.

Applies against linux-next.

v1:
https://lore.kernel.org/lkml/20210213012316.1525419-1-pasha.tatashin@xxxxxxxxxx
v2:
https://lore.kernel.org/lkml/20210215192237.362706-1-pasha.tatashin@xxxxxxxxxx

Pavel Tatashin (1):
arm64: mm: correct the inside linear map range during hotplug check

arch/arm64/mm/mmu.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)

--
2.25.1