mbox series

[v2,0/1] correct the inside linear map boundaries during hotplug check

Message ID 20210215192237.362706-1-pasha.tatashin@soleen.com (mailing list archive)
Headers show
Series correct the inside linear map boundaries during hotplug check | expand

Message

Pasha Tatashin Feb. 15, 2021, 7:22 p.m. UTC
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.

v1:
https://lore.kernel.org/lkml/20210213012316.1525419-1-pasha.tatashin@soleen.com

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

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