aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <[email protected]>2010-11-19 23:01:05 +0530
committerTony Lindgren <[email protected]>2010-12-18 09:32:55 -0800
commitb0f20ff9d7e347c284ea7718597c978a2969ad7b (patch)
tree376cd6cc0cdb6ad0714b3ea76974179e7ac6e5e8 /arch/powerpc/lib/code-patching.c
parent11e0264046e00544eb044fafc27125babd105e41 (diff)
omap4: l2x0: Set share override bit
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 Signed-off-by: Santosh Shilimkar <[email protected]> Tested-by: Nishanth Menon <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions