2023-09-14 19:06:27

by Maciej W. Rozycki

[permalink] [raw]
Subject: Re: [PATCH tty v1 00/74] serial: wrappers for uart port lock

On Thu, 14 Sep 2023, John Ogness wrote:

> Patches 2-74 switch all uart port locking call sites to use the new
> wrappers. These patches were automatically generated using coccinelle.

Hmm, no need to do this for drivers/tty/serial/zs.c?

Maciej


2023-09-15 18:26:14

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [PATCH tty v1 00/74] serial: wrappers for uart port lock

On Thu, Sep 14 2023 at 20:01, Maciej W. Rozycki wrote:

> On Thu, 14 Sep 2023, John Ogness wrote:
>
>> Patches 2-74 switch all uart port locking call sites to use the new
>> wrappers. These patches were automatically generated using coccinelle.
>
> Hmm, no need to do this for drivers/tty/serial/zs.c?

zs.c does not use port lock at all. It has like a couple of other
drivers a local homebrewn spinlock.

Thanks,

tglx