1. 28 Jan, 2021 2 commits
    • Arnd Bergmann's avatar
      Merge tag 'v5.11-rockchip-dtsfixes1' of... · f2d514b4
      Arnd Bergmann authored
      Merge tag 'v5.11-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes
      
      Wrong irq number on px30 and cleanups of stuff on rk3399 regarding
      wrongly used dt properties and parts that shouldn't be enabled.
      
      * tag 'v5.11-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        arm64: dts: rockchip: Disable display for NanoPi R2S
        arm64: dts: rockchip: remove interrupt-names property from rk3399 vdec node
        arm64: dts: rockchip: Fix PCIe DT properties on rk3399
        arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro
        arm64: dts: rockchip: fix vopl iommu irq on px30
      
      Link: https://lore.kernel.org/r/5429065.DvuYhMxLoT@philSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      f2d514b4
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v5.11/fixes-rc5' of... · 2a3e487a
      Arnd Bergmann authored
      Merge tag 'omap-for-v5.11/fixes-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
      
      Fixes for omaps for v5.11-rc cycle
      
      The recent changes to switch SoCs to boot with ti-sysc interconnect
      target module driver and genpd caused few regressions:
      
      - The omap_prm reset driver needs to clear any reset bits deasserted by
        the bootloader or kexec boot for the three reset bit cases. Otherwise
        we can have an oops with accelerators starting to boot with potentially
        unconfigured MMU for example
      
      - Custom kernel configs are not automatically selecting simple-pm-bus
        driver that we now need to probe interconnects so we need to select it
        always
      
      - We are not passing legacy platform data in auxdata with simple-pm-bus
        like we do for simple-bus. We need to pass auxdata to simple-pm-bus so
        it can pass it to of_platform_populate()
      
      Then recent RCU changes started causing splats for cpuidle44xx that now
      need RCU_NONIDLE added to the calls in several places
      
      And then we have few device specific fixes:
      
      - We need to remove legacy spi-cs-hig for gta04 display to work, and
        set the gpio to active low
      
      - Omap1 specific ohci-omap needs to call gpio_free()
      
      - Droid4 needs to use padconf interrupt for the slider as the edge
        gpio interrupts may be lost for deeper idle states
      
      * tag 'omap-for-v5.11/fixes-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: omap4-droid4: Fix lost keypad slide interrupts for droid4
        drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata
        ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus
        ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
        ARM: dts; gta04: SPI panel chip select is active low
        soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1
        ARM: OMAP1: OSK: fix ohci-omap breakage
        DTS: ARM: gta04: remove legacy spi-cs-high to make display work again
      
      Link: https://lore.kernel.org/r/pull-1611818709-243493@atomide.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2a3e487a
  2. 26 Jan, 2021 4 commits
  3. 25 Jan, 2021 2 commits
  4. 22 Jan, 2021 6 commits
  5. 21 Jan, 2021 1 commit
    • Rouven Czerwinski's avatar
      tee: optee: replace might_sleep with cond_resched · dcb3b06d
      Rouven Czerwinski authored
      might_sleep() is a debugging aid and triggers rescheduling only for
      certain kernel configurations. Replace with an explicit check and
      reschedule to work for all kernel configurations. Fixes the following
      trace:
      
        [  572.945146] rcu: INFO: rcu_sched self-detected stall on CPU
        [  572.949275] rcu:     0-....: (2099 ticks this GP) idle=572/1/0x40000002 softirq=7412/7412 fqs=974
        [  572.957964]  (t=2100 jiffies g=10393 q=21)
        [  572.962054] NMI backtrace for cpu 0
        [  572.965540] CPU: 0 PID: 165 Comm: xtest Not tainted 5.8.7 #1
        [  572.971188] Hardware name: STM32 (Device Tree Support)
        [  572.976354] [<c011163c>] (unwind_backtrace) from [<c010b7f8>] (show_stack+0x10/0x14)
        [  572.984080] [<c010b7f8>] (show_stack) from [<c0511e4c>] (dump_stack+0xc4/0xd8)
        [  572.991300] [<c0511e4c>] (dump_stack) from [<c0519abc>] (nmi_cpu_backtrace+0x90/0xc4)
        [  572.999130] [<c0519abc>] (nmi_cpu_backtrace) from [<c0519bdc>] (nmi_trigger_cpumask_backtrace+0xec/0x130)
        [  573.008706] [<c0519bdc>] (nmi_trigger_cpumask_backtrace) from [<c01a5184>] (rcu_dump_cpu_stacks+0xe8/0x110)
        [  573.018453] [<c01a5184>] (rcu_dump_cpu_stacks) from [<c01a4234>] (rcu_sched_clock_irq+0x7fc/0xa88)
        [  573.027416] [<c01a4234>] (rcu_sched_clock_irq) from [<c01acdd0>] (update_process_times+0x30/0x8c)
        [  573.036291] [<c01acdd0>] (update_process_times) from [<c01bfb90>] (tick_sched_timer+0x4c/0xa8)
        [  573.044905] [<c01bfb90>] (tick_sched_timer) from [<c01adcc8>] (__hrtimer_run_queues+0x174/0x358)
        [  573.053696] [<c01adcc8>] (__hrtimer_run_queues) from [<c01aea2c>] (hrtimer_interrupt+0x118/0x2bc)
        [  573.062573] [<c01aea2c>] (hrtimer_interrupt) from [<c09ad664>] (arch_timer_handler_virt+0x28/0x30)
        [  573.071536] [<c09ad664>] (arch_timer_handler_virt) from [<c0190f50>] (handle_percpu_devid_irq+0x8c/0x240)
        [  573.081109] [<c0190f50>] (handle_percpu_devid_irq) from [<c018ab8c>] (generic_handle_irq+0x34/0x44)
        [  573.090156] [<c018ab8c>] (generic_handle_irq) from [<c018b194>] (__handle_domain_irq+0x5c/0xb0)
        [  573.098857] [<c018b194>] (__handle_domain_irq) from [<c052ac50>] (gic_handle_irq+0x4c/0x90)
        [  573.107209] [<c052ac50>] (gic_handle_irq) from [<c0100b0c>] (__irq_svc+0x6c/0x90)
        [  573.114682] Exception stack(0xd90dfcf8 to 0xd90dfd40)
        [  573.119732] fce0:                                                       ffff0004 00000000
        [  573.127917] fd00: 00000000 00000000 00000000 00000000 00000000 00000000 d93493cc ffff0000
        [  573.136098] fd20: d2bc39c0 be926998 d90dfd58 d90dfd48 c09f3384 c01151f0 400d0013 ffffffff
        [  573.144281] [<c0100b0c>] (__irq_svc) from [<c01151f0>] (__arm_smccc_smc+0x10/0x20)
        [  573.151854] [<c01151f0>] (__arm_smccc_smc) from [<c09f3384>] (optee_smccc_smc+0x3c/0x44)
        [  573.159948] [<c09f3384>] (optee_smccc_smc) from [<c09f4170>] (optee_do_call_with_arg+0xb8/0x154)
        [  573.168735] [<c09f4170>] (optee_do_call_with_arg) from [<c09f4638>] (optee_invoke_func+0x110/0x190)
        [  573.177786] [<c09f4638>] (optee_invoke_func) from [<c09f1ebc>] (tee_ioctl+0x10b8/0x11c0)
        [  573.185879] [<c09f1ebc>] (tee_ioctl) from [<c029f62c>] (ksys_ioctl+0xe0/0xa4c)
        [  573.193101] [<c029f62c>] (ksys_ioctl) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
        [  573.200750] Exception stack(0xd90dffa8 to 0xd90dfff0)
        [  573.205803] ffa0:                   be926bf4 be926a78 00000003 8010a403 be926908 004e3cf8
        [  573.213987] ffc0: be926bf4 be926a78 00000000 00000036 be926908 be926918 be9269b0 bffdf0f8
        [  573.222162] ffe0: b6d76fb0 be9268fc b6d66621 b6c7e0d8
      
      seen on STM32 DK2 with CONFIG_PREEMPT_NONE.
      
      Fixes: 9f02b8f6 ("tee: optee: add might_sleep for RPC requests")
      Signed-off-by: default avatarRouven Czerwinski <r.czerwinski@pengutronix.de>
      Tested-by: default avatarSumit Garg <sumit.garg@linaro.org>
      [jw: added fixes tag + small adjustments in the code]
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      dcb3b06d
  6. 18 Jan, 2021 6 commits
  7. 15 Jan, 2021 8 commits
  8. 14 Jan, 2021 7 commits
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 · 83d41122
      Marek Vasut authored
      The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
      Since GPIO_ACTIVE_HIGH is defined as 0, this change only increases the
      correctness of the DT.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      83d41122
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX · 10793e55
      Marek Vasut authored
      The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
      Due to a change in gpiolib-of.c, setting flags to GPIO_ACTIVE_LOW and
      using output-low DT property leads to the GPIO being set high instead.
      
      Fixes: ac68793f ("ARM: dts: stm32: Add DHCOM based PicoITX board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      10793e55
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix GPIO hog names on DHCOM · bcbacfb8
      Marek Vasut authored
      The GPIO hog node name should match regex '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$',
      make it so and fix the following two make dtbs_check warnings:
      
      arch/arm/boot/dts/stm32mp157c-dhcom-picoitx.dt.yaml: hog-usb-port-power: $nodename:0: 'hog-usb-port-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
      arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: hog-usb-hub: $nodename:0: 'hog-usb-hub' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
      
      Fixes: ac68793f ("ARM: dts: stm32: Add DHCOM based PicoITX board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      bcbacfb8
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable optional TSC2004 on DRC02 board · 08769893
      Marek Vasut authored
      The DRC02 has no use for the on-SoM touchscreen controller, and the
      on-SoM touchscreen controller may not even be populated, which then
      results in error messages in kernel log. Disable the touchscreen
      controller in DT.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      08769893
    • Marek Vasut's avatar
      ARM: dts: stm32: Disable WP on DHCOM uSD slot · 063a6063
      Marek Vasut authored
      The uSD slot has no WP detection, disable it.
      
      Fixes: 34e0c784 ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      063a6063
    • Marek Vasut's avatar
      ARM: dts: stm32: Connect card-detect signal on DHCOM · 1a9b0012
      Marek Vasut authored
      The DHCOM SoM uSD slot card detect signal is connected to GPIO PG1,
      describe it in the DT.
      
      Fixes: 34e0c784 ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      1a9b0012
    • Marek Vasut's avatar
      ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect · a0572c07
      Marek Vasut authored
      The uSD card detect signal on the DH DRC02 is active-high, with
      a default pull down resistor on the board. Invert the polarity.
      
      Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: linux-arm-kernel@lists.infradead.org
      --
      Note that this could not be tested on prototype SoMs, now that it is
      tested, this issue surfaced, so it needs to be fixed.
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
      a0572c07
  9. 13 Jan, 2021 1 commit
  10. 11 Jan, 2021 3 commits