On Thu, Dec 10, 2020 at 8:42 PM Thomas Gleixner <t...@linutronix.de> wrote:

> First of all drivers have absolutely no business to dig into the internals
> of an irq descriptor. That's core code and subject to change. All of this
> information is readily available to /proc/interrupts in a safe and race
> free way.
>
> Remove the inspection code which is a blatant violation of subsystem
> boundaries and racy against concurrent modifications of the interrupt
> descriptor.
>
> Print the irq line instead so the information can be looked up in a sane
> way in /proc/interrupts.
>
> Signed-off-by: Thomas Gleixner <t...@linutronix.de>
> Cc: Linus Walleij <linus.wall...@linaro.org>
> Cc: Lee Jones <lee.jo...@linaro.org>
> Cc: linux-arm-ker...@lists.infradead.org

Reviewed-by: Linus Walleij <linus.wall...@linaro.org>

Yours,
Linus Walleij
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to