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

2020-04-29 Thread Vineet Gupta
On 4/29/20 10:12 AM, Eugeniy Paltsev wrote: > Hi Vineet, > >> From: Vineet Gupta >> Sent: Tuesday, April 28, 2020 22:46 >> To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org >> Cc: Alexey Brodkin; linux-ker...@vger.kernel.org >> Subject: Re: [PATCH] A

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

2020-04-29 Thread Eugeniy Paltsev
Hi Vineet, > From: Vineet Gupta > Sent: Tuesday, April 28, 2020 22:46 > To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org > Cc: Alexey Brodkin; linux-ker...@vger.kernel.org > Subject: Re: [PATCH] ARC: guard dsp early init against non ARCv2 > > On 4/28/20 11:50 AM,

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

2020-04-29 Thread Angelo Ribeiro
Hi Eugeniy, Tested okay on a ARCv1. Thanks Angelo Tested-by: Angelo Ribeiro From: Jose Abreu Date: Wed, Apr 29, 2020 at 07:19:55 > From: Eugeniy Paltsev > 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

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

2020-04-29 Thread Jose Abreu
From: Eugeniy Paltsev 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 >

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

2020-04-28 Thread Vineet Gupta
On 4/28/20 11:50 AM, Eugeniy Paltsev wrote: > 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. >

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

2020-04-28 Thread Eugeniy Paltsev
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.