aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2015-08-05 15:42:35 -0700
committerRalf Baechle <[email protected]>2015-08-28 11:48:22 +0200
commit90996511187d6282db6d02d3f97006b4dbb5c457 (patch)
tree58ac2c5b6f3b8e9105ecc02168023f442be9b2e0 /lib/mpi/mpiutil.c
parentc13dcf9f2d6f5f06ef1bf79ec456df614c5e058b (diff)
MIPS: CPS: use 32b accesses to GCRs
Commit b677bc03d757 ("MIPS: cps-vec: Use macros for various arithmetics and memory operations") replaced various load & store instructions through cps-vec.S with the PTR_L & PTR_S macros. However it was somewhat overzealous in doing so for CM GCR accesses, since the bit width of the CM doesn't necessarily match that of the CPU. The registers accessed (GCR_CL_COHERENCE & GCR_CL_ID) should be safe to simply always access using 32b instructions, so do so in order to avoid issues when using a 32b CM with a 64b CPU. Signed-off-by: Paul Burton <[email protected]> Cc: Markos Chandras <[email protected]> Cc: <[email protected]> # 3.16+ Cc: [email protected] Cc: [email protected] Cc: James Hogan <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/10864/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions