Add ERST functional test case (V3)

this case is used to test read/write/clear operations
on ERST.

Pay attention, please use this case on the kernel >=2.6.39-rc1.
More detail information please refer the test case itself.

BTW, this case doesn't consider the situation such as duplicate
or missing id because current firmware has bugs. It will be
updated after the firmware fixes this issue.

V3 -> V2: Makefile without recursive make
V2 -> V1: add copyright information

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
6 files changed