diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2020-04-28 20:50:24 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-04-29 20:53:51 +0200 |
commit | 40db9367ec1e653ea45400b69c3c7b80745b12eb (patch) | |
tree | 4fba0744912fe0145cb16b593b77888a0994cb51 /crypto/fips.c | |
parent | ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT (diff) | |
download | linux-40db9367ec1e653ea45400b69c3c7b80745b12eb.tar.xz linux-40db9367ec1e653ea45400b69c3c7b80745b12eb.zip |
ARC: guard dsp early init against non ARCv2
As of today we guard early DSP init code with
ARC_AUX_DSP_BUILD (0x7A) BCR check to verify that we have
CPU with DSP configured. However that's not enough as in
ARCv1 CPU the same BCR (0x7A) is used for checking MUL/MAC
instructions presence.
So, let's guard DSP early init against non ARCv2.
Fixes: 4827d0cf744e ("ARC: handle DSP presence in HW")
Reported-by: Angelo Ribeiro <angelor@synopsys.com>
Suggested-by: Jose Abreu <oabreu@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'crypto/fips.c')
0 files changed, 0 insertions, 0 deletions