RE: [PATCH] ARC: guard dsp early init against non ARCv2
From: Angelo Ribeiro
Date: Wed Apr 29 2020 - 06:03:33 EST
Hi Eugeniy,
Tested okay on a ARCv1.
Thanks
Angelo
Tested-by: Angelo Ribeiro <angelo.ribeiro@xxxxxxxxxxxx>
From: Jose Abreu <joabreu@xxxxxxxxxxxx>
Date: Wed, Apr 29, 2020 at 07:19:55
> 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