public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Obtain SMBIOS and ACPI entry from FFI
@ 2023-07-05 11:42 Yunhui Cui
  2023-07-05 11:42 ` [PATCH v3 1/4] riscv: obtain ACPI RSDP from devicetree Yunhui Cui
                   ` (4 more replies)
  0 siblings, 5 replies; 38+ messages in thread
From: Yunhui Cui @ 2023-07-05 11:42 UTC (permalink / raw)
  To: conor, sunilvl, ardb, palmer, paul.walmsley, aou, linux-riscv,
	rminnich, mark.rutland, lpieralisi, rafael, lenb, jdelvare,
	yc.hung, angelogioacchino.delregno, allen-kh.cheng,
	pierre-louis.bossart, tinghan.shen, linux-kernel, linux-acpi,
	geshijian, weidong.wd, cuiyunhui

Here's version 3 of patch series.

V1: The FFI (FDT FIRMWARE INTERFACE) scheme has reached a
consensus with the Maintainers.
Please refer to:
https://patches.linaro.org/project/linux-acpi/patch/20230426034001.16-1-cuiyunhui@bytedance.com/

Changes v1->v2:
Adjusted the code structure, put the ACPI part under the RISC-V architecture,
and put the general part of obtaining SMBIOS entry through FFI
under driver/firmware/.
Please refer to:
https://lore.kernel.org/lkml/20230703-71f67eb66a037f5c0fb825c6@orel/T/

Changes v2->v3: 
According to the suggestions of maintainers, the code has been modified as follows:
1. Modified the commit log.
2. Added description of "ffitbl" subnod in dt-bindings.
3. Add stub function to the function
4. arch/riscv/ and driver/firmware/ use CONFIG_FDT_FW_INTERFACE to control
5. Modified the ffi_smbios_root_pointer() function logic and printing
etc.

Yunhui Cui (4):
  riscv: obtain ACPI RSDP from devicetree
  firmware: introduce FFI for SMBIOS entry
  riscv: obtain SMBIOS entry from FFI
  dt-bindings: firmware: Document ffitbl binding

 .../devicetree/bindings/firmware/ffitbl.txt   | 27 ++++++
 MAINTAINERS                                   | 13 +++
 arch/riscv/include/asm/acpi.h                 |  9 ++
 arch/riscv/include/asm/ffi.h                  | 14 +++
 arch/riscv/kernel/Makefile                    |  1 +
 arch/riscv/kernel/ffi.c                       | 40 ++++++++
 arch/riscv/kernel/setup.c                     |  2 +
 drivers/firmware/Kconfig                      | 11 +++
 drivers/firmware/Makefile                     |  1 +
 drivers/firmware/dmi_scan.c                   | 97 +++++++++++--------
 drivers/firmware/ffi.c                        | 42 ++++++++
 include/linux/ffi.h                           | 29 ++++++
 12 files changed, 246 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/firmware/ffitbl.txt
 create mode 100644 arch/riscv/include/asm/ffi.h
 create mode 100644 arch/riscv/kernel/ffi.c
 create mode 100644 drivers/firmware/ffi.c
 create mode 100644 include/linux/ffi.h

-- 
2.20.1


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2023-09-07 16:25 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 11:42 [PATCH v3 0/4] Obtain SMBIOS and ACPI entry from FFI Yunhui Cui
2023-07-05 11:42 ` [PATCH v3 1/4] riscv: obtain ACPI RSDP from devicetree Yunhui Cui
2023-07-05 11:42 ` [PATCH v3 2/4] firmware: introduce FFI for SMBIOS entry Yunhui Cui
2023-07-05 11:42 ` [PATCH v3 3/4] riscv: obtain SMBIOS entry from FFI Yunhui Cui
2023-07-05 11:42 ` [PATCH v3 4/4] dt-bindings: firmware: Document ffitbl binding Yunhui Cui
2023-07-05 15:06   ` Conor Dooley
2023-07-06  3:43     ` [External] " 运辉崔
2023-07-06  6:00       ` Krzysztof Kozlowski
2023-07-06  6:24         ` 运辉崔
2023-07-06  6:41           ` Krzysztof Kozlowski
2023-07-06  6:55             ` 运辉崔
2023-07-06  6:44       ` Conor Dooley
2023-07-06  9:02         ` 运辉崔
2023-07-07 16:16   ` Conor Dooley
     [not found]     ` <CAN3iYbP_dQOOJKLjAf+pVeYUZRBqwZBG7eq6=pR0upsjT2GpOA@mail.gmail.com>
2023-07-08  3:04       ` [External] " 运辉崔
2023-07-08  8:09         ` Conor Dooley
2023-07-05 14:17 ` [PATCH v3 0/4] Obtain SMBIOS and ACPI entry from FFI Palmer Dabbelt
2023-07-05 15:33   ` Conor Dooley
2023-07-06  2:04   ` [External] " 运辉崔
2023-07-06  8:53     ` Ard Biesheuvel
2023-07-06 15:32       ` Palmer Dabbelt
     [not found]         ` <CAP6exYKwZG=_47r0jAUFYNL5-P-SS==k6vWdKiMJ9nB0upH5Zw@mail.gmail.com>
2023-07-06 21:47           ` Conor Dooley
2023-07-06 21:53             ` ron minnich
2023-07-07  8:38           ` Conor Dooley
2023-07-07 10:43             ` Sunil V L
     [not found]               ` <CAN3iYbMhQU5Ng4r6_rQDnLmit1GCmheC5T49rsUP5NgHFEXsHA@mail.gmail.com>
2023-07-07 12:55                 ` Sunil V L
     [not found]                   ` <CAN3iYbOe+i4jVhz0sSQwVQ2PMB7UvaTPyN_sLtZj0uiOD2emDA@mail.gmail.com>
2023-07-07 16:07                     ` Conor Dooley
2023-07-07 16:18                       ` 葛士建
     [not found]                       ` <DBAPR08MB57836AE63A1F5D3902B95BFE9C2DA@DBAPR08MB5783.eurprd08.prod.outlook.com>
2023-07-08  3:22                         ` 运辉崔
2023-07-08  3:58                           ` [External] " Jessica Clarke
2023-07-08  9:25                             ` 运辉崔
     [not found]                       ` <DBAPR08MB5783AED8329E38D840B7015D9C2DA@DBAPR08MB5783.eurprd08.prod.outlook.com>
2023-07-07 16:24                         ` [External] " Conor Dooley
2023-07-08  8:45                         ` Ard Biesheuvel
2023-07-08 12:03                           ` Sunil V L
2023-07-08 15:19                           ` Dong Wei
2023-07-08 16:26                           ` Palmer Dabbelt
2023-07-10 16:03                           ` 葛士建
2023-09-07 12:15                             ` yunhui cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox