[PATCH v5 13/13] selftests: KVM: Add counter emulation benchmark

2021-07-29 Thread Oliver Upton
Add a test case for counter emulation on arm64. A side effect of how KVM handles physical counter offsetting on non-ECV systems is that the virtual counter will always hit hardware and the physical could be emulated. Force emulation by writing a nonzero offset to the physical counter and compare

Re: [PATCH v5 13/13] selftests: KVM: Add counter emulation benchmark

2021-07-29 Thread Andrew Jones
On Thu, Jul 29, 2021 at 05:33:00PM +, Oliver Upton wrote: > Add a test case for counter emulation on arm64. A side effect of how KVM > handles physical counter offsetting on non-ECV systems is that the > virtual counter will always hit hardware and the physical could be > emulated. Force