mirror of https://github.com/openwrt/openwrt.git
On AR934x and QCA953x the WMAC and the PCIe RC share CPU interrupt 2 but write to DDR through different write buffers (channels 4 and 3). The qca,ar9340-intc cascade only existed to flush the right channel before calling each handler. Keep a mask of write buffers per CPU interrupt and flush all of them, list interrupt 2 once for each channel, and connect the WMAC and the PCIe RC directly to the CPU interrupt controller. Both drivers request their interrupt as shared. This matches what was done for QCA955x/QCA956x, which had no write buffer to flush. The INTC driver has no users left, so remove it. Compile tested: the irqchip patch builds, and all ath79 DTS files build as before. Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/26510 Signed-off-by: Robert Marko <robimarko@gmail.com> |
||
|---|---|---|
| .. | ||
| arch/mips/include/asm/fw/myloader | ||
| drivers | ||
| include/mfd | ||