lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 03 May 2024 10:09:08 +0200
From: Théo Lebrun <theo.lebrun@...tlin.com>
To: "John Ogness" <john.ogness@...utronix.de>, "Petr Mladek"
 <pmladek@...e.com>
Cc: "Sergey Senozhatsky" <senozhatsky@...omium.org>, "Steven Rostedt"
 <rostedt@...dmis.org>, "Thomas Gleixner" <tglx@...utronix.de>,
 <linux-kernel@...r.kernel.org>, "Greg Kroah-Hartman"
 <gregkh@...uxfoundation.org>, "Jiri Slaby" <jirislaby@...nel.org>, "Russell
 King" <linux@...linux.org.uk>, "Tony Lindgren" <tony@...mide.com>, "Andy
 Shevchenko" <andriy.shevchenko@...ux.intel.com>,
 Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
 Uwe Kleine-König <u.kleine-koenig@...gutronix.de>, "Linus
 Walleij" <linus.walleij@...aro.org>, "Hongyu Xie" <xiehongyu1@...inos.cn>,
 "Christophe JAILLET" <christophe.jaillet@...adoo.fr>, "Arnd Bergmann"
 <arnd@...db.de>, "Lino Sanfilippo" <l.sanfilippo@...bus.com>,
 <linux-serial@...r.kernel.org>
Subject: Re: [PATCH printk v5 09/30] serial: core: Introduce wrapper to set
 @uart_port->cons

Hello,

On Thu May 2, 2024 at 11:38 PM CEST, John Ogness wrote:
> Introduce uart_port_set_cons() as a wrapper to set @cons of a
> uart_port. The wrapper sets @cons under the port lock in order
> to prevent @cons from disappearing while another context is
> holding the port lock. This is necessary for a follow-up
> commit relating to the port lock wrappers, which rely on @cons
> not changing between lock and unlock.
>
> Signed-off-by: John Ogness <john.ogness@...utronix.de>

Tested series on Mobileye EyeQ5, a MIPS64 platform that uses PL011.

Tested-by: Théo Lebrun <theo.lebrun@...tlin.com> # EyeQ5, AMBA-PL011

Thanks,

--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ