On Wed, 2015-25-03 at 05:35:38 UTC, Daniel Axtens wrote: > The only function that checks ppc_swiotlb_enable is swiotlb_subsys_init.
.. which is a subsys initcall. > The code in fsl_pci.c is called well after that, so don't bother > changing it. Hmm, I think we got this wrong. I don't remember exactly but it was probably me who told you it could be removed, but I probably hadn't had a coffee yet :} I see setup_pci_atmu() called by fsl_pci_syscore_do_resume(), ie. at runtime == late. So ignore that. But also fsl_add_bridge(), called from fsl_pci_probe(), which is a platform driver, registered at arch initcall via fsl_pci_init(). arch initcall happens *before* subsys, so in that case this will be effective. So I think we need to leave it alone. cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev