From: Al Stone <ahs3(a)redhat.com>
Just for convenience sake, bring in the DTS files for the FVP model
so they are easier to find and modify.
These files are all from ARM github; specifically:
https://github.com/ARM-software/arm-trusted-firmware.git
Al Stone (2):
ACPI: ARM: update DTS for RTSM VE motherboard (from ARM github)
ACPI: ARM: add in DTS files for the FVP model (from ARM github)
arch/arm64/boot/dts/fvp-base-gicv2-psci.dts | 250 ++++++++++++++++++++
arch/arm64/boot/dts/fvp-base-gicv2legacy-psci.dts | 250 ++++++++++++++++++++
arch/arm64/boot/dts/fvp-base-gicv3-psci.dts | 259 +++++++++++++++++++++
arch/arm64/boot/dts/fvp-foundation-gicv2-psci.dts | 201 ++++++++++++++++
.../boot/dts/fvp-foundation-gicv2legacy-psci.dts | 201 ++++++++++++++++
arch/arm64/boot/dts/fvp-foundation-gicv3-psci.dts | 210 +++++++++++++++++
.../arm64/boot/dts/fvp-foundation-motherboard.dtsi | 197 ++++++++++++++++
arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi | 38 ++-
8 files changed, 1602 insertions(+), 4 deletions(-)
create mode 100644 arch/arm64/boot/dts/fvp-base-gicv2-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-base-gicv2legacy-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-base-gicv3-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-foundation-gicv2-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-foundation-gicv2legacy-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-foundation-gicv3-psci.dts
create mode 100644 arch/arm64/boot/dts/fvp-foundation-motherboard.dtsi
--
1.8.3.1
Just to put it on the record: if you need to add/change/modify
ASL in the acpi-asl.git tree for use with the ARM FVP models,
the correct platform directory to use is rtsm_ve-aemv8a.acpi.
I think everyone probably understands this and is already doing
so; I just wanted to make sure it was explicit and recorded.
Thanks.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Linaro Enterprise Group
al.stone(a)linaro.org
-----------------------------------
This patch set trys to convert GIC to ACPI which based on patches
from Amit, I rework them and try to get things simpler.
In MADT table, there are GIC cpu interface base address and
GIC distributor base address, use them to convert GIC to ACPI.
GIC should be converted after all the devices refer to GIC are
converted. But this patch set can be safely applied to linaro-acpi
git tree if we don't remove the DT node of GIC, the node of
GIC can be removed after all the devices converted to ACPI.
v2:
a) fix missed iounmap() when return in error path;
b) add stab for acpi_gic_init(void) when !CONFIG_ACPI
C) modify the GSI mapping from DT to ACPI
d) remove the hack code and modify the change log a bit
Amit Daniel Kachhap (2):
irqdomain: Add a new API irq_create_acpi_mapping()
ACPI: ARM: Update acpi_register_gsi to register with the core IRQ
subsystem
Hanjun Guo (2):
irqchip / GIC: do not set default host for GIC domain multi-times
when ACPI enabled
ARM / GIC: convert GIC to ACPI using the information in MADT
arch/arm64/kernel/irq.c | 4 ++
drivers/acpi/plat/arm/boot.c | 98 ++++++++++++++++++++++++++++++++++++------
drivers/irqchip/irq-gic.c | 5 ++-
include/linux/acpi.h | 8 ++++
kernel/irq/irqdomain.c | 27 ++++++++++++
5 files changed, 127 insertions(+), 15 deletions(-)
--
1.7.9.5
Fix compilation error:
drivers/acpi/apei/hest.c: In function ‘acpi_hest_init’:
drivers/acpi/apei/hest.c:268:7: error: ‘acpi_disable_cmcff’ undeclared (first use in this function)
drivers/acpi/apei/hest.c:268:7: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [drivers/acpi/apei/hest.o] Error 1
MCE is X86 platform specific and should be consider only if MCE is configured.
---
drivers/acpi/apei/hest.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/apei/hest.c b/drivers/acpi/apei/hest.c
index f5e37f3..6d06cce 100644
--- a/drivers/acpi/apei/hest.c
+++ b/drivers/acpi/apei/hest.c
@@ -36,7 +36,9 @@
#include <linux/io.h>
#include <linux/platform_device.h>
#include <acpi/apei.h>
+#ifdef CONFIG_X86_MCE
#include <asm/mce.h>
+#endif
#include "apei-internal.h"
@@ -126,9 +128,9 @@ EXPORT_SYMBOL_GPL(apei_hest_parse);
* Check if firmware advertises firmware first mode. We need FF bit to be set
* along with a set of MC banks which work in FF mode.
*/
+#ifdef CONFIG_X86_MCE
static int __init hest_parse_cmc(struct acpi_hest_header *hest_hdr, void *data)
{
-#ifdef CONFIG_X86_MCE
int i;
struct acpi_hest_ia_corrected *cmc;
struct acpi_hest_ia_error_bank *mc_bank;
@@ -153,9 +155,10 @@ static int __init hest_parse_cmc(struct acpi_hest_header *hest_hdr, void *data)
mc_bank = (struct acpi_hest_ia_error_bank *)(cmc + 1);
for (i = 0; i < cmc->num_hardware_banks; i++, mc_bank++)
mce_disable_bank(mc_bank->bank_number);
-#endif
+
return 1;
}
+#endif
struct ghes_arr {
struct platform_device **ghes_devs;
@@ -263,8 +266,10 @@ void __init acpi_hest_init(void)
goto err;
}
+#ifdef CONFIG_X86_MCE
if (!acpi_disable_cmcff)
apei_hest_parse(hest_parse_cmc, NULL);
+#endif
if (!ghes_disable) {
rc = apei_hest_parse(hest_parse_ghes_count, &ghes_count);
--
1.7.9.5
From: Naresh Bhat <naresh.bhat(a)linaro.org>
While testing Brandon Anderson patches on foundation v8 model, the model use to hang
while booting, because UART is unable to find the clock source.
...
.....
ACPI: No dock devices found.
acpi_amba_add_device(): amba_device_add() failed (-2) for LINA000A:00
acpi_amba_add_device(): amba_device_add() failed (-2) for LINA000A:01
acpi_amba_add_device(): amba_device_add() failed (-2) for LINA000A:02
acpi_amba_add_device(): amba_device_add() failed (-2) for LINA000A:03
...
....
This patch issued to fix the same issue under foundation v8 platform dsdt asl file.
Naresh Bhat (1):
foundation-v8: Add clk changes
platforms/foundation-v8.acpi/dsdt.asl | 47 +++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
--
1.7.9.5