summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWill McVicker <willmcvicker@google.com>2022-08-26 02:54:02 +0300
committerLorenzo Pieralisi <lpieralisi@kernel.org>2022-08-29 10:56:33 +0300
commit423511ec23e2a6fa7830ed76b0283268e795d09d (patch)
tree3489d731444dfef1f012e87880fe4cee591515d0 /tools/perf/scripts/python/export-to-postgresql.py
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-423511ec23e2a6fa7830ed76b0283268e795d09d.tar.xz
PCI: dwc: Drop dependency on ZONE_DMA32
Re-work the msi_msg DMA allocation logic to use dmam_alloc_coherent() which uses the coherent DMA mask to try to return an allocation within the DMA mask limits. With that, we now can drop the msi_page parameter in struct dw_pcie_rp. This allows kernel configurations that disable ZONE_DMA32 to continue supporting a 32-bit DMA mask. Without this patch, the PCIe host device will fail to probe when ZONE_DMA32 is disabled. Link: https://lore.kernel.org/r/20220825235404.4132818-2-willmcvicker@google.com Fixes: 35797e672ff0 ("PCI: dwc: Fix MSI msi_msg DMA mapping") Reported-by: Isaac J. Manjarres <isaacmanjarres@google.com> Signed-off-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Jingoo Han <jingoohan1@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions