1. 30 May, 2020 5 commits
    • Dan Carpenter's avatar
      mailbox: imx: Fix return in imx_mu_scu_xlate() · 1b3a347b
      Dan Carpenter authored
      This called from mbox_request_channel().  The caller is  expecting error
      pointers and not NULL so this "return NULL;" will lead to an Oops.
      
      Fixes: 0a67003b ("mailbox: imx: add SCU MU support")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      1b3a347b
    • Anson Huang's avatar
      mailbox: imx: Support runtime PM · 676f23ea
      Anson Huang authored
      Some power hungry sub-systems like VPU has its own MUs which also
      use mailbox driver, current mailbox driver uses platform driver
      model and MU's power will be ON after driver probed and left ON
      there, it may cause the whole sub-system can NOT enter lower power
      mode, take VPU driver for example, it has runtime PM support, but
      due to its MU always ON, the VPU sub-system will be always ON and
      consume many power during kernel idle.
      
      To save power in kernel idle, mailbox driver needs to support
      runtime PM in order to power off MU when it is unused. However,
      the runtime suspend/resume can ONLY be implemented in mailbox's
      .shutdown/.startup callback, so its consumer needs to call
      mbox_request_channel()/mbox_free_channel() in consumer driver's
      runtime PM callback, then the MU's power will be ON/OFF along with
      consumer's runtime PM status.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      676f23ea
    • Jason Yan's avatar
      mailbox: pcc: make pcc_mbox_driver static · 00d9990a
      Jason Yan authored
      Fix the following sparse warning:
      
      drivers/mailbox/pcc.c:571:24: warning: symbol 'pcc_mbox_driver' was not
      declared. Should it be static?
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      00d9990a
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.7-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · ffeb595d
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - a fix for the recent change to how we restore non-volatile GPRs,
         which broke our emulation of reading from the DSCR (Data Stream
         Control Register).
      
       - a fix for the recent rewrite of interrupt/syscall exit in C, we need
         to exclude KCOV from that code, otherwise it can lead to
         unrecoverable faults.
      
      Thanks to Daniel Axtens.
      
      * tag 'powerpc-5.7-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s: Disable sanitisers for C syscall/interrupt entry/exit code
        powerpc/64s: Fix restore of NV GPRs after facility unavailable exception
      ffeb595d
    • Linus Torvalds's avatar
      Merge tag 'gpio-v5.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 900db150
      Linus Torvalds authored
      Pull GPIO fixes from Linus Walleij:
       "Here are some (very) late fixes for GPIO, none of them very serious
        except the one tagged for stable for enabling IRQ on open drain lines:
      
         - Fix probing of mvebu chips without PWM
      
         - Fix error path on ida_get_simple() on the exar driver
      
         - Notify userspace properly about line status changes when flags are
           changed on lines.
      
         - Fix a sleeping while holding spinlock in the mellanox driver.
      
         - Fix return value of the PXA and Kona probe calls.
      
         - Fix IRQ locking of open drain lines, it is fine to have IRQs on
           open drain lines flagged for output"
      
      * tag 'gpio-v5.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: fix locking open drain IRQ lines
        gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe()
        gpio: pxa: Fix return value of pxa_gpio_probe()
        gpio: mlxbf2: Fix sleeping while holding spinlock
        gpiolib: notify user-space about line status changes after flags are set
        gpio: exar: Fix bad handling for ida_simple_get error path
        gpio: mvebu: Fix probing for chips without PWM
      900db150
  2. 29 May, 2020 18 commits
  3. 28 May, 2020 17 commits