summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-18fvp: update tables to 5.1 versions and remove unneededHEADmasterGraeme Gregory
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
2014-07-30juno: add juno platform filesGraeme Gregory
These will be superceded by tianocore release versions from ARM Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
2014-04-29DSDT: remove clocksGraeme Gregory
This patch is prototype and goes with the equivalent patch for pl011 uart. It just just to show the new structure of DSDT if we continue with this way of doing clocks. Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
2014-04-29DBG2: Add DBG2 table compilation support.Naresh Bhat
Add DBG2 table compilation support. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2014-02-19platforms/APMXGene : add ASL files for the XGene boardGraeme Gregory
These files were taken from the UEFI release for this board. This is the first draft of the ASL files and will be subject to further revisions. Signed-off-by: Al Stone <al.stone@linaro.org> Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
2014-02-19common/build_aml.c : add dbg2 and spcr tables to signaturesGraeme Gregory
Add these two tables which are supported by ACPICA tools so mab understands these tables also. Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2014-02-19tools/bfapei/.gitignore : add ignore for bfapei executeableGraeme Gregory
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2014-02-19tools/.gitignore : ignore all object filesGraeme Gregory
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2014-01-10rtsm_ve-aemv8a: Add ASL for cf-flash memoryTomasz Nowicki
Added info: - memory resource ranges - DSM property, specific for cfi-flash memory Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2014-01-10apei: Follow up lately kernel changes.Tomasz Nowicki
Since 3.13 kernel birngs a lot of new features and APEI structure refines, we need to update our tool to make it works with APEI blob. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2014-01-10acpi, apei: More detailed info regarding memory error.Tomasz Nowicki
We create blob with memory error example as a proof it really works. This commits only add more detailed info so output message will looks prettier. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2014-01-10apei: Adjust addresses for APEI testing via UEFI -> GRUB -> ACPI kernel.Tomasz Nowicki
Our test setup assume that GRUB loads APEI blob to the RAM memory. So all APEI tables must point to the given RAM area. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-12-20rtsm_ve-aemv8a: correct GIC addresses in APIC tableGraeme Gregory
The addresses were not updated from the change to the FVP model. Correct the addresses. Boot tested with patch series from Hanjun Guo Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-12-17rtsm_ve-aemv8a: Add ASL for vexpress sysregNaresh Bhat
Add ASL to support vexpress sysreg rtsm_ve-aemv8a platform. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
2013-12-12rtsm_ve-aemv8a: add ASL for fixed regulatorGraeme Gregory
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
2013-12-09rtsm_ve-aemv8a: Add ASL for bus device enumerationNaresh Bhat
Add ASL for AMBA bus and devices on rtsm_ve-aemv8a platform. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
2013-12-03foundation v8:Fix PNPID for serialNaresh Bhat
Use the official PNPID as LNRO for serial devices. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-28switch PNPID to the official LNRO from temporary LINAGraeme Gregory
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-11-19Documentation: Add changelog file to main directory and make first note ↵Tomasz Nowicki
regarding 1 byte alignment.
2013-11-19acpi: Be sure ACPI structure are packed with 1 byte alignment.Tomasz Nowicki
2013-11-19mab: Generate blob without ACPI header.Tomasz Nowicki
ACPI header is not necessary for blob any more.
2013-11-19Foundation model / ASL: fix another interrupt type and level flag errorHanjun Guo
As commit 4a52df24 (ARM64 / ASL: Fix interrupt type and level flag for device interrupts) did, this patch fix the same problem. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18RTSM model: Create GTDT table for arch timerHanjun Guo
Create GTDT table to convert arch timer for early boot. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-11-18Foundation model: Create GTDT table for arch timerHanjun Guo
Create GTDT table to convert arch timer for early boot. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-11-18Convert ASL for RTSM to BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert ASL for Foundation model to BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert ASL for Arndale to BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert the loadtest.acpi files to a BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert overall Makefiles to BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert the bfapei tool to the BSD license.Al Stone
This has been discussed with the copyright owner; he is aware of the change and in agreement with it. Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert all tool common files to BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Convert the mab project to a BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Change the cab tool to the BSD license.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Add in LICENSE file (BSD 2-clause, specifically)Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-11-18Remove all Foundation model ASL files that should never be used.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
2013-11-18Remove all Arndale ASL files that should never be used.Al Stone
Signed-off-by: Al Stone <al.stone@linaro.org> Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
2013-11-18ARM64 / ASL: Fix interrupt type and level flag for device interruptsHanjun Guo
For gic bindings, The 3rd cell of interrupts is the flags,encoded as follows: bits[3:0] trigger type and level flags. 1 = low-to-high edge triggered 2 = high-to-low edge triggered 4 = active high level-sensitive 8 = active low level-sensitive bits[15:8] PPI interrupt cpu mask. Please refer to Documentation/devicetree/bindings/arm/gic.txt for detailed information. In Foundation model and RTSM model's device tree, the 3rd cell of interrupts of all devices is 4, so we should use active high level-sensitive in the DSDT table too when we convert the device to ACPI. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-11-18foundation-v8: Add clk changesNaresh Bhat
Add the clk changes for dsdt asl file of foundation-v8 model. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-11-18foundation-v8: Add HID for UART devicesNaresh Bhat
Add _HID for pl011-uart devices. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
2013-11-18foundation: Add ASL for bus, devices enumerationNaresh Bhat
Add ASL for SMB, FPGA, AMBA along with the devices like CLK, SYSREG, ..etc on the bus. Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
2013-11-18loadtest: xsdt only needs one tableGraeme Gregory
Extra table entries in mab will create an incorrect blob. Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Acked-by: Al Stone <al.stone@linaro.org>
2013-10-10acpi, apei, einj: Relace constant value with defines.Tomasz Nowicki
2013-09-23acpi, apei, einj: Fill in EINJ table according to address in EINJ blobs.Tomasz Nowicki
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-23bfapei: Expand bfapei tool to EINJ table testing.Tomasz Nowicki
bfapei now can create blob for EINJ driver as well. Blob for EINJ driver need to be combined with blob for HEST driver since EINJ is designed to set status flag for Error Status Block pointed from HEST table. This way EINJ driver can be tested in easy way. Note that SCI must be triggered in the next step so GHES driver start to parse error. This could be done using SCI emulate mechanism. Logic path: 1. Create Error Status Block (ESB information related to given error, pointed by HEST) 2. Create pretended registers (blob for EINJ) that instruct kernel to set status flag in ESB. 3. Trigger error using debugfs 4. Emulate SCI HOWTO: Enter to acpi tool repository: # make PADDR=0x<physical address> APEI=einj <platform>.acpi Boot target: Print available error list: # cat /sys/kernel/debug/apei/einj/available_error_type 0x00000008 Memory Correctable Set given error type: # echo 0x00000008 > /sys/kernel/debug/apei/einj/error_type Confirm error was really set: # cat /sys/kernel/debug/apei/einj/error_type 0x8 Inject error (here status flag for ESB is set) # echo 0x00000008 > /sys/kernel/debug/apei/einj/error_inject Emulate SCI (notification of HED device with 0x80 value) # echo "HED 128" > /sys/kernel/debug/acpi/sci_notify ACPI: ACPI device name is <HED>, event code is <128> ACPI: Notify event is queued {1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 2 {1}[Hardware Error]: APEI generic hardware error status {1}[Hardware Error]: severity: 1, fatal {1}[Hardware Error]: section: 0, severity: 0, recoverable {1}[Hardware Error]: flags: 0x00 {1}[Hardware Error]: section_type: memory error Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-23bfapei: Move common functionality to separate function.Tomasz Nowicki
Since every type of test allocate and expand buffer using the same algorithm, lets move common code to bfapei_expand_buf helper function. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-19ASL, RTSMv8, Foundation: Add ASL for PMU driver.Tomasz Nowicki
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-19acpi, apei, erst: Point to region where we can pretend registers, persistent ↵Tomasz Nowicki
storage. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-19acpi, apei, bert: Point to the same error block status memory region as HEST ↵Tomasz Nowicki
points. Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-19acpi, apei, hest: Fill ACPI tables to enable HEST/GHES driver.Tomasz Nowicki
o set aside pretend physical space to exchange info about error Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
2013-09-19acpi, apei: Fix EINJ and HEST tables.Tomasz Nowicki
o fix number of Injection Entry in EINJ o leave one generic hardware error source to get rid of error messages in dmsg, some of them were x86 specific or not fully supported for ARM now Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>