immortalwrt/target/linux
Petr Štetiar 78ee6b1a40 kernel: MIPS: perf: ath79: Fix perfcount IRQ assignment
Currently it's not possible to use perf on ath79 due to genirq flags
mismatch happening on static virtual IRQ 13 which is used for
performance counters hardware IRQ 5.

On TP-Link Archer C7v5:

           CPU0
  2:          0      MIPS   2  ath9k
  4:        318      MIPS   4  19000000.eth
  7:      55034      MIPS   7  timer
  8:       1236      MISC   3  ttyS0
 12:          0      INTC   1  ehci_hcd:usb1
 13:          0  gpio-ath79   2  keys
 14:          0  gpio-ath79   5  keys
 15:         31  AR724X PCI    1  ath10k_pci

 $ perf top
 genirq: Flags mismatch irq 13. 00014c83 (mips_perf_pmu) vs. 00002003 (keys)

On TP-Link Archer C7v4:

         CPU0
  4:          0      MIPS   4  19000000.eth
  5:       7135      MIPS   5  1a000000.eth
  7:      98379      MIPS   7  timer
  8:         30      MISC   3  ttyS0
 12:      90028      INTC   0  ath9k
 13:       5520      INTC   1  ehci_hcd:usb1
 14:       4623      INTC   2  ehci_hcd:usb2
 15:      32844  AR724X PCI    1  ath10k_pci
 16:          0  gpio-ath79  16  keys
 23:          0  gpio-ath79  23  keys

 $ perf top
 genirq: Flags mismatch irq 13. 00014c80 (mips_perf_pmu) vs. 00000080 (ehci_hcd:usb1)

This problem is happening, because currently statically assigned virtual
IRQ 13 for performance counters is not claimed during the initialization
of MIPS PMU during the bootup, so the IRQ subsystem doesn't know, that
this interrupt isn't available for further use.

So this patch fixes the issue by simply booking hardware IRQ 5 for MIPS PMU.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-15 00:01:57 +02:00
..
adm5120 kernel: bump 3.18 to 3.18.133 2019-01-28 18:17:32 +01:00
adm8668 kernel: bump 3.18 to 3.18.133 2019-01-28 18:17:32 +01:00
apm821xx kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
ar7 kernel: bump 4.9 to 4.9.153 2019-01-28 18:17:32 +01:00
ar71xx ar71xx: Correct MAC address for WAN interface of Archer C7 v5 2019-04-08 18:37:05 +02:00
arc770
archs38
armvirt armvirt: 32: enable CONFIG_ARM_LPAE 2019-02-19 13:13:49 +00:00
at91 kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
ath25
ath79 Revert "ath79: Add WPS button to TP-Link Archer C7v5" 2019-04-14 23:42:03 +02:00
au1000
bcm53xx kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
brcm47xx kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
brcm63xx kernel: bump 4.9 to 4.9.164 2019-03-22 18:14:28 +01:00
brcm2708 kernel: bump 4.14 to 4.14.111 2019-04-08 14:53:39 +02:00
cns3xxx kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
gemini kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
generic kernel: MIPS: perf: ath79: Fix perfcount IRQ assignment 2019-04-15 00:01:57 +02:00
imx6 imx6: bump sdma firmware to 3.4 2019-04-09 11:29:20 +02:00
ipq40xx ipq40xx: essedma: Add fix for memory allocation issues 2019-03-24 21:17:41 +01:00
ipq806x kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
ixp4xx kernel: bump 4.9 to 4.9.160 2019-02-25 17:33:16 +01:00
kirkwood kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
lantiq lantiq: kernel 4.14: fix usb_phy1 reset status bit in vr9.dts 2019-03-18 20:42:30 +01:00
layerscape kernel: bump 4.14 to 4.14.111 2019-04-08 14:53:39 +02:00
malta malta: Add support for kernel 4.19 2019-01-13 16:31:40 +01:00
mcs814x
mediatek kernel: bump 4.14 to 4.14.99 2019-02-14 16:45:01 +01:00
mpc85xx mpc85xx: generic: Check kernel size for the TL-WDR4900 2019-04-13 18:46:40 +02:00
mvebu mvebu: sysupgrade: sdcard: keep user added partitons 2019-04-06 16:31:10 +02:00
mxs mxs: disable unused serial drivers 2019-03-11 19:35:43 +01:00
octeon kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
octeontx
omap
omap24xx
orion
oxnas kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ppc40x
ppc44x
ramips ramips: add support for Rakwireless RAK633 2019-04-14 23:42:03 +02:00
rb532
samsung kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
sunxi sunxi: Remove already applied patch 2019-04-08 20:34:27 +02:00
tegra tegra: add kernel 4.19 support 2019-04-06 14:48:46 +02:00
uml
x86 x86: video: disable buildtin amdgpu DRM driver 2019-02-17 19:22:39 +01:00
xburst
zynq zynq: replace storage related configs by packages 2019-04-06 16:31:10 +02:00
Makefile