Commits
Suman Anna committed 4022d1222ef
irqchip/irq-pruss-intc: Fix erroneous channel/host mapping logic The PRUSS INTC uses two-levels of many-to-one mappings to route various PRU System Events to a limited number of output interrupt lines connected to various processors on the SoC. This event mapping configuration logic is optimized to program the associated Channel Map Registers (CMRx) and Host Interrupt Map Registers (HMRx) only when a new program is being loaded/started and simply disables the same events and interrupt channels without zeroing out the corresponding map registers when stopping a PRU. The map logic currently does not zero out the previous field value before programming the new value, and thereby potentially mapping a completely different value in the CMR and HMR registers (if previous values are not zero) and resulting in non-functional interrupts. Fix this erroneous bitwise logic. Reported-by: Nick Saulnier <nsaulnier@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Acked-by: Roger Quadros <rogerq@ti.com>