[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during c
From: |
Alex Bennée |
Subject: |
Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution |
Date: |
Tue, 11 Apr 2023 09:26:56 +0100 |
User-agent: |
mu4e 1.10.0; emacs 29.0.90 |
Andrew Jones <andrew.jones@linux.dev> writes:
> On Tue, Mar 07, 2023 at 11:28:42AM +0000, Alex Bennée wrote:
>> This adds a fairly brain dead torture test for TLB flushes intended
>> for stressing the MTTCG QEMU build. It takes the usual -smp option for
>> multiple CPUs.
>>
<snip>
>
> BTW, have you tried running these tests as standalone? Since they're
> 'nodefault' it'd be good if they work that way.
It works but I couldn't get it to skip pass the nodefault check
automaticaly:
env run_all_tests=1
QEMU=$HOME/lsrc/qemu.git/builds/arm.all/qemu-system-aarch64
./tests/tcg.computed
BUILD_HEAD=c9cf6e90
Test marked not to be run by default, are you sure (y/N)?
>
>> +file = tlbflush-code.flat
>> +smp = $(($MAX_SMP>4?4:$MAX_SMP))
>> +groups = nodefault mttcg
>> +
>> +[tlbflush-code::page_other]
>> +file = tlbflush-code.flat
>> +smp = $(($MAX_SMP>4?4:$MAX_SMP))
>> +extra_params = -append 'page'
>> +groups = nodefault mttcg
>> +
>> +[tlbflush-code::all_self]
>> +file = tlbflush-code.flat
>> +smp = $(($MAX_SMP>4?4:$MAX_SMP))
>> +extra_params = -append 'self'
>> +groups = nodefault mttcg
>> +
>> +[tlbflush-code::page_self]
>> +file = tlbflush-code.flat
>> +smp = $(($MAX_SMP>4?4:$MAX_SMP))
>> +extra_params = -append 'page self'
>> +groups = nodefault mttcg
>> +
>> --
>> 2.39.2
>>
>
> Thanks,
> drew
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
- Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution,
Alex Bennée <=