Commit c3be3a4
Marc Zyngier
KVM: arm64: Move CNT*CT_EL0 userspace accessors to generic infrastructure
Moving the counter registers is a bit more involved than for the control
and comparator (there is no shadow data for the counter), but still
pretty manageable.
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>1 parent 8af1989 commit c3be3a4
2 files changed
Lines changed: 31 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
597 | 595 | | |
598 | 596 | | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 601 | | |
609 | 602 | | |
610 | 603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1605 | 1605 | | |
1606 | 1606 | | |
1607 | 1607 | | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1608 | 1616 | | |
1609 | 1617 | | |
1610 | 1618 | | |
1611 | 1619 | | |
1612 | 1620 | | |
1613 | 1621 | | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
1614 | 1640 | | |
1615 | 1641 | | |
1616 | 1642 | | |
| |||
2539 | 2565 | | |
2540 | 2566 | | |
2541 | 2567 | | |
2542 | | - | |
| 2568 | + | |
2543 | 2569 | | |
2544 | 2570 | | |
2545 | 2571 | | |
| |||
3506 | 3532 | | |
3507 | 3533 | | |
3508 | 3534 | | |
3509 | | - | |
3510 | | - | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
3511 | 3539 | | |
3512 | 3540 | | |
3513 | 3541 | | |
| |||
0 commit comments