Re: [PATCH RT] tty: serial: st-asc: Make the locking RT aware

From: Lionel DEBIEVE
Date: Wed Mar 22 2017 - 04:44:45 EST


Just to agree with Thomas.

Do you want me to resend the patch without RT tag?

BR,
Lionel


On 03/21/2017 09:15 PM, Steven Rostedt wrote:
> On Tue, 21 Mar 2017 19:51:47 +0100 (CET)
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
>> On Tue, 21 Mar 2017, Steven Rostedt wrote:
>>>> /*
>>>> * Disable interrupts so we don't get the IRQ line
>>>> bouncing
>>> I'm nervous about the above comment, which in full is:
>>>
>>> /*
>>> * Disable interrupts so we don't get the IRQ line bouncing
>>> * up and down while interrupts are disabled.
>>> */
>>>
>>> I'm not sure if disabling interrupts helps on an SMP system. This
>>> patch does change what happens when port->sysrq is set. But I'm not
>>> sure we care.
>> It disables interrupts at the device level which obviously helps
>> whether on SMP or not.
>>
> OK, so this has nothing to do with the local_irq_save() that is being
> removed, which would be fine then.
>
>
> -- Steve
>