Skip to content
Permalink
Joseph-Hwang/B…
Switch branches/tags

Commits on Apr 12, 2021

  1. Bluetooth: Support the vendor specific debug events

    This patch allows a user space process to enable/disable the vendor
    specific (vs) debug events dynamically through the set experimental
    feature mgmt interface if CONFIG_BT_FEATURE_VS_DBG_EVT is enabled.
    
    Since the debug event feature needs to invoke the callback function
    provided by the driver, i.e., hdev->set_vs_dbg_evt, a valid controller
    index is required.
    
    For generic Linux machines, the vendor specific debug events are
    disabled by default.
    
    Reviewed-by: Chethan Tumkur Narayan <chethan.tumkur.narayan@intel.corp-partner.google.com>
    Reviewed-by: Kiran Krishnappa <kiran.k@intel.corp-partner.google.com>
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Joseph Hwang <josephsih@chromium.org>
    josephsih authored and intel-lab-lkp committed Apr 12, 2021
  2. Bluetooth: btusb: support link statistics telemetry events

    This patch supports the link statistics telemetry events for
    Intel controllers
    
    To avoid the overhead, this debug feature is disabled by default.
    
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com>
    Signed-off-by: Kiran K <kiran.k@intel.com>
    Signed-off-by: Joseph Hwang <josephsih@chromium.org>
    chethantn authored and intel-lab-lkp committed Apr 12, 2021

Commits on Apr 9, 2021

  1. Bluetooth: virtio_bt: add missing null pointer check on alloc_skb cal…

    …l return
    
    The call to alloc_skb with the GFP_KERNEL flag can return a null sk_buff
    pointer, so add a null check to avoid any null pointer deference issues.
    
    Addresses-Coverity: ("Dereference null return value")
    Fixes: afd2daa ("Bluetooth: Add support for virtio transport driver")
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Colin Ian King authored and holtmann committed Apr 9, 2021
  2. Bluetooth: Return whether a connection is outbound

    When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user
    space we will set the flags to tell if the established connection is
    outbound or not. This is useful for the user space to log better metrics
    and error messages.
    
    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Reviewed-by: Alain Michaud <alainm@chromium.org>
    Signed-off-by: Yu Liu <yudiliu@google.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yliu98 authored and holtmann committed Apr 9, 2021
  3. Bluetooth: use flexible-array member instead of zero-length array

    Fix the following coccicheck warning:
    
    net/bluetooth/msft.c:37:6-13: WARNING use flexible-array member instead
    net/bluetooth/msft.c:42:6-10: WARNING use flexible-array member instead
    net/bluetooth/msft.c:52:6-10: WARNING use flexible-array member instead
    
    Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    ATRiiX authored and holtmann committed Apr 9, 2021
  4. Bluetooth: 6lowpan: delete unneeded variable initialization

    Delete unneeded variable initialization.
    
    Signed-off-by: Kai Ye <yekai13@huawei.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    yekai123123 authored and holtmann committed Apr 9, 2021

Commits on Apr 8, 2021

  1. Merge tag 'for-net-next-2021-04-08' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/bluetooth/bluetooth-next
    
    Luiz Augusto von Dentz says:
    
    ====================
    bluetooth-next pull request for net-next:
    
     - Proper support for BCM4330 and BMC4334
     - Various improvements for firmware download of Intel controllers
     - Update management interface revision to 20
     - Support for AOSP HCI vendor commands
     - Initial Virtio support
    ====================
    
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  2. Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/tnguy/next-queue
    
    Tony Nguyen says:
    
    ====================
    100GbE Intel Wired LAN Driver Updates 2021-04-08
    
    This series contains updates to ice driver only.
    
    Chinh adds retrying of sending some AQ commands when receiving EBUSY
    error.
    
    Victor modifies how nodes are added to reduce stack usage.
    
    Ani renames some variables to either follow spec naming or to be inline
    with naming in the rest of the driver. Ignores EMODE error as there are
    cases where this error is expected. Performs some cleanup such as
    removing unnecessary checks, doing variable assignments over copies, and
    removing unneeded variables. Revises some error codes returned in link
    settings to be more appropriate. He also implements support for new
    firmware option to get default link configuration which accounts for
    any needed NVM based overrides for PHY configuration. He also removes
    the rx_gro_dropped stat as the value no longer changes.
    
    Jeb removes setting specific link modes on firmwares that no longer
    require it.
    
    Brett removes unnecessary checks when adding and removing VLANs.
    
    Tony fixes a checkpatch warning for unnecessary blank line.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  3. Merge tag 'batadv-next-pullrequest-20210408' of git://git.open-mesh.o…

    …rg/linux-merge
    
    Simon Wunderlich says:
    
    ====================
    This cleanup patchset includes the following patches:
    
     - for kerneldoc in batadv_priv, by Linus Luessing
    
     - drop unused header preempt.h, by Sven Eckelmann
    
     - Fix misspelled "wont", by Sven Eckelmann
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  4. Merge branch 'net-sched-action-tests'

    Vlad Buslov says:
    
    ====================
    Additional tests for action API
    
    Add two new tests for action create/change code.
    ====================
    
    Acked-by: Cong Wang <cong.wang@bytedance.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  5. tc-testing: add simple action test to verify batch change cleanup

    Verify cleanup of failed actions batch change where second action in batch
    fails after successful init of first action.
    
    Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vbuslov authored and davem330 committed Apr 8, 2021
  6. tc-testing: add simple action test to verify batch add cleanup

    Verify cleanup of failed actions batch add where second action in batch
    fails after successful init of first action.
    
    Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vbuslov authored and davem330 committed Apr 8, 2021
  7. net: qed: remove unused including <linux/version.h>

    Remove including <linux/version.h> that don't need it.
    
    Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
    Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Tian Tao authored and davem330 committed Apr 8, 2021
  8. Merge branch 'hns3-pm_ops'

    Huazhong Tan says:
    
    ====================
    net: hns3: add support for pm_ops
    
    This series adds support for pm_ops in the HNS3 ethernet driver.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  9. net: hns3: add suspend and resume pm_ops

    To implement the system suspend/resume functions, the NIC driver needs
    to support:
    1. When the system enters the suspend mode, the driver needs to
    implement the suspend callback function of the NIC device. The driver
    needs to mute the device, stop all RX/TX activities of the device, and
    unmap the interrupt.
    2. When the system enters the resume mode, the driver needs to
    implement the resume callback function of the NIC device and restore
    the device to the state before suspension.
    
    When the system enters the suspend and resume mode, the NIC driver
    actually executes the PF function reset process.
    
    When the PFs are suspending/resuming, VFs also enter the suspend/resume
    state because the PFs trigger the VFs to reset, therefore no operation
    is required when the VF pci_driver is suspending or resuming.
    
    Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
    Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    zhangjiaran authored and davem330 committed Apr 8, 2021
  10. net: hns3: change flr_prepare/flr_done function names

    The flr_prepare/flr_done functions are not only used in the FLR scenario,
    but also used in the suspend/resume.
    
    Change the function names to prepare_for_reset/rebuild_for_reset, change
    the flr_prepare/flr_done to reset_prepare/reset_done in hnae3_ae_ops.
    
    Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
    Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    zhangjiaran authored and davem330 committed Apr 8, 2021
  11. Merge branch 'ionic-hwtstamp-tweaks'

    Shannon Nelson says:
    
    ====================
    ionic: hwstamp tweaks
    
    A few little changes after review comments and
    additional internal testing.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  12. ionic: extend ts_config set locking

    Make sure the configuration is locked before
    operating on it for the replay.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  13. ionic: add ts_config replay

    Split the call into ionic_lif_hwstamp_set() to have two
    separate interfaces, one from the ioctl() for changing the
    configuration and one for replaying the current configuration
    after a FW RESET.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  14. ionic: ignore EBUSY on queue start

    When starting the queues in the link-check, don't go into
    the BROKEN state if the return was EBUSY.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  15. ionic: re-start ptp after queues up

    When returning after a firmware reset, re-start the
    PTP after we've restarted the general queues.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  16. ionic: add SKBTX_IN_PROGRESS

    Set the SKBTX_IN_PROGRESS when offloading the Tx timestamp.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  17. ionic: check for valid tx_mode on SKBTX_HW_TSTAMP xmit

    Make sure the device is in a Tx offload mode before calling the
    hwstamp offload xmit.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  18. ionic: remove unnecessary compat ifdef

    We don't need to look for HAVE_HWSTAMP_TX_ONESTEP_P2P in the
    upstream kernel.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  19. ionic: fix up a couple of code style nits

    Clean up variable declarations.
    
    Signed-off-by: Shannon Nelson <snelson@pensando.io>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    emusln authored and davem330 committed Apr 8, 2021
  20. Merge branch 'marvell10g-updates'

    Marek Behún says:
    
    ====================
    net: phy: marvell10g updates
    
    Here are some updates for marvell10g PHY driver.
    
    I am still working on some more changes for this driver, but I would
    like to have at least something reviewed / applied.
    
    Changes since v3:
    - added Andrew's Reviewed-by tags
    - removed patches adding variadic-macro library and bitmap
      initialization macro - it causes warning that we are not currently
      able to fix easily. Instead the supported_interfaces bitmap is now
      initialized via a chip specific method
    - added explanation of mactype initialization to commit message of patch
      07/16
    - fixed repeated word in commit message of second to last patch
    
    Changes since v2:
    - code refactored to use an additional structure mv3310_chip describing
      mv3310 specific properties / operations for PHYs supported by this
      driver
    - added separate phy_driver structures for 88X3340 and 88E2111
    - removed 88E2180 specific code (dual-port and quad-port SXGMII modes
      are ignored for now)
    
    Changes since v1:
    - added various MACTYPEs support also for 88E21XX
    - differentiate between specific models with same PHY_ID
    - better check for compatible interface
    - print exact model
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Apr 8, 2021
  21. MAINTAINERS: add myself as maintainer of marvell10g driver

    Add myself as maintainer of the marvell10g ethernet PHY driver, in
    addition to Russell King.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  22. net: phy: marvell10g: change module description

    This module supports not only Alaska X, but also Alaska M.
    
    Change module description appropriately.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  23. net: phy: marvell10g: differentiate 88E2110 vs 88E2111

    88E2111 is a variant of 88E2110 which does not support 5 gigabit speeds.
    
    Differentiate these variants via the match_phy_device() method, since
    they have the same PHY ID.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  24. net: phy: add constants for 2.5G and 5G speed in PCS speed register

    Add constants for 2.5G and 5G speed in PCS speed register into mdio.h.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  25. net: phy: marvell10g: fix driver name for mv88e2110

    The driver name "mv88x2110" should be instead "mv88e2110".
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  26. net: phy: marvell10g: add separate structure for 88X3340

    The 88X3340 contains 4 cores similar to 88X3310, but there is a
    difference: it does not support xaui host mode. Instead the
    corresponding MACTYPE means
      rxaui / 5gbase-r / 2500base-x / sgmii without AN
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  27. net: phy: marvell10g: support other MACTYPEs

    Currently the only "changing" MACTYPE we support is when the PHY changes
    between
      10gbase-r / 5gbase-r / 2500base-x / sgmii
    
    Add support for
      usxgmii
      xaui / 5gbase-r / 2500base-x / sgmii
      rxaui / 5gbase-r / 2500base-x / sgmii
    and also
      5gbase-r / 2500base-x / sgmii
    for 88E2110.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  28. net: phy: marvell10g: store temperature read method in chip strucutre

    Now that we have a chip structure, we can store the temperature reading
    method in this structure (OOP style).
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
  29. net: phy: marvell10g: check for correct supported interface mode

    The 88E2110 does not support xaui nor rxaui modes. Check for correct
    interface mode for different chips.
    
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Reviewed-by: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    elkablo authored and davem330 committed Apr 8, 2021
Older