Commit 337cd2b
osv: properly assign gsi number inside handler
Initialize the gsi number inside handler to an unreachable number. The
gsi number was not properly initialized and default to 0 previously, and
caused interrupt misfiring for level triggered interrupts on pin 0 when
it checks for the gsi number for interrupt sharing. This commit fixed
the misfiring on pin 0.
Fixes: 5fc9daf ("interrupt: Support interrupt sharing")
Signed-off-by: YuChen Qian <yuchenq@amazon.de>
Reviewed-by: Amadeusz Juskowiak <ajusk@amazon.de>
Reviewed-by: Marius Hillenbrand <mhillenb@amazon.de>
Cc-Team: kaos-brimstone <kaos-brimstone@amazon.com>
CR: https://code.amazon.com/reviews/CR-14472907
Message-Id: <20191204084413.5400-1-yuchenq@amazon.de>1 parent 35c85d0 commit 337cd2b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
0 commit comments