Skip to content

Make several Kconfig options depend on HAS_IOMEM

Baoquan He dmaengine linux-clk linux-devicetree linux-mm lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesApplied 6/8

Patches in v1 Applied · 6/8

#Subject and filesSizeRepliesApplied
1/8idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEMdrivers/dma/Kconfig+2 -00 replies
2/8char: xillybus: make XILLYBUS_OF depend on HAS_IOMEMdrivers/char/xillybus/Kconfig+1 -11 replyApplied
3/8misc: open-dice: make OPEN_DICE depend on HAS_IOMEMdrivers/misc/Kconfig+1 -00 repliesApplied
4/8pcmcia : make PCMCIA depend on HAS_IOMEMdrivers/pcmcia/Kconfig+1 -00 repliesApplied
5/8net: altera-tse: make ALTERA_TSE depend on HAS_IOMEMdrivers/net/ethernet/altera/Kconfig+1 -02 repliesApplied
6/8irqchip/al-fic: make AL_FIC depend on HAS_IOMEMdrivers/irqchip/Kconfig+1 -00 repliesApplied
7/8clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEMdrivers/clk/Kconfig+1 -01 replyApplied
8/8of: make OF_EARLY_FLATTREE depend on HAS_IOMEMdrivers/of/Kconfig+1 -11 reply

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchNiklas SchnelleArnd BergmannEli BillauerSimon Horman
1/8
2/8A-b
3/8
4/8R-b A-b
5/8R-b T-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] Make several Kconfig options depend on HAS_IOMEM

In thread of one patch posting, LKP test robot reported some compiling errors, paste the LKP report link here:

https://lore.kernel.org/all/[email protected]/T/#u

In the config file, several Kconfig options are like below:
------
'# CONFIG_PCI is not set' CONFIG_OF_EARLY_FLATTREE=y CONFIG_DMA_DECLARE_COHERENT=y
------

The reason is (words arranged from Niklas):
===
On s390 systems (aka mainframes), it has classic channel devices for networking and permanent storage that are currently even more common than PCI devices. Hence it could have a fully functional s390 kernel with CONFIG_PCI=n, then the relevant iomem mapping functions [including ioremap(), devm_ioremap(), etc.] are not available.

So make several Kconfig options depend on HAS_IOMEM so that it won't build in those driver code if PCI is unset.

Baoquan He (8):
idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
char: xillybus: make XILLYBUS_OF depend on HAS_IOMEM
misc: open-dice: make OPEN_DICE depend on HAS_IOMEM pcmcia : make PCMCIA depend on HAS_IOMEM
net: altera-tse: make ALTERA_TSE depend on HAS_IOMEM irqchip/al-fic: make AL_FIC depend on HAS_IOMEM
clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
of: make OF_EARLY_FLATTREE depend on HAS_IOMEM

 drivers/char/xillybus/Kconfig       | 2 +-
 drivers/clk/Kconfig                 | 1 +
 drivers/dma/Kconfig                 | 2 ++
 drivers/irqchip/Kconfig             | 1 +
 drivers/misc/Kconfig                | 1 +
 drivers/net/ethernet/altera/Kconfig | 1 +
 drivers/of/Kconfig                  | 2 +-
 drivers/pcmcia/Kconfig              | 1 +
 8 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1