On 10/10/2013 03:14 AM, Tomasz Nowicki wrote:
EINJ table is fully implemented in kernel and no changes were needed to bring it up on armv7/8 arch. Along with work on EINJ coulpe of steps were done like:
- Expand bfapei tool so it can create blob which pretend h/w registers for EINJ driver.
- Filling address in EINJ table according to those in blob.
- Trigger error using existing injection kernel mechanism.
See commit for more details.
Changes for v2: - add more descriptive commit log
Changes for v3: - replace constant values with defines
Tomasz Nowicki (4): bfapei: Move common functionality to separate function. bfapei: Expand bfapei tool to EINJ table testing. acpi, apei, einj: Fill in EINJ table according to address in EINJ blobs. acpi, apei, einj: Relace constant value with defines.
platforms/exynos5250-arndale.acpi/einj.asl | 20 +++--- platforms/foundation-v8.acpi/einj.asl | 20 +++--- platforms/rtsm_ve-aemv8a.acpi/einj.asl | 20 +++--- tools/bfapei/bfapei.c | 104 +++++++++++++++++++++++----- tools/bfapei/bfapei.h | 30 ++++++-- tools/common/include/acpi.h | 77 ++++++++++++++++++++ 6 files changed, 215 insertions(+), 56 deletions(-)
Nice job. Thanks.
Acked-by: Al Stone al.stone@linaro.org