Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution

2023-04-11 Thread Andrew Jones
On Tue, Apr 11, 2023 at 09:26:56AM +0100, Alex Bennée wrote: > > Andrew Jones writes: > > > On Tue, Mar 07, 2023 at 11:28:42AM +, 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 optio

Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution

2023-04-11 Thread Alex Bennée
Andrew Jones writes: > On Tue, Mar 07, 2023 at 11:28:42AM +, 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. >> > > BTW, have you tried running these tests

Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution

2023-03-21 Thread Andrew Jones
On Tue, Mar 21, 2023 at 04:02:21PM +0100, Andrew Jones wrote: ... > > + > > +# TLB Torture Tests > > +[tlbflush-code::all_other] > > It's better to use '-', '_', '.', or ',' than '::' because otherwise the > standalone test will have a filename like tests/tlbflush-code::all_other > which will be a

Re: [kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution

2023-03-21 Thread Andrew Jones
On Tue, Mar 07, 2023 at 11:28:42AM +, 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. > > By default it CPU0 will do a TLBIALL flush after each cycle. You can > pa

[kvm-unit-tests PATCH v10 4/7] arm/tlbflush-code: TLB flush during code execution

2023-03-07 Thread Alex Bennée
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. By default it CPU0 will do a TLBIALL flush after each cycle. You can pass options via -append to control additional aspects of the test: - "p