[PATCH] serial: xilinx_uartps: publish console_port with release semantics
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Sep 23 05:08:07 PDT 2026
On Mon, Sep 21, 2026 at 09:21:13PM -0400, Jaidev Shastri via B4 Relay wrote:
> From: Jaidev Shastri <jaidevshastri at vt.edu>
>
> cdns_uart_probe() assigns the first probed port to console_port with a
> plain store once the port is set up. cdns_uart_console_write() and
> cdns_uart_console_setup() read it with plain loads.
>
> Store it with smp_store_release() and read it with smp_load_acquire().
>
> Found with MBCheck, a static herd7-based memory consistency checker.
And how was this tested? The shashiko review bot shows where your tool
looks wrong...
More information about the linux-arm-kernel
mailing list