RE: [PATCH] ARC: guard dsp early init against non ARCv2

From: Jose Abreu
Date: Wed Apr 29 2020 - 02:20:06 EST


From: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
Date: Apr/28/2020, 19:50:24 (UTC+00:00)

> 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.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>

Reported-by: Angelo Ribeiro
<angelor@xxxxxxxxxxxx>

---
Thanks,
Jose Miguel Abreu