All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: Please pull u-boot-x86
Date: Fri, 6 Nov 2020 12:55:03 +0800	[thread overview]
Message-ID: <CAEUhbmW8unodoYk-XYA4MVUsMndVRSZwWaDj352ihD1egLa5UQ@mail.gmail.com> (raw)

Hi Tom,

This PR includes the following changes for v2021.01 release:

- Add a new SMBIOS parser and enable it when booting from coreboot
- Fix up various driver names to avoid dtoc warnings
- Fully enable ACPI support on Google Chromebook Coral
- Add a way to set SMBIOS properties using the devicetree
- Update existing boards to use devicetree for SMBIOS using a new
default sysinfo driver

Azure results: PASS
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=299&view=results

The following changes since commit 35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186:

  arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig (2020-11-04 10:13:44 -0500)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-x86

for you to fetch changes up to e4f8e543f1a905857a753a1d411997a81f4f52aa:

  smbios: Drop the unused Kconfig options (2020-11-06 10:26:32 +0800)

----------------------------------------------------------------
Christian Gmeiner (2):
      smbios: add parsing API
      coreboot: make use of smbios parser

Simon Glass (48):
      cros_ec: Fix up driver names to avoid dtoc warnings
      x86: Fix up driver names to avoid dtoc warnings
      Add an assembly guard around linux/bitops.h
      x86: apl: Add core init for the SoC
      x86: Add a layout for Chrome OS verified boot
      x86: Add support for private files
      x86: Allow writing tables to fail
      x86: acpi: Store the ACPI context in global_data
      x86: Don't bother clearing global NVS
      x86: coral: Drop the duplicate PCIe settings
      x86: Add SMBIOS info for Coral
      x86: Use if instead of #ifdef in write_tables()
      x86: Allow putting some tables in the bloblist
      x86: nhlt: Correct output of bytes and 16-bit data
      x86: nhlt: Fix a few bugs in the table generation
      x86: Show the interrupt pointer with 'irqinfo'
      x86: sound: Correct error handling
      acpi: Correct reset handling in acpi_device_add_power_res()
      x86: acpi: Allow the SSDT to be empty
      x86: acpi: Put the generated code first in DSDT
      acpi: Don't reset the tables with every new generation
      x86: Define the Chrome OS GNVS region
      x86: Use CONFIG_CHROMEOS_VBOOT for verified boot
      x86: Set up Chrome OS to boot into developer mode
      x86: Boot coral into Chrome OS by default
      x86: fsp: Convert fsp_dram to use log_debug()
      x86: Silence some logging statements
      x86: acpi: Include the TPMv1 table only if needed
      x86: acpi: Don't show the UART address by default
      x86: pinctrl: Silence the warning when a pin is not found
      x86: fsp: Adjust calculations for MTRR range and DRAM top
      x86: zimage: Add a little more logging
      x86: zimage: Sanity-check the kernel version before printing it
      x86: zimage: Quieten down the zimage boot process
      board: Rename uclass to sysinfo
      doc: Add a binding for sysinfo
      x86: Pass an ofnode into each SMBIOS function
      smbios: Allow properties to come from the device tree
      smbios: Add more properties
      smbios: Add documentation and devicetree binding
      sysinfo: Provide a default driver to set SMBIOS values
      rockchip: Use devicetree for SMBIOS settings
      imx: Use devicetree for SMBIOS settings on MYiR MYS-6ULX
      odroid-c2: Use devicetree for SMBIOS settings
      arm64: mvebu: Use devicetree for SMBIOS settings on uDPU
      x86: galileo: Use devicetree for SMBIOS settings
      x86: Provide default SMBIOS manufacturer/product
      smbios: Drop the unused Kconfig options

 arch/Kconfig
                            |   2 ++
 arch/arm/dts/armada-3720-uDPU-u-boot.dtsi
                            |  20 +++++++++++
 arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts
                            |  25 ++++++++++++++
 arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
                            |  23 +++++++++++++
 arch/arm/dts/rk3328-roc-cc-u-boot.dtsi
                            |  21 ++++++++++++
 arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi
                            |  23 +++++++++++++
 arch/arm/dts/rk3328-rock64-u-boot.dtsi
                            |  21 ++++++++++++
 arch/arm/dts/rk3368-lion-u-boot.dtsi
                            |  20 +++++++++++
 arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi
                            |   2 +-
 arch/sandbox/dts/test.dts
                            |   8 ++---
 arch/x86/cpu/apollolake/acpi.c
                            |  25 +++++++++++---
 arch/x86/cpu/apollolake/cpu.c
                            |  88
+++++++++++++++++++++++++++++++++++++++++++++--
 arch/x86/cpu/apollolake/cpu_common.c
                            |  25 ++++++++++++++
 arch/x86/cpu/apollolake/cpu_spl.c
                            |  20 -----------
 arch/x86/cpu/apollolake/fsp_s.c
                            |   8 ++---
 arch/x86/cpu/apollolake/hostbridge.c
                            |   2 +-
 arch/x86/cpu/apollolake/lpc.c
                            |   2 +-
 arch/x86/cpu/apollolake/pch.c
                            |   4 +--
 arch/x86/cpu/apollolake/pmc.c
                            |   2 +-
 arch/x86/cpu/apollolake/punit.c
                            |   4 +--
 arch/x86/cpu/apollolake/uart.c
                            |   2 +-
 arch/x86/cpu/cpu.c
                            |   9 ++++-
 arch/x86/cpu/i386/interrupt.c
                            |  14 ++++----
 arch/x86/cpu/intel_common/acpi.c
                            |   1 -
 arch/x86/cpu/intel_common/cpu.c
                            |  19 +++++++++++
 arch/x86/cpu/intel_common/intel_opregion.c
                            |   2 +-
 arch/x86/cpu/intel_common/itss.c
                            |  10 +++---
 arch/x86/cpu/intel_common/p2sb.c
                            |   2 +-
 arch/x86/dts/bayleybay.dts
                            |   2 ++
 arch/x86/dts/baytrail_som-db5800-som-6867.dts
                            |   2 ++
 arch/x86/dts/cherryhill.dts
                            |   2 ++
 arch/x86/dts/chromebook_coral.dts
                            |  12 +++++--
 arch/x86/dts/chromebook_link.dts
                            |   2 ++
 arch/x86/dts/chromebook_samus.dts
                            |   4 ++-
 arch/x86/dts/chromebox_panther.dts
                            |   2 ++
 arch/x86/dts/conga-qeval20-qa3-e3845.dts
                            |   2 ++
 arch/x86/dts/cougarcanyon2.dts
                            |   2 ++
 arch/x86/dts/crownbay.dts
                            |   2 ++
 arch/x86/dts/dfi-bt700.dtsi
                            |   2 ++
 arch/x86/dts/edison.dts
                            |   2 ++
 arch/x86/dts/galileo.dts
                            |  28 +++++++++++++++
 arch/x86/dts/minnowmax.dts
                            |   2 ++
 arch/x86/dts/qemu-x86_i440fx.dts
                            |   2 ++
 arch/x86/dts/qemu-x86_q35.dts
                            |   2 ++
 arch/x86/dts/smbios.dtsi
                            |  32 ++++++++++++++++++
 arch/x86/dts/u-boot.dtsi
                            |   4 +++
 arch/x86/include/asm/acpi/vbnv_layout.h
                            |  38 +++++++++++++++++++++
 arch/x86/include/asm/arch-apollolake/cpu.h
                            |  14 ++++++++
 arch/x86/include/asm/cpu_common.h
                            |   9 +++++
 arch/x86/include/asm/intel_gnvs.h
                            |  54 ++++++++++++++++++++++++++---
 arch/x86/include/asm/interrupt.h
                            |  17 ++++++++++
 arch/x86/include/asm/msr-index.h
                            |  20 ++++++++++-
 arch/x86/include/asm/tables.h
                            |   4 ++-
 arch/x86/lib/acpi_nhlt.c
                            |  19 ++++++++---
 arch/x86/lib/acpi_table.c
                            |  78
++++++++++++++++++++++++++++--------------
 arch/x86/lib/fsp/fsp_dram.c
                            |  35 ++++++++++++-------
 arch/x86/lib/fsp/fsp_graphics.c
                            |   2 +-
 arch/x86/lib/fsp2/fsp_dram.c
                            |   8 +++--
 arch/x86/lib/interrupts.c
                            |   3 ++
 arch/x86/lib/tables.c
                            |  88
+++++++++++++++++++++++++++++++++++------------
 arch/x86/lib/tpl.c
                            |   2 +-
 arch/x86/lib/zimage.c
                            |  26 +++++++++++---
 board/coreboot/coreboot/coreboot.c
                            |  45 +++++++++++++++++++++++++
 board/gdsys/common/cmd_ioloop.c
                            |  12 ++++---
 board/gdsys/mpc8308/gazerbeam.c
                            |  47 ++++++++++++++------------
 board/google/chromebook_coral/coral.c
                            |   2 +-
 board/intel/galileo/Kconfig
                            |  11 ------
 common/Kconfig.boot
                            |  17 ++++++++++
 common/log.c
                            |   1 +
 common/spl/spl_fit.c
                            |  15 +++++----
 configs/chromebook_coral_defconfig
                            |  13 ++++---
 configs/clearfog_gt_8k_defconfig
                            |   2 --
 configs/coreboot_defconfig
                            |   1 +
 configs/gazerbeam_defconfig
                            |   4 +--
 configs/lion-rk3368_defconfig
                            |   4 +--
 configs/mt7622_rfb_defconfig
                            |   1 -
 configs/mvebu_db_armada8k_defconfig
                            |   2 --
 configs/myir_mys_6ulx_defconfig
                            |   3 +-
 configs/odroid-c2_defconfig
                            |   4 +--
 configs/r8a774a1_beacon_defconfig
                            |   2 --
 configs/r8a77970_eagle_defconfig
                            |   2 --
 configs/r8a77980_condor_defconfig
                            |   2 --
 configs/r8a77990_ebisu_defconfig
                            |   2 --
 configs/r8a77995_draak_defconfig
                            |   2 --
 configs/rcar3_salvator-x_defconfig
                            |   2 --
 configs/rcar3_ulcb_defconfig
                            |   2 --
 configs/roc-cc-rk3328_defconfig
                            |   4 +--
 configs/rock-pi-e-rk3328_defconfig
                            |   4 +--
 configs/rock64-rk3328_defconfig
                            |   4 +--
 configs/sandbox64_defconfig
                            |   4 +--
 configs/sandbox_defconfig
                            |   4 +--
 configs/sandbox_flattree_defconfig
                            |   4 +--
 configs/sandbox_spl_defconfig
                            |   4 +--
 configs/uDPU_defconfig
                            |   3 +-
 doc/arch/x86.rst
                            |   8 +++++
 doc/device-tree-bindings/{board/gdsys,board_gazerbeam.txt =>
sysinfo/gdsys,sysinfo_gazerbeam.txt} |   8 ++---
 doc/device-tree-bindings/sysinfo/smbios.txt
                            |  77
++++++++++++++++++++++++++++++++++++++++++
 doc/device-tree-bindings/sysinfo/sysinfo.txt
                            |  19 +++++++++++
 drivers/Kconfig
                            |   4 +--
 drivers/Makefile
                            |   2 +-
 drivers/board/Kconfig
                            |  25 --------------
 drivers/board/Makefile
                            |   7 ----
 drivers/board/board-uclass.c
                            |  71
--------------------------------------
 drivers/core/acpi.c
                            |  10 +++---
 drivers/gpio/intel_gpio.c
                            |   4 +--
 drivers/misc/cros_ec_i2c.c
                            |   4 +--
 drivers/misc/cros_ec_lpc.c
                            |   4 +--
 drivers/misc/cros_ec_spi.c
                            |   4 +--
 drivers/pinctrl/intel/pinctrl.c
                            |   2 +-
 drivers/pinctrl/intel/pinctrl_apl.c
                            |   2 +-
 drivers/rtc/mc146818.c
                            |   4 +--
 drivers/sound/da7219.c
                            |   4 +--
 drivers/sound/max98357a.c
                            |   2 +-
 drivers/sysinfo/Kconfig
                            |  33 ++++++++++++++++++
 drivers/sysinfo/Makefile
                            |   8 +++++
 drivers/{board => sysinfo}/gazerbeam.c
                            |  74
++++++++++++++++++++--------------------
 drivers/{board => sysinfo}/gazerbeam.h
                            |   0
 drivers/{board => sysinfo}/sandbox.c
                            |  50 +++++++++++++--------------
 drivers/{board => sysinfo}/sandbox.h
                            |   0
 drivers/sysinfo/smbios.c
                            |  24 +++++++++++++
 drivers/sysinfo/sysinfo-uclass.c
                            |  71
++++++++++++++++++++++++++++++++++++++
 drivers/sysreset/sysreset_x86.c
                            |   4 +--
 drivers/timer/mpc83xx_timer.c
                            |  10 +++---
 drivers/timer/tsc_timer.c
                            |   4 +--
 include/acpi/acpi_table.h
                            |  10 ++++++
 include/asm-generic/global_data.h
                            |  13 +++++++
 include/bloblist.h
                            |   2 ++
 include/configs/chromebook_coral.h
                            |   9 ++++-
 include/dm/acpi.h
                            |   9 +++++
 include/dm/uclass-id.h
                            |   2 +-
 include/linux/bitops.h
                            |   4 +--
 include/log.h
                            |   1 +
 include/smbios.h
                            |  32 +++++++++++++++++-
 include/{board.h => sysinfo.h}
                            |  80
+++++++++++++++++++++----------------------
 lib/Kconfig
                            |  31 ++++++++---------
 lib/Makefile
                            |   1 +
 lib/acpi/acpi_device.c
                            |   2 +-
 lib/acpi/acpi_table.c
                            |   4 +--
 lib/smbios-parser.c
                            |  96
++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/smbios.c
                            | 120
+++++++++++++++++++++++++++++++++++++++++++++++------------------
 test/dm/Makefile
                            |   2 +-
 test/dm/acpi.c
                            |   4 +++
 test/dm/board.c
                            |  59 --------------------------------
 test/dm/sysinfo.c
                            |  59 ++++++++++++++++++++++++++++++++
 144 files changed, 1645 insertions(+), 590 deletions(-)
 create mode 100644 arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts
 create mode 100644 arch/x86/dts/smbios.dtsi
 create mode 100644 arch/x86/include/asm/acpi/vbnv_layout.h
 rename doc/device-tree-bindings/{board/gdsys,board_gazerbeam.txt =>
sysinfo/gdsys,sysinfo_gazerbeam.txt} (90%)
 create mode 100644 doc/device-tree-bindings/sysinfo/smbios.txt
 create mode 100644 doc/device-tree-bindings/sysinfo/sysinfo.txt
 delete mode 100644 drivers/board/Kconfig
 delete mode 100644 drivers/board/Makefile
 delete mode 100644 drivers/board/board-uclass.c
 create mode 100644 drivers/sysinfo/Kconfig
 create mode 100644 drivers/sysinfo/Makefile
 rename drivers/{board => sysinfo}/gazerbeam.c (69%)
 rename drivers/{board => sysinfo}/gazerbeam.h (100%)
 rename drivers/{board => sysinfo}/sandbox.c (50%)
 rename drivers/{board => sysinfo}/sandbox.h (100%)
 create mode 100644 drivers/sysinfo/smbios.c
 create mode 100644 drivers/sysinfo/sysinfo-uclass.c
 rename include/{board.h => sysinfo.h} (65%)
 create mode 100644 lib/smbios-parser.c
 delete mode 100644 test/dm/board.c
 create mode 100644 test/dm/sysinfo.c

Regards,
Bin

             reply	other threads:[~2020-11-06  4:55 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06  4:55 Bin Meng [this message]
2020-11-06 16:26 ` Please pull u-boot-x86 Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2023-08-09 16:38 Bin Meng
2023-08-09 19:09 ` Tom Rini
2023-08-01 15:34 Bin Meng
2023-08-01 16:03 ` Tom Rini
2023-07-17 12:44 Bin Meng
2023-07-17 18:53 ` Tom Rini
2023-05-11  8:16 Bin Meng
2023-05-11 16:33 ` Tom Rini
2023-03-27  1:42 Bin Meng
2023-03-27 17:34 ` Tom Rini
2022-12-14  6:27 Bin Meng
2022-12-16 13:24 ` Tom Rini
2022-03-14 14:40 Bin Meng
2022-03-14 16:19 ` Tom Rini
2021-11-01  4:38 Bin Meng
2021-11-01 17:43 ` Tom Rini
2021-09-22 15:42 Bin Meng
2021-09-22 15:51 ` Tom Rini
2021-08-13  5:11 Bin Meng
2021-08-13 12:39 ` Tom Rini
2021-08-02 23:35 Bin Meng
2021-08-03 13:06 ` Tom Rini
2021-07-15 13:54 Bin Meng
2021-07-15 18:48 ` Tom Rini
2021-06-23 11:01 Bin Meng
2021-06-24 13:15 ` Tom Rini
2021-05-10 12:00 Bin Meng
2021-05-10 21:06 ` Tom Rini
2021-04-15  4:20 Bin Meng
2021-04-15 19:42 ` Tom Rini
2021-03-09  5:15 Bin Meng
2021-03-10  4:00 ` Tom Rini
2021-02-06 13:08 Bin Meng
2021-02-07 19:15 ` Tom Rini
2021-02-04  0:08 Bin Meng
2021-02-04 21:58 ` Tom Rini
2021-02-01  9:37 Bin Meng
2021-02-01 16:05 ` Tom Rini
2020-12-22  7:27 Bin Meng
2020-12-23 21:55 ` Tom Rini
2020-12-16  9:34 Bin Meng
2020-12-16 16:01 ` Tom Rini
2020-11-10  3:38 Bin Meng
2020-11-10 12:39 ` Tom Rini
2020-09-21 14:14 Bin Meng
2020-09-21 17:39 ` Tom Rini
2020-09-01 14:36 Bin Meng
2020-09-01 17:25 ` Tom Rini
2020-08-03  4:27 Bin Meng
2020-08-03 16:00 ` Tom Rini
2020-07-20  3:24 Bin Meng
2020-07-20 16:14 ` Tom Rini
2020-07-17 10:15 Bin Meng
2020-07-17 14:49 ` Tom Rini
2020-07-09  9:50 Bin Meng
2020-07-09 23:59 ` Tom Rini
2020-06-02  1:23 Bin Meng
2020-06-02 13:29 ` Tom Rini
2020-05-27  6:45 Bin Meng
2020-05-27 15:59 ` Tom Rini
2020-05-04  9:31 Bin Meng
2020-05-04 17:54 ` Tom Rini
2020-04-30 13:53 Bin Meng
2020-04-30 19:10 ` Tom Rini
2020-04-16 11:11 Bin Meng
2020-04-16 17:38 ` Tom Rini
2020-04-04 23:12 Bin Meng
2020-04-05 23:05 ` Tom Rini
2020-03-05 12:49 Bin Meng
2020-03-09 12:24 ` Tom Rini
2020-02-08  1:54 Bin Meng
2020-02-10 13:39 ` Tom Rini
2020-02-10 17:20   ` Anatolij Gustschin
2020-02-10 17:28     ` Tom Rini
2020-02-04  6:58 Bin Meng
2020-02-05  1:03 ` Tom Rini
2019-12-08 15:49 Bin Meng
2019-12-08 16:36 ` Tom Rini

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=CAEUhbmW8unodoYk-XYA4MVUsMndVRSZwWaDj352ihD1egLa5UQ@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.