summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-07-23 23:16:06 +0100
committerChristoph Hellwig <hch@lst.de>2018-07-27 19:01:04 +0200
commit5ac65e8c89410892189ef778f567da4adafb2e2f (patch)
treed06ecac60aea112fe96de7d324d4e41c58b6fdef /include/linux/device.h
parenta5516219b10218a87abb3352c82248ce3088e94a (diff)
downloadtalos-op-linux-5ac65e8c89410892189ef778f567da4adafb2e2f.tar.gz
talos-op-linux-5ac65e8c89410892189ef778f567da4adafb2e2f.zip
ACPI/IORT: Support address size limit for root complexes
IORT revision D allows PCI root complex nodes to specify a memory address size limit equivalently to named components, to help describe straightforward integrations which don't really warrant a full-blown _DMA method. Now that our headers are up-to-date, plumb it in. If both _DMA and an address size limit are present, we would always expect the former to be a more specific subset of the latter (since it makes little sense for a _DMA range to involve bits which IORT says aren't wired up), thus we can save calculating an explicit intersection of the two effective masks and simply use short-circuit logic instead. Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud