Files
linux/arch/arm/include/asm
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
..
2016-06-21 10:54:29 -05:00
2014-06-02 09:20:18 +01:00
2014-12-04 12:41:50 +00:00
2015-05-05 13:35:39 -06:00
2015-05-28 15:31:53 +02:00
2015-09-16 16:53:39 +02:00
2016-08-02 19:35:29 -04:00
2016-07-03 23:41:27 +02:00
2016-07-03 23:41:27 +02:00
2016-07-03 23:41:27 +02:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2015-06-01 23:48:19 +01:00
2014-02-25 11:33:37 +00:00
2014-03-18 16:39:40 -04:00