From: LiuYe
Currently, if CONFIG_KDB_KEYBOARD is enabled, then kgdboc will
attempt to use schedule_work() to provoke a keyboard reset when
transitioning out of the debugger and back to normal operation.
This can cause deadlock because schedule_work() is not NMI-safe.
The stack trace below shows
On Fri, Apr 5, 2024 at 2:51 AM Daniel Thompson
wrote:
>
> > len_tmp = strlen(p_tmp);
> > - strncpy(cp, p_tmp+len, len_tmp-len + 1);
> > + strscpy(cp, p_tmp+len, len_tmp-len + 1);
>
> Again, I really don't think the third argument
On Mon, Apr 8, 2024 at 4:46 AM LiuYe wrote:
> >Wed, Apr 03, 2024 at 02:11:09PM +0800, liu@h3c.com kirjoitti:
...
> >Ouch.
> >Please, read this
> >https://www.kernel.org/doc/html/latest/process/submitting-patches.html#backtraces-in-commit-messages
> >and modify the commit message