* [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
@ 2025-08-13 16:14 Wolfram Sang
2025-08-13 16:15 ` [PATCH 14/21] pmdomain: " Wolfram Sang
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Wolfram Sang @ 2025-08-13 16:14 UTC (permalink / raw)
To: linux-kernel
Cc: Mark Brown, Wolfram Sang, Adrian Hunter, Alexandre Belloni,
Alexandre Torgue, Alim Akhtar, Andrea della Porta,
Andreas Färber, Andrzej Hajda, Andy Shevchenko, Andy Yan,
Avi Fishman, Bartosz Golaszewski, Benjamin Fair, Bjorn Andersson,
Chen-Yu Tsai, Daniel Lezcano, David Airlie, David Lechner,
Dmitry Torokhov, Drew Fustini, dri-devel, Fabio Estevam,
Fabrice Gasnier, Fu Wei, Guo Ren, Hans Verkuil,
Heiko Stübner, imx, Iwona Winiarska, Jaroslav Kysela,
Jassi Brar, Jernej Skrabec, Jerome Brunet, Jonas Karlman,
Jonathan Cameron, Kevin Hilman, Kishon Vijay Abraham I,
Konrad Dybcio, Krzysztof Kozlowski, Laurent Pinchart, Lee Jones,
Liam Girdwood, Linus Walleij, linux-actions, linux-amlogic,
linux-arm-kernel, linux-arm-msm, linux-clk, linux-gpio, linux-iio,
linux-input, linux-media, linux-mmc, linux-phy, linux-pm,
linuxppc-dev, linux-pwm, linux-riscv, linux-rockchip, linux-rtc,
linux-samsung-soc, linux-sound, linux-spi, linux-stm32,
linux-sunxi, Liu Ying, Lukasz Luba, Maarten Lankhorst,
Manivannan Sadhasivam, Martin Blumenstingl, Mauro Carvalho Chehab,
Maxime Coquelin, Maxime Ripard, Michael Turquette, Miquel Raynal,
Nancy Yuen, Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick, Vinod Koul,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
While working on a driver using regmap with MMIO, I wondered if I need
to set 'fast_io' in the config. Turned out I don't need to, so I added
documentation for it with commit ffc72771ff6e ("regmap: Annotate that
MMIO implies fast IO").
This series fixes the existing users in the tree which needlessly set
the flag. They have been found using this coccinelle script:
===
@ match @
expression dev, clk, regs;
identifier config;
@@
(
regmap_init_mmio(dev, regs, &config)
|
devm_regmap_init_mmio(dev, regs, &config)
|
regmap_init_mmio_clk(dev, clk, regs, &config)
|
devm_regmap_init_mmio_clk(dev, clk, regs, &config)
)
@ fix depends on match @
identifier match.config;
@@
struct regmap_config config = {
- .fast_io = true,
};
===
It misses occasions where 'config' is an expression and not an
identifier. These are rare, though, I can fix them manually later. The
advantage of this approach is that it produces no false positives to the
best of my knowledge.
Please apply individually per subsystem. There are no dependencies and
buildbot is happy. Patches are based on 6.17-rc1
Happy hacking,
Wolfram
Wolfram Sang (21):
bus: remove unneeded 'fast_io' parameter in regmap_config
clk: remove unneeded 'fast_io' parameter in regmap_config
gpio: remove unneeded 'fast_io' parameter in regmap_config
drm: remove unneeded 'fast_io' parameter in regmap_config
iio: remove unneeded 'fast_io' parameter in regmap_config
Input: remove unneeded 'fast_io' parameter in regmap_config
mailbox: remove unneeded 'fast_io' parameter in regmap_config
media: remove unneeded 'fast_io' parameter in regmap_config
mfd: remove unneeded 'fast_io' parameter in regmap_config
mmc: remove unneeded 'fast_io' parameter in regmap_config
peci: remove unneeded 'fast_io' parameter in regmap_config
phy: remove unneeded 'fast_io' parameter in regmap_config
pinctrl: remove unneeded 'fast_io' parameter in regmap_config
pmdomain: remove unneeded 'fast_io' parameter in regmap_config
regulator: remove unneeded 'fast_io' parameter in regmap_config
reset: remove unneeded 'fast_io' parameter in regmap_config
rtc: remove unneeded 'fast_io' parameter in regmap_config
soc: remove unneeded 'fast_io' parameter in regmap_config
spi: remove unneeded 'fast_io' parameter in regmap_config
thermal: remove unneeded 'fast_io' parameter in regmap_config
ASoC: remove unneeded 'fast_io' parameter in regmap_config
drivers/bus/bt1-apb.c | 1 -
drivers/clk/actions/owl-common.c | 1 -
drivers/clk/clk-axm5516.c | 1 -
drivers/clk/nxp/clk-lpc32xx.c | 1 -
drivers/clk/qcom/a53-pll.c | 1 -
drivers/clk/qcom/a7-pll.c | 1 -
drivers/clk/qcom/apss-ipq-pll.c | 1 -
drivers/clk/qcom/clk-cbf-8996.c | 1 -
drivers/clk/qcom/clk-cpu-8996.c | 1 -
drivers/clk/qcom/hfpll.c | 1 -
drivers/clk/qcom/ipq-cmn-pll.c | 1 -
drivers/clk/thead/clk-th1520-ap.c | 1 -
drivers/gpio/gpio-mvebu.c | 1 -
drivers/gpio/gpio-sifive.c | 1 -
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi2.c | 1 -
drivers/gpu/drm/imx/dc/dc-cf.c | 1 -
drivers/gpu/drm/imx/dc/dc-de.c | 1 -
drivers/gpu/drm/imx/dc/dc-ed.c | 2 --
drivers/gpu/drm/imx/dc/dc-fg.c | 1 -
drivers/gpu/drm/imx/dc/dc-fl.c | 1 -
drivers/gpu/drm/imx/dc/dc-fw.c | 2 --
drivers/gpu/drm/imx/dc/dc-ic.c | 1 -
drivers/gpu/drm/imx/dc/dc-lb.c | 2 --
drivers/gpu/drm/imx/dc/dc-tc.c | 1 -
drivers/gpu/drm/imx/ipuv3/imx-tve.c | 2 --
drivers/gpu/drm/rockchip/dw-mipi-dsi2-rockchip.c | 1 -
drivers/iio/adc/sun4i-gpadc-iio.c | 1 -
drivers/input/touchscreen/fsl-imx25-tcq.c | 1 -
drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 -
drivers/media/cec/platform/stm32/stm32-cec.c | 1 -
drivers/mfd/exynos-lpass.c | 1 -
drivers/mfd/fsl-imx25-tsadc.c | 1 -
drivers/mfd/stm32-lptimer.c | 1 -
drivers/mfd/sun4i-gpadc.c | 1 -
drivers/mmc/host/sdhci_am654.c | 1 -
drivers/peci/controller/peci-npcm.c | 1 -
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 1 -
drivers/phy/rockchip/phy-rockchip-usbdp.c | 1 -
drivers/phy/ti/phy-am654-serdes.c | 1 -
drivers/phy/ti/phy-j721e-wiz.c | 1 -
drivers/pinctrl/pinctrl-rp1.c | 1 -
drivers/pmdomain/imx/gpc.c | 1 -
drivers/regulator/qcom-refgen-regulator.c | 1 -
drivers/reset/reset-intel-gw.c | 1 -
drivers/reset/reset-qcom-pdc.c | 1 -
drivers/reset/reset-th1520.c | 1 -
drivers/rtc/rtc-meson.c | 1 -
drivers/soc/qcom/llcc-qcom.c | 1 -
drivers/soc/qcom/ramp_controller.c | 1 -
drivers/spi/spi-altera-platform.c | 1 -
drivers/thermal/armada_thermal.c | 1 -
drivers/thermal/sun8i_thermal.c | 1 -
sound/soc/fsl/fsl_sai.c | 1 -
53 files changed, 57 deletions(-)
--
2.47.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 14/21] pmdomain: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
@ 2025-08-13 16:15 ` Wolfram Sang
2025-08-19 12:26 ` Ulf Hansson
2025-08-13 16:15 ` [PATCH 20/21] thermal: " Wolfram Sang
` (5 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: Wolfram Sang @ 2025-08-13 16:15 UTC (permalink / raw)
To: linux-kernel
Cc: Mark Brown, Wolfram Sang, Ulf Hansson, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, linux-pm, imx,
linux-arm-kernel
When using MMIO with regmap, fast_io is implied. No need to set it
again.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
No dependencies, can be applied directly to the subsystem tree. Buildbot is
happy, too.
drivers/pmdomain/imx/gpc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pmdomain/imx/gpc.c b/drivers/pmdomain/imx/gpc.c
index f18c7e6e75dd..33991f3c6b55 100644
--- a/drivers/pmdomain/imx/gpc.c
+++ b/drivers/pmdomain/imx/gpc.c
@@ -343,7 +343,6 @@ static const struct regmap_config imx_gpc_regmap_config = {
.rd_table = &access_table,
.wr_table = &access_table,
.max_register = 0x2ac,
- .fast_io = true,
};
static struct generic_pm_domain *imx_gpc_onecell_domains[] = {
--
2.47.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 20/21] thermal: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
2025-08-13 16:15 ` [PATCH 14/21] pmdomain: " Wolfram Sang
@ 2025-08-13 16:15 ` Wolfram Sang
2025-08-13 21:28 ` (subset) [PATCH 00/21] treewide: " Mark Brown
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2025-08-13 16:15 UTC (permalink / raw)
To: linux-kernel
Cc: Mark Brown, Wolfram Sang, Miquel Raynal, Rafael J. Wysocki,
Daniel Lezcano, Zhang Rui, Lukasz Luba, Vasily Khoruzhick,
Yangtao Li, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
linux-pm, linux-arm-kernel, linux-sunxi
When using MMIO with regmap, fast_io is implied. No need to set it
again.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
No dependencies, can be applied directly to the subsystem tree. Buildbot is
happy, too.
drivers/thermal/armada_thermal.c | 1 -
drivers/thermal/sun8i_thermal.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index c2fbdb534f61..252d5afecea1 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -722,7 +722,6 @@ static const struct regmap_config armada_thermal_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
- .fast_io = true,
};
static int armada_thermal_probe_legacy(struct platform_device *pdev,
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
index 22674790629a..284684137c43 100644
--- a/drivers/thermal/sun8i_thermal.c
+++ b/drivers/thermal/sun8i_thermal.c
@@ -149,7 +149,6 @@ static const struct regmap_config config = {
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,
- .fast_io = true,
.max_register = 0xfc,
};
--
2.47.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
2025-08-13 16:15 ` [PATCH 14/21] pmdomain: " Wolfram Sang
2025-08-13 16:15 ` [PATCH 20/21] thermal: " Wolfram Sang
@ 2025-08-13 21:28 ` Mark Brown
2025-08-14 11:13 ` Mark Brown
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2025-08-13 21:28 UTC (permalink / raw)
To: linux-kernel, Wolfram Sang
Cc: Adrian Hunter, Alexandre Belloni, Alexandre Torgue, Alim Akhtar,
Andrea della Porta, Andreas Färber, Andrzej Hajda,
Andy Shevchenko, Andy Yan, Avi Fishman, Bartosz Golaszewski,
Benjamin Fair, Bjorn Andersson, Chen-Yu Tsai, Daniel Lezcano,
David Airlie, David Lechner, Dmitry Torokhov, Drew Fustini,
dri-devel, Fabio Estevam, Fabrice Gasnier, Fu Wei, Guo Ren,
Hans Verkuil, Heiko Stübner, imx, Iwona Winiarska,
Jaroslav Kysela, Jassi Brar, Jernej Skrabec, Jerome Brunet,
Jonas Karlman, Jonathan Cameron, Kevin Hilman,
Kishon Vijay Abraham I, Konrad Dybcio, Krzysztof Kozlowski,
Laurent Pinchart, Lee Jones, Liam Girdwood, Linus Walleij,
linux-actions, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-clk, linux-gpio, linux-iio, linux-input, linux-media,
linux-mmc, linux-phy, linux-pm, linuxppc-dev, linux-pwm,
linux-riscv, linux-rockchip, linux-rtc, linux-samsung-soc,
linux-sound, linux-spi, linux-stm32, linux-sunxi, Liu Ying,
Lukasz Luba, Maarten Lankhorst, Manivannan Sadhasivam,
Martin Blumenstingl, Mauro Carvalho Chehab, Maxime Coquelin,
Maxime Ripard, Michael Turquette, Miquel Raynal, Nancy Yuen,
Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick, Vinod Koul,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote:
> While working on a driver using regmap with MMIO, I wondered if I need
> to set 'fast_io' in the config. Turned out I don't need to, so I added
> documentation for it with commit ffc72771ff6e ("regmap: Annotate that
> MMIO implies fast IO").
>
> This series fixes the existing users in the tree which needlessly set
> the flag. They have been found using this coccinelle script:
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[15/21] regulator: remove unneeded 'fast_io' parameter in regmap_config
commit: 37533933bfe92cd5a99ef4743f31dac62ccc8de0
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
` (2 preceding siblings ...)
2025-08-13 21:28 ` (subset) [PATCH 00/21] treewide: " Mark Brown
@ 2025-08-14 11:13 ` Mark Brown
2025-08-14 14:18 ` Mark Brown
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2025-08-14 11:13 UTC (permalink / raw)
To: linux-kernel, Wolfram Sang
Cc: Adrian Hunter, Alexandre Belloni, Alexandre Torgue, Alim Akhtar,
Andrea della Porta, Andreas Färber, Andrzej Hajda,
Andy Shevchenko, Andy Yan, Avi Fishman, Bartosz Golaszewski,
Benjamin Fair, Bjorn Andersson, Chen-Yu Tsai, Daniel Lezcano,
David Airlie, David Lechner, Dmitry Torokhov, Drew Fustini,
dri-devel, Fabio Estevam, Fabrice Gasnier, Fu Wei, Guo Ren,
Hans Verkuil, Heiko Stübner, imx, Iwona Winiarska,
Jaroslav Kysela, Jassi Brar, Jernej Skrabec, Jerome Brunet,
Jonas Karlman, Jonathan Cameron, Kevin Hilman,
Kishon Vijay Abraham I, Konrad Dybcio, Krzysztof Kozlowski,
Laurent Pinchart, Lee Jones, Liam Girdwood, Linus Walleij,
linux-actions, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-clk, linux-gpio, linux-iio, linux-input, linux-media,
linux-mmc, linux-phy, linux-pm, linuxppc-dev, linux-pwm,
linux-riscv, linux-rockchip, linux-rtc, linux-samsung-soc,
linux-sound, linux-spi, linux-stm32, linux-sunxi, Liu Ying,
Lukasz Luba, Maarten Lankhorst, Manivannan Sadhasivam,
Martin Blumenstingl, Mauro Carvalho Chehab, Maxime Coquelin,
Maxime Ripard, Michael Turquette, Miquel Raynal, Nancy Yuen,
Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick, Vinod Koul,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote:
> While working on a driver using regmap with MMIO, I wondered if I need
> to set 'fast_io' in the config. Turned out I don't need to, so I added
> documentation for it with commit ffc72771ff6e ("regmap: Annotate that
> MMIO implies fast IO").
>
> This series fixes the existing users in the tree which needlessly set
> the flag. They have been found using this coccinelle script:
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[19/21] spi: remove unneeded 'fast_io' parameter in regmap_config
commit: 48124569bbc6bfda1df3e9ee17b19d559f4b1aa3
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
` (3 preceding siblings ...)
2025-08-14 11:13 ` Mark Brown
@ 2025-08-14 14:18 ` Mark Brown
2025-08-15 14:42 ` Bjorn Andersson
2025-08-20 17:02 ` Vinod Koul
6 siblings, 0 replies; 9+ messages in thread
From: Mark Brown @ 2025-08-14 14:18 UTC (permalink / raw)
To: linux-kernel, Wolfram Sang
Cc: Adrian Hunter, Alexandre Belloni, Alexandre Torgue, Alim Akhtar,
Andrea della Porta, Andreas Färber, Andrzej Hajda,
Andy Shevchenko, Andy Yan, Avi Fishman, Bartosz Golaszewski,
Benjamin Fair, Bjorn Andersson, Chen-Yu Tsai, Daniel Lezcano,
David Airlie, David Lechner, Dmitry Torokhov, Drew Fustini,
dri-devel, Fabio Estevam, Fabrice Gasnier, Fu Wei, Guo Ren,
Hans Verkuil, Heiko Stübner, imx, Iwona Winiarska,
Jaroslav Kysela, Jassi Brar, Jernej Skrabec, Jerome Brunet,
Jonas Karlman, Jonathan Cameron, Kevin Hilman,
Kishon Vijay Abraham I, Konrad Dybcio, Krzysztof Kozlowski,
Laurent Pinchart, Lee Jones, Liam Girdwood, Linus Walleij,
linux-actions, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-clk, linux-gpio, linux-iio, linux-input, linux-media,
linux-mmc, linux-phy, linux-pm, linuxppc-dev, linux-pwm,
linux-riscv, linux-rockchip, linux-rtc, linux-samsung-soc,
linux-sound, linux-spi, linux-stm32, linux-sunxi, Liu Ying,
Lukasz Luba, Maarten Lankhorst, Manivannan Sadhasivam,
Martin Blumenstingl, Mauro Carvalho Chehab, Maxime Coquelin,
Maxime Ripard, Michael Turquette, Miquel Raynal, Nancy Yuen,
Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick, Vinod Koul,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote:
> While working on a driver using regmap with MMIO, I wondered if I need
> to set 'fast_io' in the config. Turned out I don't need to, so I added
> documentation for it with commit ffc72771ff6e ("regmap: Annotate that
> MMIO implies fast IO").
>
> This series fixes the existing users in the tree which needlessly set
> the flag. They have been found using this coccinelle script:
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[21/21] ASoC: remove unneeded 'fast_io' parameter in regmap_config
commit: d578faf7096affc036fd16333f1bfbe4991a22f7
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
` (4 preceding siblings ...)
2025-08-14 14:18 ` Mark Brown
@ 2025-08-15 14:42 ` Bjorn Andersson
2025-08-20 17:02 ` Vinod Koul
6 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2025-08-15 14:42 UTC (permalink / raw)
To: linux-kernel, Wolfram Sang
Cc: Mark Brown, Adrian Hunter, Alexandre Belloni, Alexandre Torgue,
Alim Akhtar, Andrea della Porta, Andreas Färber,
Andrzej Hajda, Andy Shevchenko, Andy Yan, Avi Fishman,
Bartosz Golaszewski, Benjamin Fair, Chen-Yu Tsai, Daniel Lezcano,
David Airlie, David Lechner, Dmitry Torokhov, Drew Fustini,
dri-devel, Fabio Estevam, Fabrice Gasnier, Fu Wei, Guo Ren,
Hans Verkuil, Heiko Stübner, imx, Iwona Winiarska,
Jaroslav Kysela, Jassi Brar, Jernej Skrabec, Jerome Brunet,
Jonas Karlman, Jonathan Cameron, Kevin Hilman,
Kishon Vijay Abraham I, Konrad Dybcio, Krzysztof Kozlowski,
Laurent Pinchart, Lee Jones, Liam Girdwood, Linus Walleij,
linux-actions, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-clk, linux-gpio, linux-iio, linux-input, linux-media,
linux-mmc, linux-phy, linux-pm, linuxppc-dev, linux-pwm,
linux-riscv, linux-rockchip, linux-rtc, linux-samsung-soc,
linux-sound, linux-spi, linux-stm32, linux-sunxi, Liu Ying,
Lukasz Luba, Maarten Lankhorst, Manivannan Sadhasivam,
Martin Blumenstingl, Mauro Carvalho Chehab, Maxime Coquelin,
Maxime Ripard, Michael Turquette, Miquel Raynal, Nancy Yuen,
Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick, Vinod Koul,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote:
> While working on a driver using regmap with MMIO, I wondered if I need
> to set 'fast_io' in the config. Turned out I don't need to, so I added
> documentation for it with commit ffc72771ff6e ("regmap: Annotate that
> MMIO implies fast IO").
>
> This series fixes the existing users in the tree which needlessly set
> the flag. They have been found using this coccinelle script:
>
> [...]
Applied, thanks!
[18/21] soc: remove unneeded 'fast_io' parameter in regmap_config
commit: 5d8a9c8401648d338d072a488d455ed4611c5d4b
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 14/21] pmdomain: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:15 ` [PATCH 14/21] pmdomain: " Wolfram Sang
@ 2025-08-19 12:26 ` Ulf Hansson
0 siblings, 0 replies; 9+ messages in thread
From: Ulf Hansson @ 2025-08-19 12:26 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-kernel, Mark Brown, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, linux-pm, imx,
linux-arm-kernel
On Wed, 13 Aug 2025 at 18:16, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
>
> When using MMIO with regmap, fast_io is implied. No need to set it
> again.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> No dependencies, can be applied directly to the subsystem tree. Buildbot is
> happy, too.
>
> drivers/pmdomain/imx/gpc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pmdomain/imx/gpc.c b/drivers/pmdomain/imx/gpc.c
> index f18c7e6e75dd..33991f3c6b55 100644
> --- a/drivers/pmdomain/imx/gpc.c
> +++ b/drivers/pmdomain/imx/gpc.c
> @@ -343,7 +343,6 @@ static const struct regmap_config imx_gpc_regmap_config = {
> .rd_table = &access_table,
> .wr_table = &access_table,
> .max_register = 0x2ac,
> - .fast_io = true,
> };
>
> static struct generic_pm_domain *imx_gpc_onecell_domains[] = {
> --
> 2.47.2
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
` (5 preceding siblings ...)
2025-08-15 14:42 ` Bjorn Andersson
@ 2025-08-20 17:02 ` Vinod Koul
6 siblings, 0 replies; 9+ messages in thread
From: Vinod Koul @ 2025-08-20 17:02 UTC (permalink / raw)
To: linux-kernel, Wolfram Sang
Cc: Mark Brown, Adrian Hunter, Alexandre Belloni, Alexandre Torgue,
Alim Akhtar, Andrea della Porta, Andreas Färber,
Andrzej Hajda, Andy Shevchenko, Andy Yan, Avi Fishman,
Bartosz Golaszewski, Benjamin Fair, Bjorn Andersson, Chen-Yu Tsai,
Daniel Lezcano, David Airlie, David Lechner, Dmitry Torokhov,
Drew Fustini, dri-devel, Fabio Estevam, Fabrice Gasnier, Fu Wei,
Guo Ren, Hans Verkuil, Heiko Stübner, imx, Iwona Winiarska,
Jaroslav Kysela, Jassi Brar, Jernej Skrabec, Jerome Brunet,
Jonas Karlman, Jonathan Cameron, Kevin Hilman,
Kishon Vijay Abraham I, Konrad Dybcio, Krzysztof Kozlowski,
Laurent Pinchart, Lee Jones, Liam Girdwood, Linus Walleij,
linux-actions, linux-amlogic, linux-arm-kernel, linux-arm-msm,
linux-clk, linux-gpio, linux-iio, linux-input, linux-media,
linux-mmc, linux-phy, linux-pm, linuxppc-dev, linux-pwm,
linux-riscv, linux-rockchip, linux-rtc, linux-samsung-soc,
linux-sound, linux-spi, linux-stm32, linux-sunxi, Liu Ying,
Lukasz Luba, Maarten Lankhorst, Manivannan Sadhasivam,
Martin Blumenstingl, Mauro Carvalho Chehab, Maxime Coquelin,
Maxime Ripard, Michael Turquette, Miquel Raynal, Nancy Yuen,
Neil Armstrong, Nicolin Chen, Nuno Sá, openbmc,
Patrick Venture, Paul Walmsley, Pengutronix Kernel Team,
Philipp Zabel, Piotr Wojtaszczyk, Rafael J. Wysocki, Robert Foss,
Samuel Holland, Samuel Holland, Sandy Huang, Sascha Hauer,
Shawn Guo, Shengjiu Wang, Simona Vetter, Stephen Boyd,
Takashi Iwai, Tali Perry, Thomas Zimmermann, Tomer Maimon,
Ulf Hansson, Uwe Kleine-König, Vasily Khoruzhick,
Vladimir Zapolskiy, Xiubo Li, Yangtao Li, Zhang Rui
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote:
> While working on a driver using regmap with MMIO, I wondered if I need
> to set 'fast_io' in the config. Turned out I don't need to, so I added
> documentation for it with commit ffc72771ff6e ("regmap: Annotate that
> MMIO implies fast IO").
>
> This series fixes the existing users in the tree which needlessly set
> the flag. They have been found using this coccinelle script:
>
> [...]
Applied, thanks!
[12/21] phy: remove unneeded 'fast_io' parameter in regmap_config
commit: e1e1e77f7df7cbee959ba024e5475907fe561c98
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-08-20 17:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 16:14 [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
2025-08-13 16:15 ` [PATCH 14/21] pmdomain: " Wolfram Sang
2025-08-19 12:26 ` Ulf Hansson
2025-08-13 16:15 ` [PATCH 20/21] thermal: " Wolfram Sang
2025-08-13 21:28 ` (subset) [PATCH 00/21] treewide: " Mark Brown
2025-08-14 11:13 ` Mark Brown
2025-08-14 14:18 ` Mark Brown
2025-08-15 14:42 ` Bjorn Andersson
2025-08-20 17:02 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).