[PATCH v2 1/2] arm64: vmemmap: use virtual projection of linear region
From: Robert Richter <hidden>
Date: 2016-03-09 11:36:38
From: Robert Richter <hidden>
Date: 2016-03-09 11:36:38
On 09.03.16 12:32:14, Robert Richter wrote:
On 08.03.16 17:31:05, Ard Biesheuvel wrote:quoted
On 8 March 2016 at 09:15, Ard Biesheuvel [off-list ref] wrote:
quoted
I managed to reproduce and diagnose this. The problem is that vmemmap is no longer zone aligned, which causes trouble in the zone based rounding that occurs in memory_present. The below patch fixes this by rounding down the subtracted offset. Since this implies that the region could stick off the other end, it also reverts the halving of the region size.I have seen the same panic. The fix solves the problem. See enclosed diff for reference as there was some patch corruption of the original.
So this is: Tested-by: Robert Richter <redacted> -Robert