1. 27 Oct, 2021 1 commit
  2. 26 Oct, 2021 2 commits
  3. 25 Oct, 2021 1 commit
  4. 21 Oct, 2021 1 commit
  5. 20 Oct, 2021 5 commits
    • Arnd Bergmann's avatar
      Merge tag 'reset-fixes-for-v5.15' of git://git.pengutronix.de/pza/linux into arm/fixes · 36b6dcbc
      Arnd Bergmann authored
      Reset controller fixes for v5.15
      
      Fix the status bit polarity in the brcmstb-rescal driver, re-enable
      pistachio driver selection after MACH_PISTACHIO removal, add transfer
      error handling in the tegra-bpmp driver, and fix probing of the
      reset-socfpga driver after recent device link changes.
      
      * tag 'reset-fixes-for-v5.15' of git://git.pengutronix.de/pza/linux:
        reset: socfpga: add empty driver allowing consumers to probe
        reset: tegra-bpmp: Handle errors in BPMP response
        reset: pistachio: Re-enable driver selection
        reset: brcmstb-rescal: fix incorrect polarity of status bit
      
      Link: https://lore.kernel.org/r/b378f2aae54538db6a13c98561b4cbcacbef937c.camel@pengutronix.deSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      36b6dcbc
    • Arnd Bergmann's avatar
      Merge tag 'sunxi-fixes-for-5.15-1' of... · e23c7487
      Arnd Bergmann authored
      Merge tag 'sunxi-fixes-for-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes
      
      Two patches to fix the GMAC PHY mode on some boards.
      
      * tag 'sunxi-fixes-for-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
        arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
      
      Link: https://lore.kernel.org/r/d4c41c71-f1ff-4464-a26f-1bfd4b52fd78.lettre@localhostSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e23c7487
    • Arnd Bergmann's avatar
      Merge tag 'imx-fixes-5.15-4' of... · 72cd4e3b
      Arnd Bergmann authored
      Merge tag 'imx-fixes-5.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
      
      i.MX fixes for 5.15, round 4:
      
      - A series from Frieder Schrempf to fix i.MX8MM Kontron N801x board on
        various aspects, voltage settings, GPIO polarity, SPI clock frequency
        and Ethernet PHY type.
      
      * tag 'imx-fixes-5.15-4' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY
        arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency
        arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
        arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV
        arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct
      
      Link: https://lore.kernel.org/r/20211018000958.GC25810@dragonSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      72cd4e3b
    • Meng Li's avatar
      soc: fsl: dpio: use the combined functions to protect critical zone · dc7e5940
      Meng Li authored
      In orininal code, use 2 function spin_lock() and local_irq_save() to
      protect the critical zone. But when enable the kernel debug config,
      there are below inconsistent lock state detected.
      ================================
      WARNING: inconsistent lock state
      5.10.63-yocto-standard #1 Not tainted
      --------------------------------
      inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
      lock_torture_wr/226 [HC0[0]:SC1[5]:HE1:SE0] takes:
      ffff002005b2dd80 (&p->access_spinlock){+.?.}-{3:3}, at: qbman_swp_enqueue_multiple_mem_back+0x44/0x270
      {SOFTIRQ-ON-W} state was registered at:
        lock_acquire.part.0+0xf8/0x250
        lock_acquire+0x68/0x84
        _raw_spin_lock+0x68/0x90
        qbman_swp_enqueue_multiple_mem_back+0x44/0x270
        ......
        cryptomgr_test+0x38/0x60
        kthread+0x158/0x164
        ret_from_fork+0x10/0x38
      irq event stamp: 4498
      hardirqs last  enabled at (4498): [<ffff800010fcf980>] _raw_spin_unlock_irqrestore+0x90/0xb0
      hardirqs last disabled at (4497): [<ffff800010fcffc4>] _raw_spin_lock_irqsave+0xd4/0xe0
      softirqs last  enabled at (4458): [<ffff8000100108c4>] __do_softirq+0x674/0x724
      softirqs last disabled at (4465): [<ffff80001005b2a4>] __irq_exit_rcu+0x190/0x19c
      
      other info that might help us debug this:
       Possible unsafe locking scenario:
             CPU0
             ----
        lock(&p->access_spinlock);
        <Interrupt>
          lock(&p->access_spinlock);
       *** DEADLOCK ***
      
      So, in order to avoid deadlock, use the combined functions
      spin_lock_irqsave/spin_unlock_irqrestore() to protect critical zone.
      
      Fixes: 3b2abda7 ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      dc7e5940
    • Meng Li's avatar
      soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id · e775eb9f
      Meng Li authored
      When enable debug kernel configs,there will be calltrace as below:
      
      BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
      caller is debug_smp_processor_id+0x20/0x30
      CPU: 6 PID: 1 Comm: swapper/0 Not tainted 5.10.63-yocto-standard #1
      Hardware name: NXP Layerscape LX2160ARDB (DT)
      Call trace:
       dump_backtrace+0x0/0x1a0
       show_stack+0x24/0x30
       dump_stack+0xf0/0x13c
       check_preemption_disabled+0x100/0x110
       debug_smp_processor_id+0x20/0x30
       dpaa2_io_query_fq_count+0xdc/0x154
       dpaa2_eth_stop+0x144/0x314
       __dev_close_many+0xdc/0x160
       __dev_change_flags+0xe8/0x220
       dev_change_flags+0x30/0x70
       ic_close_devs+0x50/0x78
       ip_auto_config+0xed0/0xf10
       do_one_initcall+0xac/0x460
       kernel_init_freeable+0x30c/0x378
       kernel_init+0x20/0x128
       ret_from_fork+0x10/0x38
      
      Based on comment in the context, it doesn't matter whether
      preemption is disable or not. So, replace smp_processor_id()
      with raw_smp_processor_id() to avoid above call trace.
      
      Fixes: c89105c9 ("staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      e775eb9f
  6. 18 Oct, 2021 17 commits
  7. 17 Oct, 2021 3 commits
  8. 16 Oct, 2021 10 commits