Juri Lelli
eba1c71819
ARM: 8130/1: cpuidle/cpuidle-big_little: fix reading cpu id part number
...
Commit af040ffc9b ("ARM: make it easier to check the CPU part number
correctly") changed ARM_CPU_PART_X masks, and the way they are returned and
checked against. Usage of read_cpuid_part_number() is now deprecated, and
calling places updated accordingly. This actually broke cpuidle-big_little
initialization, as bl_idle_driver_init() performs a check using an hardcoded
mask on cpu_id.
Create an interface to perform the check (that is now even easier to read).
Define also a proper mask (ARM_CPU_PART_MASK) that makes this kind of checks
cleaner and helps preventing bugs in the future. Update usage accordingly.
Signed-off-by: Juri Lelli <juri.lelli@arm.com >
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2014-08-27 15:40:45 +01:00
..
2014-08-02 08:51:47 +01:00
2014-05-30 00:50:41 +01:00
2014-07-29 21:26:49 -06:00
2014-05-12 17:20:24 +01:00
2013-09-26 09:47:26 +01:00
2014-07-18 12:29:04 +01:00
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2013-09-23 18:47:31 -04:00
2013-10-19 20:46:35 +01:00
2014-08-27 15:40:13 +01:00
2013-12-29 12:32:41 +00:00
2013-12-04 17:19:44 +01:00
2014-02-25 11:30:20 +00:00
2014-06-02 09:20:18 +01:00
2014-08-27 15:40:45 +01:00
2014-05-28 13:33:18 -07:00
2014-04-22 22:23:57 +01:00
2013-08-27 09:18:29 +02:00
2014-05-20 13:43:26 +02:00
2014-05-07 09:21:44 -04:00
2014-01-21 16:19:46 -08:00
2014-08-27 15:40:11 +01:00
2014-07-18 12:29:04 +01:00
2014-02-18 13:46:42 -07:00
2014-04-23 11:09:42 +01:00
2014-03-12 10:32:29 +00:00
2014-06-18 12:40:55 +01:00
2014-02-25 11:30:20 +00:00
2014-06-07 11:44:39 -07:00
2014-05-30 01:12:30 +01:00
2014-07-18 12:29:37 +01:00
2014-06-30 21:37:39 +02:00
2013-11-12 10:58:59 +00:00
2014-04-23 11:09:42 +01:00
2014-02-10 11:48:05 +00:00
2014-02-25 11:40:48 +00:00
2014-06-01 01:15:04 +01:00
2014-02-25 11:33:37 +00:00
2014-08-08 15:57:26 -07:00
2013-10-19 20:46:35 +01:00
2014-03-18 16:39:40 -04:00
2014-03-03 01:15:24 +00:00
2014-07-11 04:57:38 -07:00
2014-07-11 04:57:40 -07:00
2014-07-11 04:57:36 -07:00
2014-07-11 04:46:51 -07:00
2014-04-30 04:18:57 -07:00
2014-07-18 11:58:00 +01:00
2014-07-18 12:29:35 +01:00
2014-06-01 01:17:12 +01:00
2014-08-05 10:27:25 +01:00
2013-07-26 12:02:09 +01:00
2013-10-19 20:46:36 +01:00
2013-09-02 13:49:47 +01:00
2013-07-08 22:08:51 +01:00
2014-05-30 00:50:35 +01:00
2013-08-01 14:31:58 +01:00
2014-05-27 16:23:58 -06:00
2014-07-02 15:46:37 +01:00
2013-11-15 09:32:16 +09:00
2014-02-10 11:48:13 +00:00
2014-07-24 14:27:08 +01:00
2014-07-24 14:27:08 +01:00
2014-07-24 14:27:07 +01:00
2014-07-02 15:47:01 +01:00
2014-03-18 16:39:40 -04:00
2014-07-17 12:32:47 +02:00
2014-04-30 00:59:17 -05:00
2014-05-27 15:58:49 +02:00
2014-07-18 12:29:11 +01:00
2014-06-01 01:17:12 +01:00
2014-08-27 15:40:45 +01:00
2014-07-18 12:29:02 +01:00
2014-04-05 14:19:54 -07:00
2013-09-30 16:42:55 +01:00
2014-02-10 11:44:50 +00:00
2014-07-18 12:29:11 +01:00
2013-08-12 12:25:45 +01:00
2014-02-25 11:33:37 +00:00
2014-03-20 10:11:59 -04:00
2013-07-09 10:33:29 -07:00
2014-07-01 15:05:47 +01:00
2013-12-20 17:17:16 +01:00
2014-04-25 16:05:40 -07:00
2013-10-29 11:06:13 +00:00
2014-03-11 12:05:45 +01:00
2014-05-23 21:28:11 +02:00
2013-08-25 17:09:46 +01:00
2014-08-05 10:27:25 +01:00
2013-09-30 16:42:55 +01:00
2014-08-09 14:07:53 +01:00
2014-03-18 16:39:40 -04:00
2013-09-02 13:49:29 +01:00
2013-07-26 12:01:17 +01:00
2013-12-29 12:46:50 +00:00
2013-07-08 22:09:06 +01:00