aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2010-09-16 17:57:17 +0100
committerRussell King <[email protected]>2010-09-17 10:16:52 +0100
commit1a8e41cd672f894bbd74874eac601e6cedf838fb (patch)
tree6e38d880b05897fb97d698a670732b1d474e7e5d /net/unix/sysctl_net_unix.c
parenta672e99b129e286df2e2697a1b603d82321117f3 (diff)
ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache controller) AuxCtlr register
Clearing bit 22 in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the kernel linear mapping and the processor can speculatively load cache lines into the PL310 controller. With bit 22 cleared, Non-cacheable reads would unexpectedly hit such cache lines leading to buffer corruption. Cc: Nicolas Pitre <[email protected]> Cc: <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions