summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJon Derrick <jonathan.derrick@intel.com>2018-05-18 13:28:00 -0600
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-05-24 17:43:19 +0100
commit2a5a9c9a20f919c33bb315dab2867992ec96dfa4 (patch)
treeccffc149c89d1f0a88ed90ff9cba780190fb8102 /arch
parent6788958e4f3ca1b75df841d7e25951807e94e5e0 (diff)
downloadop-kernel-dev-2a5a9c9a20f919c33bb315dab2867992ec96dfa4.zip
op-kernel-dev-2a5a9c9a20f919c33bb315dab2867992ec96dfa4.tar.gz
PCI: vmd: Add offset to bus numbers if necessary
Depending on platform configuration, certain VMD devices may have an additional configuration option which specifies the range of bus numbers allowed in a VMD PCIe domain. We determine this requirement by checking the value of two vendor specific config registers in the VMD endpoint: VMCAP[0] | VMCONFIG[9:8] | Bus Numbers ---------------------------------------- 0 | * | 0-255 1 | 00 | 0-127 1 | 01 | 128-255 1 | 10 | 0-255 This feature is also added as a bit in driver_data, to allow future conforming device ids which support these features to be enabled through sysfs new_id. Signed-off-by: Jon Derrick <jonathan.derrick@intel.com> [lorenzo.pieralisi@arm.com: updated commit subject] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud