Re: [PATCH 1/7] genirq: Provide generic_handle_irq_safe().

From: Wolfram Sang
Date: Thu Jan 27 2022 - 12:03:41 EST


Hi Sebastian,

> +/**
> + * generic_handle_irq_safe - Invoke the handler for a particular irq

This is the same desc as for generic_handle_irq(). I suggest to add
something like "from any context" to have some distinction.

> + * This function must be called either from an IRQ context with irq regs
> + * initialized or with care from any context.

I think "with care" is not obvious enough. Can you describe it a little?

Thanks for this work,

Wolfram

Attachment: signature.asc
Description: PGP signature