1. 30 Aug, 2019 16 commits
  2. 29 Aug, 2019 21 commits
  3. 28 Aug, 2019 3 commits
    • Jian Shen's avatar
      net: phy: force phy suspend when calling phy_stop · 95fb8bb3
      Jian Shen authored
      Some ethernet drivers may call phy_start() and phy_stop() from
      ndo_open() and ndo_close() respectively.
      
      When network cable is unconnected, and operate like below:
      step 1: ifconfig ethX up -> ndo_open -> phy_start ->start
      autoneg, and phy is no link.
      step 2: ifconfig ethX down -> ndo_close -> phy_stop -> just stop
      phy state machine.
      
      This patch forces phy suspend even phydev->link is off.
      Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
      Reviewed-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      95fb8bb3
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 8e4a2adc
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2019-08-26
      
      This series contains updates to ice driver only.
      
      Usha fixes the statistics reported on 4 port NICs which were reporting
      the incorrect statistics due to using the incorrect port identifier.
      
      Victor fixes an issue when trying to traverse to the first node of a
      requested layer by adding a sibling head pointer for each layer per
      traffic class.
      
      Anirudh cleans up the locking and logic for enabling and disabling
      VSI's to make it more consistent.  Updates the driver to do dynamic
      allocation of queue management bitmaps and arrays, rather than
      statically allocating them which consumes more memory than required.
      Refactor the logic in ice_ena_msix_range() for clarity and add
      additional checks for when requested resources exceed what is available.
      
      Jesse updates the debugging print statements to make it more useful when
      dealing with link and PHY related issues.
      
      Krzysztof adds a local variable to the VSI rebuild path to improve
      readability.
      
      Akeem limits the reporting of MDD events from VFs so that the kernel
      log is not clogged up with MDD events which are duplicate or potentially
      false positives.  Fixed a reset issue that would result in the system
      getting into a state that could only be resolved by a reboot by
      testing if the VF is in a disabled state during a reset.
      
      Michal adds a check to avoid trying to access memory that has not be
      allocated by checking the number of queue pairs.
      
      Jake fixes a static analysis warning due to a cast of a u8 to unsigned
      long, so just update ice_is_tc_ena() to take a unsigned long so that a
      cast is not necessary.
      
      Colin Ian King fixes a potential infinite loop where a u8 is being
      compared to an int.
      
      Maciej refactors the queue handling functions that work on queue arrays
      so that the logic can be done for a single queue.
      
      Paul adds support for VFs to enable and disable single queues.
      
      Henry fixed the order of operations in ice_remove() which was trying to
      use adminq operations that were already disabled.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8e4a2adc
    • YueHaibing's avatar
      phy: mdio-sun4i: use devm_platform_ioremap_resource() to simplify code · 3894793e
      YueHaibing authored
      Use devm_platform_ioremap_resource() to simplify the code a bit.
      This is detected by coccinelle.
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3894793e