[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160526070909.1978780.9007672953232342231.b4-ty@kernel.org>
Date: Fri, 13 Nov 2020 11:27:35 +0000
From: Will Deacon <will@...nel.org>
To: Anshuman Khandual <anshuman.khandual@....com>,
linux-arm-kernel@...ts.infradead.org
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
Robin Murphy <robin.murphy@....com>,
Steven Price <steven.price@....com>,
David Hildenbrand <david@...hat.com>, ardb@...nel.org,
Mark Rutland <mark.rutland@....com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH V3] arm64/mm: Validate hotplug range before creating linear mapping
On Fri, 13 Nov 2020 13:00:14 +0530, Anshuman Khandual wrote:
> During memory hotplug process, the linear mapping should not be created for
> a given memory range if that would fall outside the maximum allowed linear
> range. Else it might cause memory corruption in the kernel virtual space.
>
> Maximum linear mapping region is [PAGE_OFFSET..(PAGE_END -1)] accommodating
> both its ends but excluding PAGE_END. Max physical range that can be mapped
> inside this linear mapping range, must also be derived from its end points.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64/mm: Validate hotplug range before creating linear mapping
https://git.kernel.org/arm64/c/58284a901b42
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists