WSL2-Linux-Kernel/arch/arm/mach-at91
Boris BREZILLON 9dcc87fec8 ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs
sam9x5 SoCs have the following errata:
 "RTC: Interrupt Mask Register cannot be used
  Interrupt Mask Register read always returns 0."

Hence we should not rely on what IMR claims about already masked IRQs
and just disable all IRQs.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Reported-by: Bryan Evenson <bevenson@melinkcorp.com>
Reviewed-by: Johan Hovold <johan@hovold.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Bryan Evenson <bevenson@melinkcorp.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Mark Roszko <mark.roszko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-06 16:08:08 -07:00
..
include/mach iio: adc: at91: remove unused include from include/mach 2014-05-07 18:28:40 +02:00
Kconfig ARM: at91: move sam9n12 SoC to the CCF 2014-05-22 18:03:17 +02:00
Kconfig.non_dt ARM: at91: split out at91x40 into a top-level option 2014-03-21 18:19:27 +01:00
Makefile ARM: at91: switch Calao QIL-A9260 board to DT 2013-12-19 17:27:30 +01:00
Makefile.boot
at91_aic.h
at91_rstc.h
at91_shdwc.h
at91_tc.h
at91rm9200.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91rm9200_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91rm9200_time.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91sam9_alt_reset.S
at91sam9g45.c ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc 2014-05-07 18:28:40 +02:00
at91sam9g45_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9g45_reset.S ARM: at91: sam9g45: shutdown ddr1 too when rebooting 2013-09-30 09:58:44 -07:00
at91sam9n12.c ARM: at91: prepare common clk transition for sam9n12 SoC 2014-05-22 18:03:15 +02:00
at91sam9rl.c ARM: at91: sam9rl: add at91_adc to support adc and touchscreen 2014-05-07 18:28:40 +02:00
at91sam9rl_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9x5.c ARM: at91: prepare common clk transition for sam9x5 SoCs 2014-05-22 18:03:13 +02:00
at91sam926x_time.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91sam9260.c This cleanup series gets rid of <mach/timex.h> for platforms not using 2014-02-18 22:19:33 -08:00
at91sam9260_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9261.c First batch of AT91 cleanup for 3.15 2014-03-17 15:38:07 +01:00
at91sam9261_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91sam9263.c First batch of AT91 cleanup for 3.15 2014-03-17 15:38:07 +01:00
at91sam9263_devices.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
at91x40.c ARM: at91: don't use <mach/timex.h> 2013-12-20 11:44:20 +01:00
at91x40_time.c ARM: at91: don't use <mach/timex.h> 2013-12-20 11:44:20 +01:00
board-1arm.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-afeb-9260v1.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cam60.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-carmeva.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cpu9krea.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-cpuat91.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-csb337.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-csb637.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-dt-rm9200.c ARM: at91: remove init_machine() as default is suitable 2013-10-16 15:47:08 +02:00
board-dt-sam9.c ARM: at91: prepare sam9 dt boards transition to common clk 2014-03-12 11:30:44 +01:00
board-dt-sama5.c ARM: at91: prepare sama5 dt boards transition to common clk 2013-12-02 15:31:27 +01:00
board-eb01.c
board-eb9200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-ecbat91.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-eco920.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-flexibity.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-foxg20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-gsia18s.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-kafa.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-kb9202.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-pcontrol-g20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-picotux200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-rm9200ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-rsi-ews.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9-l9260.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9g20ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9m10g45ek.c ARM: at91: sam9g45: switch from atmel_tsadcc to at91_adc 2014-05-07 18:28:40 +02:00
board-sam9rlek.c ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc 2014-05-07 18:28:40 +02:00
board-sam9260ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9261ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-sam9263ek.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-snapper9260.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-stamp9g20.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board-yl-9200.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
board.h ARM: at91: remove atmel_tsadcc platform_data 2014-05-07 18:28:41 +02:00
clock.c ARM: at91: remove AT91_PROGRAMMABLE_CLOCKS configuration option 2013-12-12 09:57:42 -08:00
clock.h
generic.h ARM: at91: add Kconfig options for common clk support 2013-12-02 15:22:52 +01:00
gpio.c TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
gpio.h ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
gsia18s.h
irq.c ARM: at91: fix at91_extern_irq usage for non-dt boards 2013-06-21 16:35:26 +02:00
leds.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
pm.c ARM: at91: localize GPIO header 2014-05-07 18:27:21 +02:00
pm.h ARM: at91: fixed unresolved symbol "at91_pm_set_standby" when built without CONFIG_PM 2013-12-02 14:24:40 +01:00
pm_slowclock.S ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h 2013-12-02 15:22:15 +01:00
sam9_smc.c ARM: at91: export sam9_smc interfaces 2014-03-21 18:19:29 +01:00
sam9_smc.h
sama5d3.c ARM: at91/dt: remove old clk material 2013-12-02 15:31:29 +01:00
setup.c ARM: at91: don't provide dt init code for at91x40 2014-03-21 18:19:28 +01:00
soc.h ARM: at91: fix at91_extern_irq usage for non-dt boards 2013-06-21 16:35:26 +02:00
stamp9g20.h
sysirq_mask.c ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs 2014-06-06 16:08:08 -07:00