1. 23 Aug, 2017 4 commits
    • Rob Herring's avatar
      powerpc: pseries: remove dlpar_attach_node dependency on full path · 215ee763
      Rob Herring authored
      In preparation to stop storing the full node path in full_name, remove the
      dependency on full_name from dlpar_attach_node(). Callers of
      dlpar_attach_node() already have the parent device_node, so just pass the
      parent node into dlpar_attach_node instead of the path. This avoids doing
      a lookup of the parent node by the path.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      215ee763
    • Rob Herring's avatar
      powerpc: Convert to using %pOF instead of full_name · b7c670d6
      Rob Herring authored
      Now that we have a custom printf format specifier, convert users of
      full_name to use %pOF instead. This is preparation to remove storing
      of the full path string for each node.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Scott Wood <oss@buserror.net>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: linuxppc-dev@lists.ozlabs.org
      Reviewed-by: default avatarTyrel Datwyler <tyreld@linux.vnet.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      b7c670d6
    • Michael Ellerman's avatar
      powerpc/vio: Use device_type to detect family · bcf21e3a
      Michael Ellerman authored
      Currently in the vio.c code we use a comparision against the parent
      device node's full path to decide if the device is a PFO or VIO family
      device.
      
      Both the ibm,platform-facilities and vdevice nodes are defined by PAPR,
      and must have a matching device_type. So instead of using the path we
      can instead compare the device_type.
      
      I've checked Qemu and kvmtool both do this correctly, and all the
      PowerVM systems I have access to do also. So it seems to be safe.
      
      This removes the dependency on full_name, which is being removed
      upstream.
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      bcf21e3a
    • Michael Ellerman's avatar
      Merge branch 'fixes' into next · 15c659ff
      Michael Ellerman authored
      There's a non-trivial dependency between some commits we want to put in
      next and the KVM prefetch work around that went into fixes. So merge
      fixes into next.
      15c659ff
  2. 21 Aug, 2017 1 commit
  3. 18 Aug, 2017 1 commit
  4. 17 Aug, 2017 11 commits
  5. 16 Aug, 2017 8 commits
  6. 15 Aug, 2017 15 commits