arm64: remove the operation of clearing interrupts during GIC initialization
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 <hujun5@xiaomi.com>
This commit is contained in:
parent
956d77ba23
commit
6e7d90e195
@ -481,10 +481,6 @@ static void gicv3_cpuif_init(void)
|
|||||||
|
|
||||||
gic_wait_rwp(0);
|
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
|
/* Configure all SGIs/PPIs as G1S or G1NS depending on Zephyr
|
||||||
* is run in EL1S or EL1NS respectively.
|
* is run in EL1S or EL1NS respectively.
|
||||||
* All interrupts will be delivered as irq
|
* All interrupts will be delivered as irq
|
||||||
|
Loading…
Reference in New Issue
Block a user