Stefan Agner
6b3142b2b8
ARM: 8612/1: LPAE: initialize cache policy correctly
...
The cachepolicy variable gets initialized using a masked pmd
value. So far, the pmd has been masked with flags valid for the
2-page table format, but the 3-page table format requires a
different mask. On LPAE, this lead to a wrong assumption of what
initial cache policy has been used. Later a check forces the
cache policy to writealloc and prints the following warning:
Forcing write-allocate cache policy for SMP
This patch introduces a new definition PMD_SECT_CACHE_MASK for
both page table formats which masks in all cache flags in both
cases.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-09-12 12:12:30 +01:00
..
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-08-26 20:27:02 +01:00
2015-11-05 19:34:48 -08:00
2012-11-06 19:47:35 +00:00
2014-07-18 12:29:04 +01:00
2015-08-18 14:00:30 +01:00
2016-07-15 10:40:28 +02:00
2014-07-18 12:29:04 +01:00
2015-11-26 22:12:26 +00:00
2013-12-29 12:32:47 +00:00
2016-05-05 19:03:39 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2015-04-14 22:26:52 +01:00
2012-03-28 18:30:01 +01:00
2015-12-02 23:57:54 +00:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2014-12-03 16:00:04 +00:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2016-08-04 08:50:07 -04:00
2015-08-01 22:25:04 +01:00
2015-01-07 20:33:33 +00:00
2013-11-07 00:15:49 +00:00
2014-11-21 15:24:50 +00:00
2016-07-26 16:19:19 -07:00
2015-10-19 17:08:33 +01:00
2016-04-04 10:41:08 -07:00
2013-06-04 16:52:38 +01:00
2015-11-09 15:11:24 -08:00
2015-06-24 17:49:41 -07:00
2016-05-03 11:13:54 +01:00
2016-02-11 15:44:10 +00:00
2016-04-04 10:26:42 +02:00
2016-07-02 11:01:08 +01:00
2014-05-30 00:47:23 +01:00
2014-07-18 12:29:04 +01:00
2015-10-27 09:20:50 +09:00
2014-06-02 09:20:11 +01:00
2016-02-27 10:28:52 -08:00
2016-09-12 12:12:30 +01:00
2016-05-20 10:01:38 -07:00
2016-03-04 23:32:45 +00:00
2016-07-26 16:19:19 -07:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-05-03 23:22:27 +01:00
2015-03-28 15:46:14 +00:00
2015-04-14 22:28:25 +01:00
2015-04-14 22:28:25 +01:00
2015-05-03 23:22:09 +01:00
2015-05-03 23:22:09 +01:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-05-03 23:23:09 +01:00
2015-04-14 22:28:25 +01:00
2015-12-01 21:44:25 +01:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2013-03-26 09:55:34 +00:00
2015-03-28 15:46:14 +00:00
2015-06-12 21:18:08 +01:00
2015-06-01 23:48:19 +01:00
2016-08-23 10:07:50 +01:00
2015-11-16 18:34:38 +00:00
2015-03-28 15:46:14 +00:00
2015-03-28 15:46:14 +00:00
2015-06-01 23:46:33 +01:00
2013-04-17 16:53:24 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00