1. 25 4月, 2023 2 次提交
  2. 03 2月, 2023 1 次提交
  3. 13 1月, 2023 1 次提交
  4. 04 10月, 2022 2 次提交
    • O
      net: add framework to support Ethernet PSE and PDs devices · 3114b075
      Oleksij Rempel 提交于
      This framework was create with intention to provide support for Ethernet PSE
      (Power Sourcing Equipment) and PDs (Powered Device).
      
      At current step this patch implements generic PSE support for PoDL (Power over
      Data Lines 802.3bu) specification with reserving name space for PD devices as
      well.
      
      This framework can be extended to support 802.3af and 802.3at "Power via the
      Media Dependent Interface" (or PoE/Power over Ethernet)
      Signed-off-by: NOleksij Rempel <o.rempel@pengutronix.de>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      3114b075
    • A
      crypto: kmsan: disable accelerated configs under KMSAN · 440fed95
      Alexander Potapenko 提交于
      KMSAN is unable to understand when initialized values come from assembly. 
      Disable accelerated configs in KMSAN builds to prevent false positive
      reports.
      
      Link: https://lkml.kernel.org/r/20220915150417.722975-27-glider@google.comSigned-off-by: NAlexander Potapenko <glider@google.com>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Andrey Konovalov <andreyknvl@gmail.com>
      Cc: Andrey Konovalov <andreyknvl@google.com>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Cc: Eric Biggers <ebiggers@google.com>
      Cc: Eric Biggers <ebiggers@kernel.org>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Ilya Leoshkevich <iii@linux.ibm.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Marco Elver <elver@google.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Petr Mladek <pmladek@suse.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Vegard Nossum <vegard.nossum@oracle.com>
      Cc: Vlastimil Babka <vbabka@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      440fed95
  5. 26 8月, 2022 1 次提交
    • R
      crypto: Kconfig - submenus for arm and arm64 · 4a329fec
      Robert Elliott 提交于
      Move ARM- and ARM64-accelerated menus into a submenu under
      the Crypto API menu (paralleling all the architectures).
      
      Make each submenu always appear if the corresponding architecture
      is supported. Get rid of the ARM_CRYPTO and ARM64_CRYPTO symbols.
      
      The "ARM Accelerated" or "ARM64 Accelerated" entry disappears from:
          General setup  --->
          Platform selection  --->
          Kernel Features  --->
          Boot options  --->
          Power management options  --->
          CPU Power Management  --->
      [*] ACPI (Advanced Configuration and Power Interface) Support  --->
      [*] Virtualization  --->
      [*] ARM Accelerated Cryptographic Algorithms  --->
           (or)
      [*] ARM64 Accelerated Cryptographic Algorithms  --->
          ...
      -*- Cryptographic API  --->
          Library routines  --->
          Kernel hacking  --->
      
      and moves into the Cryptographic API menu, which now contains:
            ...
            Accelerated Cryptographic Algorithms for CPU (arm) --->
            (or)
            Accelerated Cryptographic Algorithms for CPU (arm64) --->
      [*]   Hardware crypto devices  --->
            ...
      Suggested-by: NEric Biggers <ebiggers@kernel.org>
      Signed-off-by: NRobert Elliott <elliott@hpe.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      4a329fec
  6. 07 7月, 2022 1 次提交
  7. 11 6月, 2022 1 次提交
  8. 07 1月, 2022 1 次提交
  9. 28 11月, 2021 1 次提交
  10. 09 11月, 2021 1 次提交
  11. 01 11月, 2021 1 次提交
  12. 26 10月, 2021 1 次提交
  13. 14 8月, 2021 1 次提交
  14. 04 8月, 2021 1 次提交
  15. 03 8月, 2021 1 次提交
  16. 29 7月, 2021 1 次提交
  17. 15 6月, 2021 1 次提交
  18. 13 6月, 2021 1 次提交
    • L
      net: mhi_net: Register wwan_ops for link creation · 13adac03
      Loic Poulain 提交于
      Register wwan_ops for link management via wwan rtnetlink. This is
      only basic support for now, since we only support creating one
      single link (link-0), but is useful to validate new wwan rtnetlink
      interface.
      
      For backward compatibity support, we still register a default netdev
      at probe time, except if 'create_default_iface' module parameter is
      set to false.
      
      This has been tested with iproute2 and mbimcli:
      $ ip link add dev wwan0-0 parentdev-name wwan0 type wwan linkid 0
      $ mbimcli -p -d /dev/wwan0p2MBIM --connect apn=free
      $ ip link set dev wwan0-0 up
      $ ip addr add dev wwan0 ${IP}
      $ ip route replace default via ${IP}
      $ ping 8.8.8.8
      ...
      Signed-off-by: NLoic Poulain <loic.poulain@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      13adac03
  19. 09 6月, 2021 1 次提交
  20. 17 4月, 2021 1 次提交
    • L
      net: Add a WWAN subsystem · 9a44c1cc
      Loic Poulain 提交于
      This change introduces initial support for a WWAN framework. Given the
      complexity and heterogeneity of existing WWAN hardwares and interfaces,
      there is no strict definition of what a WWAN device is and how it should
      be represented. It's often a collection of multiple devices that perform
      the global WWAN feature (netdev, tty, chardev, etc).
      
      One usual way to expose modem controls and configuration is via high
      level protocols such as the well known AT command protocol, MBIM or
      QMI. The USB modems started to expose them as character devices, and
      user daemons such as ModemManager learnt to use them.
      
      This initial version adds the concept of WWAN port, which is a logical
      pipe to a modem control protocol. The protocols are rawly exposed to
      user via character device, allowing straigthforward support in existing
      tools (ModemManager, ofono...). The WWAN core takes care of the generic
      part, including character device management, and relies on port driver
      operations to receive/submit protocol data.
      
      Since the different devices exposing protocols for a same WWAN hardware
      do not necessarily know about each others (e.g. two different USB
      interfaces, PCI/MHI channel devices...) and can be created/removed in
      different orders, the WWAN core ensures that all WAN ports contributing
      to the 'whole' WWAN feature are grouped under the same virtual WWAN
      device, relying on the provided parent device (e.g. mhi controller,
      USB device). It's a 'trick' I copied from Johannes's earlier WWAN
      subsystem proposal.
      
      This initial version is purposely minimalist, it's essentially moving
      the generic part of the previously proposed mhi_wwan_ctrl driver inside
      a common WWAN framework, but the implementation is open and flexible
      enough to allow extension for further drivers.
      Signed-off-by: NLoic Poulain <loic.poulain@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9a44c1cc
  21. 15 3月, 2021 1 次提交
    • I
      netdevsim: Add dummy psample implementation · a8700c3d
      Ido Schimmel 提交于
      Allow netdevsim to report "sampled" packets to the psample module by
      periodically generating packets from a work queue. The behavior can be
      enabled / disabled (default) and the various meta data attributes can be
      controlled via debugfs knobs.
      
      This implementation enables both testing of the psample module with all
      the optional attributes as well as development of user space
      applications on top of psample such as hsflowd and a Wireshark dissector
      for psample generic netlink packets.
      Signed-off-by: NIdo Schimmel <idosch@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a8700c3d
  22. 08 3月, 2021 1 次提交
  23. 24 2月, 2021 1 次提交
  24. 27 1月, 2021 1 次提交
  25. 03 1月, 2021 1 次提交
  26. 06 12月, 2020 1 次提交
  27. 06 11月, 2020 1 次提交
  28. 30 10月, 2020 1 次提交
  29. 27 8月, 2020 2 次提交
  30. 02 7月, 2020 1 次提交
    • D
      xen networking: add basic XDP support for xen-netfront · 6c5aa6fc
      Denis Kirjanov 提交于
      The patch adds a basic XDP processing to xen-netfront driver.
      
      We ran an XDP program for an RX response received from netback
      driver. Also we request xen-netback to adjust data offset for
      bpf_xdp_adjust_head() header space for custom headers.
      
      synchronization between frontend and backend parts is done
      by using xenbus state switching:
      Reconfiguring -> Reconfigured- > Connected
      
      UDP packets drop rate using xdp program is around 310 kpps
      using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
      Signed-off-by: NDenis Kirjanov <kda@linux-powerpc.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6c5aa6fc
  31. 27 6月, 2020 1 次提交
  32. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  33. 02 5月, 2020 2 次提交
  34. 01 5月, 2020 1 次提交
  35. 29 4月, 2020 2 次提交