Thomas Petazzoni b363457593 ARM: 7980/1: kernel: improve error message when LPAE config doesn't match CPU
Currently, when the kernel is configured with LPAE support, but the
CPU doesn't support it, the error message is fairly cryptic:

  Error: unrecognized/unsupported processor variant (0x561f5811).

This messages is normally shown when there is an issue when comparing
the processor ID (CP15 0, c0, c0) with the values/masks described in
proc-v7.S. However, the same message is displayed when LPAE support is
enabled in the kernel configuration, but not available in the CPU,
after looking at ID_MMFR0 (CP15 0, c0, c1, 4). Having the same error
message is highly misleading.

This commit improves this by showing a different error message when
this situation occurs:

  Error: Kernel with LPAE support, but CPU does not support LPAE.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-02-21 11:56:32 +00:00
..
2013-09-06 13:30:06 -07:00
2012-03-28 18:30:01 +01:00
2013-12-13 20:25:30 +00:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2013-05-21 14:24:11 +00:00
2013-10-19 20:46:33 +01:00
2013-10-19 20:46:33 +01:00
2013-05-05 00:07:22 -04:00