1. 29 Nov, 2018 4 commits
    • Kunihiko Hayashi's avatar
      net: ethernet: ave: Set initial wol state to disabled · 7200f2e3
      Kunihiko Hayashi authored
      If wol state of phy hardware is enabled after reset, phy_ethtool_get_wol()
      returns that wol.wolopts is true.
      
      However, since net_device.wol_enabled is zero and this doesn't apply wol
      state until calling ethtool_set_wol(), so mdio_bus_phy_may_suspend()
      returns true, that is, it's in a state where phy can suspend even though
      wol state is enabled.
      
      In this inconsistency, phy_suspend() returns -EBUSY, and at last,
      suspend sequence fails with the following message:
      
          dpm_run_callback(): mdio_bus_phy_suspend+0x0/0x58 returns -16
          PM: Device 65000000.ethernet-ffffffff:01 failed to suspend: error -16
          PM: Some devices failed to suspend, or early wake event detected
      
      In order to fix the above issue, this patch forces to set initial wol state
      to disabled as default.
      Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7200f2e3
    • Kunihiko Hayashi's avatar
      net: ethernet: ave: Add suspend/resume support · 0ba78b4a
      Kunihiko Hayashi authored
      This patch introduces suspend and resume functions to ave driver.
      Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0ba78b4a
    • David S. Miller's avatar
      Merge tag 'linux-can-next-for-4.21-20181128' of... · bd82233f
      David S. Miller authored
      Merge tag 'linux-can-next-for-4.21-20181128' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
      
      Marc Kleine-Budde says:
      
      ====================
      This is a pull request for net-next/master consisting of 18 patches.
      
      The first patch is by Colin Ian King and fixes the spelling in the ucan
      driver.
      
      The next three patches target the xilinx driver. YueHaibing's patch
      fixes the return type of ndo_start_xmit function. Two patches by
      Shubhrajyoti Datta add support for the CAN FD 2.0 controllers.
      
      Flavio Suligoi's patch for the sja1000 driver add support for the ASEM
      CAN raw hardware.
      
      Wolfram Sang's and Kuninori Morimoto's patches switch the rcar driver to
      use SPDX license identifiers.
      
      The remaining 111 patches improve the flexcan driver. Pankaj Bansal's
      patch enables the driver in Kconfig on all architectures with IOMEM
      support. The next four patches by me fix indention, add missing
      parentheses and comments. Aisheng Dong's patches add self wake support
      and document it in the DT bindings. The remaining patches by Pankaj
      Bansal first fix the loopback support and prepare the driver for the
      CAN-FD support needed for the LX2160A SoC. The actual CAN-FD support
      will be added in a later patch series.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bd82233f
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · e561bb29
      David S. Miller authored
      Trivial conflict in net/core/filter.c, a locally computed
      'sdif' is now an argument to the function.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e561bb29
  2. 28 Nov, 2018 36 commits