| 08ece35e | 21-Jun-2015 |
Thomas Gleixner <[email protected]> |
MIPS/ath25: Fix race in installing chained IRQ handler
Fix a race where a pending interrupt could be received and the handler called before the handler's data has been setup, by converting to irq_se
MIPS/ath25: Fix race in installing chained IRQ handler
Fix a race where a pending interrupt could be received and the handler called before the handler's data has been setup, by converting to irq_set_chained_handler_and_data().
Search and conversion was done with coccinelle:
@@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) - BUG(); | -irq_set_chained_handler(E1, E3); ) -irq_set_handler_data(E1, E2); +irq_set_chained_handler_and_data(E1, E3, E2);
@@ expression E1, E2, E3; @@ ( -if (irq_set_chained_handler(E1, E3) != 0) - BUG(); ... | -irq_set_chained_handler(E1, E3); ... ) -irq_set_handler_data(E1, E2); +irq_set_chained_handler_and_data(E1, E3, E2);
Reported-by: Russell King <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Julia Lawall <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Sergey Ryazanov <[email protected]> Cc: [email protected]
show more ...
|
| d58eaa7f | 28-Oct-2014 |
Sergey Ryazanov <[email protected]> |
MIPS: ath25: register AR5312 flash controller
AR5312 SoC flash controller maps the flash content to memory and translates the memory access operations to the flash access operations. Such controller
MIPS: ath25: register AR5312 flash controller
AR5312 SoC flash controller maps the flash content to memory and translates the memory access operations to the flash access operations. Such controller is fully supported by the physmap-flash driver.
Signed-off-by: Sergey Ryazanov <[email protected]>R5312 SoC flash Cc: Linux MIPS <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/8245/ Signed-off-by: Ralf Baechle <[email protected]>
show more ...
|