]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/PCI: Allow x86 platforms to use translation offsets
authorMike Yoknis <mike.yoknis@hp.com>
Tue, 6 Nov 2012 21:42:04 +0000 (15:42 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Nov 2012 22:33:53 +0000 (15:33 -0700)
commit1ab649c822b2d21686d93ef297974d5458e8db4c
treecf9c2d10cf9c8404a188e43448fff1b21e455725
parent6e965e0d0e1d102c261326b06338d3385ea55f97
x86/PCI: Allow x86 platforms to use translation offsets

The memory range descriptors in the _CRS control method contain an address
translation offset for host bridges.  This value is used to translate
addresses across the bridge.  The support to use _TRA values is present for
other architectures but not for X86 platforms.

For existing X86 platforms the _TRA value is zero.  Non-zero _TRA values
are expected on future X86 platforms.  This change will register that value
with the resource.

Signed-off-by: Mike Yoknis <mike.yoknis@hp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/acpi.c