* [PATCH] iommu: exynos: Remove __init annotation from exynos_sysmmu_probe() [not found] <CGME20190812103255eucas1p1cdab368b5fb06e4e3df62dfdc679f3af@eucas1p1.samsung.com> @ 2019-08-12 10:32 ` Marek Szyprowski 0 siblings, 0 replies; 4+ messages in thread From: Marek Szyprowski @ 2019-08-12 10:32 UTC (permalink / raw) To: iommu, linux-samsung-soc; +Cc: Bartlomiej Zolnierkiewicz, Krzysztof Kozlowski Exynos SYSMMU driver supports deferred probe. It happens when clocks needed for this driver are not yet available. Typically next calls to driver ->probe() happen before init section is free, but this is not really guaranteed. To make if safe, remove __init annotation from exynos_sysmmu_probe() function. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/iommu/exynos-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index b0c1e5f9daae..a48236c1d5cb 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -566,7 +566,7 @@ static void sysmmu_tlb_invalidate_entry(struct sysmmu_drvdata *data, static const struct iommu_ops exynos_iommu_ops; -static int __init exynos_sysmmu_probe(struct platform_device *pdev) +static int exynos_sysmmu_probe(struct platform_device *pdev) { int irq, ret; struct device *dev = &pdev->dev; -- 2.17.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] iommu: exynos: Remove __init annotation from exynos_sysmmu_probe() @ 2019-08-12 10:32 ` Marek Szyprowski 0 siblings, 0 replies; 4+ messages in thread From: Marek Szyprowski @ 2019-08-12 10:32 UTC (permalink / raw) To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA Cc: Bartlomiej Zolnierkiewicz, Krzysztof Kozlowski Exynos SYSMMU driver supports deferred probe. It happens when clocks needed for this driver are not yet available. Typically next calls to driver ->probe() happen before init section is free, but this is not really guaranteed. To make if safe, remove __init annotation from exynos_sysmmu_probe() function. Signed-off-by: Marek Szyprowski <m.szyprowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> --- drivers/iommu/exynos-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index b0c1e5f9daae..a48236c1d5cb 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -566,7 +566,7 @@ static void sysmmu_tlb_invalidate_entry(struct sysmmu_drvdata *data, static const struct iommu_ops exynos_iommu_ops; -static int __init exynos_sysmmu_probe(struct platform_device *pdev) +static int exynos_sysmmu_probe(struct platform_device *pdev) { int irq, ret; struct device *dev = &pdev->dev; -- 2.17.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] iommu: exynos: Remove __init annotation from exynos_sysmmu_probe() @ 2019-08-14 8:51 ` Joerg Roedel 0 siblings, 0 replies; 4+ messages in thread From: Joerg Roedel @ 2019-08-14 8:51 UTC (permalink / raw) To: Marek Szyprowski Cc: iommu, linux-samsung-soc, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz On Mon, Aug 12, 2019 at 12:32:46PM +0200, Marek Szyprowski wrote: > Exynos SYSMMU driver supports deferred probe. It happens when clocks > needed for this driver are not yet available. Typically next calls to > driver ->probe() happen before init section is free, but this is not > really guaranteed. To make if safe, remove __init annotation from > exynos_sysmmu_probe() function. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Applied, thanks. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iommu: exynos: Remove __init annotation from exynos_sysmmu_probe() @ 2019-08-14 8:51 ` Joerg Roedel 0 siblings, 0 replies; 4+ messages in thread From: Joerg Roedel @ 2019-08-14 8:51 UTC (permalink / raw) To: Marek Szyprowski Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz On Mon, Aug 12, 2019 at 12:32:46PM +0200, Marek Szyprowski wrote: > Exynos SYSMMU driver supports deferred probe. It happens when clocks > needed for this driver are not yet available. Typically next calls to > driver ->probe() happen before init section is free, but this is not > really guaranteed. To make if safe, remove __init annotation from > exynos_sysmmu_probe() function. > > Signed-off-by: Marek Szyprowski <m.szyprowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Applied, thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-14 8:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20190812103255eucas1p1cdab368b5fb06e4e3df62dfdc679f3af@eucas1p1.samsung.com>
2019-08-12 10:32 ` [PATCH] iommu: exynos: Remove __init annotation from exynos_sysmmu_probe() Marek Szyprowski
2019-08-12 10:32 ` Marek Szyprowski
2019-08-14 8:51 ` Joerg Roedel
2019-08-14 8:51 ` Joerg Roedel
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.