1. 27 3月, 2021 3 次提交
    • 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 26 次提交
  3. 25 3月, 2021 11 次提交
    • 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
    • L
      drm/nouveau/kms/nve4-nv108: Limit cursors to 128x128 · d3999c1f
      Lyude Paul 提交于
      While Kepler does technically support 256x256 cursors, it turns out that
      Kepler actually has some additional requirements for scanout surfaces that
      we're not enforcing correctly, which aren't present on Maxwell and later.
      Cursor surfaces must always use small pages (4K), and overlay surfaces must
      always use large pages (128K).
      
      Fixing this correctly though will take a bit more work: as we'll need to
      add some code in prepare_fb() to move cursor FBs in large pages to small
      pages, and vice-versa for overlay FBs. So until we have the time to do
      that, just limit cursor surfaces to 128x128 - a size small enough to always
      default to small pages.
      
      This means small ovlys are still broken on Kepler, but it is extremely
      unlikely anyone cares about those anyway :).
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Fixes: d3b2f0f7 ("drm/nouveau/kms/nv50-: Report max cursor size to userspace")
      Cc: <stable@vger.kernel.org> # v5.11+
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      d3999c1f
    • I
      psample: Fix user API breakage · e43accba
      Ido Schimmel 提交于
      Cited commit added a new attribute before the existing group reference
      count attribute, thereby changing its value and breaking existing
      applications on new kernels.
      
      Before:
      
       # psample -l
       libpsample ERROR psample_group_foreach: failed to recv message: Operation not supported
      
      After:
      
       # psample -l
       Group Num       Refcount        Group Seq
       1               1               0
      
      Fix by restoring the value of the old attribute and remove the
      misleading comments from the enumerator to avoid future bugs.
      
      Cc: stable@vger.kernel.org
      Fixes: d8bed686 ("net: psample: Add tunnel support")
      Signed-off-by: NIdo Schimmel <idosch@nvidia.com>
      Reported-by: NAdiel Bidani <adielb@nvidia.com>
      Reviewed-by: NJiri Pirko <jiri@nvidia.com>
      Reviewed-by: NPetr Machata <petrm@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e43accba
    • D
      math: Export mul_u64_u64_div_u64 · bf459478
      David S. Miller 提交于
      Fixes: f51d7bf1 ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation")
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bf459478
    • R
      Revert "xen: fix p2m size in dom0 for disabled memory hotplug case" · af44a387
      Roger Pau Monne 提交于
      This partially reverts commit 88221399 ("xen: fix p2m size in dom0
      for disabled memory hotplug case")
      
      There's no need to special case XEN_UNPOPULATED_ALLOC anymore in order
      to correctly size the p2m. The generic memory hotplug option has
      already been tied together with the Xen hotplug limit, so enabling
      memory hotplug should already trigger a properly sized p2m on Xen PV.
      
      Note that XEN_UNPOPULATED_ALLOC depends on ZONE_DEVICE which pulls in
      MEMORY_HOTPLUG.
      
      Leave the check added to __set_phys_to_machine and the adjusted
      comment about EXTRA_MEM_RATIO.
      Signed-off-by: NRoger Pau Monné <roger.pau@citrix.com>
      Reviewed-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Link: https://lore.kernel.org/r/20210324122424.58685-3-roger.pau@citrix.com
      
      [boris: fixed formatting issues]
      Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
      af44a387
    • R
      xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG · 2b514ec7
      Roger Pau Monne 提交于
      The Xen memory hotplug limit should depend on the memory hotplug
      generic option, rather than the Xen balloon configuration. It's
      possible to have a kernel with generic memory hotplug enabled, but
      without Xen balloon enabled, at which point memory hotplug won't work
      correctly due to the size limitation of the p2m.
      
      Rename the option to XEN_MEMORY_HOTPLUG_LIMIT since it's no longer
      tied to ballooning.
      
      Fixes: 9e2369c0 ("xen: add helpers to allocate unpopulated memory")
      Signed-off-by: NRoger Pau Monné <roger.pau@citrix.com>
      Reviewed-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Link: https://lore.kernel.org/r/20210324122424.58685-2-roger.pau@citrix.comSigned-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
      2b514ec7
    • A
      ch_ktls: fix enum-conversion warning · 6f235a69
      Arnd Bergmann 提交于
      gcc points out an incorrect enum assignment:
      
      drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c: In function 'chcr_ktls_cpl_set_tcb_rpl':
      drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:684:22: warning: implicit conversion from 'enum <anonymous>' to 'enum ch_ktls_open_state' [-Wenum-conversion]
      
      This appears harmless, and should apparently use 'CH_KTLS_OPEN_SUCCESS'
      instead of 'false', with the same value '0'.
      
      Fixes: efca3878 ("ch_ktls: Issue if connection offload fails")
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6f235a69
    • C
      octeontx2-af: Fix memory leak of object buf · 9e0a537d
      Colin Ian King 提交于
      Currently the error return path when lfs fails to allocate is not free'ing
      the memory allocated to buf. Fix this by adding the missing kfree.
      
      Addresses-Coverity: ("Resource leak")
      Fixes: f7884097 ("octeontx2-af: Formatting debugfs entry rsrc_alloc.")
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Acked-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9e0a537d
新手
引导
客服 返回
顶部