1. 08 Feb, 2021 1 commit
  2. 03 Feb, 2021 1 commit
  3. 02 Feb, 2021 1 commit
  4. 25 Jan, 2021 3 commits
  5. 22 Jan, 2021 1 commit
  6. 21 Jan, 2021 6 commits
    • Krzysztof Kozlowski's avatar
      regulator: s5m8767: Drop regulators OF node reference · a5872bd3
      Krzysztof Kozlowski authored
      The device node reference obtained with of_get_child_by_name() should be
      dropped on error paths.
      
      Fixes: 26aec009 ("regulator: add device tree support for s5m8767")
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20210121155914.48034-1-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a5872bd3
    • Bjorn Andersson's avatar
      regulator: qcom-rpmh: Add pmc8180 and pmc8180c · e46c52f7
      Bjorn Andersson authored
      The regulators from PMC8180 and PMC8180C exposed by the RPMH in the
      Qualcomm SC8180X seems to be the same as PM8150 and PM8150L. Add
      compatibles for the two new PMICs and reuse the definition of the
      existing PMICs.
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Link: https://lore.kernel.org/r/20210120224901.1611232-2-bjorn.andersson@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e46c52f7
    • Bjorn Andersson's avatar
      regulator: qcom-rpmh: Add pmc8180 and pmc8180c · 71ca776a
      Bjorn Andersson authored
      Add RPMH regulator compatibles for two of the PMIC variants used on the
      SC8180x platform.
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Link: https://lore.kernel.org/r/20210120224901.1611232-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      71ca776a
    • Pan Bian's avatar
      regulator: s5m8767: Fix reference count leak · dea6dd2b
      Pan Bian authored
      Call of_node_put() to drop references of regulators_np and reg_np before
      returning error code.
      
      Fixes: 9ae5cc75 ("regulator: s5m8767: Pass descriptor instead of GPIO number")
      Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
      Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20210121032756.49501-1-bianpan2016@163.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      dea6dd2b
    • Arnd Bergmann's avatar
      regulator: remove ab3100 driver · d93d6f52
      Arnd Bergmann authored
      The ST-Ericsson U300 platform is getting removed, so this driver is no
      longer needed.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Link: https://lore.kernel.org/r/20210120151307.1726876-1-arnd@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d93d6f52
    • Mark Brown's avatar
      Merge series "Really implement Qualcomm LAB/IBB regulators" from... · e3457822
      Mark Brown authored
      Merge series "Really implement Qualcomm LAB/IBB regulators" from AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>:
      
      Okay, the title may be a little "aggressive"? However, the qcom-labibb
      driver wasn't really .. doing much.
      The current form of this driver is only taking care of enabling or
      disabling the regulators, which is pretty useless if they were not
      pre-set from the bootloader, which sets them only if continuous
      splash is enabled.
      Moreover, some bootloaders are setting a higher voltage and/or a higher
      current limit compared to what's actually required by the attached
      hardware (which is, in 99.9% of the cases, a display) and this produces
      a higher power consumption, higher heat output and a risk of actually
      burning the display if kept up for a very long time: for example, this
      is true on at least some Sony Xperia MSM8998 (Yoshino platform) and
      especially on some Sony Xperia SDM845 (Tama platform) smartphones.
      
      In any case, the main reason why this change was necessary for us is
      that, during the bringup of Sony Xperia MSM8998 phones, we had an issue
      with the bootloader not turning on the display and not setting the lab
      and ibb regulators before booting the kernel, making it impossible to
      powerup the display.
      
      With this said, this patchset enables setting voltage, current limiting,
      overcurrent and short-circuit protection.. and others, on the LAB/IBB
      regulators.
      Each commit in this patch series provides as many informations as
      possible about what's going on and testing methodology.
      
      Changes in v4:
       - Remove already applied commit
       - Add commit to switch to regulator_{list,map}_voltage_linear
         which in v3 got squashed in the commit that got removed in v4.
      
      Changes in v3:
       - Improved check for PBS disable and short-circuit condition:
         during the testing of short-circuit, coincidentally another
         register reading zero on the interesting bit was probed,
         which didn't trigger a malfunction of the SC logic, but was
         also wrong.
         After the change, the short-circuit test was re-done in the
         same way as described in the commit that is implementing it.
       - From Bjorn Andersson review:
         - Improved documentation about over-current and short-circuit
           protection in the driver
         - Improved maintainability of qcom_labibb_sc_recovery_worker()
         - Flipped around check for PBS vreg disabled in for loop of
           function labibb_sc_err_handler()
       - From Mark Brown (forgotten in v2):
         - Changed regulator_{list,map}_voltage_linear_range usages to
           regulator_{list,map}_voltage_linear (and fixed regulator
           descs to reflect the change).
      
      Changes in v2:
       - From Mark Brown review:
         - Replaced some if branches with switch statements
         - Moved irq get and request in probe function
         - Changed short conditionals to full ones
         - Removed useless check for ocp_irq_requested
       -  Fixed issues with YAML documentation
      
      AngeloGioacchino Del Regno (7):
        regulator: qcom-labibb: Switch voltage ops from linear_range to linear
        regulator: qcom-labibb: Implement current limiting
        regulator: qcom-labibb: Implement pull-down, softstart, active
          discharge
        dt-bindings: regulator: qcom-labibb: Document soft start properties
        regulator: qcom-labibb: Implement short-circuit and over-current IRQs
        dt-bindings: regulator: qcom-labibb: Document SCP/OCP interrupts
        arm64: dts: pmi8998: Add the right interrupts for LAB/IBB SCP and OCP
      
       .../regulator/qcom-labibb-regulator.yaml      |  30 +-
       arch/arm64/boot/dts/qcom/pmi8998.dtsi         |   8 +-
       drivers/regulator/qcom-labibb-regulator.c     | 720 +++++++++++++++++-
       3 files changed, 735 insertions(+), 23 deletions(-)
      
      --
      2.30.0
      e3457822
  7. 20 Jan, 2021 7 commits
  8. 15 Jan, 2021 8 commits
  9. 13 Jan, 2021 3 commits
  10. 10 Jan, 2021 9 commits
    • Linus Torvalds's avatar
      Linux 5.11-rc3 · 7c53f6b6
      Linus Torvalds authored
      7c53f6b6
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.11' of... · 20210a98
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Search for <ncurses.h> in the default header path of HOSTCC
      
       - Tweak the option order to be kind to old BSD awk
      
       - Remove 'kvmconfig' and 'xenconfig' shorthands
      
       - Fix documentation
      
      * tag 'kbuild-fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        Documentation: kbuild: Fix section reference
        kconfig: remove 'kvmconfig' and 'xenconfig' shorthands
        lib/raid6: Let $(UNROLL) rules work with macOS userland
        kconfig: Support building mconf with vendor sysroot ncurses
        kconfig: config script: add a little user help
        MAINTAINERS: adjust GCC PLUGINS after gcc-plugin.sh removal
      20210a98
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 688daed2
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is two driver fixes (megaraid_sas and hisi_sas).
      
        The megaraid one is a revert of a previous revert of a cpu hotplug fix
        which exposed a bug in the block layer which has been fixed in this
        merge window.
      
        The hisi_sas performance enhancement comes from switching to interrupt
        managed completion queues, which depended on the addition of
        devm_platform_get_irqs_affinity() which is now upstream via the irq
        tree in the last merge window"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: hisi_sas: Expose HW queues for v2 hw
        Revert "Revert "scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug""
      688daed2
    • Linus Torvalds's avatar
      Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block · ed41fd07
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Missing CRC32 selections (Arnd)
      
       - Fix for a merge window regression with bdev inode init (Christoph)
      
       - bcache fixes
      
       - rnbd fixes
      
       - NVMe pull request from Christoph:
          - fix a race in the nvme-tcp send code (Sagi Grimberg)
          - fix a list corruption in an nvme-rdma error path (Israel Rukshin)
          - avoid a possible double fetch in nvme-pci (Lalithambika Krishnakumar)
          - add the susystem NQN quirk for a Samsung driver (Gopal Tiwari)
          - fix two compiler warnings in nvme-fcloop (James Smart)
          - don't call sleeping functions from irq context in nvme-fc (James Smart)
          - remove an unused argument (Max Gurtovoy)
          - remove unused exports (Minwoo Im)
      
       - Use-after-free fix for partition iteration (Ming)
      
       - Missing blk-mq debugfs flag annotation (John)
      
       - Bdev freeze regression fix (Satya)
      
       - blk-iocost NULL pointer deref fix (Tejun)
      
      * tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block: (26 commits)
        bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET
        bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large bucket
        bcache: check unsupported feature sets for bcache register
        bcache: fix typo from SUUP to SUPP in features.h
        bcache: set pdev_set_uuid before scond loop iteration
        blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED
        block/rnbd-clt: avoid module unload race with close confirmation
        block/rnbd: Adding name to the Contributors List
        block/rnbd-clt: Fix sg table use after free
        block/rnbd-srv: Fix use after free in rnbd_srv_sess_dev_force_close
        block/rnbd: Select SG_POOL for RNBD_CLIENT
        block: pre-initialize struct block_device in bdev_alloc_inode
        fs: Fix freeze_bdev()/thaw_bdev() accounting of bd_fsfreeze_sb
        nvme: remove the unused status argument from nvme_trace_bio_complete
        nvmet-rdma: Fix list_del corruption on queue establishment failure
        nvme: unexport functions with no external caller
        nvme: avoid possible double fetch in handling CQE
        nvme-tcp: Fix possible race of io_work and direct send
        nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
        nvme-fcloop: Fix sscanf type and list_first_entry_or_null warnings
        ...
      ed41fd07
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.11-2021-01-10' of git://git.kernel.dk/linux-block · d430adfe
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "A bit larger than I had hoped at this point, but it's all changes that
        will be directed towards stable anyway. In detail:
      
         - Fix a merge window regression on error return (Matthew)
      
         - Remove useless variable declaration/assignment (Ye Bin)
      
         - IOPOLL fixes (Pavel)
      
         - Exit and cancelation fixes (Pavel)
      
         - fasync lockdep complaint fix (Pavel)
      
         - Ensure SQPOLL is synchronized with creator life time (Pavel)"
      
      * tag 'io_uring-5.11-2021-01-10' of git://git.kernel.dk/linux-block:
        io_uring: stop SQPOLL submit on creator's death
        io_uring: add warn_once for io_uring_flush()
        io_uring: inline io_uring_attempt_task_drop()
        io_uring: io_rw_reissue lockdep annotations
        io_uring: synchronise ev_posted() with waitqueues
        io_uring: dont kill fasync under completion_lock
        io_uring: trigger eventfd for IOPOLL
        io_uring: Fix return value from alloc_fixed_file_ref_node
        io_uring: Delete useless variable ‘id’ in io_prep_async_work
        io_uring: cancel more aggressively in exit_work
        io_uring: drop file refs after task cancel
        io_uring: patch up IOPOLL overflow_flush sync
        io_uring: synchronise IOPOLL on task_submit fail
      d430adfe
    • Linus Torvalds's avatar
      Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 28318f53
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a number of small USB driver fixes for 5.11-rc3.
      
        Include in here are:
      
         - USB gadget driver fixes for reported issues
      
         - new usb-serial driver ids
      
         - dma from stack bugfixes
      
         - typec bugfixes
      
         - dwc3 bugfixes
      
         - xhci driver bugfixes
      
         - other small misc usb driver bugfixes
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (35 commits)
        usb: dwc3: gadget: Clear wait flag on dequeue
        usb: typec: Send uevent for num_altmodes update
        usb: typec: Fix copy paste error for NVIDIA alt-mode description
        usb: gadget: enable super speed plus
        kcov, usb: hide in_serving_softirq checks in __usb_hcd_giveback_urb
        usb: uas: Add PNY USB Portable SSD to unusual_uas
        usb: gadget: configfs: Preserve function ordering after bind failure
        usb: gadget: select CONFIG_CRC32
        usb: gadget: core: change the comment for usb_gadget_connect
        usb: gadget: configfs: Fix use-after-free issue with udc_name
        usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
        usb: usbip: vhci_hcd: protect shift size
        USB: usblp: fix DMA to stack
        USB: serial: iuu_phoenix: fix DMA from stack
        USB: serial: option: add LongSung M5710 module support
        USB: serial: option: add Quectel EM160R-GL
        USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug
        usb: gadget: f_uac2: reset wMaxPacketSize
        usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression
        usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
        ...
      28318f53
    • Linus Torvalds's avatar
      Merge tag 'staging-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 4ad9a28f
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are some small staging driver fixes for 5.11-rc3. Nothing major,
        just resolving some reported issues:
      
         - cleanup some remaining mentions of the ION drivers that were
           removed in 5.11-rc1
      
         - comedi driver bugfix
      
         - two error path memory leak fixes
      
        All have been in linux-next for a while with no reported issues"
      
      * tag 'staging-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: ION: remove some references to CONFIG_ION
        staging: mt7621-dma: Fix a resource leak in an error handling path
        Staging: comedi: Return -EFAULT if copy_to_user() fails
        staging: spmi: hisi-spmi-controller: Fix some error handling paths
      4ad9a28f
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · e07cd2f3
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and misc driver fixes for 5.11-rc3.
      
        The majority here are fixes for the habanalabs drivers, but also in
        here are:
      
         - crypto driver fix
      
         - pvpanic driver fix
      
         - updated font file
      
         - interconnect driver fixes
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'char-misc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (26 commits)
        Fonts: font_ter16x32: Update font with new upstream Terminus release
        misc: pvpanic: Check devm_ioport_map() for NULL
        speakup: Add github repository URL and bug tracker
        MAINTAINERS: Update Georgi's email address
        crypto: asym_tpm: correct zero out potential secrets
        habanalabs: Fix memleak in hl_device_reset
        interconnect: imx8mq: Use icc_sync_state
        interconnect: imx: Remove a useless test
        interconnect: imx: Add a missing of_node_put after of_device_is_available
        interconnect: qcom: fix rpmh link failures
        habanalabs: fix order of status check
        habanalabs: register to pci shutdown callback
        habanalabs: add validation cs counter, fix misplaced counters
        habanalabs/gaudi: retry loading TPC f/w on -EINTR
        habanalabs: adjust pci controller init to new firmware
        habanalabs: update comment in hl_boot_if.h
        habanalabs/gaudi: enhance reset message
        habanalabs: full FW hard reset support
        habanalabs/gaudi: disable CGM at HW initialization
        habanalabs: Revise comment to align with mirror list name
        ...
      e07cd2f3
    • Viresh Kumar's avatar
      Documentation: kbuild: Fix section reference · 5625dcfb
      Viresh Kumar authored
      Section 3.11 was incorrectly called 3.9, fix it.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      5625dcfb