1. 23 8月, 2017 4 次提交
    • R
      powerpc: pseries: remove dlpar_attach_node dependency on full path · 215ee763
      Rob Herring 提交于
      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: NRob 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: NMichael Ellerman <mpe@ellerman.id.au>
      215ee763
    • R
      powerpc: Convert to using %pOF instead of full_name · b7c670d6
      Rob Herring 提交于
      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: NRob 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: NTyrel Datwyler <tyreld@linux.vnet.ibm.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      b7c670d6
    • M
      powerpc/vio: Use device_type to detect family · bcf21e3a
      Michael Ellerman 提交于
      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: NMichael Ellerman <mpe@ellerman.id.au>
      bcf21e3a
    • M
      Merge branch 'fixes' into next · 15c659ff
      Michael Ellerman 提交于
      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 8月, 2017 1 次提交
  3. 18 8月, 2017 1 次提交
  4. 17 8月, 2017 11 次提交
  5. 16 8月, 2017 8 次提交
  6. 15 8月, 2017 15 次提交