[kvm-unit-tests PATCH] arm64: microbench: fix unexpected PPI

2020-12-17 Thread Jingyi Wang
For the origin value of CNTV_CVAL_EL0 architecturally UNKNOWN, we may receive an unexpected PPI before we actual trigger the timer interrupt. So we should set ARCH_TIMER_CTL_IMASK in timer_prep. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [RFC PATCH 0/4] Add support for ARMv8.6 TWED feature

2020-11-25 Thread Jingyi Wang
Hi Marc, I will consider more circumstances in the later test. Thanks for the advice. Thanks, Jingyi On 11/24/2020 7:02 PM, Marc Zyngier wrote: On 2020-11-13 07:54, Jingyi Wang wrote: Hi all, Sorry for the delay. I have been testing the TWED feature performance lately. We select unixbench

Re: [RFC PATCH 0/4] Add support for ARMv8.6 TWED feature

2020-11-23 Thread Jingyi Wang
Hi Marc, Gentle ping, could you please give some comments on this patch or the current test results? Thanks in advance. Thanks, Jingyi On 11/13/2020 3:54 PM, Jingyi Wang wrote: Hi all, Sorry for the delay. I have been testing the TWED feature performance lately. We select unixbench

Re: [RFC PATCH 0/4] Add support for ARMv8.6 TWED feature

2020-11-12 Thread Jingyi Wang
items have better performance if an appropriate TWED value is set(up to 5.6%~11.9%). Meanwhile, the complete unixbench test is run to prove that other testing items are not sensitive to this parameter. Thanks Jingyi On 9/29/2020 5:17 PM, Jingyi Wang wrote: TWE Delay is an optional feature

Re: [RFC PATCH 0/4] Add support for ARMv8.6 TWED feature

2020-09-29 Thread Jingyi Wang
Hi Marc, On 9/29/2020 6:50 PM, Marc Zyngier wrote: On 2020-09-29 10:17, Jingyi Wang wrote: TWE Delay is an optional feature in ARMv8.6 Extentions. There is a performance benefit in waiting for a period of time for an event to arrive before taking the trap as it is common that event will arrive

[RFC PATCH 3/4] KVM: arm64: Use dynamic TWE Delay value

2020-09-29 Thread Jingyi Wang
| sched_in --+---+ < 1 | = twed| = twed otherwise| = twed + 1| = twed - 1 Signed-off-by: Zengruan Ye Signed-off-by: Jingyi Wang --- arch/arm64/include/asm/kvm_emulate.h | 6 ++ arch/arm64/include/asm/kvm_host.h|

[RFC PATCH 1/4] arm64: cpufeature: TWED support detection

2020-09-29 Thread Jingyi Wang
From: Zengruan Ye TWE Delay is an optional feature in ARMv8.6 Extentions. This patch detect this feature. Signed-off-by: Zengruan Ye Signed-off-by: Jingyi Wang --- arch/arm64/Kconfig | 10 ++ arch/arm64/include/asm/cpucaps.h | 3 ++- arch/arm64/kernel/cpufeature.c

[RFC PATCH 2/4] KVM: arm64: Make use of TWED feature

2020-09-29 Thread Jingyi Wang
and "twed" to configure the register. Signed-off-by: Zengruan Ye Signed-off-by: Jingyi Wang --- arch/arm64/include/asm/kvm_arm.h | 5 + arch/arm64/include/asm/kvm_emulate.h | 32 arch/arm64/include/asm/kvm_host.h| 13 +++ arch/arm6

[RFC PATCH 0/4] Add support for ARMv8.6 TWED feature

2020-09-29 Thread Jingyi Wang
and implements TWE delay value dynamic adjustment. Thanks for Shameer's advice on this series. The function of this patch has been tested on TWED supported hardware and the performance of it is still on test, any advice will be welcomed. Jingyi Wang (2): KVM: arm64: Make use of TWED feature KVM

[RFC PATCH 4/4] KVM: arm64: Add trace for TWED update

2020-09-29 Thread Jingyi Wang
From: Zengruan Ye Add tracepoints for TWE delay value update Signed-off-by: Zengruan Ye Signed-off-by: Jingyi Wang --- arch/arm64/kvm/arm.c | 4 arch/arm64/kvm/trace_arm.h | 21 + 2 files changed, 25 insertions(+) diff --git a/arch/arm64/kvm/arm.c b/arch

Re: [kvm-unit-tests PATCH v3 00/10] arm/arm64: Add IPI/LPI/vtimer latency test

2020-08-16 Thread Jingyi Wang
On 8/11/2020 3:49 PM, Marc Zyngier wrote: On 2020-08-11 02:48, Jingyi Wang wrote: Hi Marc, On 8/5/2020 8:13 PM, Marc Zyngier wrote: On 2020-08-05 12:54, Jingyi Wang wrote: Hi all, Currently, kvm-unit-tests only support GICv3 vLPI injection. May I ask is there any plan or suggestion

Re: [kvm-unit-tests PATCH v3 00/10] arm/arm64: Add IPI/LPI/vtimer latency test

2020-08-10 Thread Jingyi Wang
Hi Marc, On 8/5/2020 8:13 PM, Marc Zyngier wrote: On 2020-08-05 12:54, Jingyi Wang wrote: Hi all, Currently, kvm-unit-tests only support GICv3 vLPI injection. May I ask is there any plan or suggestion on constructing irq bypass mechanism to test vLPI direct injection in kvm-unit-tests? I'm

Re: [kvm-unit-tests PATCH v3 00/10] arm/arm64: Add IPI/LPI/vtimer latency test

2020-08-05 Thread Jingyi Wang
Hi all, Currently, kvm-unit-tests only support GICv3 vLPI injection. May I ask is there any plan or suggestion on constructing irq bypass mechanism to test vLPI direct injection in kvm-unit-tests? Thanks, Jingyi ___ kvmarm mailing list

Re: [kvm-unit-tests PATCH v3 00/10] arm/arm64: Add IPI/LPI/vtimer latency test

2020-08-02 Thread Jingyi Wang
On 7/31/2020 8:01 PM, Andrew Jones wrote: On Fri, Jul 31, 2020 at 03:42:34PM +0800, Jingyi Wang wrote: With the development of arm gic architecture, we think it will be useful to add some performance test in kut to measure the cost of interrupts. In this series, we add GICv4.1 support

[kvm-unit-tests PATCH v3 05/10] arm64: microbench: its: Add LPI latency test

2020-07-31 Thread Jingyi Wang
Triggers LPIs through the INT command and test the latency. Mostly inherited form commit 0ef02cd6cbaa(arm/arm64: ITS: INT functional tests). Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- arm/micro-bench.c | 44 1 file changed, 44 insertions

[kvm-unit-tests PATCH v3 10/10] arm64: microbench: Add timer_post() to get actual PPI latency

2020-07-31 Thread Jingyi Wang
For we get the time duration of (10msec timer + injection latency) in timer_exec(), we substract the value of 10msec in timer_post() to get the actual latency. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arm

[kvm-unit-tests PATCH v3 07/10] arm64: microbench: Add time limit for each individual test

2020-07-31 Thread Jingyi Wang
Besides using separate running times parameter, we add time limit for loop_test to make sure each test should be done in a certain time(5 sec here). Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- arm/micro-bench.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions

[kvm-unit-tests PATCH v3 08/10] arm64: microbench: Add vtimer latency test

2020-07-31 Thread Jingyi Wang
Trigger PPIs by setting up a 10msec timer and test the latency. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 53 ++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 09d9d53..1e1bde5

[kvm-unit-tests PATCH v3 00/10] arm/arm64: Add IPI/LPI/vtimer latency test

2020-07-31 Thread Jingyi Wang
vtimer latency test" on Andrew's patch - Add test->post() to get actual PPI latency * From v1: - Fix spelling mistake - Use the existing interface to inject hw sgi to simply the logic - Add two separate patches to limit the running times and time cost of each individual micro-

[kvm-unit-tests PATCH v3 06/10] arm64: microbench: Allow each test to specify its running times

2020-07-31 Thread Jingyi Wang
For some test in micro-bench can be time consuming, we add a micro-bench test parameter to allow each individual test to specify its running times. Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- arm/micro-bench.c | 27 ++- 1 file changed, 14 insertions(+), 13

[kvm-unit-tests PATCH v3 03/10] arm64: microbench: gic: Add ipi latency test for gicv4.1 support kvm

2020-07-31 Thread Jingyi Wang
If gicv4.1(sgi hardware injection) is supported in kvm, we test ipi injection via hw/sw way separately. Signed-off-by: Jingyi Wang --- arm/micro-bench.c| 62 ++-- lib/arm/asm/gic-v3.h | 3 +++ lib/arm/asm/gic.h| 1 + 3 files changed, 58

[kvm-unit-tests PATCH v3 04/10] arm64: its: Handle its command queue wrapping

2020-07-31 Thread Jingyi Wang
Because micro-bench may send a large number of ITS commands, we should handle ITS command queue wrapping as kernel instead of just failing the test. Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- lib/arm64/gic-v3-its-cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[kvm-unit-tests PATCH v3 09/10] arm64: microbench: Add test->post() to further process test results

2020-07-31 Thread Jingyi Wang
Under certain circumstances, we need to further process microbench test results, so we add test->post() in the microbench framework, later patch will use that. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 31 ++- 1 file changed, 18 insertions(+), 13 deleti

[kvm-unit-tests PATCH v3 01/10] arm64: microbench: get correct ipi received num

2020-07-31 Thread Jingyi Wang
If ipi_exec() fails because of timeout, we shouldn't increase the number of ipi received. Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- arm/micro-bench.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 4612f41..794dfac

[kvm-unit-tests PATCH v3 02/10] arm64: microbench: Generalize ipi test names

2020-07-31 Thread Jingyi Wang
Later patches will use these functions for gic(ipi/lpi/timer) tests. Signed-off-by: Jingyi Wang Reviewed-by: Eric Auger --- arm/micro-bench.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c

Re: [kvm-unit-tests PATCH v2 8/8] arm64: microbench: Add vtimer latency test

2020-07-06 Thread Jingyi Wang
Hi Eric, On 7/3/2020 3:45 PM, Auger Eric wrote: Hi Jingyi, On 7/3/20 9:41 AM, Jingyi Wang wrote: Hi Eric, Drew, On 7/2/2020 9:36 PM, Auger Eric wrote: Hi Jingyi, On 7/2/20 5:01 AM, Jingyi Wang wrote: Trigger PPIs by setting up a 10msec timer and test the latency. so for each iteration

Re: [kvm-unit-tests PATCH v2 8/8] arm64: microbench: Add vtimer latency test

2020-07-03 Thread Jingyi Wang
Hi Eric, Drew, On 7/2/2020 9:36 PM, Auger Eric wrote: Hi Jingyi, On 7/2/20 5:01 AM, Jingyi Wang wrote: Trigger PPIs by setting up a 10msec timer and test the latency. so for each iteration the accumulated valued is 10 ms + latency, right? and what is printed at the end does include

Re: [kvm-unit-tests PATCH v2 7/8] arm64: microbench: Add time limit for each individual test

2020-07-02 Thread Jingyi Wang
Hi Eric, On 7/2/2020 9:23 PM, Auger Eric wrote: Hi Jingyi, On 7/2/20 5:01 AM, Jingyi Wang wrote: Besides using separate running times parameter, we add time limit for loop_test to make sure each test should be done in a certain time(5 sec here). Signed-off-by: Jingyi Wang --- arm/micro

Re: [kvm-unit-tests PATCH v2 3/8] arm64: microbench: gic: Add gicv4.1 support for ipi latency test.

2020-07-02 Thread Jingyi Wang
On 7/2/2020 9:42 PM, Auger Eric wrote: Hi Marc, On 7/2/20 3:08 PM, Marc Zyngier wrote: Hi Eric, On 2020-07-02 13:57, Auger Eric wrote: Hi Jingyi, On 7/2/20 5:01 AM, Jingyi Wang wrote: If gicv4.1(sgi hardware injection) supported, we test ipi injection via hw/sw way separately. Signed

Re: [kvm-unit-tests PATCH v2 3/8] arm64: microbench: gic: Add gicv4.1 support for ipi latency test.

2020-07-02 Thread Jingyi Wang
On 7/2/2020 5:17 PM, Marc Zyngier wrote: On 2020-07-02 10:02, Jingyi Wang wrote: Hi Marc, On 7/2/2020 4:22 PM, Marc Zyngier wrote: On 2020-07-02 04:01, Jingyi Wang wrote: If gicv4.1(sgi hardware injection) supported, we test ipi injection via hw/sw way separately. nit: active-less SGIs

Re: [kvm-unit-tests PATCH v2 3/8] arm64: microbench: gic: Add gicv4.1 support for ipi latency test.

2020-07-02 Thread Jingyi Wang
Hi Marc, On 7/2/2020 4:22 PM, Marc Zyngier wrote: On 2020-07-02 04:01, Jingyi Wang wrote: If gicv4.1(sgi hardware injection) supported, we test ipi injection via hw/sw way separately. nit: active-less SGIs are not strictly a feature of GICv4.1 (you could imagine a GIC emulation offering

Re: [kvm-unit-tests PATCH v2 8/8] arm64: microbench: Add vtimer latency test

2020-07-02 Thread Jingyi Wang
Hi Drew, On 7/2/2020 1:44 PM, Andrew Jones wrote: On Thu, Jul 02, 2020 at 11:01:32AM +0800, Jingyi Wang wrote: Trigger PPIs by setting up a 10msec timer and test the latency. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 56 ++- 1 file

Re: [kvm-unit-tests PATCH v2 7/8] arm64: microbench: Add time limit for each individual test

2020-07-02 Thread Jingyi Wang
On 7/2/2020 1:48 PM, Andrew Jones wrote: On Thu, Jul 02, 2020 at 11:01:31AM +0800, Jingyi Wang wrote: Besides using separate running times parameter, we add time limit for loop_test to make sure each test should be done in a certain time(5 sec here). Signed-off-by: Jingyi Wang --- arm

Re: [kvm-unit-tests PATCH v2 6/8] arm64: microbench: Allow each test to specify its running times

2020-07-02 Thread Jingyi Wang
On 7/2/2020 1:29 PM, Andrew Jones wrote: On Thu, Jul 02, 2020 at 11:01:30AM +0800, Jingyi Wang wrote: For some test in micro-bench can be time consuming, we add a micro-bench test parameter to allow each individual test to specify its running times. Signed-off-by: Jingyi Wang --- arm

Re: [kvm-unit-tests PATCH v2 2/8] arm64: microbench: Use the funcions for ipi test as the general functions for gic(ipi/lpi/timer) test

2020-07-02 Thread Jingyi Wang
and then in the commit message, instead of The following patches will use that. we use Later patches will use these functions for gic(ipi/lpi/timer) tests. Thanks, drew This looks more concise, thanks for reviewing Thanks, Jingyi On Thu, Jul 02, 2020 at 11:01:26AM +0800, Jingyi Wang wrote

[kvm-unit-tests PATCH v2 8/8] arm64: microbench: Add vtimer latency test

2020-07-01 Thread Jingyi Wang
Trigger PPIs by setting up a 10msec timer and test the latency. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 56 ++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 4c962b7..6822084

[kvm-unit-tests PATCH v2 2/8] arm64: microbench: Use the funcions for ipi test as the general functions for gic(ipi/lpi/timer) test

2020-07-01 Thread Jingyi Wang
The following patches will use that. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 794dfac..fc4d356 100644 --- a/arm/micro-bench.c +++ b

[kvm-unit-tests PATCH v2 7/8] arm64: microbench: Add time limit for each individual test

2020-07-01 Thread Jingyi Wang
Besides using separate running times parameter, we add time limit for loop_test to make sure each test should be done in a certain time(5 sec here). Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/arm/micro

[kvm-unit-tests PATCH v2 5/8] arm64: microbench: its: Add LPI latency test

2020-07-01 Thread Jingyi Wang
Triggers LPIs through the INT command and test the latency. Mostly inherited form commit 0ef02cd6cbaa(arm/arm64: ITS: INT functional tests). Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 44 1 file changed, 44 insertions(+) diff --git a/arm

[kvm-unit-tests PATCH v2 1/8] arm64: microbench: get correct ipi received num

2020-07-01 Thread Jingyi Wang
If ipi_exec() fails because of timeout, we shouldn't increase the number of ipi received. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 4612f41..794dfac 100644 --- a/arm/micro

[kvm-unit-tests PATCH v2 3/8] arm64: microbench: gic: Add gicv4.1 support for ipi latency test.

2020-07-01 Thread Jingyi Wang
If gicv4.1(sgi hardware injection) supported, we test ipi injection via hw/sw way separately. Signed-off-by: Jingyi Wang --- arm/micro-bench.c| 45 +++- lib/arm/asm/gic-v3.h | 3 +++ lib/arm/asm/gic.h| 1 + 3 files changed, 44 insertions(+), 5

[kvm-unit-tests PATCH v2 0/8] arm/arm64: Add IPI/LPI/vtimer latency test

2020-07-01 Thread Jingyi Wang
supported hardware. * From v1: - Fix spelling mistake - Use the existing interface to inject hw sgi to simply the logic - Add two separate patches to limit the running times and time cost of each individual micro-bench test Jingyi Wang (8): arm64: microbench: get correct ipi recieved num

Re: [kvm-unit-tests PATCH 1/6] arm64: microbench: get correct ipi recieved num

2020-05-21 Thread Jingyi Wang
On 5/21/2020 10:00 PM, Zenghui Yu wrote: On 2020/5/17 18:08, Jingyi Wang wrote: If ipi_exec() fails because of timeout, we shouldn't increase the number of ipi received. Signed-off-by: Jingyi Wang ---   arm/micro-bench.c | 4 +++-   1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [kvm-unit-tests PATCH 6/6] arm64: microbench: Add vtimer latency test

2020-05-19 Thread Jingyi Wang
Hi Drew, On 5/18/2020 3:05 PM, Andrew Jones wrote: On Sun, May 17, 2020 at 06:09:00PM +0800, Jingyi Wang wrote: Triggers PPIs by setting up a 10msec timer and test the latency. For this test can be time consuming, we add time limit for loop_test to make sure each test should be done

[kvm-unit-tests PATCH 5/6] arm64: microbench: its: Add LPI latency test.

2020-05-17 Thread Jingyi Wang
Triggers LPIs through the INT command and test the latency. Mostly inherited form commit 0ef02cd6cbaa(arm/arm64: ITS: INT functional tests). Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 44 1 file changed, 44 insertions(+) diff --git a/arm

[kvm-unit-tests PATCH 4/6] arm64: its: Handle its command queue wrapping

2020-05-17 Thread Jingyi Wang
Because micro-bench may send a large number of ITS commands, we should handle ITS command queue wrapping as kernel instead of just failing the test. Signed-off-by: Jingyi Wang --- lib/arm64/gic-v3-its-cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/arm64/gic-v3

[kvm-unit-tests PATCH 3/6] arm64: microbench: gic: Add gicv4.1 support for ipi latency test.

2020-05-17 Thread Jingyi Wang
If gicv4.1(sgi hardware injection) supported, we test ipi injection via hw/sw way separately. Signed-off-by: Jingyi Wang --- arm/micro-bench.c| 53 +++- lib/arm/asm/gic-v3.h | 5 + lib/arm/asm/gic.h| 1 + 3 files changed, 54 insertions(+), 5

[kvm-unit-tests PATCH 1/6] arm64: microbench: get correct ipi recieved num

2020-05-17 Thread Jingyi Wang
If ipi_exec() fails because of timeout, we shouldn't increase the number of ipi received. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index 4612f41..ca022d9 100644 --- a/arm/micro

[kvm-unit-tests PATCH 2/6] arm64: microbench: Use the funcions for ipi test as the general functions for gic(ipi/lpi/timer) test.

2020-05-17 Thread Jingyi Wang
The following patches will use that. Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/arm/micro-bench.c b/arm/micro-bench.c index ca022d9..fc4d356 100644 --- a/arm/micro-bench.c +++ b

[kvm-unit-tests PATCH 6/6] arm64: microbench: Add vtimer latency test

2020-05-17 Thread Jingyi Wang
Triggers PPIs by setting up a 10msec timer and test the latency. For this test can be time consuming, we add time limit for loop_test to make sure each test should be done in a certain time(5 sec here). Signed-off-by: Jingyi Wang --- arm/micro-bench.c | 81

[kvm-unit-tests PATCH 0/6] arm64: add IPI/LPI/vtimer latency

2020-05-17 Thread Jingyi Wang
With the development of arm gic architecture, we think it will be useful to add some performance test in kut to measure the cost of interrupts. In this series, we add GICv4.1 support for ipi latency test and implement LPI/vtimer latency test. Jingyi Wang (6): arm64: microbench: get correct ipi

Re: [kvm-unit-tests PATCH 0/2] arm/arm64: Add IPI/vtimer latency

2020-04-02 Thread Jingyi Wang
Hi Drew, Zenghui, On 4/2/2020 7:52 PM, Zenghui Yu wrote: Hi Drew, Jingyi, On 2020/4/1 20:24, Andrew Jones wrote: On Wed, Apr 01, 2020 at 06:08:10PM +0800, Jingyi Wang wrote: With the development of arm gic architecture, we think it will be useful to add some simple performance test in kut

[kvm-unit-tests PATCH 0/2] arm/arm64: Add IPI/vtimer latency

2020-04-01 Thread Jingyi Wang
With the development of arm gic architecture, we think it will be useful to add some simple performance test in kut to measure the cost of interrupts. X86 arch has implemented similar test. Jingyi Wang (2): arm/arm64: gic: Add IPI latency test arm/arm64: Add vtimer latency test arm/gic.c

[kvm-unit-tests PATCH 1/2] arm/arm64: gic: Add IPI latency test

2020-04-01 Thread Jingyi Wang
This patch add a test to measure the latency of IPI injection. Signed-off-by: Jingyi Wang --- arm/gic.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arm/gic.c b/arm/gic.c index fcf4c1f..f5e830e 100644 --- a/arm/gic.c +++ b/arm/gic.c @@ -27,6 +27,9 @@ struct

[kvm-unit-tests PATCH 2/2] arm/arm64: Add vtimer latency test

2020-04-01 Thread Jingyi Wang
This patch add a test to measure the precise vtimer firing time. Signed-off-by: Jingyi Wang --- arm/timer.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arm/timer.c b/arm/timer.c index f390e8e..1d5b3dc 100644 --- a/arm/timer.c +++ b/arm/timer.c @@ -16,6 +16,9 @@ #define