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
..
2008-08-12 19:54:09 +01:00
2013-10-09 16:54:10 -07:00
2013-12-29 12:32:45 +00:00
2008-05-17 22:55:16 +01:00
2013-06-20 11:24:11 +01:00
2012-09-03 22:55:56 +01:00
2013-07-26 14:55:59 +01:00
2013-04-09 14:13:32 -04:00
2013-07-26 14:55:59 +01:00
2013-09-06 13:30:06 -07:00
2014-01-13 13:41:04 +01:00
2012-03-21 01:59:40 -04:00
2011-03-23 19:47:19 -07:00
2013-01-16 14:30:06 -08:00
2014-01-21 16:19:47 -08:00
2009-12-24 18:34:08 +00:00
2011-09-13 11:12:14 +02:00
2013-04-29 18:28:13 -07:00
2012-03-28 18:30:01 +01:00
2014-01-28 14:34:02 +00:00
2013-10-19 20:46:33 +01:00
2013-09-27 17:59:47 +02:00
2013-12-29 12:32:32 +00:00
2013-12-29 12:32:34 +00:00
2013-08-20 00:11:50 +01:00
2011-05-26 10:31:06 +01:00
2012-07-31 10:30:42 +01:00
2014-02-21 11:56:32 +00:00
2013-12-13 20:25:30 +00:00
2014-02-21 11:56:32 +00:00
2013-10-29 11:06:27 +00:00
2013-07-22 14:30:34 +01:00
2012-03-30 11:51:46 +01:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2013-04-02 11:05:40 -07:00
2009-11-18 08:37:40 -08:00
2011-08-11 10:10:26 +08:00
2012-03-24 09:38:56 +00:00
2010-10-29 13:14:40 -05:00
2011-11-30 23:54:54 +00:00
2012-03-28 18:30:01 +01:00
2012-10-09 17:07:43 +02:00
2011-11-26 21:58:53 +00:00
2012-11-19 11:08:17 +01:00
2011-11-26 21:58:53 +00:00
2012-06-14 15:11:44 +01:00
2013-10-29 11:06:27 +00:00
2011-09-20 18:17:43 +00:00
2013-11-30 22:21:02 +00:00
2013-10-30 22:20:26 +00:00
2013-11-14 08:51:29 +09:00
2011-12-13 08:52:02 +00:00
2012-03-24 09:38:55 +00:00
2012-03-24 09:38:55 +00:00
2014-01-11 12:06:58 +00:00
2013-01-16 12:01:59 +00:00
2013-03-03 22:54:17 +00:00
2013-01-16 12:01:59 +00:00
2013-12-17 15:21:35 +01:00
2013-09-30 16:41:50 +01:00
2011-10-31 19:30:48 -04:00
2013-12-09 23:24:31 +00:00
2013-10-01 16:34:10 -05:00
2013-05-21 14:24:11 +00:00
2013-07-09 10:33:25 -07:00
2013-11-30 22:21:02 +00:00
2013-03-19 11:43:46 +00:00
2014-02-10 11:44:12 +00:00
2013-11-12 10:59:08 +00:00
2013-11-30 22:21:00 +00:00
2013-10-30 22:20:26 +00:00
2013-10-19 20:46:33 +01:00
2013-10-29 11:06:13 +00:00
2013-10-19 20:46:33 +01:00
2014-01-21 16:42:14 +00:00
2013-12-09 23:24:33 +00:00
2013-07-30 09:00:43 -04:00
2013-05-05 00:07:22 -04:00
2012-11-28 22:13:54 -05:00
2012-05-15 14:08:35 -07:00
2013-12-11 09:53:14 +00:00
2012-04-25 19:49:26 +01:00
2013-09-29 21:09:15 +02:00
2013-12-29 12:32:42 +00:00
2014-01-21 21:26:33 +00:00
2011-12-15 14:02:19 -08:00
2013-09-02 13:49:29 +01:00
2013-07-31 21:34:24 +01:00
2011-10-31 19:30:48 -04:00