WARN_ONCE does not warn once

Michal Suchánek msuchanek at suse.de
Fri Nov 15 06:44:17 AEDT 2019


On Thu, Nov 14, 2019 at 05:46:55PM +0100, Michal Suchánek wrote:
> Hello,
> 
> on powernv with 5.3.8 kernel I get flood of messages on boot.
> 
> The messages match WARN_ONCE(1, "opal: OPAL_CONSOLE_FLUSH missing.\n");

Asking around it was pointed out that WARN_ONCE warns up to as many
times as you have CPUs.

Did not bother counting the messages but it may very well be the case it
is printed once for each CPU.

Thanks

Michal


More information about the Linuxppc-dev mailing list