1. 08 Aug, 2018 2 commits
  2. 06 Aug, 2018 1 commit
  3. 05 Aug, 2018 4 commits
  4. 02 Aug, 2018 20 commits
  5. 29 Jul, 2018 4 commits
  6. 27 Jul, 2018 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'fsi-updates-2018-07-27' of... · 2d8bc619
      Greg Kroah-Hartman authored
      Merge tag 'fsi-updates-2018-07-27' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/linux-fsi into char-misc-next
      
      Ben writes:
      
      Last round of FSI updates for 4.19
      
      This adds a few fixes for things reported since the last merge,
      and the latch batch of changes pending for FSI for 4.19.
      
      That batch is a rather mechanical conversion of the misc devices
      into proper char devices.
      
      The misc devices were ill suited, the minor space for them is
      limited and we can have a lot of chips in a system creating FSI
      devices.
      
      This also allows us to better control (and fix) object lifetime
      getting rid of the bad devm_kzalloc() of the structures containing
      the devices etc...
      
      Finally, we add a chardev to the core FSI that provides raw CFAM
      access to FSI slaves as a replacement for the current "raw" binary
      sysfs file which will be ultimately deprecated and removed.
      2d8bc619
  7. 26 Jul, 2018 6 commits
  8. 25 Jul, 2018 2 commits
    • Gustavo A. R. Silva's avatar
      fsi: master-ast-cf: Fix memory leak · 502defbb
      Gustavo A. R. Silva authored
      In case memory resources for *fw* were allocated, release them
      before return.
      
      Addresses-Coverity-ID: 1472044 ("Resource leak")
      Fixes: 6a794a27 ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire")
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      502defbb
    • Mika Westerberg's avatar
      thunderbolt: Add support for runtime PM · 2d8ff0b5
      Mika Westerberg authored
      When Thunderbolt host controller is set to RTD3 mode (Runtime D3) it is
      present all the time. Because of this it is important to runtime suspend
      the controller whenever possible. In case of ICM we have following rules
      which all needs to be true before the host controller can be put to D3:
      
        - The controller firmware reports to support RTD3
        - All the connected devices announce support for RTD3
        - There is no active XDomain connection
      
      Implement this using standard Linux runtime PM APIs so that when all the
      children devices are runtime suspended, the Thunderbolt host controller
      PCI device is runtime suspended as well. The ICM firmware then starts
      powering down power domains towards RTD3 but it can prevent this if it
      detects that there is an active Display Port stream (this is not visible
      to the software, though).
      
      The Thunderbolt host controller will be runtime resumed either when
      there is a remote wake event (device is connected or disconnected), or
      when there is access from userspace that requires hardware access.
      Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2d8ff0b5