OSDN Git Service

x86/PCI: Allow x86 platforms to use translation offsets
authorMike Yoknis <mike.yoknis@hp.com>
Wed, 7 Nov 2012 22:52:20 +0000 (15:52 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Nov 2012 22:52:20 +0000 (15:52 -0700)
commitb4873931cc8c934a9893d5962bde97aca23be983
treef78f75073bb64a52c9f141dfe1715af75d89aa3c
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
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