Question: how does irq priority works?
Answer: IRQ numbers are assigned during the boot process to each hardware device that needs one. ... The IRQ number is a numeric way to assign the priority that the devices have with the CPU. The lower the value of the IRQ number, the more important the need for the input or action to take place.