x86: quark: Add ACPI support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 0 repliesNew
- v18 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Use __ASSEMBLY__ define
- Use __ASSEMBLY__ in device.h
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | x86: acpi: Create a common irqlinks ASL filearch/ arch/ | +35 | 0 replies | |
| 1/8 | x86: acpi: Create a common irqlinks ASL file | +0 | 0 replies | |
| 2/8 | x86: acpi: Make irqroute.asl commonarch/ arch/ arch/ | +2 | 0 replies | |
| 2/8 | x86: acpi: Make irqroute.asl common | +0 | 0 replies | |
| 3/8 | acpi: Pass -D__ASSEMBLY__ when compiling ASL filesscripts/ | +1 | 0 replies | |
| 3/8 | acpi: Pass -D__ASSEMBLY__ when compiling ASL files | +0 | 0 replies | |
| 4/8 | x86: quark: Prepare device.h for inclusion by ASLarch/ | +15 | 0 replies | |
| 4/8 | x86: quark: Prepare device.h for inclusion by ASL | +0 | 0 replies | |
| 5/8 | x86: quark: Add platform ASL filesarch/ arch/ arch/ +4 more | +433 | 0 replies | |
| 5/8 | x86: quark: Add platform ASL files | +0 | 0 replies | |
| 6/8 | x86: quark: Generate ACPI FADT/MADT tablesarch/ arch/ | +164 | 0 replies | |
| 6/8 | x86: quark: Generate ACPI FADT/MADT tables | +0 | 0 replies | |
| 7/8 | x86: galileo: Enable ACPI table generationboard/ board/ board/ +3 more | +34 | 0 replies | |
| 7/8 | x86: galileo: Enable ACPI table generation | +0 | 0 replies | |
| 8/8 | x86: baytrail: acpi: Fix I/O APIC ID in the MADT tablearch/ | +1 | 0 replies | |
| 8/8 | x86: baytrail: acpi: Fix I/O APIC ID in the MADT table | +0 | 0 replies |
Reviews trailers per patch
All 16 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/8 | R-b |
| 1/8 | R-b |
| 2/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/8] x86: quark: Add ACPI support
This series adds basic ACPI support to Intel Quark platform, enables the support on the Intel Galileo board.
Testing was performed by booting Linux kernel from an SD card. All interrupts are routed to I/O APIC based on information provided in the ACPI tables, and typing 'reboot' from shell can successfully reboot to U-Boot.
This series is available at u-boot-x86/quark-acpi.
Changes in v2:
- Use __ASSEMBLY__ define
- Use __ASSEMBLY__ in device.h
Bin Meng (8):
x86: acpi: Create a common irqlinks ASL file
x86: acpi: Make irqroute.asl common
acpi: Pass -D__ASSEMBLY__ when compiling ASL files
x86: quark: Prepare device.h for inclusion by ASL
x86: quark: Add platform ASL files
x86: quark: Generate ACPI FADT/MADT tables
x86: galileo: Enable ACPI table generation
x86: baytrail: acpi: Fix I/O APIC ID in the MADT table
arch/x86/cpu/baytrail/acpi.c | 2 +-
arch/x86/cpu/quark/Makefile | 1 +
arch/x86/cpu/quark/acpi.c | 163 ++++++++++++++++++
.../asm/{arch-baytrail => }/acpi/irq_helper.h | 2 +-
.../asm/{arch-baytrail => }/acpi/irqlinks.asl | 33 ++--
.../asm/{arch-baytrail => }/acpi/irqroute.asl | 0
arch/x86/include/asm/arch-baytrail/acpi/lpc.asl | 23 ++-
.../asm/arch-baytrail/acpi/southcluster.asl | 2 +-
arch/x86/include/asm/arch-quark/acpi/irqroute.h | 15 ++
arch/x86/include/asm/arch-quark/acpi/lpc.asl | 125 ++++++++++++++
arch/x86/include/asm/arch-quark/acpi/platform.asl | 33 ++++
.../include/asm/arch-quark/acpi/sleepstates.asl | 10 ++
.../include/asm/arch-quark/acpi/southcluster.asl | 184 +++++++++++++++++++++
arch/x86/include/asm/arch-quark/device.h | 21 ++-
arch/x86/include/asm/arch-quark/iomap.h | 47 ++++++
arch/x86/include/asm/arch-quark/irq.h | 19 +++
board/intel/galileo/.gitignore | 3 +
board/intel/galileo/Makefile | 1 +
board/intel/galileo/acpi/mainboard.asl | 11 ++
board/intel/galileo/dsdt.asl | 14 ++
configs/galileo_defconfig | 1 +
doc/README.x86 | 5 +-
scripts/Makefile.lib | 2 +-
23 files changed, 685 insertions(+), 32 deletions(-)
create mode 100644 arch/x86/cpu/quark/acpi.c
rename arch/x86/include/asm/{arch-baytrail => }/acpi/irq_helper.h (98%)
rename arch/x86/include/asm/{arch-baytrail => }/acpi/irqlinks.asl (92%)
rename arch/x86/include/asm/{arch-baytrail => }/acpi/irqroute.asl (100%)
create mode 100644 arch/x86/include/asm/arch-quark/acpi/irqroute.h
create mode 100644 arch/x86/include/asm/arch-quark/acpi/lpc.asl
create mode 100644 arch/x86/include/asm/arch-quark/acpi/platform.asl
create mode 100644 arch/x86/include/asm/arch-quark/acpi/sleepstates.asl
create mode 100644 arch/x86/include/asm/arch-quark/acpi/southcluster.asl
create mode 100644 arch/x86/include/asm/arch-quark/iomap.h
create mode 100644 arch/x86/include/asm/arch-quark/irq.h
create mode 100644 board/intel/galileo/.gitignore
create mode 100644 board/intel/galileo/acpi/mainboard.asl
create mode 100644 board/intel/galileo/dsdt.aslSignature · 1 line
1.8.2.1