Commit Graph

8 Commits

Author SHA1 Message Date
Arve Hjønnevåg
eed6d25ef3 [dev][interrupt][arm_gic] Add arm64 support
Change-Id: I08b1f60af08fe3d8d20a9f85e8e8c03d78aa6aa8
2015-03-19 18:01:12 -07:00
Arve Hjønnevåg
1fe28345a0 [dev][interrupt][arm_gic] Re-initialize gicd registers if needed.
Adds shadow registers so secure interrupt state is restored after suspend.
Adds cpu suspend and resume functions.
Disable fiqs in suspend and re-enable in resume.

Change-Id: Ie4a36d55fdd7275267eeeb208e358ab24855ee64
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2015-03-19 18:01:09 -07:00
Arve Hjønnevåg
615fa16210 [dev][interrupt][arm_gic] Mask all fiqs on fiq entry
Allows multiple fiqs to be registered without one fiq handler
interrupting another and corrupting the return state.

Change-Id: I1ab1bd2e2808d3ff319cc31924e083011ef21fe3
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2015-03-19 18:01:09 -07:00
Arve Hjønnevåg
ba8356d981 [dev][interrupt][arm_gic] Fix normal interrupts after smp rebase
The lk smp branch changed the gic to have per cpu interrupt handlers
for every interrupt. This is not needed for interrupts that are not
cpu specific.

Change-Id: I71298931ec7b337b11934eac2722be254172976e
2015-03-11 19:57:16 -07:00
Travis Geiselbrecht
a6f4e6ff15 [arch][arm] add ARM SMP support
-Also adds support to the following ARM-related drivers:
    dev/cache/pl310
    dev/interrupt/arm_gic
    dev/timer/arm_cortex_a9
2015-03-10 16:43:55 -07:00
Stefan Kristiansson
c3dc155f16 [arch][or1k] add or1k (OpenRISC 1000) architecture
This add support for the OpenRISC 1000 architecture, and
as the architecture specification defines an on-chip tick-timer
and interrupt controller, drivers for those are included in
this commit.
Support to utilize the MMU is implemented,
and it can be opted in and out with WITH_KERNEL_VM
2015-03-06 19:03:34 +02:00
Travis Geiselbrecht
a1ce3518bc [platform][zynq] switch to the GIC driver for interrupt controller business 2014-05-01 19:06:50 -07:00
Travis Geiselbrecht
bd118d8a4c [dev][interrupt][arm_gic] add generic gic driver
-This is a flattening of a pile of changes by Arve Hjønnevåg
2014-05-01 19:06:04 -07:00