23 Sep, 2020

2 commits

  • Two minor conflicts:

    1) net/ipv4/route.c, adding a new local variable while
    moving another local variable and removing it's
    initial assignment.

    2) drivers/net/dsa/microchip/ksz9477.c, overlapping changes.
    One pretty prints the port mode differently, whilst another
    changes the driver to try and obtain the port mode from
    the port node rather than the switch node.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull networking fixes from Jakub Kicinski:

    - fix failure to add bond interfaces to a bridge, the offload-handling
    code was too defensive there and recent refactoring unearthed that.
    Users complained (Ido)

    - fix unnecessarily reflecting ECN bits within TOS values / QoS marking
    in TCP ACK and reset packets (Wei)

    - fix a deadlock with bpf iterator. Hopefully we're in the clear on
    this front now... (Yonghong)

    - BPF fix for clobbering r2 in bpf_gen_ld_abs (Daniel)

    - fix AQL on mt76 devices with FW rate control and add a couple of AQL
    issues in mac80211 code (Felix)

    - fix authentication issue with mwifiex (Maximilian)

    - WiFi connectivity fix: revert IGTK support in ti/wlcore (Mauro)

    - fix exception handling for multipath routes via same device (David
    Ahern)

    - revert back to a BH spin lock flavor for nsid_lock: there are paths
    which do require the BH context protection (Taehee)

    - fix interrupt / queue / NAPI handling in the lantiq driver (Hauke)

    - fix ife module load deadlock (Cong)

    - make an adjustment to netlink reply message type for code added in
    this release (the sole change touching uAPI here) (Michal)

    - a number of fixes for small NXP and Microchip switches (Vladimir)

    [ Pull request acked by David: "you can expect more of this in the
    future as I try to delegate more things to Jakub" ]

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (167 commits)
    net: mscc: ocelot: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    net: dsa: seville: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    inet_diag: validate INET_DIAG_REQ_PROTOCOL attribute
    net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
    net: Update MAINTAINERS for MediaTek switch driver
    net/mlx5e: mlx5e_fec_in_caps() returns a boolean
    net/mlx5e: kTLS, Avoid kzalloc(GFP_KERNEL) under spinlock
    net/mlx5e: kTLS, Fix leak on resync error flow
    net/mlx5e: kTLS, Add missing dma_unmap in RX resync
    net/mlx5e: kTLS, Fix napi sync and possible use-after-free
    net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
    net/mlx5e: Fix using wrong stats_grps in mlx5e_update_ndo_stats()
    net/mlx5e: Fix multicast counter not up-to-date in "ip -s"
    net/mlx5e: Fix endianness when calculating pedit mask first bit
    net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
    net/mlx5e: CT: Fix freeing ct_label mapping
    net/mlx5e: Fix memory leak of tunnel info when rule under multipath not ready
    net/mlx5e: Use synchronize_rcu to sync with NAPI
    net/mlx5e: Use RCU to protect rq->xdp_prog
    ...

    Linus Torvalds
     

22 Sep, 2020

3 commits

  • …ux/kernel/git/mkl/linux-can-next

    Marc Kleine-Budde says:

    ====================
    pull-request: can-next 2020-09-21

    this is a pull request of 38 patches for net-next.

    the first 5 patches are by Colin Ian King, Alexandre Belloni and me and they
    fix various spelling mistakes.

    The next patch is by me and fixes the indention in the CAN raw protocol
    according to the kernel coding style.

    Diego Elio Pettenò contributes two patches to fix dead links in CAN's Kconfig.

    Masahiro Yamada's patch removes the "WITH Linux-syscall-note" from SPDX tag of
    C files.

    AThe next 4 patches are by me and target the CAN device infrastructure and add
    error propagation and improve the output of various messages to ease driver
    development and debugging.

    YueHaibing's patch for the c_can driver removes an unused inline function.

    Next follows another patch by Colin Ian King, which removes the unneeded
    initialization of a variable in the mcba_usb driver.

    A patch by me annotates a fallthrough in the mscan driver.

    The ti_hecc driver is converted to use devm_platform_ioremap_resource_byname()
    in a patch by Dejin Zheng.

    Liu Shixin's patch converts the pcan_usb_pro driver to make use of
    le32_add_cpu() instead of open coding it.

    Wang Hai's patch for the peak_pciefd_main driver removes an unused makro.

    Vaibhav Gupta's patch converts the pch_can driver to generic power management.

    Stephane Grosjean improves the pcan_usb usb driver by first documenting the
    commands sent to the device and by adding support of rxerr/txerr counters.

    The next patch is by me and cleans up the Kconfig of the CAN SPI drivers.

    The next 6 patches all target the mcp251x driver, they are by Timo Schlüßler,
    Andy Shevchenko, Tim Harvey and me. They update the DT bindings documentation,
    sort the include files alphabetically, add GPIO support, make use of the
    readx_poll_timeout() helper, and add support for half duplex SPI-controllers.

    Wolfram Sang contributes a patch to update the contact email address in the
    mscan driver, while Zhang Changzhong updates the clock handling.

    The next patch is by and updates the rx-offload infrastructure to support
    callback less usage.

    The last 6 patches add support for the mcp25xxfd CAN SPI driver. First the
    dt-bindings are added by Oleksij Rempel, the regmap infrastructure and the main
    driver is contributed by me. Kurt Van Dijck adds listen-only support,
    Manivannan Sadhasivam adds himself as maintainer, and Thomas Kopp himself as a
    reviewer.
    ====================

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     
  • The PCI vendor IDs in the documentation inaccurately describe the ENA
    devices. For example, the 1d0f:ec20 can have LLQ support. The driver
    loads in LLQ mode by default, and a message is printed to the kernel
    ring if the mode isn't supported by the device, so the device table
    isn't needed.

    Also, LLQ can support various entry sizes, so the documentation is
    updated to reflect that.

    Interrupt moderation description is also updated to be more accurate.

    Signed-off-by: Shay Agroskin
    Signed-off-by: David S. Miller

    Shay Agroskin
     
  • The formal name changes to "ENA_ADMIN_RSS_INDIRECTION_TABLE_CONFIG".
    Indirection is the ability to reference "something" using "something else"
    instead of the value itself.
    Indirection table, as the name implies, is the ability to reference
    CPU/Queue value using hash-to-CPU table instead of CPU/Queue itself.

    This patch renames the variable keys_num, which describes the number of
    words in the RSS hash key, to key_parts which makes its purpose clearer
    in RSS context.

    Signed-off-by: Amit Bernstein
    Signed-off-by: Shay Agroskin
    Signed-off-by: David S. Miller

    Shay Agroskin
     

21 Sep, 2020

4 commits


19 Sep, 2020

2 commits

  • Add fsl,tmr-fiper3 property definition which is supported only
    on DPAA2 and ENETC network controller hardware.

    Signed-off-by: Yangbo Lu
    Signed-off-by: David S. Miller

    Yangbo Lu
     
  • Pull powerpc fixes from Michael Ellerman:
    "Some more powerpc fixes for 5.9:

    - Opt us out of the DEBUG_VM_PGTABLE support for now as it's causing
    crashes.

    - Fix a long standing bug in our DMA mask handling that was hidden
    until recently, and which caused problems with some drivers.

    - Fix a boot failure on systems with large amounts of RAM, and no
    hugepage support and using Radix MMU, only seen in the lab.

    - A few other minor fixes.

    Thanks to Alexey Kardashevskiy, Aneesh Kumar K.V, Gautham R. Shenoy,
    Hari Bathini, Ira Weiny, Nick Desaulniers, Shirisha Ganta, Vaibhav
    Jain, and Vaidyanathan Srinivasan"

    * tag 'powerpc-5.9-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    powerpc/papr_scm: Limit the readability of 'perf_stats' sysfs attribute
    cpuidle: pseries: Fix CEDE latency conversion from tb to us
    powerpc/dma: Fix dma_map_ops::get_required_mask
    Revert "powerpc/build: vdso linker warning for orphan sections"
    powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc
    selftests/powerpc: Skip PROT_SAO test in guests/LPARS
    powerpc/book3s64/radix: Fix boot failure with large amount of guest memory

    Linus Torvalds
     

18 Sep, 2020

2 commits

  • Tunnel offload info code uses ETHTOOL_MSG_TUNNEL_INFO_GET message type (cmd
    field in genetlink header) for replies to tunnel info netlink request, i.e.
    the same value as the request have. This is a problem because we are using
    two separate enums for userspace to kernel and kernel to userspace message
    types so that this ETHTOOL_MSG_TUNNEL_INFO_GET (28) collides with
    ETHTOOL_MSG_CABLE_TEST_TDR_NTF which is what message type 28 means for
    kernel to userspace messages.

    As the tunnel info request reached mainline in 5.9 merge window, we should
    still be able to fix the reply message type without breaking backward
    compatibility.

    Fixes: c7d759eb7b12 ("ethtool: add tunnel info interface")
    Signed-off-by: Michal Kubecek
    Reviewed-by: Jakub Kicinski
    Signed-off-by: David S. Miller

    Michal Kubecek
     
  • Add brief description how to configure base mac address binding in
    device-tree.

    Describe requirement for the PCI port which is connected to the ASIC, to
    allow access to the firmware related registers.

    Signed-off-by: Vadym Kochan
    Signed-off-by: David S. Miller

    Vadym Kochan
     

16 Sep, 2020

3 commits

  • Alexei Starovoitov says:

    ====================
    pull-request: bpf 2020-09-15

    The following pull-request contains BPF updates for your *net* tree.

    We've added 12 non-merge commits during the last 19 day(s) which contain
    a total of 10 files changed, 47 insertions(+), 38 deletions(-).

    The main changes are:

    1) docs/bpf fixes, from Andrii.

    2) ld_abs fix, from Daniel.

    3) socket casting helpers fix, from Martin.

    4) hash iterator fixes, from Yonghong.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Tell people that there now is an interface for querying pause frames.
    A little bit of restructuring is needed given this is a first source
    of such statistics.

    Signed-off-by: Jakub Kicinski
    Reviewed-by: Saeed Mahameed
    Signed-off-by: David S. Miller

    Jakub Kicinski
     
  • Currently drivers have to report their pause frames statistics
    via ethtool -S, and there is a wide variety of names used for
    these statistics.

    Add the two statistics defined in IEEE 802.3x to the standard
    API. Create a new ethtool request header flag for including
    statistics in the response to GET commands.

    Always create the ETHTOOL_A_PAUSE_STATS nest in replies when
    flag is set. Testing if driver declares the op is not a reliable
    way of checking if any stats will actually be included and therefore
    we don't want to give the impression that presence of
    ETHTOOL_A_PAUSE_STATS indicates driver support.

    Note that this patch does not include PFC counters, which may fit
    better in dcbnl? But mostly I don't need them/have a setup to test
    them so I haven't looked deeply into exposing them :)

    v3:
    - add a helper for "uninitializing" stats, rather than a cryptic
    memset() (Andrew)

    Signed-off-by: Jakub Kicinski
    Reviewed-by: Saeed Mahameed
    Signed-off-by: David S. Miller

    Jakub Kicinski
     

15 Sep, 2020

2 commits


14 Sep, 2020

2 commits

  • Documentation for the s390 DIAGNOSE 0x318 instruction handling.

    Signed-off-by: Collin Walling
    Reviewed-by: Cornelia Huck
    Reviewed-by: David Hildenbrand
    Link: https://lore.kernel.org/kvm/20200625150724.10021-2-walling@linux.ibm.com/
    Message-Id:
    Signed-off-by: Christian Borntraeger

    Collin Walling
     
  • Pull ARM SoC fixes from Olof Johansson:
    "A collection of fixes I've been accruing over the last few weeks, none
    of them have been severe enough to warrant flushing the queue but it's
    been long enough now that it's a good idea to send them in.

    A handful of them are fixups for QSPI DT/bindings/compatibles, some
    smaller fixes for system DMA clock control and TMU interrupts on i.MX,
    a handful of fixes for OMAP, including a fix for DSI (display) on
    omap5"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (27 commits)
    arm64: dts: ns2: Fixed QSPI compatible string
    ARM: dts: BCM5301X: Fixed QSPI compatible string
    ARM: dts: NSP: Fixed QSPI compatible string
    ARM: dts: bcm: HR2: Fixed QSPI compatible string
    dt-bindings: spi: Fix spi-bcm-qspi compatible ordering
    ARM: dts: imx6sx: fix the pad QSPI1B_SCLK mux mode for uart3
    arm64: dts: imx8mp: correct sdma1 clk setting
    arm64: dts: imx8mq: Fix TMU interrupt property
    ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy
    ARM: dts: vfxxx: Add syscon compatible with OCOTP
    ARM: dts: imx6q-logicpd: Fix broken PWM
    arm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build
    ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name
    ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells
    ARM: dts: imx7ulp: Correct gpio ranges
    ARM: dts: ls1021a: fix QuadSPI-memory reg range
    arm64: defconfig: Enable ptn5150 extcon driver
    arm64: defconfig: Enable USB gadget with configfs
    ARM: configs: Update Integrator defconfig
    ARM: dts: omap5: Fix DSI base address and clocks
    ...

    Linus Torvalds
     

13 Sep, 2020

2 commits

  • Pull char / misc driver fixes from Greg KH:
    "Here are a number of small driver fixes for 5.9-rc5

    Included in here are:

    - habanalabs driver fixes

    - interconnect driver fixes

    - soundwire driver fixes

    - dyndbg fixes for reported issues, and then reverts to fix it all up
    to a sane state.

    - phy driver fixes

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'char-misc-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Revert "dyndbg: accept query terms like file=bar and module=foo"
    Revert "dyndbg: fix problem parsing format="foo bar""
    scripts/tags.sh: exclude tools directory from tags generation
    video: fbdev: fix OOB read in vga_8planes_imageblit()
    dyndbg: fix problem parsing format="foo bar"
    dyndbg: refine export, rename to dynamic_debug_exec_queries()
    dyndbg: give %3u width in pr-format, cosmetic only
    interconnect: qcom: Fix small BW votes being truncated to zero
    soundwire: fix double free of dangling pointer
    interconnect: Show bandwidth for disabled paths as zero in debugfs
    habanalabs: fix report of RAZWI initiator coordinates
    habanalabs: prevent user buff overflow
    phy: omap-usb2-phy: disable PHY charger detect
    phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
    soundwire: bus: fix typo in comment on INTSTAT registers
    phy: qualcomm: fix return value check in qcom_ipq806x_usb_phy_probe()
    phy: qualcomm: fix platform_no_drv_owner.cocci warnings

    Linus Torvalds
     
  • Pull kvm fixes from Paolo Bonzini:
    "A bit on the bigger side, mostly due to me being on vacation, then
    busy, then on parental leave, but there's nothing worrisome.

    ARM:
    - Multiple stolen time fixes, with a new capability to match x86
    - Fix for hugetlbfs mappings when PUD and PMD are the same level
    - Fix for hugetlbfs mappings when PTE mappings are enforced (dirty
    logging, for example)
    - Fix tracing output of 64bit values

    x86:
    - nSVM state restore fixes
    - Async page fault fixes
    - Lots of small fixes everywhere"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (25 commits)
    KVM: emulator: more strict rsm checks.
    KVM: nSVM: more strict SMM checks when returning to nested guest
    SVM: nSVM: setup nested msr permission bitmap on nested state load
    SVM: nSVM: correctly restore GIF on vmexit from nesting after migration
    x86/kvm: don't forget to ACK async PF IRQ
    x86/kvm: properly use DEFINE_IDTENTRY_SYSVEC() macro
    KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
    KVM: SVM: avoid emulation with stale next_rip
    KVM: x86: always allow writing '0' to MSR_KVM_ASYNC_PF_EN
    KVM: SVM: Periodically schedule when unregistering regions on destroy
    KVM: MIPS: Change the definition of kvm type
    kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed
    KVM: nVMX: Fix the update value of nested load IA32_PERF_GLOBAL_CTRL control
    KVM: fix memory leak in kvm_io_bus_unregister_dev()
    KVM: Check the allocation of pv cpu mask
    KVM: nVMX: Update VMCS02 when L2 PAE PDPTE updates detected
    KVM: arm64: Update page shift if stage 2 block mapping not supported
    KVM: arm64: Fix address truncation in traces
    KVM: arm64: Do not try to map PUDs when they are folded into PMD
    arm64/x86: KVM: Introduce steal-time cap
    ...

    Linus Torvalds
     

12 Sep, 2020

1 commit

  • …ux/kernel/git/kvalo/wireless-drivers-next

    Kalle Valo says:

    ====================
    wireless-drivers-next patches for v5.10

    First set of patches for v5.10. Most noteworthy here is ath11k getting
    initial support for QCA6390 and IPQ6018 devices. But most of the
    patches are cleanup: W=1 warning fixes, fallthrough keywords, DMA API
    changes and tasklet API changes.

    Major changes:

    ath10k

    * support SDIO firmware codedumps

    * support station specific TID configurations

    ath11k

    * add support for IPQ6018

    * add support for QCA6390 PCI devices

    ath9k

    * add support for NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 to improve PTK0
    rekeying

    wcn36xx

    * add support for TX ack
    ====================

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     

11 Sep, 2020

6 commits

  • Add IPQ6018 wireless driver support,
    its based on ath11k driver.

    Signed-off-by: Anilkumar Kolli
    Reviewed-by: Rob Herring
    Signed-off-by: Kalle Valo
    Link: https://lore.kernel.org/r/010101746cb6751a-ca300933-1174-4534-a01b-b1dbf1c1f305-000000@us-west-2.amazonses.com

    Anilkumar Kolli
     
  • Remove link to litmus tests that didn't make it to upstream. Fix ringbuf
    benchmark link.

    I wasn't able to test this with `make htmldocs`, unfortunately, because of
    Sphinx dependencies. But bench_ringbufs.c path is certainly correct now.

    Fixes: 97abb2b39682 ("docs/bpf: Add BPF ring buffer design notes")
    Reported-by: Mauro Carvalho Chehab
    Signed-off-by: Andrii Nakryiko
    Signed-off-by: Alexei Starovoitov
    Link: https://lore.kernel.org/bpf/20200910225245.2896991-1-andriin@fb.com

    Andrii Nakryiko
     
  • drm-misc-fixes for v5.9-rc5:
    - Fix double free in virtio.
    - Add missing put_device in sun4i, and other fixes.
    - Small ingenic fixes.
    - Handle sun4i alpha on lowest plane correctly.
    - Remove output->enabled from virtio, as it should use crtc_state.
    - Fix tve200 enable/disable.
    - Documentation fix.
    - Fix virtio unblank.

    Signed-off-by: Dave Airlie

    From: Maarten Lankhorst
    Link: https://patchwork.freedesktop.org/patch/msgid/478b49d1-b1b3-c983-7056-8a89249be435@mblankhorst.nl

    Dave Airlie
     
  • The device tree property prefix describes the vendor, which in case of
    S3FWRN5 chip is Samsung. Therefore the "s3fwrn5" prefix for "en-gpios"
    and "fw-gpios" is not correct and should be deprecated. Introduce
    properly named properties for these GPIOs and rename the fw-gpios" to
    "wake-gpios" to better describe its purpose.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: David S. Miller

    Krzysztof Kozlowski
     
  • Convert the Samsung S3FWRN5 NCI NFC controller bindings to dtschema.
    This is conversion only so it includes properties with invalid prefixes
    (s3fwrn5,en-gpios) which should be addressed later.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: David S. Miller

    Krzysztof Kozlowski
     
  • This reverts commit 14775b04964264189caa4a0862eac05dab8c0502 as there
    were still some parsing problems with it, and the follow-on patch for
    it.

    Let's revisit it later, just drop it for now.

    Cc:
    Cc: Jim Cromie
    Reported-by: Naresh Kamboju
    Cc: Stephen Rothwell
    Fixes: 14775b049642 ("dyndbg: accept query terms like file=bar and module=foo")
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

10 Sep, 2020

2 commits


08 Sep, 2020

2 commits

  • Add an additional regulator supply as an optional
    property for WCN3990.

    Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1

    Signed-off-by: Rakesh Pillai
    Reviewed-by: Douglas Anderson
    Acked-by: Rob Herring
    Signed-off-by: Kalle Valo
    Link: https://lore.kernel.org/r/1593194502-13164-2-git-send-email-pillair@codeaurora.org

    Rakesh Pillai
     
  • This patch is born out of an investigation into which IEEE statistics
    correspond to which struct rtnl_link_stats64 members. Turns out that
    there seems to be reasonable consensus on the matter, among many drivers.
    To save others the time (and it took more time than I'm comfortable
    admitting) I'm adding comments referring to IEEE attributes to
    struct rtnl_link_stats64.

    Up until now we had two forms of documentation for stats - in
    Documentation/ABI/testing/sysfs-class-net-statistics and the comments
    on struct rtnl_link_stats64 itself. While the former is very cautious
    in defining the expected behavior, the latter feel quite dated and
    may not be easy to understand for modern day driver author
    (e.g. rx_over_errors). At the same time modern systems are far more
    complex and once obvious definitions lost their clarity. For example
    - does rx_packet count at the MAC layer (aFramesReceivedOK)?
    packets processed correctly by hardware? received by the driver?
    or maybe received by the stack?

    I tried to clarify the expectations, further clarifications from
    others are very welcome.

    The part hardest to untangle is rx_over_errors vs rx_fifo_errors
    vs rx_missed_errors. After much deliberation I concluded that for
    modern HW only two of the counters will make sense. The distinction
    between internal FIFO overflow and packets dropped due to back-pressure
    from the host is likely too implementation (driver and device) specific
    to expose in the standard stats.

    Now - which two of those counters we select to use is anyone's pick:

    sysfs documentation suggests rx_over_errors counts packets which
    did not fit into buffers due to MTU being too small, which I reused.
    There don't seem to be many modern drivers using it (well, CAN drivers
    seem to love this statistic).

    Of the remaining two I picked rx_missed_errors to report device drops.
    bnxt reports it and it's folded into "drop"s in procfs (while
    rx_fifo_errors is an error, and modern devices usually receive the frame
    OK, they just can't admit it into the pipeline).

    Of the drivers I looked at only AMD Lance-like and NS8390-like use all
    three of these counters. rx_missed_errors counts missed frames,
    rx_over_errors counts overflow events, and rx_fifo_errors counts frames
    which were truncated because they didn't fit into buffers. This suggests
    that rx_fifo_errors may be the correct stat for truncated packets, but
    I'd think a FIFO stat counting truncated packets would be very confusing
    to a modern reader.

    v2:
    - add driver developer notes about ethtool stat count and reset
    - replace Ethernet with IEEE 802.3 to better indicate source of attrs
    - mention byte counters don't count FCS
    - clarify RX counter is from device to host
    - drop "sightly" from sysfs paragraph
    - add examples of ethtool stats
    - s/incoming/received/ s/incoming/transmitted/

    Signed-off-by: Jakub Kicinski

    Jakub Kicinski
     

05 Sep, 2020

4 commits

  • We got slightly different patches removing a double word
    in a comment in net/ipv4/raw.c - picked the version from net.

    Simple conflict in drivers/net/ethernet/ibm/ibmvnic.c. Use cached
    values instead of VNIC login response buffer (following what
    commit 507ebe6444a4 ("ibmvnic: Fix use-after-free of VNIC login
    response buffer") did).

    Signed-off-by: Jakub Kicinski

    Jakub Kicinski
     
  • …/masahiroy/linux-kbuild

    Pull Kbuild fixes from Masahiro Yamada:

    - fix documents

    - fix warning in 'make localmodconfig'

    * tag 'kbuild-fixes-v5.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kconfig: remove redundant assignment prompt = prompt
    kbuild: Documentation: clean up makefiles.rst
    kconfig: streamline_config.pl: check defined(ENV variable) before using it
    Documentation/llvm: Improve formatting of commands, variables, and arguments

    Linus Torvalds
     
  • Pull power management fixes from Rafael Wysocki:
    "These fix reference counting in the operating performance points (OPP)
    framework and address a few intel_pstate driver issues, mostly related
    to switching driver operation modes and similar with hardware-managed
    P-states (HWP) enabled.

    Specifics:

    - Fix reference counting of operating performance points (OPP) tables
    (Viresh Kumar).

    - Address intel_pstate driver interface issues, mostly related to
    switching operation modes and handling CPU offline and online and
    system-wide suspend/resume with hardware-managed P-states (HWP)
    enabled (Rafael Wysocki).

    - Fix the maximum frequency computation in the intel_pstate driver
    with turbo P-states disabled by the platform firmware and HWP
    enabled (Francisco Jerez)"

    * tag 'pm-5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
    cpufreq: intel_pstate: Free memory only when turning off
    cpufreq: intel_pstate: Add ->offline and ->online callbacks
    cpufreq: intel_pstate: Tweak the EPP sysfs interface
    cpufreq: intel_pstate: Update cached EPP in the active mode
    cpufreq: intel_pstate: Refuse to turn off with HWP enabled
    opp: Don't drop reference for an OPP table that was never parsed

    Linus Torvalds
     
  • Pull sound fixes from Takashi Iwai:
    "A collection of small changes, nothing intrusive:

    - remaining tasklet API conversions, now all sound stuff have been
    converted

    - a few HD-audio and USB-audio quirks and minor fixes

    - FireWire Tascam and Digi00xx fixes

    - drop a kernel WARNING from PCM OSS for syzkaller"

    * tag 'sound-5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (29 commits)
    ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
    ALSA: hda: use consistent HDAudio spelling in comments/docs
    ALSA: hda: add dev_dbg log when driver is not selected
    ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
    ALSA: hda: hdmi - add Rocketlake support
    ALSA: ua101: convert tasklets to use new tasklet_setup() API
    ALSA: usb-audio: convert tasklets to use new tasklet_setup() API
    ASoC: txx9: convert tasklets to use new tasklet_setup() API
    ASoC: siu: convert tasklets to use new tasklet_setup() API
    ASoC: fsl_esai: convert tasklets to use new tasklet_setup() API
    ALSA: hdsp: convert tasklets to use new tasklet_setup() API
    ALSA: riptide: convert tasklets to use new tasklet_setup() API
    ALSA: pci/asihpi: convert tasklets to use new tasklet_setup() API
    ALSA: firewire: convert tasklets to use new tasklet_setup() API
    ALSA: core: convert tasklets to use new tasklet_setup() API
    ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
    ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
    ALSA: hda/hdmi: always check pin power status in i915 pin fixup
    ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
    ALSA: usb-audio: Add basic capture support for Pioneer DJ DJM-250MK2
    ...

    Linus Torvalds
     

04 Sep, 2020

3 commits

  • Pull networking fixes from David Miller:

    1) Use netif_rx_ni() when necessary in batman-adv stack, from Jussi
    Kivilinna.

    2) Fix loss of RTT samples in rxrpc, from David Howells.

    3) Memory leak in hns_nic_dev_probe(), from Dignhao Liu.

    4) ravb module cannot be unloaded, fix from Yuusuke Ashizuka.

    5) We disable BH for too lokng in sctp_get_port_local(), add a
    cond_resched() here as well, from Xin Long.

    6) Fix memory leak in st95hf_in_send_cmd, from Dinghao Liu.

    7) Out of bound access in bpf_raw_tp_link_fill_link_info(), from
    Yonghong Song.

    8) Missing of_node_put() in mt7530 DSA driver, from Sumera
    Priyadarsini.

    9) Fix crash in bnxt_fw_reset_task(), from Michael Chan.

    10) Fix geneve tunnel checksumming bug in hns3, from Yi Li.

    11) Memory leak in rxkad_verify_response, from Dinghao Liu.

    12) In tipc, don't use smp_processor_id() in preemptible context. From
    Tuong Lien.

    13) Fix signedness issue in mlx4 memory allocation, from Shung-Hsi Yu.

    14) Missing clk_disable_prepare() in gemini driver, from Dan Carpenter.

    15) Fix ABI mismatch between driver and firmware in nfp, from Louis
    Peens.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (110 commits)
    net/smc: fix sock refcounting in case of termination
    net/smc: reset sndbuf_desc if freed
    net/smc: set rx_off for SMCR explicitly
    net/smc: fix toleration of fake add_link messages
    tg3: Fix soft lockup when tg3_reset_task() fails.
    doc: net: dsa: Fix typo in config code sample
    net: dp83867: Fix WoL SecureOn password
    nfp: flower: fix ABI mismatch between driver and firmware
    tipc: fix shutdown() of connectionless socket
    ipv6: Fix sysctl max for fib_multipath_hash_policy
    drivers/net/wan/hdlc: Change the default of hard_header_len to 0
    net: gemini: Fix another missing clk_disable_unprepare() in probe
    net: bcmgenet: fix mask check in bcmgenet_validate_flow()
    amd-xgbe: Add support for new port mode
    net: usb: dm9601: Add USB ID of Keenetic Plus DSL
    vhost: fix typo in error message
    net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
    pktgen: fix error message with wrong function name
    net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode
    cxgb4: fix thermal zone device registration
    ...

    Linus Torvalds
     
  • Describe the two possible clocks feeding into the Broadcom SF2
    integrated Ethernet switch. BCM7445 systems have two clocks, one for the
    main switch core clock, and another for controlling the switch clock
    divider whereas BCM7278 systems only have the first kind.

    Signed-off-by: Florian Fainelli
    Reviewed-by: Andrew Lunn
    Signed-off-by: David S. Miller

    Florian Fainelli
     
  • The Broadcom SYSTEMPORT adapters require the use of two clocks for
    normal operations and during Wake-on-LAN, document those in the binding
    document.

    Signed-off-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Florian Fainelli