On 09.06.21 18:05, Philippe Gerum wrote:
> 
> Philippe Gerum <[email protected]> writes:
> 
>> Jan Kiszka <[email protected]> writes:
>>
>>> Hi Philippe,
>>>
>>> currently trying to understand [1]: The check in
>>> lockdep_hardirqs_on_prepare triggers, e.g. over exc_int3 ->
>>> do_int3_user, and then on cond_local_irq_enable().
>>>
>>> Where should have the current stage be stalled after exc_int3 so that
>>> lockdep is happy?
>>>
>>
>> Nowhere. v5.8 introduced irqentry_enter_from_user_mode() which raw
>> (debug) traps invoke directly, and this one does not reconcile the hard
>> irq state with the stall bit.
>>
> 
> Unfortunately, arm and arm64 do not use the generic kernel entry code
> yet, so we can exercise the Dovetail-related code only with x86.
> 

Yeah, but once they do, things should Just Work (TM) by then. ;)

Testing your fix right now.

Thanks,
Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Reply via email to