Skip to content

Commit

Permalink
arm64: remove the operation of clearing interrupts during GIC initial…
Browse files Browse the repository at this point in the history
…ization

To align with the implementation of ARMv7-A, remove the operation of clearing
interrupts during GIC initialization to avoid losing interrupts during asynchronous startup.

Signed-off-by: hujun5 <[email protected]>
  • Loading branch information
hujun260 committed Sep 26, 2024
1 parent 16280ef commit f742e05
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm64/src/common/arm64_gicv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,6 @@ static void gicv3_cpuif_init(void)

gic_wait_rwp(0);

/* Clear pending */

putreg32(BIT64_MASK(GIC_NUM_INTR_PER_REG), ICPENDR(base, 0));

/* Configure all SGIs/PPIs as G1S or G1NS depending on Zephyr
* is run in EL1S or EL1NS respectively.
* All interrupts will be delivered as irq
Expand Down

0 comments on commit f742e05

Please sign in to comment.