Re: [PATCH] rv: Fix boot failure when kernel lockdown is active
From: Nam Cao
Date: Wed Sep 17 2025 - 10:25:59 EST
Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> On Wed, 2025-09-17 at 12:57 +0000, Xiu Jianfeng wrote:
>> From: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
>>
>> When booting kernel with lockdown=confidentiality parameter, the
>> system
>> will hang at rv_register_reactor() due to waiting for
>> rv_interface_lock,
>> as shown in the following log,
>>
>
> Thanks for finding this, the problem was already fixed in [1], which is
> on its way to getting merged.
>
> [1] -
> https://lore.kernel.org/all/20250903065112.1878330-1-zhen.ni@xxxxxxxxxxxx
Yeah, but it is interesting that this is causing real boot problem. I
thought that commit merely fixes a theoretical bug. I guess this is an
even stronger motivation to use lock guards.
Nam