1. 27 3月, 2021 8 次提交
    • L
      Merge tag 'for-5.12/dm-fixes-2' of... · 0f4498ce
      Linus Torvalds 提交于
      Merge tag 'for-5.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM verity target's optional argument processing.
      
       - Fix DM core's zoned model and zone sectors checks.
      
       - Fix spurious "detected capacity change" pr_info() when creating new
         DM device.
      
       - Fix DM ioctl out of bounds array access in handling of
         DM_LIST_DEVICES_CMD when no devices exist.
      
      * tag 'for-5.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm ioctl: fix out of bounds array access when no devices
        dm: don't report "detected capacity change" on device creation
        dm table: Fix zoned model check and zone sectors check
        dm verity: fix DM_VERITY_OPTS_MAX value
      0f4498ce
    • M
      dm ioctl: fix out of bounds array access when no devices · 4edbe1d7
      Mikulas Patocka 提交于
      If there are not any dm devices, we need to zero the "dev" argument in
      the first structure dm_name_list. However, this can cause out of
      bounds write, because the "needed" variable is zero and len may be
      less than eight.
      
      Fix this bug by reporting DM_BUFFER_FULL_FLAG if the result buffer is
      too small to hold the "nl->dev" value.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      4edbe1d7
    • L
      Merge tag 'acpi-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 7931c531
      Linus Torvalds 提交于
      Pull ACPI fixes from Rafael Wysocki:
       "These fix a memory management regression in ACPICA, repair an ACPI
        blacklist entry damaged inadvertently during the 5.11 cycle and fix
        the bookkeeping of devices with the same primary device ID in the ACPI
        core.
      
        Specifics:
      
         - Make ACPICA use the same object cache consistently when allocating
           and freeing objects (Vegard Nossum)
      
         - Add a callback pointer removed inadvertently during the 5.11 cycle
           to the ACPI backlight blacklist entry for Sony VPCEH3U1E (Chris
           Chiu)
      
         - Make the ACPI device enumeration core use IDA for creating names of
           ACPI device objects with the same primary device ID to avoid using
           duplicate device object names in some cases (Andy Shevchenko)"
      
      * tag 'acpi-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPICA: Always create namespace nodes using acpi_ns_create_node()
        ACPI: scan: Use unique number for instance_no
        ACPI: video: Add missing callback back for Sony VPCEH3U1E
      7931c531
    • L
      Merge tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 8a3cbdda
      Linus Torvalds 提交于
      Pull power management fixes from Rafael Wysocki:
       "These fix an issue related to device links in the runtime PM framework
        and debugfs usage in the Energy Model code.
      
        Specifics:
      
         - Modify the runtime PM device suspend to avoid suspending supplier
           devices before the consumer device's status changes to
           RPM_SUSPENDED (Rafael Wysocki)
      
         - Change the Energy Model code to prevent it from attempting to
           create its main debugfs directory too early (Lukasz Luba)"
      
      * tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: EM: postpone creating the debugfs dir till fs_initcall
        PM: runtime: Defer suspending suppliers
      8a3cbdda
    • L
      Merge tag 'soc-fixes-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · eb3991ef
      Linus Torvalds 提交于
      Pull ARM SoC fixes from Arnd Bergmann:
       "Too many fixes have accumulated in the soc tree, so this is a fairly
        large set. As usual, most of the fixes are for devicetree files, but
        there are also notable code changes for imx and omap regressions as
        well as some maintainer file updates.
      
        imx:
         - Fix an Ethernet issue on imx6ul-14x14-evk board that is caused by
           independent PHY reset.
      
         - Add missing `dma-coherent` property for LayerScape device trees to
           fix a kernel BUG report.
      
         - Use IRQCHIP_DECLARE for AVIC driver to fix a boot issue on i.MX25
           with fw_devlink=on.
      
         - Add missing I2C pinctrl entry for imx8mp-phyboard-pollux-rdk board
           to fix the broken I2C GPIO recovery support.
      
         - Add `fsl,use-minimum-ecc` property for imx6ull-myir-mys-6ulx-eval
           device tree to fix UBI filesystem mount failure.
      
        at91:
         - wrong phy address that blocks Ethernet use on boards with sama5d27
           SoM1
      
         - restrictive pin possibilities for sam9x60
      
        omap:
         - Fix ocp interconnect bus access error reporting for omap_l3_noc by
           setting IRQF_NO_THREAD
      
         - Fix changed mmc slot order regression by adding mmc aliases for
           am335x
      
         - Fix dra7 reboot regression caused by invalid pcie reset map
      
         - Fix smartreflex init regression caused by dropped legacy data
      
         - Fix ti-sysc driver warning on unbind if reset is not deasserted
      
         - Fix flakey reset deassert for dra7 iva
      
        stm32:
         - MAINTAINER file updates
      
        broadcom:
         - brcmstb SoC ID build fix
      
         - MAINTAINER file updates"
      
      * tag 'soc-fixes-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer
        MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.
        MAINTAINERS: Update some st.com email addresses to foss.st.com
        ARM: dts: imx6ull: fix ubi filesystem mount failed
        ARM: imx6ul-14x14-evk: Do not reset the Ethernet PHYs independently
        arm64: dts: imx8mp-phyboard-pollux-rdk: Add missing pinctrl entry
        arm64: dts: ls1012a: mark crypto engine dma coherent
        arm64: dts: ls1043a: mark crypto engine dma coherent
        arm64: dts: ls1046a: mark crypto engine dma coherent
        ARM: imx: avic: Convert to using IRQCHIP_DECLARE
        ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
        ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
        ARM: dts: at91-sama5d27_som1: fix phy address to 7
        soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
        bus: ti-sysc: Fix warning on unbind if reset is not deasserted
        ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
        soc: ti: omap-prm: Fix reboot issue with invalid pcie reset map for dra7
        MAINTAINERS: rectify BROADCOM PMB (POWER MANAGEMENT BUS) DRIVER
        ARM: dts: am33xx: add aliases for mmc interfaces
        bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
      eb3991ef
    • L
      Merge tag 'for-linus-5.12b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6c20f6df
      Linus Torvalds 提交于
      Pull xen fixes from Juergen Gross:
       "This contains a small series with a more elegant fix of a problem
        which was originally fixed in rc2"
      
      * tag 'for-linus-5.12b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
        xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
      6c20f6df
    • L
      Merge tag 'drm-fixes-2021-03-26' of git://anongit.freedesktop.org/drm/drm · f944d061
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "As expected last week things were overly quiet so this week things
        seem to have caught up. It still isn't too major.
      
        msm and amdgpu lead the size here, the msm fixes are pretty varied
        across the driver, the amdgpu one is mostly the S0ix fixes with some
        other minor ones. Otherwise there are a few i915 fixes and one each
        for nouveau, etnaviv and rcar-du.
      
        msm:
         - pll fixes
         - shutdown hook fix
         - runtime resume fix
         - clear_oob fix
         - kms locking fix
         - display aux retry fix
      
        rcar-du:
         - warn_on in encoder init fix
      
        etnaviv:
         - Use FOLL_FORCE and FOLL_LONGTERM
      
        i915:
         - DisplayPort LTTPR fixes around link training and limiting it
           according to supported spec version.
         - Fix enabled_planes bitmask to really represent only logically
           enabled planes.
         - Fix DSS CTL registers for ICL DSI transcoders
         - Fix the GT fence revocation runtime PM logic.
      
        nouveau:
         - cursor size regression fix
      
        amdgpu:
         - S0ix fixes
         - Add PCI ID
         - Polaris PCIe DPM fix
         - Display fix for high refresh rate monitors"
      
      * tag 'drm-fixes-2021-03-26' of git://anongit.freedesktop.org/drm/drm: (37 commits)
        drm/nouveau/kms/nve4-nv108: Limit cursors to 128x128
        drm/i915: Fix the GT fence revocation runtime PM logic
        drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
        drm/amdgpu: Add additional Sienna Cichlid PCI ID
        drm/amd/pm: workaround for audio noise issue
        drm/i915/dsc: fix DSS CTL register usage for ICL DSI transcoders
        drm/i915: Fix enabled_planes bitmask
        drm/i915: Disable LTTPR support when the LTTPR rev < 1.4
        drm/i915: Disable LTTPR support when the DPCD rev < 1.4
        drm/i915/ilk-glk: Fix link training on links with LTTPRs
        drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
        drm/amdgpu: skip kfd suspend/resume for S0ix
        drm/amdgpu: drop S0ix checks around CG/PG in suspend
        drm/amdgpu: skip CG/PG for gfx during S0ix
        drm/amdgpu: update comments about s0ix suspend/resume
        drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend
        drm/amdgpu: re-enable suspend phase 2 for S0ix
        drm/amdgpu: move s0ix check into amdgpu_device_ip_suspend_phase2 (v3)
        drm/amdgpu: clean up non-DC suspend/resume handling
        drm/amdgpu: don't evict vram on APUs for suspend to ram (v4)
        ...
      f944d061
    • P
      remove Dan Murphy from TI from MAINTAINERS · 57a90062
      Pavel Machek 提交于
      Dan's address bounces, and has been bouncing for some time as he moved
      to other projects.
      
      I believe TI should be more careful with this, and should assign
      alternate contacts for their drivers.
      
      Anyway what we can do now is to remove the obsolete address.
      Signed-off-by: NPavel Machek <pavel@ucw.cz>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      57a90062
  2. 26 3月, 2021 28 次提交
  3. 25 3月, 2021 4 次提交
    • P
      RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server · 3408be14
      Potnuri Bharat Teja 提交于
      Not setting the ipv6 bit while destroying ipv6 listening servers may
      result in potential fatal adapter errors due to lookup engine memory hash
      errors. Therefore always set ipv6 field while destroying ipv6 listening
      servers.
      
      Fixes: 830662f6 ("RDMA/cxgb4: Add support for active and passive open connection with IPv6 address")
      Link: https://lore.kernel.org/r/20210324190453.8171-1-bharat@chelsio.comSigned-off-by: NPotnuri Bharat Teja <bharat@chelsio.com>
      Reviewed-by: NLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      3408be14
    • R
      arm64: kernel: disable CNP on Carmel · 20109a85
      Rich Wiley 提交于
      On NVIDIA Carmel cores, CNP behaves differently than it does on standard
      ARM cores. On Carmel, if two cores have CNP enabled and share an L2 TLB
      entry created by core0 for a specific ASID, a non-shareable TLBI from
      core1 may still see the shared entry. On standard ARM cores, that TLBI
      will invalidate the shared entry as well.
      
      This causes issues with patchsets that attempt to do local TLBIs based
      on cpumasks instead of broadcast TLBIs. Avoid these issues by disabling
      CNP support for NVIDIA Carmel cores.
      Signed-off-by: NRich Wiley <rwiley@nvidia.com>
      Link: https://lore.kernel.org/r/20210324002809.30271-1-rwiley@nvidia.com
      [will: Fix pre-existing whitespace issue]
      Signed-off-by: NWill Deacon <will@kernel.org>
      20109a85
    • M
      arm64/process.c: fix Wmissing-prototypes build warnings · baa96377
      Maninder Singh 提交于
      Fix GCC warnings reported when building with "-Wmissing-prototypes":
      
        arch/arm64/kernel/process.c:261:6: warning: no previous prototype for '__show_regs' [-Wmissing-prototypes]
            261 | void __show_regs(struct pt_regs *regs)
                |      ^~~~~~~~~~~
        arch/arm64/kernel/process.c:307:6: warning: no previous prototype for '__show_regs_alloc_free' [-Wmissing-prototypes]
            307 | void __show_regs_alloc_free(struct pt_regs *regs)
                |      ^~~~~~~~~~~~~~~~~~~~~~
        arch/arm64/kernel/process.c:365:5: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes]
            365 | int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
                |     ^~~~~~~~~~~~~~~~~~~~
        arch/arm64/kernel/process.c:546:41: warning: no previous prototype for '__switch_to' [-Wmissing-prototypes]
            546 | __notrace_funcgraph struct task_struct *__switch_to(struct task_struct *prev,
                |                                         ^~~~~~~~~~~
        arch/arm64/kernel/process.c:710:25: warning: no previous prototype for 'arm64_preempt_schedule_irq' [-Wmissing-prototypes]
            710 | asmlinkage void __sched arm64_preempt_schedule_irq(void)
                |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Link: https://lore.kernel.org/lkml/202103192250.AennsfXM-lkp@intel.comReported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NManinder Singh <maninder1.s@samsung.com>
      Link: https://lore.kernel.org/r/1616568899-986-1-git-send-email-maninder1.s@samsung.comSigned-off-by: NWill Deacon <will@kernel.org>
      baa96377
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · e1381380
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
       "Various fixes, all over:
      
         1) Fix overflow in ptp_qoriq_adjfine(), from Yangbo Lu.
      
         2) Always store the rx queue mapping in veth, from Maciej
            Fijalkowski.
      
         3) Don't allow vmlinux btf in map_create, from Alexei Starovoitov.
      
         4) Fix memory leak in octeontx2-af from Colin Ian King.
      
         5) Use kvalloc in bpf x86 JIT for storing jit'd addresses, from
            Yonghong Song.
      
         6) Fix tx ptp stats in mlx5, from Aya Levin.
      
         7) Check correct ip version in tun decap, fropm Roi Dayan.
      
         8) Fix rate calculation in mlx5 E-Switch code, from arav Pandit.
      
         9) Work item memork leak in mlx5, from Shay Drory.
      
        10) Fix ip6ip6 tunnel crash with bpf, from Daniel Borkmann.
      
        11) Lack of preemptrion awareness in macvlan, from Eric Dumazet.
      
        12) Fix data race in pxa168_eth, from Pavel Andrianov.
      
        13) Range validate stab in red_check_params(), from Eric Dumazet.
      
        14) Inherit vlan filtering setting properly in b53 driver, from
            Florian Fainelli.
      
        15) Fix rtnl locking in igc driver, from Sasha Neftin.
      
        16) Pause handling fixes in igc driver, from Muhammad Husaini
            Zulkifli.
      
        17) Missing rtnl locking in e1000_reset_task, from Vitaly Lifshits.
      
        18) Use after free in qlcnic, from Lv Yunlong.
      
        19) fix crash in fritzpci mISDN, from Tong Zhang.
      
        20) Premature rx buffer reuse in igb, from Li RongQing.
      
        21) Missing termination of ip[a driver message handler arrays, from
            Alex Elder.
      
        22) Fix race between "x25_close" and "x25_xmit"/"x25_rx" in hdlc_x25
            driver, from Xie He.
      
        23) Use after free in c_can_pci_remove(), from Tong Zhang.
      
        24) Uninitialized variable use in nl80211, from Jarod Wilson.
      
        25) Off by one size calc in bpf verifier, from Piotr Krysiuk.
      
        26) Use delayed work instead of deferrable for flowtable GC, from
            Yinjun Zhang.
      
        27) Fix infinite loop in NPC unmap of octeontx2 driver, from
            Hariprasad Kelam.
      
        28) Fix being unable to change MTU of dwmac-sun8i devices due to lack
            of fifo sizes, from Corentin Labbe.
      
        29) DMA use after free in r8169 with WoL, fom Heiner Kallweit.
      
        30) Mismatched prototypes in isdn-capi, from Arnd Bergmann.
      
        31) Fix psample UAPI breakage, from Ido Schimmel"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (171 commits)
        psample: Fix user API breakage
        math: Export mul_u64_u64_div_u64
        ch_ktls: fix enum-conversion warning
        octeontx2-af: Fix memory leak of object buf
        ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
        net: bridge: don't notify switchdev for local FDB addresses
        net/sched: act_ct: clear post_ct if doing ct_clear
        net: dsa: don't assign an error value to tag_ops
        isdn: capi: fix mismatched prototypes
        net/mlx5: SF, do not use ecpu bit for vhca state processing
        net/mlx5e: Fix division by 0 in mlx5e_select_queue
        net/mlx5e: Fix error path for ethtool set-priv-flag
        net/mlx5e: Offload tuple rewrite for non-CT flows
        net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP
        net/mlx5: Add back multicast stats for uplink representor
        net: ipconfig: ic_dev can be NULL in ic_close_devs
        MAINTAINERS: Combine "QLOGIC QLGE 10Gb ETHERNET DRIVER" sections into one
        docs: networking: Fix a typo
        r8169: fix DMA being used after buffer free if WoL is enabled
        net: ipa: fix init header command validation
        ...
      e1381380