1. 22 1月, 2021 5 次提交
  2. 21 1月, 2021 8 次提交
    • M
      Merge series "Really implement Qualcomm LAB/IBB regulators" from... · e3457822
      Mark Brown 提交于
      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
    • P
      regulator: axp20x: Fix reference cout leak · e78bf6be
      Pan Bian 提交于
      Decrements the reference count of device node and its child node.
      
      Fixes: dfe7a1b0 ("regulator: AXP20x: Add support for regulators subsystem")
      Signed-off-by: NPan Bian <bianpan2016@163.com>
      Link: https://lore.kernel.org/r/20210120123313.107640-1-bianpan2016@163.comSigned-off-by: NMark Brown <broonie@kernel.org>
      e78bf6be
    • A
      regulator: qcom-labibb: Document SCP/OCP interrupts · 94992004
      AngeloGioacchino Del Regno 提交于
      Short-Circuit Protection (SCP) and Over-Current Protection (OCP) are
      now implemented in the driver: document the interrupts.
      This also fixes wrong documentation about the SCP interrupt for LAB.
      Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
      Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      Link: https://lore.kernel.org/r/20210119174421.226541-7-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      94992004
    • A
      55813040
    • A
      regulator: qcom-labibb: Implement short-circuit and over-current IRQs · 390af53e
      AngeloGioacchino Del Regno 提交于
      Short-Circuit Protection (SCP) and Over-Current Protection (OCP) are
      very important for regulators like LAB and IBB, which are designed to
      provide from very small to relatively big amounts of current to the
      device (normally, a display).
      
      Now that this regulator supports both voltage setting and current
      limiting in this driver, to me it looked like being somehow essential
      to provide support for SCP and OCP, for two reasons:
      1. SCP is a drastic measure to prevent damaging "more" hardware in
         the worst situations, if any was damaged, preventing potentially
         drastic issues;
      2. OCP is a great way to protect the hardware that we're powering
         through these regulators as if anything bad happens, the HW will
         draw more current than expected: in this case, the OCP interrupt
         will fire and the regulators will be immediately shut down,
         preventing hardware damage in many cases.
      
      Both interrupts were successfully tested in a "sort-of" controlled
      manner, with the following methodology:
      
      Short-Circuit Protection (SCP):
      1. Set LAB/IBB to 4.6/-1.4V, current limit 200mA/50mA;
      2. Connect a 10 KOhm resistor to LAB/IBB by poking the right traces
         on a FxTec Pro1 smartphone for a very brief time (in short words,
         "just a rapid touch with flying wires");
      3. The Short-Circuit protection trips: IRQ raises, regulators get
         cut. Recovery OK, test repeated without rebooting, OK.
      
      Over-Current Protection (OCP):
      1. Set LAB/IBB to the expected voltage to power up the display of
         a Sony Xperia XZ Premium smartphone (Sharp LS055D1SX04), set
         current limit to LAB 200mA, IBB 50mA (the values that this
         display unit needs are 200/800mA);
      2. Boot the kernel: OCP fires. Recovery never happens because
         the selected current limit is too low, but that's expected.
         Test OK.
      
      3. Set LAB/IBB to the expected current limits for XZ Premium
         (LAB 200mA, IBB 800mA), but lower than expected voltage,
         specifically LAB 5.4V, IBB -5.6V (instead of 5.6, -5.8V);
      4. Boot the kernel: OCP fires. Recovery never happens because
         the selected voltage (still in the working range limits)
         is producing a current draw of more than 200mA on LAB.
         Test OK.
      Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
      Link: https://lore.kernel.org/r/20210119174421.226541-6-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      390af53e
    • A
      regulator: qcom-labibb: Implement pull-down, softstart, active discharge · 3bc7cb99
      AngeloGioacchino Del Regno 提交于
      Soft start is required to avoid inrush current during LAB ramp-up and
      IBB ramp-down, protecting connected hardware to which we supply voltage.
      
      Since soft start is configurable on both LAB and IBB regulators, it
      was necessary to add two DT properties, respectively "qcom,soft-start-us"
      to control LAB ramp-up and "qcom,discharge-resistor-kohms" to control
      the discharge resistor for IBB ramp-down, which obviously brought the
      need of implementing a of_parse callback for both regulators.
      
      Finally, also implement pull-down mode in order to avoid unpredictable
      behavior when the regulators are disabled (random voltage spikes etc).
      Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
      Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      Link: https://lore.kernel.org/r/20210119174421.226541-4-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      3bc7cb99
    • A
      regulator: qcom-labibb: Implement current limiting · 8056704b
      AngeloGioacchino Del Regno 提交于
      LAB and IBB regulators can be current-limited by setting the
      appropriate registers, but this operation is granted only after
      sending an unlock code for secure access.
      
      Besides the secure access, it would be possible to use the
      regmap helper for get_current_limit, as there is no security
      blocking reads, but I chose not to as to avoid having a very
      big array containing current limits, especially for IBB.
      
      That said, these regulators support current limiting for:
      - LAB (pos): 200-1600mA, with 200mA per step (8 steps),
      - IBB (neg):   0-1550mA, with  50mA per step (32 steps).
      Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
      Link: https://lore.kernel.org/r/20210119174421.226541-3-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      8056704b
    • A
      regulator: qcom-labibb: Switch voltage ops from linear_range to linear · 9a12eb70
      AngeloGioacchino Del Regno 提交于
      The LAB and IBB regulator have just one range and it is useless
      to use linear_range ops, as these are used to express multiple
      linear ranges.
      
      Switch list_voltage and map_voltage callbacks to *_linear instead.
      Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
      Link: https://lore.kernel.org/r/20210119174421.226541-2-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      9a12eb70
  3. 16 1月, 2021 1 次提交
    • M
      Merge series "Really implement Qualcomm LAB/IBB regulators" from... · f35f6d8c
      Mark Brown 提交于
      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 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: Implement voltage selector ops
        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     | 661 +++++++++++++++++-
       3 files changed, 686 insertions(+), 13 deletions(-)
      
      --
      2.29.2
      f35f6d8c
  4. 15 1月, 2021 7 次提交
  5. 14 1月, 2021 1 次提交
  6. 13 1月, 2021 2 次提交
  7. 11 1月, 2021 12 次提交
    • L
      Linux 5.11-rc3 · 7c53f6b6
      Linus Torvalds 提交于
      7c53f6b6
    • L
      Merge tag 'kbuild-fixes-v5.11' of... · 20210a98
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 688daed2
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block · ed41fd07
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'io_uring-5.11-2021-01-10' of git://git.kernel.dk/linux-block · d430adfe
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 28318f53
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'staging-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 4ad9a28f
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'char-misc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · e07cd2f3
      Linus Torvalds 提交于
      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
    • V
      Documentation: kbuild: Fix section reference · 5625dcfb
      Viresh Kumar 提交于
      Section 3.11 was incorrectly called 3.9, fix it.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      5625dcfb
    • L
      Merge tag 'arc-5.11-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 0653161f
      Linus Torvalds 提交于
      Pull ARC fixes from Vineet Gupta:
      
       - Address the 2nd boot failure due to snafu in signal handling code
         (first was generic console ttynull issue)
      
       - misc other fixes
      
      * tag 'arc-5.11-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: [hsdk]: Enable FPU_SAVE_RESTORE
        ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
        include/soc: remove headers for EZChip NPS
        arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
      0653161f
    • L
      Merge tag 'powerpc-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · b3cd1a16
      Linus Torvalds 提交于
      Pull powerpc fixes from Michael Ellerman:
      
       - A fix for machine check handling with VMAP stack on 32-bit.
      
       - A clang build fix.
      
      Thanks to Christophe Leroy and Nathan Chancellor.
      
      * tag 'powerpc-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc: Handle .text.{hot,unlikely}.* in linker script
        powerpc/32s: Fix RTAS machine check with VMAP stack
      b3cd1a16
    • L
      Merge tag 'x86_urgent_for_v5.11_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a440e4d7
      Linus Torvalds 提交于
      Pull x86 fixes from Borislav Petkov:
       "As expected, fixes started trickling in after the holidays so here is
        the accumulated pile of x86 fixes for 5.11:
      
         - A fix for fanotify_mark() missing the conversion of x86_32 native
           syscalls which take 64-bit arguments to the compat handlers due to
           former having a general compat handler. (Brian Gerst)
      
         - Add a forgotten pmd page destructor call to pud_free_pmd_page()
           where a pmd page is freed. (Dan Williams)
      
         - Make IN/OUT insns with an u8 immediate port operand handling for
           SEV-ES guests more precise by using only the single port byte and
           not the whole s32 value of the insn decoder. (Peter Gonda)
      
         - Correct a straddling end range check before returning the proper
           MTRR type, when the end address is the same as top of memory.
           (Ying-Tsun Huang)
      
         - Change PQR_ASSOC MSR update scheme when moving a task to a resctrl
           resource group to avoid significant performance overhead with some
           resctrl workloads. (Fenghua Yu)
      
         - Avoid the actual task move overhead when the task is already in the
           resource group. (Fenghua Yu)"
      
      * tag 'x86_urgent_for_v5.11_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/resctrl: Don't move a task to the same resource group
        x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
        x86/mtrr: Correct the range check before performing MTRR type lookups
        x86/sev-es: Fix SEV-ES OUT/IN immediate opcode vc handling
        x86/mm: Fix leak of pmd ptlock
        fanotify: Fix sys_fanotify_mark() on native x86-32
      a440e4d7
  8. 10 1月, 2021 4 次提交