1. 06 Nov, 2019 2 commits
    • Olof Johansson's avatar
      Merge tag 'sunxi-fixes-for-5.4-3' of... · f129230b
      Olof Johansson authored
      Merge tag 'sunxi-fixes-for-5.4-3' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/dt
      
      One patch to add back the PMU node that was removed because the
      interrupts were improper in a previous fixes PR.
      
      * tag 'sunxi-fixes-for-5.4-3' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        arm64: dts: allwinner: a64: Re-add PMU node
        ARM: sunxi: Fix CPU powerdown on A83T
        ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
        ARM: dts: sun7i: Drop the module clock from the device tree
        dt-bindings: media: sun4i-csi: Drop the module clock
        media: dt-bindings: Fix building error for dt_binding_check
        arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
        arm64: dts: allwinner: a64: Drop PMU node
        arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
      
      Link: https://lore.kernel.org/r/45023fa6-b2bc-4934-b85c-3e7841dde0b1.lettre@localhostSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
      f129230b
    • Andre Przywara's avatar
      arm64: dts: allwinner: a64: Re-add PMU node · 6b832a14
      Andre Przywara authored
      As it was found recently, the Performance Monitoring Unit (PMU) on the
      Allwinner A64 SoC was not generating (the right) interrupts. With the
      SPI numbers from the manual the kernel did not receive any overflow
      interrupts, so perf was not happy at all.
      It turns out that the numbers were just off by 4, so the PMU interrupts
      are from 148 to 151, not from 152 to 155 as the manual describes.
      
      This was found by playing around with U-Boot, which typically does not
      use interrupts, so the GIC is fully available for experimentation:
      With *every* PPI and SPI enabled, an overflowing PMU cycle counter was
      found to set a bit in one of the GICD_ISPENDR registers, with careful
      counting this was determined to be number 148.
      
      Tested with perf record and perf top on a Pine64-LTS. Also tested with
      tasksetting to every core to confirm the assignment between IRQs and
      cores.
      
      This somewhat "revert-fixes" commit ed3e9406 ("arm64: dts: allwinner:
      a64: Drop PMU node").
      
      Fixes: 34a97fcc ("arm64: dts: allwinner: a64: Add PMU node")
      Fixes: ed3e9406 ("arm64: dts: allwinner: a64: Drop PMU node")
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      6b832a14
  2. 04 Nov, 2019 20 commits
  3. 02 Nov, 2019 4 commits
  4. 01 Nov, 2019 14 commits