aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/latent_entropy_plugin.c
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2016-09-07 20:56:09 +0000
committerRussell King <[email protected]>2016-09-12 11:12:30 +0000
commit6b3142b2b852cd5e3216d1aa800a0a49377e6e1c (patch)
treed3a45c29f7c5be1a0d0d382c5a30acf999417b82 /scripts/gcc-plugins/latent_entropy_plugin.c
parentMerge branches 'fixes-pcmcia' and 'fixes-sa1111' into fixes (diff)
downloadkernel-6b3142b2b852cd5e3216d1aa800a0a49377e6e1c.tar.gz
kernel-6b3142b2b852cd5e3216d1aa800a0a49377e6e1c.zip
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 <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions