diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-05-11 22:06:57 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-06-20 16:54:22 +0300 |
commit | 9a51933e360897d9b3867c9b09dd5ccf7493e97e (patch) | |
tree | b8e2cf60fd380ac975fb8e503a3aa643847017e8 /include/acpi/acnames.h | |
parent | e947841c0dce9db675a957182214ef8091ac3d61 (diff) | |
download | linux-9a51933e360897d9b3867c9b09dd5ccf7493e97e.tar.xz |
tracing: Expose CPU physical addresses (resource values) for PCI devices
Previously, mmio_print_pcidev() put "user" addresses in the trace buffer.
On most architectures, these are the same as CPU physical addresses, but on
microblaze, mips, powerpc, and sparc, they may be something else, typically
a raw BAR value (a bus address as opposed to a CPU address).
Always expose the CPU physical address to avoid this arch-dependent
behavior.
This change should have no user-visible effect because this file currently
depends on CONFIG_HAVE_MMIOTRACE_SUPPORT, which is only defined for x86,
and pci_resource_to_user() is a no-op on x86.
Link: http://lkml.kernel.org/r/20160511190657.5898.4248.stgit@bhelgaas-glaptop2.roam.corp.google.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/acpi/acnames.h')
0 files changed, 0 insertions, 0 deletions