01 Apr, 2020

1 commit

  • Pull networking updates from David Miller:
    "Highlights:

    1) Fix the iwlwifi regression, from Johannes Berg.

    2) Support BSS coloring and 802.11 encapsulation offloading in
    hardware, from John Crispin.

    3) Fix some potential Spectre issues in qtnfmac, from Sergey
    Matyukevich.

    4) Add TTL decrement action to openvswitch, from Matteo Croce.

    5) Allow paralleization through flow_action setup by not taking the
    RTNL mutex, from Vlad Buslov.

    6) A lot of zero-length array to flexible-array conversions, from
    Gustavo A. R. Silva.

    7) Align XDP statistics names across several drivers for consistency,
    from Lorenzo Bianconi.

    8) Add various pieces of infrastructure for offloading conntrack, and
    make use of it in mlx5 driver, from Paul Blakey.

    9) Allow using listening sockets in BPF sockmap, from Jakub Sitnicki.

    10) Lots of parallelization improvements during configuration changes
    in mlxsw driver, from Ido Schimmel.

    11) Add support to devlink for generic packet traps, which report
    packets dropped during ACL processing. And use them in mlxsw
    driver. From Jiri Pirko.

    12) Support bcmgenet on ACPI, from Jeremy Linton.

    13) Make BPF compatible with RT, from Thomas Gleixnet, Alexei
    Starovoitov, and your's truly.

    14) Support XDP meta-data in virtio_net, from Yuya Kusakabe.

    15) Fix sysfs permissions when network devices change namespaces, from
    Christian Brauner.

    16) Add a flags element to ethtool_ops so that drivers can more simply
    indicate which coalescing parameters they actually support, and
    therefore the generic layer can validate the user's ethtool
    request. Use this in all drivers, from Jakub Kicinski.

    17) Offload FIFO qdisc in mlxsw, from Petr Machata.

    18) Support UDP sockets in sockmap, from Lorenz Bauer.

    19) Fix stretch ACK bugs in several TCP congestion control modules,
    from Pengcheng Yang.

    20) Support virtual functiosn in octeontx2 driver, from Tomasz
    Duszynski.

    21) Add region operations for devlink and use it in ice driver to dump
    NVM contents, from Jacob Keller.

    22) Add support for hw offload of MACSEC, from Antoine Tenart.

    23) Add support for BPF programs that can be attached to LSM hooks,
    from KP Singh.

    24) Support for multiple paths, path managers, and counters in MPTCP.
    From Peter Krystad, Paolo Abeni, Florian Westphal, Davide Caratti,
    and others.

    25) More progress on adding the netlink interface to ethtool, from
    Michal Kubecek"

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2121 commits)
    net: ipv6: rpl_iptunnel: Fix potential memory leak in rpl_do_srh_inline
    cxgb4/chcr: nic-tls stats in ethtool
    net: dsa: fix oops while probing Marvell DSA switches
    net/bpfilter: remove superfluous testing message
    net: macb: Fix handling of fixed-link node
    net: dsa: ksz: Select KSZ protocol tag
    netdevsim: dev: Fix memory leak in nsim_dev_take_snapshot_write
    net: stmmac: add EHL 2.5Gbps PCI info and PCI ID
    net: stmmac: add EHL PSE0 & PSE1 1Gbps PCI info and PCI ID
    net: stmmac: create dwmac-intel.c to contain all Intel platform
    net: dsa: bcm_sf2: Support specifying VLAN tag egress rule
    net: dsa: bcm_sf2: Add support for matching VLAN TCI
    net: dsa: bcm_sf2: Move writing of CFP_DATA(5) into slicing functions
    net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXT
    net: dsa: bcm_sf2: Disable learning for ASP port
    net: dsa: b53: Deny enslaving port 7 for 7278 into a bridge
    net: dsa: b53: Prevent tagged VLAN on port 7 for 7278
    net: dsa: b53: Restore VLAN entries upon (re)configuration
    net: dsa: bcm_sf2: Fix overflow checks
    hv_netvsc: Remove unnecessary round_up for recv_completion_cnt
    ...

    Linus Torvalds
     

31 Mar, 2020

3 commits

  • There's a semantic conflict in the Octeon staging network driver, which
    used the skb_reset_tc() function to reset skb state when re-using an
    skb. But that inline helper function was removed in mainline by commit
    2c64605b590e ("net: Fix CONFIG_NET_CLS_ACT=n and
    CONFIG_NFT_FWD_NETDEV={y, m} build").

    Fix it by using skb_reset_redirect() instead. Also move it out of the

    This code path only ends up triggering if REUSE_SKBUFFS_WITHOUT_FREE is
    enabled, which in turn only happens if you don't have CONFIG_NETFILTER
    configured. Which was how this wasn't caught by the usual allmodconfig
    builds.

    Signed-off-by: Randy Dunlap
    Reported-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Pull staging and IIO driver updates from Greg KH:
    "Here is the big staging and IIO driver pull request for 5.7-rc1.

    We again end up deleting more code than we added here, thanks to
    finally getting rid of the old and obsolete wireless USB stuff, and
    the exfat code (which is coming in again through the vfs tree in a
    much cleaner version).

    But some code does come back, with the octeon drivers being found to
    actually be used in the wild, so those deletions are now reverted.

    Other than those major things, just loads and loads of tiny checkpatch
    cleanups all over the place, along with new IIO drivers and fixes.

    All have been in linux-next with no reported issues"

    [ Stephen Rothwell points out some reported issues due to merge conflicts ]

    * tag 'staging-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (415 commits)
    staging: vt6656: Use DIV_ROUND_UP macro instead of specific code
    staging: remove hp100 driver
    staging: wilc1000: Use crc7 in lib/ rather than a private copy
    Staging: rtl8192u: ieee80211: Use netdev_alert().
    Staging: rtl8192u: ieee80211: Use netdev_info() with network devices.
    Staging: rtl8192u: ieee80211: Use netdev_warn() for network devices.
    Staging: rtl8192u: ieee80211: Use netdev_dbg() for debug messages.
    staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
    staging: rtl8723bs: hal: Remove NULL check before kfree
    staging: rtl8723bs: hal: Correct typos in comments
    staging: rtl8723bs: os_dep: Correct typos in comments
    staging: rtl8723bs: core: Correct typos in comments
    staging: rtl8723bs: hal: Remove unnecessary cast on void pointer
    staging: rtl8188eu: cleanup long line in odm.c
    staging: rtl8723bs: hal: Compress return logic
    staging: rtl8723bs: rtw_cmd: Compress lines for immediate return
    staging: rtl8723bs: rtw_efuse: Compress lines for immediate return
    staging: wilc1000: remove label from examples in DT binding documentation
    staging: rtl8723bs: Remove blank line before '}' brace
    Staging: rtl8188eu: hal: Add space around operators
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:

    - New sensor driver: imx219

    - Support for some new pixelformats

    - Support for Sun8i SoC

    - Added more codecs to meson vdec driver

    - Prepare for removing the legacy usbvision driver by moving it to
    staging. This driver has issues and use legacy core APIs. If nobody
    steps up to address those, it is time for its retirement.

    - Several cleanups and improvements on drivers, with the addition of
    new supported boards

    * tag 'media/v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (236 commits)
    media: venus: firmware: Ignore secure call error on first resume
    media: mtk-vpu: load vpu firmware from the new location
    media: i2c: video-i2c: fix build errors due to 'imply hwmon'
    media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ
    media: hantro: add initial i.MX8MQ support
    media: dt-bindings: Document i.MX8MQ VPU bindings
    media: vivid: fix incorrect PA assignment to HDMI outputs
    media: hantro: Add linux-rockchip mailing list to MAINTAINERS
    media: cedrus: h264: Fix 4K decoding on H6
    media: siano: Use scnprintf() for avoiding potential buffer overflow
    media: rc: Use scnprintf() for avoiding potential buffer overflow
    media: allegro: create new struct for channel parameters
    media: allegro: move mail definitions to separate file
    media: allegro: pass buffers through firmware
    media: allegro: verify source and destination buffer in VCU response
    media: allegro: handle dependency of bitrate and bitrate_peak
    media: allegro: read bitrate mode directly from control
    media: allegro: make QP configurable
    media: allegro: make frame rate configurable
    media: allegro: skip filler data if possible
    ...

    Linus Torvalds
     

27 Mar, 2020

2 commits

  • Use DIV_ROUND_UP macro instead of specific code with the same purpose.
    Also, remove the unused variables.

    Signed-off-by: Oscar Carter
    Reviewed-by: Quentin Deslandes
    Link: https://lore.kernel.org/r/20200326175902.14467-1-oscar.carter@gmx.com
    Signed-off-by: Greg Kroah-Hartman

    Oscar Carter
     
  • It's old, obsolete, and no one wants to take care of it anymore.

    It's been in staging for 5 months with no one paying attention to it, so
    let's just delete it for now.

    If someone has this hardware, and wants the driver back, the deletion
    can be easily reverted.

    Cc: Joe Perches
    Cc: Jaroslav Kysela
    Link: https://lore.kernel.org/r/20200326080233.978323-1-gregkh@linuxfoundation.org
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

26 Mar, 2020

31 commits


25 Mar, 2020

3 commits

  • Add space between if and open parenthesis to improve
    code readability and to adhere to the standard linux kernel
    coding style. Also, shift the next line to the right by a single space
    as it is the continuation of the above if statement.

    Signed-off-by: Soumyajit Deb
    Link: https://lore.kernel.org/r/20200325122752.38600-1-debsoumyajit100@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Soumyajit Deb
     
  • Add space between while keyword and open parenthesis "(" in the do while
    statement to improve code readability and to adhere to the Linux Kernel
    coding style.
    Reported by checkpatch.pl

    Signed-off-by: Soumyajit Deb
    Link: https://lore.kernel.org/r/20200325115956.37126-1-debsoumyajit100@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Soumyajit Deb
     
  • Remove space after opening parenthesis in if statement to improve code
    readability and to adhere to the standard coding style.
    Reported by checkpatch.pl

    Signed-off-by: Soumyajit Deb
    Link: https://lore.kernel.org/r/20200325072905.29066-7-debsoumyajit100@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Soumyajit Deb