On 7/10/26 09:47, Jinjie Ruan wrote:
quoted
-static __always_inline bool __daif_irqs_disabled(void)
-{
- return __daif_irqs_disabled_flags(__daif_local_save_flags());
-}
+ if (system_uses_irq_prio_masking() && hwstate.pmr < GIC_PRIO_IRQON)
This concept of being less than or greater than is not easy to understand.
IIUC, the original idea behind using less than and greater than
comparisons was to provide a safety net while we transition to the new
implementation in this patch series. However, after taking another
look, it seems we do not require them. More on that in my reply to
your other question about this code...
Thanks
Vladimir