1. 12 Oct, 2021 1 commit
  2. 07 Oct, 2021 3 commits
  3. 06 Oct, 2021 2 commits
    • Luiz Augusto von Dentz's avatar
      Bluetooth: Fix handling of SUSPEND_DISCONNECTING · 83775456
      Luiz Augusto von Dentz authored
      When SUSPEND_DISCONNECTING bit is set that means Disconnect is pending
      but the code was evaluating if the list is empty before calling
      hci_conn_del which does the actual cleanup and remove the connection
      from the list thus the bit is never cleared causing the suspend
      procedure to always timeout when there are connections to be
      disconnected:
      
      Suspend/Resume - Success 5 (Pairing - Legacy) - waiting done
        Set the system into Suspend via force_suspend
      = mgmt-tester: Suspend/Resume - Success 5 (Pairing -..   17:03:13.200458
      = mgmt-tester: Set the system into Suspend via force_suspend    17:03:13.205812
      < HCI Command: Write Scan E.. (0x03|0x001a) plen 1  #122 [hci0] 17:03:13.213561
              Scan enable: No Scans (0x00)
      > HCI Event: Command Complete (0x0e) plen 4         #123 [hci0] 17:03:13.214710
            Write Scan Enable (0x03|0x001a) ncmd 1
              Status: Success (0x00)
      < HCI Command: Disconnect (0x01|0x0006) plen 3      #124 [hci0] 17:03:13.215830
              Handle: 42
              Reason: Remote Device Terminated due to Power Off (0x15)
      > HCI Event: Command Status (0x0f) plen 4           #125 [hci0] 17:03:13.216602
            Disconnect (0x01|0x0006) ncmd 1
              Status: Success (0x00)
      > HCI Event: Disconnect Complete (0x05) plen 4      #126 [hci0] 17:03:13.217342
              Status: Success (0x00)
              Handle: 42
              Reason: Remote Device Terminated due to Power Off (0x15)
      @ MGMT Event: Device Disconn.. (0x000c) plen 8  {0x0002} [hci0] 17:03:13.217688
              BR/EDR Address: 00:AA:01:01:00:00 (Intel Corporation)
              Reason: Connection terminated by local host for suspend (0x05)
      @ MGMT Event: Device Disconn.. (0x000c) plen 8  {0x0001} [hci0] 17:03:13.217688
              BR/EDR Address: 00:AA:01:01:00:00 (Intel Corporation)
              Reason: Connection terminated by local host for suspend (0x05)
      Suspend/Resume - Success 5 (Pairing - Legacy) - test timed out
      = mgmt-tester: Suspend/Resume - Success 5 (Pairing -..   17:03:13.939317
      Suspend/Resume - Success 5 (Pairing - Legacy) - teardown
      = mgmt-tester: Suspend/Resume - Success 5 (Pairing -..   17:03:13.947267
      [   13.284291] Bluetooth: hci0: Timed out waiting for suspend events
      [   13.287324] Bluetooth: hci0: Suspend timeout bit: 6
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      83775456
    • Luiz Augusto von Dentz's avatar
      Bluetooth: hci_vhci: Fix calling hci_{suspend,resume}_dev · d16e6d19
      Luiz Augusto von Dentz authored
      Defer calls to hci_{suspend,resume}_dev to work so it doesn't block the
      processing of the events.
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      d16e6d19
  4. 05 Oct, 2021 29 commits
  5. 04 Oct, 2021 5 commits
    • David S. Miller's avatar
      Merge branch 'phy-10g-mode-helper' · 16600343
      David S. Miller authored
      Russell King says:
      
      ====================
      Add phylink helper for 10G modes
      
      During the last cycle, there was discussion about adding a helper
      to set the 10G link modes for phylink, which resulted in these two
      patches introduce such a helper.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      16600343
    • Russell King (Oracle)'s avatar
      net: ethernet: use phylink_set_10g_modes() · 14ad41c7
      Russell King (Oracle) authored
      Update three drivers to use the new phylink_set_10g_modes() helper:
      Cadence macb, Freescale DPAA2 and Marvell PP2.
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      14ad41c7
    • Russell King (Oracle)'s avatar
      net: phylink: add phylink_set_10g_modes() helper · a2c27a61
      Russell King (Oracle) authored
      Add a helper for setting 10Gigabit modes, so we have one central
      place that sets all appropriate 10G modes for a driver.
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a2c27a61
    • MichelleJin's avatar
      net: ipv6: fix use after free of struct seg6_pernet_data · 23b08260
      MichelleJin authored
      sdata->tun_src should be freed before sdata is freed
      because sdata->tun_src is allocated after sdata allocation.
      So, kfree(sdata) and kfree(rcu_dereference_raw(sdata->tun_src)) are
      changed code order.
      
      Fixes: f04ed7d2 ("net: ipv6: check return value of rhashtable_init")
      Signed-off-by: default avatarMichelleJin <shjy180909@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      23b08260
    • David S. Miller's avatar
      Merge branch 'qed-new-fw' · e4addd4e
      David S. Miller authored
      Prabhakar Kushwaha says:
      
      ====================
      qed: new firmware version 8.59.1.0 support
      
      This series integrate new firmware version 8.59.1.0, along with updated
      HSI (hardware software interface) to use the FW, into the family of
      qed drivers (fastlinq devices). This FW does not reside in the NVRAM.
      It needs to be programmed to device during driver load as the part of
      initialization sequence.
      
      Similar to previous FW support series, this FW is tightly linked to
      software and pf function driver. This means FW release is not backward
      compatible, and driver should always run with the FW it was designed
      against.
      
      FW binary blob is already submitted & accepted in linux-firmware repo.
      
      Patches in the series include:
      patch 1     - qed: Fix kernel-doc warnings
      patch 2     - qed: Remove e4_ and _e4 from FW HSI
      patch 3     - qed: split huge qed_hsi.h header file
      patch 4-8   - HSI (hardware software interface) changes
      patch 9     - qed: Add '_GTT' suffix to the IRO RAM macros
      patch 10    - qed: Update debug related changes
      patch 11    - qed: rdma: Update TCP silly-window-syndrome timeout
      patch 12    - qed: Update the TCP active termination 2  MSL timer
      patch 13    - qed: fix ll2 establishment during load of RDMA driver
      
      In addition, this patch series also fixes existing checkpatch warnings
      and checks which are missing.
      
      Changes for v2:
       - Incorporated Jakub's comments.
         - New patch introduced to fix all kernel-doc issue in qed driver.
         - Fixed warning: ‘qed_mfw_ext_20g’ defined but not used.
         - Fixed warning related to kernel-doc wrt to this series.
         - Removed inline function declaration.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e4addd4e