1. 19 4月, 2020 7 次提交
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 50cc09c1
      Linus Torvalds 提交于
      Pull SCSI fixes from James Bottomley:
       "Seven fixes: three in target, one on a sg error leg, two in qla2xxx
        fixing warnings introduced in the last merge window and updating
        MAINTAINERS and one in hisi_sas fixing a problem introduced by libata"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: sg: add sg_remove_request in sg_common_write
        scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
        scsi: target: fix PR IN / READ FULL STATUS for FC
        scsi: target: Write NULL to *port_nexus_ptr if no ISID
        scsi: MAINTAINERS: Update qla2xxx FC-SCSI driver maintainer
        scsi: qla2xxx: Fix regression warnings
        scsi: hisi_sas: Fix build error without SATA_HOST
      50cc09c1
    • L
      Merge tag 'hwmon-for-v5.7-rc2' of... · eeaa7625
      Linus Torvalds 提交于
      Merge tag 'hwmon-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
      
       - Fix up chip IDs (isl68137)
      
       - error handling for invalid temperatures and use true module name
         (drivetemp)
      
       - Fix static symbol warnings (k10temp)
      
       - Use valid hwmon device name (jc42)
      
      * tag 'hwmon-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (jc42) Fix name to have no illegal characters
        hwmon: (k10temp) make some symbols static
        hwmon: (drivetemp) Return -ENODATA for invalid temperatures
        hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section
        hwmon: (pmbus/isl68137) Fix up chip IDs
      eeaa7625
    • L
      Merge tag 'xfs-5.7-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · c0d73a86
      Linus Torvalds 提交于
      Pull xfs fixes from Darrick Wong:
       "The three commits here fix some livelocks and other clashes with
        fsfreeze, a potential corruption problem, and a minor race between
        processes freeing and allocating space when the filesystem is near
        ENOSPC.
      
        Summary:
      
         - Fix a partially uninitialized variable.
      
         - Teach the background gc threads to apply for fsfreeze protection.
      
         - Fix some scaling problems when multiple threads try to flush the
           filesystem when we're about to hit ENOSPC"
      
      * tag 'xfs-5.7-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: move inode flush to the sync workqueue
        xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
        xfs: acquire superblock freeze protection on eofblocks scans
      c0d73a86
    • L
      Merge tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 774acb2a
      Linus Torvalds 提交于
      Pull thread fixes from Christian Brauner:
       "A few fixes and minor improvements:
      
         - Correctly validate the cgroup file descriptor when clone3() is used
           with CLONE_INTO_CGROUP.
      
         - Check that a new enough version of struct clone_args is passed
           which supports the cgroup file descriptor argument when
           CLONE_INTO_CGROUP is set in the flags argument.
      
         - Catch nonsensical struct clone_args layouts at build time.
      
         - Catch extensions of struct clone_args without updating the uapi
           visible size definitions at build time.
      
         - Check whether the signal is valid early in kill_pid_usb_asyncio()
           before doing further work.
      
         - Replace open-coded rcu_read_lock()+kill_pid_info()+rcu_read_unlock()
           sequence in kill_something_info() with kill_proc_info() which is a
           dedicated helper to do just that"
      
      * tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        clone3: add build-time CLONE_ARGS_SIZE_VER* validity checks
        clone3: add a check for the user struct size if CLONE_INTO_CGROUP is set
        clone3: fix cgroup argument sanity check
        signal: use kill_proc_info instead of kill_pid_info in kill_something_info
        signal: check sig before setting info in kill_pid_usb_asyncio
      774acb2a
    • L
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · b484f3c3
      Linus Torvalds 提交于
      Pull i2c fixes from Wolfram Sang:
       "Some driver bugfixes and an old API removal now that all users are
        gone"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: tegra: Synchronize DMA before termination
        i2c: tegra: Better handle case where CPU0 is busy for a long time
        i2c: remove i2c_new_probed_device API
        i2c: altera: use proper variable to hold errno
        i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT
      b484f3c3
    • L
      Merge tag 'drm-fixes-2020-04-18' of git://anongit.freedesktop.org/drm/drm · fecca689
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Quiet enough for rc2, mostly amdgpu fixes, a couple of i915 fixes, and
        one nouveau module firmware fix:
      
        i915:
         - Fix guest page access by using the brand new VFIO dma r/w interface (Yan)
         - Fix for i915 perf read buffers (Ashutosh)
      
        amdgpu:
         - gfx10 fix
         - SMU7 overclocking fix
         - RAS fix
         - GPU reset fix
         - Fix a regression in a previous suspend/resume fix
         - Add a gfxoff quirk
      
        nouveau:
         - fix missing MODULE_FIRMWARE"
      
      * tag 'drm-fixes-2020-04-18' of git://anongit.freedesktop.org/drm/drm:
        drm/nouveau/sec2/gv100-: add missing MODULE_FIRMWARE()
        drm/amdgpu/gfx9: add gfxoff quirk
        drm/amdgpu: fix the hw hang during perform system reboot and reset
        drm/i915/gvt: switch to user vfio_group_pin/upin_pages
        drm/i915/gvt: subsitute kvm_read/write_guest with vfio_dma_rw
        drm/i915/gvt: hold reference of VFIO group during opening of vgpu
        drm/i915/perf: Do not clear pollin for small user read buffers
        drm/amdgpu: fix wrong vram lost counter increment V2
        drm/amd/powerplay: unload mp1 for Arcturus RAS baco reset
        drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
        Revert "drm/amdgpu: change SH MEM alignment mode for gfx10"
      fecca689
    • S
      hwmon: (jc42) Fix name to have no illegal characters · c843b382
      Sascha Hauer 提交于
      The jc42 driver passes I2C client's name as hwmon device name. In case
      of device tree probed devices this ends up being part of the compatible
      string, "jc-42.4-temp". This name contains hyphens and the hwmon core
      doesn't like this:
      
      jc42 2-0018: hwmon: 'jc-42.4-temp' is not a valid name attribute, please fix
      
      This changes the name to "jc42" which doesn't have any illegal
      characters.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Link: https://lore.kernel.org/r/20200417092853.31206-1-s.hauer@pengutronix.deSigned-off-by: NGuenter Roeck <linux@roeck-us.net>
      c843b382
  2. 18 4月, 2020 13 次提交
  3. 17 4月, 2020 20 次提交
    • M
      kbuild: check libyaml installation for 'make dt_binding_check' · 0903060f
      Masahiro Yamada 提交于
      If you run 'make dtbs_check' without installing the libyaml package,
      the error message "dtc needs libyaml ..." is shown.
      
      This should be checked also for 'make dt_binding_check' because dtc
      needs to validate *.example.dts extracted from *.yaml files.
      
      It is missing since commit 4f0e3a57 ("kbuild: Add support for DT
      binding schema checks"), but this fix-up is applicable only after commit
      e10c4321 ("kbuild: allow to run dt_binding_check and dtbs_check
      in a single command").
      
      I gave the Fixes tag to the latter in case somebody is interested in
      back-porting this.
      
      Fixes: e10c4321 ("kbuild: allow to run dt_binding_check and dtbs_check in a single command")
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      0903060f
    • T
      blk-wbt: Drop needless newlines from tracepoint format strings · 3f22037d
      Tommi Rantala 提交于
      Drop needless newlines from tracepoint format strings, they only add
      empty lines to perf tracing output.
      Signed-off-by: NTommi Rantala <tommi.t.rantala@nokia.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      3f22037d
    • T
      blk-wbt: Use tracepoint_string() for wbt_step tracepoint string literals · 3a89c25d
      Tommi Rantala 提交于
      Use tracepoint_string() for string literals that are used in the
      wbt_step tracepoint, so that userspace tools can display the string
      content.
      Signed-off-by: NTommi Rantala <tommi.t.rantala@nokia.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      3a89c25d
    • S
      s390/dasd: remove IOSCHED_DEADLINE from DASD Kconfig · 3dceecfa
      Stefan Haberland 提交于
      CONFIG_IOSCHED_DEADLINE was removed with
      commit f382fb0b ("block: remove legacy IO schedulers")
      
      and setting of the scheduler was removed with
      commit a5fd8ddc ("s390/dasd: remove setting of scheduler from driver").
      
      So get rid of the select.
      Reported-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NStefan Haberland <sth@linux.ibm.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      3dceecfa
    • F
      of: unittest: kmemleak in duplicate property update · 29acfb65
      Frank Rowand 提交于
      kmemleak reports several memory leaks from devicetree unittest.
      This is the fix for problem 5 of 5.
      
      When overlay 'overlay_bad_add_dup_prop' is applied, the apply code
      properly detects that a memory leak will occur if the overlay is removed
      since the duplicate property is located in a base devicetree node and
      reports via printk():
      
        OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/substation@100/motor-1/rpm_avail
        OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/substation@100/motor-1/rpm_avail
      
      The overlay is removed when the apply code detects multiple changesets
      modifying the same property.  This is reported via printk():
      
        OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/rpm_avail
      
      As a result of this error, the overlay is removed resulting in the
      expected memory leak.
      
      Add another device node level to the overlay so that the duplicate
      property is located in a node added by the overlay, thus no memory
      leak will occur when the overlay is removed.
      
      Thus users of kmemleak will not have to debug this leak in the future.
      
      Fixes: 2fe0e876 ("of: overlay: check prevents multiple fragments touching same property")
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Signed-off-by: NFrank Rowand <frank.rowand@sony.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      29acfb65
    • F
      of: overlay: kmemleak in dup_and_fixup_symbol_prop() · 478ff649
      Frank Rowand 提交于
      kmemleak reports several memory leaks from devicetree unittest.
      This is the fix for problem 4 of 5.
      
      target_path was not freed in the non-error path.
      
      Fixes: e0a58f3e ("of: overlay: remove a dependency on device node full_name")
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Signed-off-by: NFrank Rowand <frank.rowand@sony.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      478ff649
    • F
      of: unittest: kmemleak in of_unittest_overlay_high_level() · 145fc138
      Frank Rowand 提交于
      kmemleak reports several memory leaks from devicetree unittest.
      This is the fix for problem 3 of 5.
      
      of_unittest_overlay_high_level() failed to kfree the newly created
      property when the property named 'name' is skipped.
      
      Fixes: 39a751a4 ("of: change overlay apply input data from unflattened to FDT")
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Signed-off-by: NFrank Rowand <frank.rowand@sony.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      145fc138
    • F
      of: unittest: kmemleak in of_unittest_platform_populate() · 216830d2
      Frank Rowand 提交于
      kmemleak reports several memory leaks from devicetree unittest.
      This is the fix for problem 2 of 5.
      
      of_unittest_platform_populate() left an elevated reference count for
      grandchild nodes (which are platform devices).  Fix the platform
      device reference counts so that the memory will be freed.
      
      Fixes: fb2caa50 ("of/selftest: add testcase for nodes with same name and address")
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Signed-off-by: NFrank Rowand <frank.rowand@sony.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      216830d2
    • F
      of: unittest: kmemleak on changeset destroy · b3fb36ed
      Frank Rowand 提交于
      kmemleak reports several memory leaks from devicetree unittest.
      This is the fix for problem 1 of 5.
      
      of_unittest_changeset() reaches deeply into the dynamic devicetree
      functions.  Several nodes were left with an elevated reference
      count and thus were not properly cleaned up.  Fix the reference
      counts so that the memory will be freed.
      
      Fixes: 201c910b ("of: Transactional DT support.")
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Signed-off-by: NFrank Rowand <frank.rowand@sony.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      b3fb36ed
    • M
      MAINTAINERS: dt: fix pointers for ARM Integrator, Versatile and RealView · 21a431e6
      Mauro Carvalho Chehab 提交于
      There's a conversion from a plain text binding file into 4 yaml ones.
      The old file got removed, causing this new warning:
      
      	Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/arm/arm-boards
      
      Address it by replacing the old reference by the new ones
      
      Fixes: 4b900070 ("dt-bindings: arm: Add Versatile YAML schema")
      Fixes: 2d483550 ("dt-bindings: arm: Drop the non-YAML bindings")
      Fixes: 7db625b9 ("dt-bindings: arm: Add RealView YAML schema")
      Fixes: 4fb00d90 ("dt-bindings: arm: Add Versatile Express and Juno YAML schema")
      Fixes: 33fbfb3e ("dt-bindings: arm: Add Integrator YAML schema")
      Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      21a431e6
    • M
      MAINTAINERS: dt: update display/allwinner file entry · f4d859b7
      Mauro Carvalho Chehab 提交于
      Changeset f5a98bfe ("dt-bindings: display: Convert Allwinner display pipeline to schemas")
      split Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
      into several files. Yet, it kept the old place at MAINTAINERS.
      
      Update it to point to the new place.
      
      Fixes: f5a98bfe ("dt-bindings: display: Convert Allwinner display pipeline to schemas")
      Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      f4d859b7
    • A
      dt-bindings: iio: dac: AD5570R fix bindings errors · 2cf3818f
      Alexandru Tachici 提交于
      Replaced num property with reg property, fixed errors
      reported by dt-binding-check.
      
      Fixes: ea52c212 ("dt-bindings: iio: dac: Add docs for AD5770R DAC")
      Signed-off-by: NAlexandru Tachici <alexandru.tachici@analog.com>
      [robh: Fix required property list, fix Fixes tag]
      Signed-off-by: NRob Herring <robh@kernel.org>
      2cf3818f
    • J
      btrfs: fix setting last_trans for reloc roots · aec7db3b
      Josef Bacik 提交于
      I made a mistake with my previous fix, I assumed that we didn't need to
      mess with the reloc roots once we were out of the part of relocation where
      we are actually moving the extents.
      
      The subtle thing that I missed is that btrfs_init_reloc_root() also
      updates the last_trans for the reloc root when we do
      btrfs_record_root_in_trans() for the corresponding fs_root.  I've added a
      comment to make sure future me doesn't make this mistake again.
      
      This showed up as a WARN_ON() in btrfs_copy_root() because our
      last_trans didn't == the current transid.  This could happen if we
      snapshotted a fs root with a reloc root after we set
      rc->create_reloc_tree = 0, but before we actually merge the reloc root.
      
      Worth mentioning that the regression produced the following warning
      when running snapshot creation and balance in parallel:
      
        BTRFS info (device sdc): relocating block group 30408704 flags metadata|dup
        ------------[ cut here ]------------
        WARNING: CPU: 0 PID: 12823 at fs/btrfs/ctree.c:191 btrfs_copy_root+0x26f/0x430 [btrfs]
        CPU: 0 PID: 12823 Comm: btrfs Tainted: G        W 5.6.0-rc7-btrfs-next-58 #1
        Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
        RIP: 0010:btrfs_copy_root+0x26f/0x430 [btrfs]
        RSP: 0018:ffffb96e044279b8 EFLAGS: 00010202
        RAX: 0000000000000009 RBX: ffff9da70bf61000 RCX: ffffb96e04427a48
        RDX: ffff9da733a770c8 RSI: ffff9da70bf61000 RDI: ffff9da694163818
        RBP: ffff9da733a770c8 R08: fffffffffffffff8 R09: 0000000000000002
        R10: ffffb96e044279a0 R11: 0000000000000000 R12: ffff9da694163818
        R13: fffffffffffffff8 R14: ffff9da6d2512000 R15: ffff9da714cdac00
        FS:  00007fdeacf328c0(0000) GS:ffff9da735e00000(0000) knlGS:0000000000000000
        CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
        CR2: 000055a2a5b8a118 CR3: 00000001eed78002 CR4: 00000000003606f0
        DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
        DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
        Call Trace:
         ? create_reloc_root+0x49/0x2b0 [btrfs]
         ? kmem_cache_alloc_trace+0xe5/0x200
         create_reloc_root+0x8b/0x2b0 [btrfs]
         btrfs_reloc_post_snapshot+0x96/0x5b0 [btrfs]
         create_pending_snapshot+0x610/0x1010 [btrfs]
         create_pending_snapshots+0xa8/0xd0 [btrfs]
         btrfs_commit_transaction+0x4c7/0xc50 [btrfs]
         ? btrfs_mksubvol+0x3cd/0x560 [btrfs]
         btrfs_mksubvol+0x455/0x560 [btrfs]
         __btrfs_ioctl_snap_create+0x15f/0x190 [btrfs]
         btrfs_ioctl_snap_create_v2+0xa4/0xf0 [btrfs]
         ? mem_cgroup_commit_charge+0x6e/0x540
         btrfs_ioctl+0x12d8/0x3760 [btrfs]
         ? do_raw_spin_unlock+0x49/0xc0
         ? _raw_spin_unlock+0x29/0x40
         ? __handle_mm_fault+0x11b3/0x14b0
         ? ksys_ioctl+0x92/0xb0
         ksys_ioctl+0x92/0xb0
         ? trace_hardirqs_off_thunk+0x1a/0x1c
         __x64_sys_ioctl+0x16/0x20
         do_syscall_64+0x5c/0x280
         entry_SYSCALL_64_after_hwframe+0x49/0xbe
        RIP: 0033:0x7fdeabd3bdd7
      
      Fixes: 2abc726a ("btrfs: do not init a reloc root if we aren't relocating")
      Reviewed-by: NFilipe Manana <fdmanana@suse.com>
      Signed-off-by: NJosef Bacik <josef@toxicpanda.com>
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      aec7db3b
    • J
      arm/xen: make _xen_start_info static · 74f4c438
      Jason Yan 提交于
      Fix the following sparse warning:
      
      arch/arm64/xen/../../arm/xen/enlighten.c:39:19: warning: symbol
      '_xen_start_info' was not declared. Should it be static?
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NJason Yan <yanaijie@huawei.com>
      Reviewed-by: NStefano Stabellini <sstabellini@kernel.org>
      Link: https://lore.kernel.org/r/20200415084853.5808-1-yanaijie@huawei.comSigned-off-by: NJuergen Gross <jgross@suse.com>
      74f4c438
    • L
      Merge tag 'nfs-for-5.7-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 7a56db02
      Linus Torvalds 提交于
      Pull NFS client bugfix from Trond Myklebust:
       "Fix an ABBA spinlock issue in pnfs_update_layout()"
      
      * tag 'nfs-for-5.7-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: Fix an ABBA spinlock issue in pnfs_update_layout()
      7a56db02
    • L
      Merge tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of... · 2fcd8014
      Linus Torvalds 提交于
      Merge tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome-platform fixes from Benson Leung:
       "Two small fixes for cros_ec_sensorhub_ring.c, addressing issues
        introduced in the cros_ec_sensorhub FIFO support commit"
      
      * tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: cros_ec_sensorhub: Add missing '\n' in log messages
        platform/chrome: cros_ec_sensorhub: Off by one in cros_sensorhub_send_sample()
      2fcd8014
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · c8372665
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Disable RISCV BPF JIT builds when !MMU, from Björn Töpel.
      
       2) nf_tables leaves dangling pointer after free, fix from Eric Dumazet.
      
       3) Out of boundary write in __xsk_rcv_memcpy(), fix from Li RongQing.
      
       4) Adjust icmp6 message source address selection when routes have a
          preferred source address set, from Tim Stallard.
      
       5) Be sure to validate HSR protocol version when creating new links,
          from Taehee Yoo.
      
       6) CAP_NET_ADMIN should be sufficient to manage l2tp tunnels even in
          non-initial namespaces, from Michael Weiß.
      
       7) Missing release firmware call in mlx5, from Eran Ben Elisha.
      
       8) Fix variable type in macsec_changelink(), caught by KASAN. Fix from
          Taehee Yoo.
      
       9) Fix pause frame negotiation in marvell phy driver, from Clemens
          Gruber.
      
      10) Record RX queue early enough in tun packet paths such that XDP
          programs will see the correct RX queue index, from Gilberto Bertin.
      
      11) Fix double unlock in mptcp, from Florian Westphal.
      
      12) Fix offset overflow in ARM bpf JIT, from Luke Nelson.
      
      13) marvell10g needs to soft reset PHY when coming out of low power
          mode, from Russell King.
      
      14) Fix MTU setting regression in stmmac for some chip types, from
          Florian Fainelli.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (101 commits)
        amd-xgbe: Use __napi_schedule() in BH context
        mISDN: make dmril and dmrim static
        net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
        net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
        tipc: fix incorrect increasing of link window
        Documentation: Fix tcp_challenge_ack_limit default value
        net: tulip: make early_486_chipsets static
        dt-bindings: net: ethernet-phy: add desciption for ethernet-phy-id1234.d400
        ipv6: remove redundant assignment to variable err
        net/rds: Use ERR_PTR for rds_message_alloc_sgs()
        net: mscc: ocelot: fix untagged packet drops when enslaving to vlan aware bridge
        selftests/bpf: Check for correct program attach/detach in xdp_attach test
        libbpf: Fix type of old_fd in bpf_xdp_set_link_opts
        libbpf: Always specify expected_attach_type on program load if supported
        xsk: Add missing check on user supplied headroom size
        mac80211: fix channel switch trigger from unknown mesh peer
        mac80211: fix race in ieee80211_register_hw()
        net: marvell10g: soft-reset the PHY when coming out of low power
        net: marvell10g: report firmware version
        net/cxgb4: Check the return from t4_query_params properly
        ...
      c8372665
    • S
      amd-xgbe: Use __napi_schedule() in BH context · d518691c
      Sebastian Andrzej Siewior 提交于
      The driver uses __napi_schedule_irqoff() which is fine as long as it is
      invoked with disabled interrupts by everybody. Since the commit
      mentioned below the driver may invoke xgbe_isr_task() in tasklet/softirq
      context. This may lead to list corruption if another driver uses
      __napi_schedule_irqoff() in IRQ context.
      
      Use __napi_schedule() which safe to use from IRQ and softirq context.
      
      Fixes: 85b85c85 ("amd-xgbe: Re-issue interrupt if interrupt status not cleared")
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Acked-by: NTom Lendacky <thomas.lendacky@amd.com>
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d518691c
    • J
      mISDN: make dmril and dmrim static · 05eab4f3
      Jason Yan 提交于
      Fix the following sparse warning:
      
      drivers/isdn/hardware/mISDN/mISDNisar.c:746:12: warning: symbol 'dmril'
      was not declared. Should it be static?
      drivers/isdn/hardware/mISDN/mISDNisar.c:749:12: warning: symbol 'dmrim'
      was not declared. Should it be static?
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NJason Yan <yanaijie@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      05eab4f3
    • F
      net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes · 806fd188
      Florian Fainelli 提交于
      After commit bfcb8132 ("net: dsa:
      configure the MTU for switch ports") my Lamobo R1 platform which uses
      an allwinner,sun7i-a20-gmac compatible Ethernet MAC started to fail
      by rejecting a MTU of 1536. The reason for that is that the DMA
      capabilities are not readable on this version of the IP, and there
      is also no 'tx-fifo-depth' property being provided in Device Tree. The
      property is documented as optional, and is not provided.
      
      Chen-Yu indicated that the FIFO sizes are 4KB for TX and 16KB for RX, so
      provide these values through platform data as an immediate fix until
      various Device Tree sources get updated accordingly.
      
      Fixes: eaf4fac4 ("net: stmmac: Do not accept invalid MTU values")
      Suggested-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Acked-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      806fd188
反馈
建议
客服 返回
顶部