csky: Fixup msa highest 3 bits mask
authorLiu Yibin <jiulong@linux.alibaba.com>
Tue, 21 Apr 2020 07:56:28 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jun 2020 06:21:13 +0000 (08:21 +0200)
commitf3f23f4c6413bf3c29b092b037b7b4fd3636a95d
tree0f311b7fcd54fb81583c43b4f14fc50228005818
parente104bd8554541b43738d6f38ffae775266f8f259
csky: Fixup msa highest 3 bits mask

[ Upstream commit 165f2d2858013253042809df082b8df7e34e86d7 ]

Just as comment mentioned, the msa format:

 cr<30/31, 15> MSA register format:
 31 - 29 | 28 - 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
   BA     Reserved  SH  WA  B   SO SEC  C   D   V

So we should shift 29 bits not 28 bits for mask

Signed-off-by: Liu Yibin <jiulong@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/csky/abiv1/inc/abi/entry.h
arch/csky/abiv2/inc/abi/entry.h