commit | 2608441164fde82b7fc0dd050ca0c46be0df23f8 | [log] [tgz] |
---|---|---|
author | David Daney <ddaney@caviumnetworks.com> | Thu Aug 20 12:35:53 2009 -0700 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Sep 17 20:07:41 2009 +0200 |
tree | 3de2da4f8598bad184d544cc7ca88711816de165 | |
parent | fff9c815291d5f4132976ac337337ea5813663e6 [diff] |
MIPS: Octeon: Check all CCAs in cvmx_write_csr. The current code only checks CCA of 0 when deciding if a dummy read is needed. Since the kernel can (and does) use other CCAs we need to mask out the CCA bits from the address. Since the address constant now fits in 16 bits, there is an added benefit that smaller code is generated. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>