aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSukanto Ghosh <[email protected]>2013-05-14 10:26:54 +0100
committerCatalin Marinas <[email protected]>2013-05-14 15:44:50 +0100
commitb4fed0796841b5293b9c9427a5391b7bb20ef2d9 (patch)
tree0a17c86e49059cfbec754bc1664fdd2c1692ad50 /lib/memory-notifier-error-inject.c
parentc560ecfe9617c629ad09b07edb7523c87b2c9619 (diff)
arm64: mm: Fix operands of clz in __flush_dcache_all
The format of the lower 32-bits of the 64-bit operand to 'dc cisw' is unchanged from ARMv7 architecture and the upper bits are RES0. This implies that the 'way' field of the operand of 'dc cisw' occupies the bit-positions [31 .. (32-A)]. Due to the use of 64-bit extended operands to 'clz', the existing implementation of __flush_dcache_all is incorrectly placing the 'way' field in the bit-positions [63 .. (64-A)]. Signed-off-by: Sukanto Ghosh <[email protected]> Tested-by: Anup Patel <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions