1. 09 Sep, 2019 6 commits
  2. 07 Sep, 2019 27 commits
  3. 06 Sep, 2019 7 commits
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 1e46c09e
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      The following pull-request contains BPF updates for your *net-next* tree.
      
      The main changes are:
      
      1) Add the ability to use unaligned chunks in the AF_XDP umem. By
         relaxing where the chunks can be placed, it allows to use an
         arbitrary buffer size and place whenever there is a free
         address in the umem. Helps more seamless DPDK AF_XDP driver
         integration. Support for i40e, ixgbe and mlx5e, from Kevin and
         Maxim.
      
      2) Addition of a wakeup flag for AF_XDP tx and fill rings so the
         application can wake up the kernel for rx/tx processing which
         avoids busy-spinning of the latter, useful when app and driver
         is located on the same core. Support for i40e, ixgbe and mlx5e,
         from Magnus and Maxim.
      
      3) bpftool fixes for printf()-like functions so compiler can actually
         enforce checks, bpftool build system improvements for custom output
         directories, and addition of 'bpftool map freeze' command, from Quentin.
      
      4) Support attaching/detaching XDP programs from 'bpftool net' command,
         from Daniel.
      
      5) Automatic xskmap cleanup when AF_XDP socket is released, and several
         barrier/{read,write}_once fixes in AF_XDP code, from Björn.
      
      6) Relicense of bpf_helpers.h/bpf_endian.h for future libbpf
         inclusion as well as libbpf versioning improvements, from Andrii.
      
      7) Several new BPF kselftests for verifier precision tracking, from Alexei.
      
      8) Several BPF kselftest fixes wrt endianess to run on s390x, from Ilya.
      
      9) And more BPF kselftest improvements all over the place, from Stanislav.
      
      10) Add simple BPF map op cache for nfp driver to batch dumps, from Jakub.
      
      11) AF_XDP socket umem mapping improvements for 32bit archs, from Ivan.
      
      12) Add BPF-to-BPF call and BTF line info support for s390x JIT, from Yauheni.
      
      13) Small optimization in arm64 JIT to spare 1 insns for BPF_MOD, from Jerin.
      
      14) Fix an error check in bpf_tcp_gen_syncookie() helper, from Petar.
      
      15) Various minor fixes and cleanups, from Nathan, Masahiro, Masanari,
          Peter, Wei, Yue.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1e46c09e
    • Colin Ian King's avatar
      lan743x: remove redundant assignment to variable rx_process_result · f9bcfe21
      Colin Ian King authored
      The variable rx_process_result is being initialized with a value that
      is never read and is being re-assigned immediately afterwards. The
      assignment is redundant, so replace it with the return from function
      lan743x_rx_process_packet.
      
      Addresses-Coverity: ("Unused value")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f9bcfe21
    • David S. Miller's avatar
      Merge branch 'ravb-remove-use-of-undocumented-registers' · 5b1ab1ae
      David S. Miller authored
      Simon Horman says:
      
      ====================
      ravb: remove use of undocumented registers
      
      this short series cleans up the RAVB driver a little.
      
      The first patch corrects the spelling of the FBP field of SFO register.
      This register field is unused and should have no run-time effect.
      
      The remaining patches remove the use of undocumented registers
      after some consultation with the internal Renesas BSP team.
      
      Changes in v2:
      * Corrected mangled state of first patch
      * Patches 2/4 and 3/4 split out of a large patch
      * Accumulated acks
      * Tweaked changelog
      * Claimed authorship of all patches
      
      v1 of this series was tested on the following platforms.
      No behaviour change is expected in v2.
      * E3 Ebisu
      * H3 Salvator-XS (ES2.0)
      * M3-W Salvator-XS
      * M3-N Salvator-XS
      * RZ/G1C iW-RainboW-G23S
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5b1ab1ae
    • Simon Horman's avatar
      ravb: TROCR register is only present on R-Car Gen3 · fd8ab76a
      Simon Horman authored
      Only use the TROCR register on R-Car Gen3 as it is not present on other
      SoCs.
      
      Offsets used for the undocumented registers are considered reserved and
      should not be written to. After some internal investigation with Renesas it
      remains unclear why this driver accesses these fields on R-Car Gen2 but
      regardless of what the historical reasons are the current code is
      considered incorrect.
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Reviewed-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Acked-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fd8ab76a
    • Simon Horman's avatar
      ravb: remove undocumented endianness selection · 2d957a7e
      Simon Horman authored
      This patch removes the use of the undocumented BOC bit of the CCC register.
      
      Current documentation for EtherAVB (ravb) describes the offset of what the
      driver uses as the BOC bit as reserved and that only a value of 0 should be
      written. After some internal investigation with Renesas it remains unclear
      why this driver accesses these fields but regardless of what the historical
      reasons are the current code is considered incorrect.
      
      Based on work by Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2d957a7e
    • Simon Horman's avatar
      ravb: remove undocumented counter processing · 009a4703
      Simon Horman authored
      This patch removes the use of the undocumented counter registers
      CDCR, LCCR, CERCR, CEECR.
      
      Offsets used for undocumented registers are considered reserved and
      should not be written to. After some internal investigation with Renesas
      it remains unclear why this driver accesses these fields but regardless of
      what the historical reasons are the current code is considered incorrect.
      
      Based on work by Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      009a4703
    • Simon Horman's avatar
      ravb: correct typo in FBP field of SFO register · 845e4b80
      Simon Horman authored
      The field name is FBP rather than FPB.
      
      This field is unused and could equally be removed from the driver entirely.
      But there seems no harm in leaving as documentation of the presence of the
      field.
      
      Based on work by Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Reviewed-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Acked-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      845e4b80