Repository navigation
Commit eb236c2
net: bcmgenet: Move wake-up event out of side band ISR
The side band interrupt service routine is not available on chips
like 7211, or rather, it does not permit the signaling of wake-up
events due to the complex interrupt hierarchy.
Move the wake-up event accounting into a .resume_noirq function,
account for possible wake-up events and clear the MPD/HFB interrupts
from there, while leaving the hardware untouched until the resume
function proceeds with doing its usual business.
Because bcmgenet_wol_power_down_cfg() now enables the MPD and HFB
interrupts, it is invoked by a .suspend_noirq function to prevent
the servicing of interrupts after the clocks have been disabled.
Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent df8f348 commit eb236c2
3 files changed
Lines changed: 67 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3270 | 3270 | | |
3271 | 3271 | | |
3272 | 3272 | | |
3273 | | - | |
3274 | | - | |
3275 | | - | |
3276 | | - | |
| 3273 | + | |
3277 | 3274 | | |
3278 | 3275 | | |
3279 | 3276 | | |
| |||
4174 | 4171 | | |
4175 | 4172 | | |
4176 | 4173 | | |
4177 | | - | |
| 4174 | + | |
4178 | 4175 | | |
4179 | 4176 | | |
4180 | 4177 | | |
4181 | | - | |
4182 | | - | |
4183 | 4178 | | |
| 4179 | + | |
4184 | 4180 | | |
4185 | 4181 | | |
4186 | 4182 | | |
| |||
4190 | 4186 | | |
4191 | 4187 | | |
4192 | 4188 | | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
4193 | 4217 | | |
4194 | 4218 | | |
4195 | 4219 | | |
| |||
4262 | 4286 | | |
4263 | 4287 | | |
4264 | 4288 | | |
4265 | | - | |
4266 | 4289 | | |
4267 | 4290 | | |
4268 | 4291 | | |
| |||
4282 | 4305 | | |
4283 | 4306 | | |
4284 | 4307 | | |
| 4308 | + | |
| 4309 | + | |
| 4310 | + | |
| 4311 | + | |
| 4312 | + | |
| 4313 | + | |
| 4314 | + | |
| 4315 | + | |
| 4316 | + | |
| 4317 | + | |
| 4318 | + | |
| 4319 | + | |
4285 | 4320 | | |
4286 | 4321 | | |
4287 | 4322 | | |
4288 | 4323 | | |
4289 | 4324 | | |
4290 | 4325 | | |
| 4326 | + | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
4291 | 4330 | | |
4292 | 4331 | | |
4293 | 4332 | | |
4294 | | - | |
4295 | | - | |
4296 | | - | |
4297 | | - | |
| 4333 | + | |
4298 | 4334 | | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
4299 | 4340 | | |
4300 | 4341 | | |
4301 | | - | |
| 4342 | + | |
| 4343 | + | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
4302 | 4348 | | |
4303 | 4349 | | |
4304 | 4350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| |||
0 commit comments