This is the RFC version for converting the fixed clock to ACPI.
Since the ACPI namespace is ok at the very late stage of system
boot, so I did some major change in boot sequence for the enumeration
of fixed clock, amba bus and its child device. I think this part should
be review carefully.
For DT, it works well for armv8 foudation model after the change in
boot sequence, but the UART and amba bus are dependent on the fixed
clock, if I only convert the fixed clock to ACPI, UART will not
work. So this is the RFC version and the UART will be converted
together in next version.
Hanjun Guo (5):
Driver / clk: add platform driver for fixed clock
ACPI / ARM64: Whitelist the ACPI ID for fixed clock
ACPI / platform: add some comments for internel registry of _HID
names
ACPI / fixed-clock: Add ACPI driver for fixed clock
Clk / fixed clock: Delay the enumeration of fixed clock and make it
popssible for ACPI
arch/arm64/kernel/setup.c | 2 +-
drivers/acpi/acpi_platform.c | 7 ++--
drivers/clk/clk-fixed-rate.c | 78 +++++++++++++++++++++++++++++++++++++++++-
3 files changed, 82 insertions(+), 5 deletions(-)
--
1.7.9.5
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