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 !

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Reply via email to