diff options
author | Serge Semin <[email protected]> | 2020-05-21 03:34:37 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2020-05-21 09:06:05 +0200 |
commit | bbb5946eb545fab8ad8f46bce8a803e1c0c39d47 (patch) | |
tree | 9f674052c544dabcc939b95fd39ba79ba69629db /include/linux/fpga/fpga-bridge.h | |
parent | 37e2bc4433a9d68f6d4c8e3fe5ef3a77609bbe8d (diff) |
mips: MAAR: Use more precise address mask
Indeed according to the MIPS32 Privileged Resource Architecgture the MAAR
pair register address field either takes [12:31] bits for non-XPA systems
and [12:55] otherwise. In any case the current address mask is just
wrong for 64-bit and 32-bits XPA chips. So lets extend it to 59-bits
of physical address value. This shall cover the 64-bits architecture and
systems with XPA enabled, and won't cause any problem for non-XPA 32-bit
systems, since address values exceeding the architecture specific MAAR
mask will be just truncated with setting zeros in the unsupported upper
bits.
Co-developed-by: Alexey Malahov <[email protected]>
Signed-off-by: Alexey Malahov <[email protected]>
Signed-off-by: Serge Semin <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions