• Dan Williams's avatar
    dmatest: add a 'wait' parameter · 2d88ce76
    Dan Williams authored
    Allows for scripting test runs by module load / unload.  Prevent module
    load from returning until 'iterations' (finite) tests have completed, or
    cause reads of the 'wait' parameter in sysfs to pause until the tests
    are done.
    
    Also killed the local waitqueue since we can just let the thread exit
    naturally as long as we hold a reference.
    
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    2d88ce76
dmatest.txt 3.38 KB