Repository navigation
Commit 29c2d6f
KVM: arm/arm64: arch_timer: Rely on the arch timer to parse the firmware tables
The firmware table is currently parsed by the virtual timer code in
order to retrieve the virtual timer interrupt. However, this is already
done by the arch timer driver.
To avoid code duplication, use the newly function arch_timer_get_kvm_info()
which return all the information required by the virtual timer code.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>1 parent 1839e57 commit 29c2d6f
1 file changed
Lines changed: 11 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | 440 | | |
448 | 441 | | |
449 | | - | |
450 | | - | |
| 442 | + | |
451 | 443 | | |
452 | 444 | | |
453 | | - | |
454 | | - | |
455 | | - | |
| 445 | + | |
| 446 | + | |
456 | 447 | | |
457 | | - | |
458 | | - | |
459 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
460 | 451 | | |
461 | 452 | | |
| 453 | + | |
462 | 454 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
| 455 | + | |
471 | 456 | | |
472 | 457 | | |
473 | 458 | | |
474 | | - | |
| 459 | + | |
475 | 460 | | |
476 | 461 | | |
477 | 462 | | |
478 | | - | |
479 | | - | |
480 | 463 | | |
481 | 464 | | |
482 | 465 | | |
| |||
489 | 472 | | |
490 | 473 | | |
491 | 474 | | |
492 | | - | |
| 475 | + | |
493 | 476 | | |
494 | 477 | | |
495 | 478 | | |
496 | 479 | | |
497 | | - | |
| 480 | + | |
498 | 481 | | |
499 | | - | |
500 | 482 | | |
501 | 483 | | |
502 | 484 | | |
| |||
0 commit comments