Re: [PATCH v3 12/12] selftests: KVM: Add counter emulation benchmark

2021-07-21 Thread Andrew Jones
On Mon, Jul 19, 2021 at 06:49:49PM +, 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

[PATCH v3 12/12] selftests: KVM: Add counter emulation benchmark

2021-07-19 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