Commit b3bd7bd
pm: handle reset prep IRQ
In the SoC warm reboot process, sometimes there are
instances where the ISH firmware fails to receive the
warm reboot request from PMC, leading to the failure to reboot
ISH firmware hence causing ISHTP kernel driver communication
failure with ISH firmware. This issue is observred when
there is an IPC request pending at the ISH and at the time
a warm reboot is initiated causing IPM driver timeout.
The IPM driver timeout is set to 1sec waiting for the Peer ACK.
Due to warm reboot, Peer ACK is not received leading to timeout
of 1sec. During this time ISH HW triggeres the RESET
PREP IRQ, but we do not observe ISR routine exexuted at firmware
side which is expected to handle the warm reboot.
Changes done to perform ish pm init using zephyr SYS_INIT() in
PRE_KERNEL_2 stage. This change helps handle the IRQ rightly and
invokes the ISR routine to handle the firmware reset.
Change-Id: I454bd75257cdfc1c8f37e582231f6fe7f5e8f91d1 parent cd9c972 commit b3bd7bd
1 file changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
610 | 611 | | |
611 | 612 | | |
612 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
613 | 624 | | |
614 | 625 | | |
615 | 626 | | |
| |||
631 | 642 | | |
632 | 643 | | |
633 | 644 | | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | 645 | | |
639 | 646 | | |
640 | 647 | | |
| |||
647 | 654 | | |
648 | 655 | | |
649 | 656 | | |
| 657 | + | |
| 658 | + | |
650 | 659 | | |
| 660 | + | |
651 | 661 | | |
652 | 662 | | |
653 | 663 | | |
| |||
0 commit comments