1. 02 6月, 2021 1 次提交
  2. 01 6月, 2021 6 次提交
  3. 27 5月, 2021 2 次提交
  4. 25 5月, 2021 4 次提交
  5. 24 5月, 2021 3 次提交
  6. 19 5月, 2021 2 次提交
  7. 18 5月, 2021 2 次提交
  8. 13 5月, 2021 1 次提交
  9. 12 5月, 2021 6 次提交
  10. 11 5月, 2021 2 次提交
    • Z
      regulator: uniphier: Add missing MODULE_DEVICE_TABLE · d019f38a
      Zou Wei 提交于
      This patch adds missing MODULE_DEVICE_TABLE definition which generates
      correct modalias for automatic loading of this driver when it is built
      as an external module.
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NZou Wei <zou_wei@huawei.com>
      Link: https://lore.kernel.org/r/1620705198-104566-1-git-send-email-zou_wei@huawei.comSigned-off-by: NMark Brown <broonie@kernel.org>
      d019f38a
    • M
      Merge series "Enable VBUS current boost on pm8150b platforms" from Bryan... · 8c94df1e
      Mark Brown 提交于
      Merge series "Enable VBUS current boost on pm8150b platforms" from Bryan O'Donoghue <bryan.odonoghue@linaro.org>:
      
      V3:
      - Drop the SoC regulator constraints for
        regulator-min-microamp
        regulator-max-microamp
        These will be applied on a per-board basis - Mark Brown
      
      V2:
      The first version of this patch set the current limit to 3 amps as was done
      in downstream. Mark indicated a preference to set this on a per-system
      basis instead of blitzing it, as in downstream.
      
      Looking at what was upstream versus what was in my working tree I saw that
      in fact the VBUS boost driver had been upstreamed minus accompanying DTS in
      pm8150b.
      
      So there's no need for a fixes as this driver doesn't appear to be in use.
      A subsequent patchset will enable the VBUS boost for the two relevant
      upstream platforms.
      
      First thing though, is the driver + dts change.
      
      - Use regulator_set_current_limit_regmap/regulator_get_current_limit_regmap
        with a relevant current-to-bitmap lookup.
      
      - Add a parallel DTS entry to the pm8150b
        It looks like this was submitted upstream but not followed up on
      
        I've add regulator-min-microamp/regulator-max-microamp to Wesley's
        original work.
      
      I've made sure to test that its possible to set the current to anything in
      the range of 500 mA to 3 A and confirmed the output on a scope.
      
      Once these two patches are in, I'll send out board enablement for the
      sm8150-mtp and qrb5165-rb5.
      
      https://lore.kernel.org/linux-arm-msm/8687acdb-75e9-5fc5-dd3e-9a19615676b5@linaro.org/T/#t
      
      Bryan O'Donoghue (1):
        regulator: Add a routine to set the current limit for QCOM PMIC VBUS
      
      Wesley Cheng (1):
        arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster
      
       arch/arm64/boot/dts/qcom/pm8150b.dtsi       |  6 ++++++
       drivers/regulator/qcom_usb_vbus-regulator.c | 12 ++++++++++++
       2 files changed, 18 insertions(+)
      
      --
      2.30.1
      8c94df1e
  11. 10 5月, 2021 11 次提交
    • A
      regulator: hi6421v600: Remove unneeded *pmic from struct hi6421_spmi_reg_info · 4446e6f3
      Axel Lin 提交于
      Use rdev->regmap instead of pmic->regmap.
      With this change, hi6421_spmi_regulator_disable can be removed and use
      regulator_disable_regmap instead.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Link: https://lore.kernel.org/r/20210430085555.1127994-1-axel.lin@ingics.comSigned-off-by: NMark Brown <broonie@kernel.org>
      4446e6f3
    • B
      00c8b0b1
    • B
      regulator: qcom_smd: Add PM8226 regulator support · 8c816d56
      Bartosz Dudziak 提交于
      Add support for PM8226 regulator which is commonly used with MSM8226 SoCs.
      Signed-off-by: NBartosz Dudziak <bartosz.dudziak@snejp.pl>
      Link: https://lore.kernel.org/r/20210502115304.8570-2-bartosz.dudziak@snejp.plSigned-off-by: NMark Brown <broonie@kernel.org>
      8c816d56
    • B
      regulator: Add a routine to set the current limit for QCOM PMIC VBUS · 67823d9d
      Bryan O'Donoghue 提交于
      Add hooks to regulator_get_current_limit_regmap() and
      regulator_set_current_limit_regmap() with an accompanying map of amperages.
      
      This lets us use the existing helper functions to map requested current
      settings to register bit-map/indicies.
      
      This change is required to elevate the default 2 Amps set by the bootloader
      to 3 Amps or indeed to constrain the value lower as the system design may
      dictate.
      
      The valid range is 500 mA to 3 A in increments of 500 mA.
      
      Cc: Mark Brown <broonie@kernel.org>
      Signed-off-by: NBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Link: https://lore.kernel.org/r/20210427130712.2005456-2-bryan.odonoghue@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      67823d9d
    • L
      Linux 5.13-rc1 · 6efb943b
      Linus Torvalds 提交于
      6efb943b
    • L
      fbmem: fix horribly incorrect placement of __maybe_unused · 6dae40ae
      Linus Torvalds 提交于
      Commit b9d79e4c ("fbmem: Mark proc_fb_seq_ops as __maybe_unused")
      places the '__maybe_unused' in an entirely incorrect location between
      the "struct" keyword and the structure name.
      
      It's a wonder that gcc accepts that silently, but clang quite reasonably
      warns about it:
      
          drivers/video/fbdev/core/fbmem.c:736:21: warning: attribute declaration must precede definition [-Wignored-attributes]
          static const struct __maybe_unused seq_operations proc_fb_seq_ops = {
                              ^
      
      Fix it.
      
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6dae40ae
    • L
      Merge tag 'drm-next-2021-05-10' of git://anongit.freedesktop.org/drm/drm · efc58a96
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Bit later than usual, I queued them all up on Friday then promptly
        forgot to write the pull request email. This is mainly amdgpu fixes,
        with some radeon/msm/fbdev and one i915 gvt fix thrown in.
      
        amdgpu:
         - MPO hang workaround
         - Fix for concurrent VM flushes on vega/navi
         - dcefclk is not adjustable on navi1x and newer
         - MST HPD debugfs fix
         - Suspend/resumes fixes
         - Register VGA clients late in case driver fails to load
         - Fix GEM leak in user framebuffer create
         - Add support for polaris12 with 32 bit memory interface
         - Fix duplicate cursor issue when using overlay
         - Fix corruption with tiled surfaces on VCN3
         - Add BO size and stride check to fix BO size verification
      
        radeon:
         - Fix off-by-one in power state parsing
         - Fix possible memory leak in power state parsing
      
        msm:
         - NULL ptr dereference fix
      
        fbdev:
         - procfs disabled warning fix
      
        i915:
         - gvt: Fix a possible division by zero in vgpu display rate
           calculation"
      
      * tag 'drm-next-2021-05-10' of git://anongit.freedesktop.org/drm/drm:
        drm/amdgpu: Use device specific BO size & stride check.
        drm/amdgpu: Init GFX10_ADDR_CONFIG for VCN v3 in DPG mode.
        drm/amd/pm: initialize variable
        drm/radeon: Avoid power table parsing memory leaks
        drm/radeon: Fix off-by-one power_state index heap overwrite
        drm/amd/display: Fix two cursor duplication when using overlay
        drm/amdgpu: add new MC firmware for Polaris12 32bit ASIC
        fbmem: Mark proc_fb_seq_ops as __maybe_unused
        drm/msm/dpu: Delete bonkers code
        drm/i915/gvt: Prevent divided by zero when calculating refresh rate
        amdgpu: fix GEM obj leak in amdgpu_display_user_framebuffer_create
        drm/amdgpu: Register VGA clients after init can no longer fail
        drm/amdgpu: Handling of amdgpu_device_resume return value for graceful teardown
        drm/amdgpu: fix r initial values
        drm/amd/display: fix wrong statement in mst hpd debugfs
        amdgpu/pm: set pp_dpm_dcefclk to readonly on NAVI10 and newer gpus
        amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID
        drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
        drm/amd/display: Reject non-zero src_y and src_x for video planes
      efc58a96
    • L
      Merge tag 'block-5.13-2021-05-09' of git://git.kernel.dk/linux-block · 506c3079
      Linus Torvalds 提交于
      Pull block fix from Jens Axboe:
       "Turns out the bio max size change still has issues, so let's get it
        reverted for 5.13-rc1. We'll shake out the issues there and defer it
        to 5.14 instead"
      
      * tag 'block-5.13-2021-05-09' of git://git.kernel.dk/linux-block:
        Revert "bio: limit bio max size"
      506c3079
    • L
      Merge tag '5.13-rc-smb3-part3' of git://git.samba.org/sfrench/cifs-2.6 · 0a55a1fb
      Linus Torvalds 提交于
      Pull cifs fixes from Steve French:
       "Three small SMB3 chmultichannel related changesets (also for stable)
        from the SMB3 test event this week.
      
        The other fixes are still in review/testing"
      
      * tag '5.13-rc-smb3-part3' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: if max_channels set to more than one channel request multichannel
        smb3: do not attempt multichannel to server which does not support it
        smb3: when mounting with multichannel include it in requested capabilities
      0a55a1fb
    • L
      Merge tag 'sched-urgent-2021-05-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9819f682
      Linus Torvalds 提交于
      Pull scheduler fixes from Thomas Gleixner:
       "A set of scheduler updates:
      
         - Prevent PSI state corruption when schedule() races with cgroup
           move.
      
           A recent commit combined two PSI callbacks to reduce the number of
           cgroup tree updates, but missed that schedule() can drop rq::lock
           for load balancing, which opens the race window for
           cgroup_move_task() which then observes half updated state.
      
           The fix is to solely use task::ps_flags instead of looking at the
           potentially mismatching scheduler state
      
         - Prevent an out-of-bounds access in uclamp caused bu a rounding
           division which can lead to an off-by-one error exceeding the
           buckets array size.
      
         - Prevent unfairness caused by missing load decay when a task is
           attached to a cfs runqueue.
      
           The old load of the task was attached to the runqueue and never
           removed. Fix it by enforcing the load update through the hierarchy
           for unthrottled run queue instances.
      
         - A documentation fix fot the 'sched_verbose' command line option"
      
      * tag 'sched-urgent-2021-05-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/fair: Fix unfairness caused by missing load decay
        sched: Fix out-of-bound access in uclamp
        psi: Fix psi state corruption when schedule() races with cgroup move
        sched,doc: sched_debug_verbose cmdline should be sched_verbose
      9819f682
    • L
      Merge tag 'locking-urgent-2021-05-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 732a27a0
      Linus Torvalds 提交于
      Pull locking fixes from Thomas Gleixner:
       "A set of locking related fixes and updates:
      
         - Two fixes for the futex syscall related to the timeout handling.
      
           FUTEX_LOCK_PI does not support the FUTEX_CLOCK_REALTIME bit and
           because it's not set the time namespace adjustment for clock
           MONOTONIC is applied wrongly.
      
           FUTEX_WAIT cannot support the FUTEX_CLOCK_REALTIME bit because its
           always a relative timeout.
      
         - Cleanups in the futex syscall entry points which became obvious
           when the two timeout handling bugs were fixed.
      
         - Cleanup of queued_write_lock_slowpath() as suggested by Linus
      
         - Fixup of the smp_call_function_single_async() prototype"
      
      * tag 'locking-urgent-2021-05-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        futex: Make syscall entry points less convoluted
        futex: Get rid of the val2 conditional dance
        futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
        Revert 337f1304 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
        locking/qrwlock: Cleanup queued_write_lock_slowpath()
        smp: Fix smp_call_function_single_async prototype
      732a27a0