aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorNiklas Cassel <[email protected]>2016-10-14 21:54:55 +0000
committerBjorn Helgaas <[email protected]>2016-11-04 20:28:55 +0000
commit416379f9ebded501eda882e6af0a7aafc1866700 (patch)
tree7354377d7649f6e9d3bb5104593deddb9fc1ad92 /scripts/gcc-plugins/sancov_plugin.c
parentPCI: qcom: Fix pp->dev usage before assignment (diff)
downloadkernel-416379f9ebded501eda882e6af0a7aafc1866700.tar.gz
kernel-416379f9ebded501eda882e6af0a7aafc1866700.zip
PCI: designware: Check for iATU unroll support after initializing host
dw_pcie_iatu_unroll_enabled() reads a dbi_base register. Reading any dbi_base register before pp->ops->host_init has been called causes "imprecise external abort" on platforms like ARTPEC-6, where the PCIe module is disabled at boot and first enabled in pp->ops->host_init. Move dw_pcie_iatu_unroll_enabled() to dw_pcie_setup_rc(), since it is after pp->ops->host_init, but before pp->iatu_unroll_enabled is actually used. Fixes: a0601a470537 ("PCI: designware: Add iATU Unroll feature") Tested-by: James Le Cuirot <[email protected]> Signed-off-by: Niklas Cassel <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Joao Pinto <[email protected]> Acked-by: Olof Johansson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions