From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/cpufreq/exynos5440-cpufreq.c |4 ++--
1 file changed, 2 insertions(+), 2
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
pata_mpc52xx's task_irq is special case since it is managed by betstcomm
DMA driver. Do not use devres for it.
Signed-off-
Currently many device tree aware drivers use irq_of_parse_and_map() to get
IRQ number and then devm_request_irq() to set up IRQ handler.
This causes a problem for exit path and for error paths: undo action for
irq_of_parse_and_map() is irq_dispose_mapping() that must not be called
while IRQ handle
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/crypto/omap-sham.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions
From: Nikita Yushchenko
Many drivers use devres to manage their resources, and at the same time
use irq_of_parse_and_map() / irq_dispose_mapping(). This creates problem
on driver unload paths and on error paths:
- it is invalid to call irq_dispose_mapping() while IRQ handler is still
installed,
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/mfd/max8997.c |4 +++-
drivers/mfd/max8998.c |4 +++-
2 files change
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/pinctrl/pinctrl-bcm2835.c|6 +-
drivers/pinctrl/pinctrl-exynos.c
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/dma/moxart-dma.c |4 ++--
drivers/dma/mpc512x_dma.c | 14
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/i2c/busses/i2c-mpc.c | 12
drivers/i2c/busses/i2c-mv64xxx
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/media/platform/exynos4-is/fimc-is.c | 14 ++
drivers/media/pla
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/gpio/gpio-adnp.c |4 ++--
drivers/gpio/gpio-mcp23s08.c |5 -
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/spi/spi-bcm2835.c |2 +-
drivers/spi/spi-mpc512x-psc.c |9 ++
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/rtc/rtc-mpc5121.c | 38 --
1 file chan
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/thermal/samsung/exynos_tmu.c |2 +-
1 file changed, 1 insertion(+), 1 de
From: Nikita Yushchenko
This avoids calls to irq_dispose_mapping() while IRQ handler is still
installed.
Signed-off-by: Nikita Yushchenko
---
drivers/edac/mpc85xx_edac.c | 41 +
1 file changed, 29 insertions(+), 12 deletions(-)
diff --git a/drivers/ed
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/net/can/grcan.c| 11 ---
drivers/net/can/mscan
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/usb/gadget/gr_udc.c | 17 +++--
drivers/usb/host/ehci-gr
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/watchdog/at91sam9_wdt.c | 12 +++-
1 file changed, 7 insertions(+)
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/net/ethernet/allwinner/sun4i-emac.c|6 ++---
drivers/net/etherne
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/power/bq24190_charger.c |2 +-
1 file changed, 1 insertion(+), 1 deletio
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/input/serio/apbps2.c |6 +-
1 file changed, 5 insertions(+), 1 delet
From: Nikita Yushchenko
This avoids leak of IRQ mapping on error paths, and makes it possible
to use devm_request_irq() without facing unmap-while-handler-installed
issues.
Signed-off-by: Nikita Yushchenko
---
drivers/mtd/nand/mpc5121_nfc.c |6 +++---
1 file changed, 3 insertions(+), 3 del
From: Nikita Yushchenko
While running an imx6s boasrd, I got following message in boot log:
[0.032414] CPU1: failed to boot: -38
This looked strange: imx6s is singe-core and kernel perfectly knows
that. However, for some reason it tries to initialize CPU 1?
I found this to be caused by
- C
23 matches
Mail list logo