mbox series

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

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

Message

Pasha Tatashin Feb. 16, 2021, 3:03 p.m. UTC
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@soleen.com
v2:
https://lore.kernel.org/lkml/20210215192237.362706-1-pasha.tatashin@soleen.com

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(-)

Comments

Will Deacon March 22, 2021, 1:19 p.m. UTC | #1
On Tue, 16 Feb 2021 10:03:50 -0500, Pavel Tatashin wrote:
> 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);
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: mm: correct the inside linear map range during hotplug check
      https://git.kernel.org/arm64/c/ee7febce0519

Cheers,