Commit adf8623
committed
KVM: arm64: Use KVM_REQ_RELOAD_PMU to handle PMCR_EL0.E change
Nested virt introduces yet another set of 'global' knobs for controlling
event counters that are reserved for EL2 (i.e. >= HPMN). Get ready to
share some plumbing with the NV controls by offloading counter
reprogramming to KVM_REQ_RELOAD_PMU.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>1 parent e22c369 commit adf8623
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
609 | 613 | | |
610 | 614 | | |
611 | 615 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | 616 | | |
621 | 617 | | |
622 | 618 | | |
| |||
626 | 622 | | |
627 | 623 | | |
628 | 624 | | |
629 | | - | |
630 | 625 | | |
631 | 626 | | |
632 | 627 | | |
| |||
890 | 885 | | |
891 | 886 | | |
892 | 887 | | |
893 | | - | |
894 | | - | |
895 | 888 | | |
896 | 889 | | |
897 | 890 | | |
| 891 | + | |
| 892 | + | |
898 | 893 | | |
899 | 894 | | |
900 | 895 | | |
| |||
0 commit comments