Re: [PATCH] serial: xilinx_uartps: publish console_port with release semantics
From: Greg Kroah-Hartman
Date: Wed Sep 23 2026 - 08:12:36 EST
On Mon, Sep 21, 2026 at 09:21:13PM -0400, Jaidev Shastri via B4 Relay wrote:
> From: Jaidev Shastri <jaidevshastri@xxxxxx>
>
> 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...