Add memory test cases

The new test cases used memtester.

Signed-off-by: Carlos Hernandez <ceh@ti.com>
GPIO: Add repeat reserve gpio tests and gpio stress tests

Those tests are added in based on OPBU request

Signed-off-by: Yan Liu <yan-liu@ti.com>
GPIO: Add kmemleak and spinlock error checking testcases

Kmemleak and spinlock error checking testcases.
Kernel needs to have DEBUG_KMEMLEAK and DEBUG_SPINLOCK option enabled in order to run those tests

Signed-off-by: Yan Liu <yan-liu@ti.com>
Reorganize ddt testcases test scripts

This patch relocates the test scripts found under testcases/ddt/scripts
into different folders (testcases/ddt/scripts/<area,IP or per>) based on the
area/IP/peripheral the scripts are used. It also modifies runltp environment
to include the new folders created.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Common clock framework reference for AM335x

This patch adds the common clock framework reference values
for AM335x base boards.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Common clock framework reference for OMAP5

This patch adds the common clock framework reference values
for OMAP5 base boards.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Common clock framework reference for DRA7xx

This patch adds the common clock framework reference values
for DRA7xx base boards.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Common clock framework test

This patch adds a Common clock framework test to ltp-ddt.
The test compares the golden reference, clocks based on
registers values, and the clocks reported under the kernel
debugfs to determine if it passes or fails.

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add Common clock framework scenario file

This patch adds a scenario file for common clock framework
tests

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
runltp: Modify runltp to be able to run multiple instances which starts the same time

Since the log file is based on time stamp and the log file names are the same if the processes start the same time. This patch add pid to the log name to avoid this problem.

Signed-off-by: Yan Liu <yan-liu@ti.com>
    Add simple suspend/standby test on target without involving host

    1) modify the super pm tests to add rtc suspend test. If there is no timer wakeup support, rtc suspend/wakup will be used.
    2) enable user to be able to test other component/driver behavior while suspend/resume w/o involving host testing.
    3) add standby support
    4) make the max wakeup time variable so the random wakeup time could be bigger

Signed-off-by: Yan Liu <yan-liu@ti.com>
    Add gpio pm related tests

    1) Check pm counter after suspend and gpio test
    2) Test gpio context save/restore after supend

Signed-off-by: Yan Liu <yan-liu@ti.com>
Add I2C cpu affinity and irq affinity tests

This patch add I2C cpu affinity and irq affinity tests
and also fix a bug in get_irq_for_iface.sh

Signed-off-by: Yan Liu <yan-liu@ti.com>
I2C: Add kmemleak and spinlock checking tests

This patch add kmemleak and spinlock test cases when running I2C tests.

Signed-off-by: Yan Liu <yan-liu@ti.com>
LTP Tests for ethernet parallel processing

Review comments applied. Based on review, added function in common.sh to check
for environment variable being set and modified test names to conform to
naming convention. This patch adds LTP-DDT tests for testing parallel
processing on ethernet driver. Also supported scripts for mounting
and unmounting nfs are included.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
Add gpio DVFS test

This patch test gpio while changing the cpufreq.

Signed-off-by: Yan Liu <yan-liu@ti.com>
Add processes by priority

This patch adds capablity to:
1) Run a process given its priority using run_process_by_priority.sh.
This takes as optional parameters cpu affinity, priority, interprocess
start delay, and number of instances
2) Run multiple processes invoking the run_process_by_priority
mentioned under 1) and also checks for priority taking effect between
two tasks when verify_priority flag is set
3) Script to use the above for a process using ethernet driver

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
LTP-DDT Test cases for multiple ethernet interfaces

This patch adds functional and stress tests for all ethernet interfaces
supported on a platform. They include tests to bring down and up the
interfaces all at the same time, one at a time, as well as ping tests
on these interfaces and combinations of ifdown/ifup on other eth interfaces
in parallel with ping on one interface.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>

Changes for v3 - Renamed "stress" type to "ifupdown" so that it is not
                 confused with test scope

Changes for v2 - Changed the nested else by replacing with elif at:
                 > +else
                 > +  if [ "$p_sequence" = 'one' ]

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
README-DDT: Add info on how to build edma/gpio kernel test modules.

This patch add info on how to build edma/gpio kernel test modules.

Signed-off-by: Yan Liu <yan-liu@ti.com>
gpio_test: Remove mach/hardware.h from the testcode

Remove mach/hardware.h from the gpio_test code since it cause the build error.
The test app doesn't need it anyway.

Signed-off-by: Yan Liu <yan-liu@ti.com>