diff options
| author | Kristina Martsenko <kristina.martsenko@arm.com> | 2018-01-15 18:23:48 +0300 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-01-15 21:20:04 +0300 |
| commit | 6a205420758af5625429a2e77a2654abbf59ac09 (patch) | |
| tree | 56c23e65c42f5fdcf7d548bb85f5099a127aaf8b /scripts/patch-kernel | |
| parent | 071929dbdd865f779a89ba3f1e06ba8d17dd3743 (diff) | |
| download | linux-6a205420758af5625429a2e77a2654abbf59ac09.tar.xz | |
arm64: fix ID map extension to 52 bits
Commit fa2a8445b1d3 added support for extending the ID map to 52 bits,
but accidentally dropped a required change to __cpu_uses_extended_idmap.
As a result, the kernel fails to boot when VA_BITS = 48 and the ID map
text is in 52-bit physical memory, because we reduce TCR.T0SZ to cover
the ID map, but then never set it back to VA_BITS.
Add back the change, and also clean up some double parentheses.
Fixes: fa2a8445b1d3 ("arm64: allow ID map to be extended to 52 bits")
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
