Skip to content

x86: acpi: Introduce ACPI global NVS support

Bin Meng u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Add arch/x86/include/asm/acpi/global_nvs.h for 0xdeadbeef defines
- Replace with 0xdeadbeef with defines from header file
- Don't use hardcoded 0xdeadbeef, use defines instead
- Simplify the casting of gnvs by declaring it as "u32 *"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: baytrail: Introduce ACPI global NVSarch/x86/cpu/baytrail/acpi.c arch/x86/include/asm/acpi/global_nvs.h arch/x86/include/asm/arch-baytrail/acpi/global_nvs.asl +1 more+81 -00 replies
1/4x86: baytrail: Introduce ACPI global NVS+0 -00 replies
2/4x86: quark: Introduce ACPI global NVSarch/x86/cpu/quark/acpi.c arch/x86/include/asm/arch-quark/acpi/global_nvs.asl arch/x86/include/asm/arch-quark/global_nvs.h+41 -00 replies
2/4x86: quark: Introduce ACPI global NVS+0 -00 replies
3/4x86: acpi: Pack global NVS into ACPI tablearch/x86/include/asm/acpi_table.h arch/x86/include/asm/arch-baytrail/acpi/platform.asl arch/x86/include/asm/arch-quark/acpi/platform.asl +2 more+32 -20 replies
3/4x86: acpi: Pack global NVS into ACPI table+0 -00 replies
4/4x86: baytrail: acpi: Hide internal UART per GNVS settingarch/x86/include/asm/arch-baytrail/acpi/lpc.asl+8 -111 reply
4/4x86: baytrail: acpi: Hide internal UART per GNVS setting+0 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchGeorge McCollisterSimon Glass
1/4R-b T-b R-b
1/4R-b T-b R-b
2/4R-b
2/4R-b
3/4R-b T-b R-b
3/4R-b T-b R-b
4/4R-b T-b R-b
4/4R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/4] x86: acpi: Introduce ACPI global NVS support

ACPI global NVS is an area in system memory with various platform defined variables that can be utilized between U-Boot and ACPI ASL codes. U-Boot set these variables at runtime, so that ASL codes can test these variables to provide some runtime flexiblity.

Tested on MinnowMax with CONFIG_INTERNAL_UART set to off, and install a Windows 10, check the internal UART is not exposed in the Windows device manager.

This series is available at u-boot-x86/gnvs-working.

Changes in v2:
- Add arch/x86/include/asm/acpi/global_nvs.h for 0xdeadbeef defines
- Replace with 0xdeadbeef with defines from header file
- Don't use hardcoded 0xdeadbeef, use defines instead
- Simplify the casting of gnvs by declaring it as "u32 *"

Bin Meng (4):
x86: baytrail: Introduce ACPI global NVS
x86: quark: Introduce ACPI global NVS
x86: acpi: Pack global NVS into ACPI table
x86: baytrail: acpi: Hide internal UART per GNVS setting

 arch/x86/cpu/baytrail/acpi.c                       | 26 ++++++++++++++++++++++
 arch/x86/cpu/quark/acpi.c                          |  7 ++++++
 arch/x86/include/asm/acpi/global_nvs.h             | 19 ++++++++++++++++
 arch/x86/include/asm/acpi_table.h                  |  4 ++++
 .../include/asm/arch-baytrail/acpi/global_nvs.asl  | 15 +++++++++++++
 arch/x86/include/asm/arch-baytrail/acpi/lpc.asl    | 19 +++++++---------
 .../include/asm/arch-baytrail/acpi/platform.asl    |  3 +++
 arch/x86/include/asm/arch-baytrail/global_nvs.h    | 21 +++++++++++++++++
 .../x86/include/asm/arch-quark/acpi/global_nvs.asl | 14 ++++++++++++
 arch/x86/include/asm/arch-quark/acpi/platform.asl  |  3 +++
 arch/x86/include/asm/arch-quark/global_nvs.h       | 20 +++++++++++++++++
 arch/x86/lib/acpi_table.c                          | 22 ++++++++++++++++++
 doc/README.x86                                     |  2 --
 13 files changed, 162 insertions(+), 13 deletions(-)
 create mode 100644 arch/x86/include/asm/acpi/global_nvs.h
 create mode 100644 arch/x86/include/asm/arch-baytrail/acpi/global_nvs.asl
 create mode 100644 arch/x86/include/asm/arch-baytrail/global_nvs.h
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/global_nvs.asl
 create mode 100644 arch/x86/include/asm/arch-quark/global_nvs.h
Signature · 1 line
2.7.4