is-cpu-isolated: add prefix to sched_load_balance

Commit: 176ea92 (is-cpu-isolated: Fix name of cpuset files) missed fixing this
entry. Fix it.

Change-Id: I3a724e4fc1bf4e36a84bf7ee52a5ae37b0287cd7
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
LTP-Realtime: Make path to scripts dynamic

Change-Id: I49e99edc908d38f1e2a851d6160f51c8f1c46577
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
is-cpu-isolated: Keep an eye on all possible interrupts

Until now we were only concerned about interruption from ticks and so were
checking only interrupts from arch_timer.

But there are few problems here:

- To check which row belongs to tick-timer, we need to grep for a string. It can
  be "arch-timer", "twd", "NMI", etc for different platforms and so the script
  was never generic.

- Also, interruption is possible from other peripherals, PPI, SPI, IPC, etc

This patch adds in another AWK script to get total number of interrupts for any
CPU (though it supports returning that for all CPUs at once, its not used
currently). We use this instead of looking at tick-timer.

Change-Id: I2aab004314459a928e5ebc505d03a4525957c40e
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: Split out separate routine for cpufreq stuff

Change-Id: Iefcaf437dd59e8b9d314b4a168db589f877fa47e
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: split out sysfs-related-tuning into a separate routine

Change-Id: Ic2dab8318e6c120ca4802a182e42399c695f4577
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: Move routines around

Just for better readability.

Change-Id: I59da04d24519c2fa50ca5dc19636256c7ed2d50d
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: No need to set cpuset/cpus again

It was done again earlier because we were hotplugging CPUs, but its not done
anymore and so this isn't required. Remove it.

Change-Id: I5844252f2c95f2c6f1335bd4e54363dc34339a48
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: Run --stress on the right CPU

Currently we were creating 'stress' on control plane CPU and then migrating it
to data plane one. Instead create it on data plane CPU only.

Change-Id: I63a38db978e211fada66eb4a646b51517519699f
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: create per-cpu cpuset directories

So that we can isolate all CPUs.

Change-Id: I8c1baef9fe23950cc8752e7df3628af8c5d8e3bb
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: add delay before removing dplane cpuset

Change-Id: I4f17592c20027cd4739e188e1c9e14c99717b027
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: Isolate more than one CPU

Until now, we only handle isolation for One cpu. But for better test coverage,
we actually need support for more CPUs.

This patch adds support for more than one CPU in isolation script.

Change-Id: I169766adf900289f4eaf955e1d12f4d3394f642c
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: rename ISOL_CPU to ISOL_CPUS

Change-Id: I99dea8c9f648092d236a57a222f9e4e1ddedcc6c
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: skip testing isolation initially

Currently we do a isolation test before starting the major loop for 'n' samples.
It was done to precisely know when was interruption last happened.

As things are more stable now, we can just check that from the loop.

Change-Id: I43bdc5b515e4e3b19f058c83eebf1f7ff509ff6a
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
is-cpu-isolated: formatting udpates

Change-Id: I5f42ee74fc2b6a319a5a086acf8bd388dd92423b
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
kvm: add armv8 support

Wide range of changes needed to allow kvm tests to run on both
ARMv7 and ARMv8 targets.

Currently includes some ugly hacks to faciliate booting mustang
from nfs (can't use tun).

Change-Id: I92ab87b6439b464db14fdef0cbac41efd64ef9a8
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
ACPICA: fixed result parsing

There're test cases summary in a file named "__STATUS_OF_TESTS" located
at aslts/tmp/RESULTS/<date>/[norm|slack]/[32|64]. Turned them into LAVA
test results.

Change-Id: I14275648c4f790b970b2c29c30da91950e931325
pwrmgmt: Bump release version to pm-qa-v0.4.11

Change-Id: I577fe585348cde83697952c3e3a98a70c260496f
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
Ubuntu: removed redundant LTP realtime definition

rt-ltp.yam was a duplicate of ltp-realtime.yaml. Leaving the latter
as it contains more recent version of result parsing.

Change-Id: I62c9a0395eb5a0387b01b37eae91a42a0df3251d
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
ltp-network: fixed test definition parameters

Removed list markers and unnecessary quotation marks.

Change-Id: I24c66a37ac4ea7014b21e00179bb564cef5e7268
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Make shell scripts POSIX compliant

Change-Id: I4e83da735e856f63415b9691f35b7b08c6a12508
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>