fsi: master-ast-cf: Mask unused bits in RTAG/RCRC
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jul 2018 04:57:21 +0000 (14:57 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jul 2018 06:04:53 +0000 (16:04 +1000)
commit375cac70100b58ce8f4737ec530bfbdcb3086964
tree559c8ceebf73cb7a91a2ec84a7d67c6d242c6ca2
parentd0cff240b83babe72f5ba28044268b86aaa91d53
fsi: master-ast-cf: Mask unused bits in RTAG/RCRC

Then reading the RTAG/RCRC "registers" from the coprocessor after
a command is complete, mask out the top bits, only keep the relevant
bits. Microcode v5 will leave garbage in those top bits as a
result of a performance optimization.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
drivers/fsi/fsi-master-ast-cf.c