diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2015-07-02 16:23:22 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-07-07 17:44:53 +0200 |
commit | 16b0ea1d852873cf17630133d86df6a68e23f38c (patch) | |
tree | 8d02aa3490f4f5e171b0d4559b0acae6ce2e2c37 /audio/dsoundaudio.c | |
parent | 1d2d974244c6f1629ca83f1de293eaa557634627 (diff) | |
download | hqemu-16b0ea1d852873cf17630133d86df6a68e23f38c.zip hqemu-16b0ea1d852873cf17630133d86df6a68e23f38c.tar.gz |
spapr_pci: populate ibm,loc-code
Each hardware instance has a platform unique location code. The OF
device tree that describes a part of a hardware entity must include
the “ibm,loc-code” property with a value that represents the location
code for that hardware entity.
Populate ibm,loc-code.
1) PCI passthru devices need to identify with its own ibm,loc-code
available on the host. In failure cases use:
vfio_<name>:<phb-index>:<bus>:<slot>.<fn>
2) Emulated devices encode as following:
qemu_<name>:<phb-index>:<bus>:<slot>.<fn>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'audio/dsoundaudio.c')
0 files changed, 0 insertions, 0 deletions