Catalin Marinas
a41dc0e841
arm64: Implement cache_line_size() based on CTR_EL0.CWG
...
The hardware provides the maximum cache line size in the system via the
CTR_EL0.CWG bits. This patch implements the cache_line_size() function
to read such information, together with a sanity check if the statically
defined L1_CACHE_BYTES is smaller than the hardware value.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
2014-05-09 15:47:45 +01:00
..
2013-12-11 16:21:00 +00:00
2013-09-26 09:47:43 +01:00
2013-10-25 15:59:38 +01:00
2014-02-07 16:46:07 +00:00
2014-03-10 11:57:40 +00:00
2013-03-21 17:39:31 +00:00
2014-05-09 15:47:45 +01:00
2014-02-27 17:16:59 +00:00
2014-05-09 15:47:45 +01:00
2014-02-07 16:46:07 +00:00
2014-03-13 11:22:38 +00:00
2012-09-17 13:42:21 +01:00
2013-12-16 17:17:31 +00:00
2014-03-14 18:01:36 +00:00
2012-09-17 13:41:59 +01:00
2013-12-19 17:57:51 +00:00
2014-02-26 11:16:25 +00:00
2013-06-11 18:15:55 +01:00
2014-01-27 12:00:25 +00:00
2014-02-27 17:16:59 +00:00
2013-10-25 15:59:35 +01:00
2014-02-05 10:42:32 +00:00
2013-03-26 16:02:23 +00:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2014-04-07 16:36:15 -07:00
2012-11-08 16:06:20 +00:00
2012-12-05 11:26:50 +00:00
2014-02-07 16:46:07 +00:00
2013-12-16 17:17:35 +00:00
2013-06-14 09:52:40 +01:00
2012-09-17 13:42:14 +01:00
2014-03-04 08:06:32 +00:00
2013-06-07 10:39:45 +00:00
2014-01-08 15:21:29 +00:00
2014-04-07 16:36:15 -07:00
2013-10-25 11:33:21 +01:00
2014-02-26 11:16:25 +00:00
2014-01-08 15:23:53 +00:00
2014-04-07 16:36:15 -07:00
2014-02-26 11:16:25 +00:00
2014-04-02 14:50:10 -07:00
2014-03-03 01:15:21 +00:00
2013-06-12 16:42:16 +01:00
2013-11-11 12:05:20 +01:00
2013-12-28 10:28:50 +00:00
2013-06-07 14:03:38 +01:00
2014-03-03 01:15:22 +00:00
2013-06-12 16:40:32 +01:00
2012-10-20 11:12:01 +01:00
2012-09-17 13:41:56 +01:00
2014-04-07 16:36:15 -07:00
2013-06-07 18:00:11 +01:00
2014-04-25 16:46:51 +01:00
2012-09-17 13:42:19 +01:00
2013-08-20 12:12:26 +01:00
2012-09-17 13:41:57 +01:00
2014-02-28 16:12:25 +00:00
2013-01-29 16:56:17 +00:00
2013-11-15 09:32:16 +09:00
2013-11-05 17:23:52 +00:00
2013-08-22 11:44:41 +01:00
2012-09-17 13:41:56 +01:00
2013-08-22 11:44:41 +01:00
2014-04-03 10:43:11 +01:00
2014-03-31 15:01:45 -07:00
2012-09-17 13:42:17 +01:00
2013-12-16 17:17:31 +00:00
2013-10-25 15:59:35 +01:00
2014-02-28 14:14:53 +00:00
2014-03-13 11:22:38 +00:00
2012-09-17 13:42:07 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:12 +01:00
2013-12-16 17:17:30 +00:00
2013-10-25 11:33:21 +01:00
2012-09-17 13:41:56 +01:00
2013-10-25 16:10:22 +01:00
2014-02-07 16:46:07 +00:00
2012-09-17 10:24:46 +01:00
2012-10-11 11:05:13 +01:00
2013-03-21 17:39:30 +00:00
2013-12-16 17:17:31 +00:00
2013-06-07 10:39:45 +00:00
2013-10-23 15:45:35 +01:00
2013-02-14 09:17:29 -05:00
2013-07-19 15:57:08 +01:00
2013-11-13 20:21:47 +01:00
2013-06-10 17:58:20 +01:00
2014-04-25 16:46:49 +01:00
2013-06-14 09:52:41 +01:00
2014-03-04 10:30:07 +00:00
2012-09-17 10:24:46 +01:00
2014-03-20 17:41:27 +00:00
2013-03-18 10:42:16 +00:00
2014-04-23 10:22:33 +01:00
2014-03-04 09:05:33 +01:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00
2014-04-05 10:06:20 +01:00
2013-12-19 17:43:08 +00:00