All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Make deferring probe forever optional
@ 2018-05-24 17:50 ` Rob Herring
  0 siblings, 0 replies; 66+ messages in thread
From: Rob Herring @ 2018-05-24 17:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Linus Walleij, Alexander Graf,
	Bjorn Andersson, Rafael J. Wysocki, Kevin Hilman, Ulf Hansson,
	Joerg Roedel, Robin Murphy, Mark Brown, Frank Rowand
  Cc: linux-kernel, devicetree, boot-architecture, linux-arm-kernel

This series came out of a discussion on the ARM boot-architecture
list[1] about DT forwards and backwards compatibility issues. There are
issues with newer DTs breaking on older, stable kernels. Some of these
are difficult to solve, but cases of optional devices not having
kernel support should be solvable.

I tested this on a RPi3 B with the pinctrl driver forced off. With this
change, the MMC/SD and UART drivers can function without the pinctrl
driver.

v2:
 - Add a DT property for pinctrl to flag using defaults
 - Add a debug timeout to stop deferring some number of seconds after
   initcalls are done (giving modules a chance to load)
 - Split pinctrl support to its own patch
 - WARN when we stop deferring probe for a device
 - Add IOMMU support
 - Add PM domain support

Rob

[1] https://lists.linaro.org/pipermail/boot-architecture/2018-April/000466.html


Rob Herring (8):
  driver core: make deferring probe after init optional
  driver core: add a deferred probe timeout
  dt-bindings: pinctrl: add a 'pinctrl-use-default' property
  arm: dts: bcm283x: mark the UART pin muxing nodes with
    pinctrl-use-default
  pinctrl: optionally stop deferring probe at end of initcalls
  iommu: Stop deferring probe at end of initcalls
  iommu: Remove IOMMU_OF_DECLARE
  PM / Domains: Stop deferring probe at the end of initcall

 .../admin-guide/kernel-parameters.txt         |  7 +++
 .../bindings/pinctrl/pinctrl-bindings.txt     |  6 +++
 arch/arm/boot/dts/bcm283x.dtsi                |  2 +
 drivers/base/dd.c                             | 43 +++++++++++++++++++
 drivers/base/power/domain.c                   |  2 +-
 drivers/iommu/arm-smmu-v3.c                   |  2 -
 drivers/iommu/arm-smmu.c                      |  7 ---
 drivers/iommu/exynos-iommu.c                  |  2 -
 drivers/iommu/ipmmu-vmsa.c                    |  3 --
 drivers/iommu/msm_iommu.c                     |  2 -
 drivers/iommu/of_iommu.c                      | 21 +--------
 drivers/iommu/qcom_iommu.c                    |  2 -
 drivers/iommu/rockchip-iommu.c                |  2 -
 drivers/pinctrl/devicetree.c                  | 14 ++++--
 include/linux/device.h                        |  2 +
 include/linux/of_iommu.h                      |  4 --
 16 files changed, 73 insertions(+), 48 deletions(-)

--
2.17.0

^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, other threads:[~2018-05-30  7:00 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24 17:50 [PATCH v2 0/8] Make deferring probe forever optional Rob Herring
2018-05-24 17:50 ` Rob Herring
2018-05-24 17:50 ` [PATCH v2 1/8] driver core: make deferring probe after init optional Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 18:18   ` Mark Brown
2018-05-24 18:18     ` Mark Brown
2018-05-24 20:25     ` Rob Herring
2018-05-24 20:25       ` Rob Herring
2018-05-25 11:47     ` Robin Murphy
2018-05-25 11:47       ` Robin Murphy
2018-05-29  5:12     ` Frank Rowand
2018-05-29  5:12       ` Frank Rowand
2018-05-29 14:46       ` Rob Herring
2018-05-29 14:46         ` Rob Herring
2018-05-29 14:46         ` Rob Herring
2018-05-24 18:56   ` Greg Kroah-Hartman
2018-05-24 18:56     ` Greg Kroah-Hartman
2018-05-24 19:42     ` Rob Herring
2018-05-24 19:42       ` Rob Herring
2018-05-24 19:00   ` Greg Kroah-Hartman
2018-05-24 19:00     ` Greg Kroah-Hartman
2018-05-24 20:57     ` Rob Herring
2018-05-24 20:57       ` Rob Herring
2018-05-25 12:20       ` Robin Murphy
2018-05-25 12:20         ` Robin Murphy
2018-05-25 17:35         ` Rob Herring
2018-05-25 17:35           ` Rob Herring
2018-05-24 22:28   ` Bjorn Andersson
2018-05-24 22:28     ` Bjorn Andersson
2018-05-24 23:47     ` Rob Herring
2018-05-24 23:47       ` Rob Herring
2018-05-24 17:50 ` [PATCH v2 2/8] driver core: add a deferred probe timeout Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 19:01   ` Greg Kroah-Hartman
2018-05-24 19:01     ` Greg Kroah-Hartman
2018-05-24 19:45     ` Rob Herring
2018-05-24 19:45       ` Rob Herring
2018-05-24 19:51       ` Greg Kroah-Hartman
2018-05-24 19:51         ` Greg Kroah-Hartman
2018-05-24 17:50 ` [PATCH v2 3/8] dt-bindings: pinctrl: add a 'pinctrl-use-default' property Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 17:50 ` [PATCH v2 4/8] arm: dts: bcm283x: mark the UART pin muxing nodes with pinctrl-use-default Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 17:50 ` [PATCH v2 5/8] pinctrl: optionally stop deferring probe at end of initcalls Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-30  7:00   ` Linus Walleij
2018-05-30  7:00     ` Linus Walleij
2018-05-30  7:00     ` Linus Walleij
2018-05-24 17:50 ` [PATCH v2 6/8] iommu: Stop " Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-24 17:50   ` Rob Herring
     [not found] ` <20180524175024.19874-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-05-24 17:50   ` [PATCH v2 7/8] iommu: Remove IOMMU_OF_DECLARE Rob Herring
2018-05-24 17:50     ` Rob Herring
2018-05-24 17:50     ` Rob Herring
     [not found]     ` <20180524175024.19874-8-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-05-25 11:31       ` Will Deacon
2018-05-25 11:31         ` Will Deacon
2018-05-25 11:31         ` Will Deacon
2018-05-28  6:53       ` Marek Szyprowski
2018-05-28  6:53         ` Marek Szyprowski
2018-05-28  6:53         ` Marek Szyprowski
2018-05-24 17:50 ` [PATCH v2 8/8] PM / Domains: Stop deferring probe at the end of initcall Rob Herring
2018-05-24 17:50   ` Rob Herring
2018-05-29 11:48 ` [PATCH v2 0/8] Make deferring probe forever optional Joerg Roedel
2018-05-29 11:48   ` 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.