[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c261aa64-d15c-ce5b-4202-beeaca80f7b9@synopsys.com>
Date: Tue, 7 Jan 2020 01:30:18 +0000
From: Vineet Gupta <Vineet.Gupta1@...opsys.com>
To: Vineet Gupta <Vineet.Gupta1@...opsys.com>,
Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>,
"linux-snps-arc@...ts.infradead.org"
<linux-snps-arc@...ts.infradead.org>
CC: Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/5] ARC: handle DSP presence in HW
On 1/6/20 5:03 PM, Vineet Gupta wrote:
>
>> +.macro DSP_SAVE_REGFILE_IRQ
>> +#if defined(CONFIG_ARC_DSP_KERNEL)
>> + /* Drop any changes to DSP_CTRL made by userspace so userspace won't be
>> + * able to break kernel */
>> + mov r58, DSP_CTRL_DISABLED_ALL
>> + sr r58, [ARC_AUX_DSP_CTRL]
>
This also clears the sticky flag DSP_CTRL.SAT, can you check with DSP lib folks if
they rely on this bit in any way whatsoever !
Powered by blists - more mailing lists