All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] arm: add acpi support for the arm
Date: Thu, 21 Nov 2019 23:18:24 +0800	[thread overview]
Message-ID: <CAEUhbmVvxRuyuufgU6si5odqz0szNGQ2s=bHhmuCYGdU_v3qXg@mail.gmail.com> (raw)
In-Reply-To: <HK0PR03MB3953A176BC369C154E2C4FD3FF4F0@HK0PR03MB3953.apcprd03.prod.outlook.com>

Hi Steven,

On Wed, Nov 20, 2019 at 4:41 PM Steven Hao <steven_hao5189@outlook.com> wrote:
>
> This adds acpi code for arm and the acpi tables about Phytium Durian Board.
> The acpi table only support rsdp, rsdt, xsdt, fadt, dsdt, ssdt, gtdt, madt,
> mcfg, iort, spcr.
>
> Signed-off-by: Steven Hao <steven_hao5189@outlook.com>
> ---
> Changes for v3:
>  - modify arch/arm/Kconfig
>  - modify lib/efi_loader/efi_setup.c
>
> Changes for v2:
>  - execute git pull --rebase
> ---
>  MAINTAINERS                                        |   3 +
>  Makefile                                           |   1 +
>  arch/arm/Kconfig                                   |  69 ++
>  arch/arm/include/asm/acpi_table.h                  |  39 ++
>  arch/arm/include/asm/acpi_table/acpi61.h           | 755 +++++++++++++++++++++
>  arch/arm/include/asm/acpi_table/acpi_lib.h         |  89 +++
>  arch/arm/include/asm/acpi_table/arm_platform.h     |  93 +++
>  .../include/asm/acpi_table/io_remapping_table.h    | 179 +++++
>  arch/arm/include/asm/acpi_table/spcr_table.h       | 175 +++++
>  arch/arm/lib/Makefile                              |   1 +
>  arch/arm/lib/acpi_table.c                          | 244 +++++++
>  board/phytium/durian/Makefile                      |  18 +
>  board/phytium/durian/acpi_platform.h               |  38 ++
>  board/phytium/durian/acpi_table.c                  |  53 ++
>  board/phytium/durian/acpi_table/dsdt.asl           | 305 +++++++++
>  board/phytium/durian/acpi_table/fadt.c             |  83 +++
>  board/phytium/durian/acpi_table/gtdt.c             |  81 +++
>  board/phytium/durian/acpi_table/iort.c             | 117 ++++
>  board/phytium/durian/acpi_table/madt.c             |  69 ++
>  board/phytium/durian/acpi_table/mcfg.c             |  68 ++
>  board/phytium/durian/acpi_table/rsdp.c             |  25 +
>  board/phytium/durian/acpi_table/rsdt.c             |  28 +
>  board/phytium/durian/acpi_table/spcr.c             |  78 +++
>  board/phytium/durian/acpi_table/ssdt.asl           | 190 ++++++
>  board/phytium/durian/acpi_table/xsdt.c             |  31 +
>  cmd/bootefi.c                                      |   6 +-
>  configs/durian_defconfig                           |   9 +
>  include/configs/durian.h                           |   8 +-
>  lib/efi_loader/Makefile                            |   1 +
>  lib/efi_loader/efi_setup.c                         |   2 +-
>  scripts/Makefile.lib                               |   8 +
>  31 files changed, 2860 insertions(+), 6 deletions(-)
>  create mode 100644 arch/arm/include/asm/acpi_table.h
>  create mode 100644 arch/arm/include/asm/acpi_table/acpi61.h
>  create mode 100644 arch/arm/include/asm/acpi_table/acpi_lib.h
>  create mode 100644 arch/arm/include/asm/acpi_table/arm_platform.h
>  create mode 100644 arch/arm/include/asm/acpi_table/io_remapping_table.h
>  create mode 100644 arch/arm/include/asm/acpi_table/spcr_table.h
>  create mode 100644 arch/arm/lib/acpi_table.c
>  create mode 100644 board/phytium/durian/acpi_platform.h
>  create mode 100644 board/phytium/durian/acpi_table.c
>  create mode 100644 board/phytium/durian/acpi_table/dsdt.asl
>  create mode 100644 board/phytium/durian/acpi_table/fadt.c
>  create mode 100644 board/phytium/durian/acpi_table/gtdt.c
>  create mode 100644 board/phytium/durian/acpi_table/iort.c
>  create mode 100644 board/phytium/durian/acpi_table/madt.c
>  create mode 100644 board/phytium/durian/acpi_table/mcfg.c
>  create mode 100644 board/phytium/durian/acpi_table/rsdp.c
>  create mode 100644 board/phytium/durian/acpi_table/rsdt.c
>  create mode 100644 board/phytium/durian/acpi_table/spcr.c
>  create mode 100644 board/phytium/durian/acpi_table/ssdt.asl
>  create mode 100644 board/phytium/durian/acpi_table/xsdt.c
>

As discussed in the v1 thread, please consider the existing x86 ACPI
support. Also, please try to split this single patch into various
small, independent patches.

Regards,
Bin

  reply	other threads:[~2019-11-21 15:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-20  8:41 [U-Boot] [PATCH v3] arm: add acpi support for the arm Steven Hao
2019-11-21 15:18 ` Bin Meng [this message]
2019-11-25  2:09   ` Steven Hao
2019-11-25  2:13     ` Bin Meng
2019-11-25  2:42       ` Steven Hao
2019-11-25 22:42         ` Heinrich Schuchardt
2019-11-25 23:40           ` Simon Glass
2019-11-26  0:58             ` Heinrich Schuchardt
2019-11-27  2:17               ` [U-Boot] 回复: " Steven Hao
2019-11-27  3:42               ` [U-Boot] " Simon Glass
2019-11-27  6:04                 ` Bin Meng
2019-12-16  1:54                   ` 回复: " Steven Hao
2019-12-27 16:41                     ` Simon Glass
2019-12-28  1:42                       ` Steven Hao
     [not found]                       ` <HK0PR03MB3953F7031DEC556C651FB0F9FFF70@HK0PR03MB3953.apcprd03.prod.outlook.com>
2020-03-19 16:18                         ` Simon Glass
     [not found]                           ` <HK0PR03MB3953E7C7A95F80659AEABE95FFF50@HK0PR03MB3953.apcprd03.prod.outlook.com>
2020-03-29  2:13                             ` Simon Glass
2019-11-25  9:14     ` [U-Boot] " Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEUhbmVvxRuyuufgU6si5odqz0szNGQ2s=bHhmuCYGdU_v3qXg@mail.gmail.com' \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.