Skip to content

Improve FDT blob lifecycle self-documentation

Andrew Jones opensbi 1 version New

Get series with b4
b4 am 20240731-340fe0e847404d6d3763bccb@orel

Versions newest first

  1. v1 Latest1 of 16 patches 0 repliesNew

1 of 16 patches is in this archive. The cover letter announces 16.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
16/16lib: utils/fdt: Add fdt_get_address_rw() helper+0 -00 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew Jones
SeriesR-b
16/16

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

Read the v1 thread

Cover letter [PATCH 00/16] Improve FDT blob lifecycle self-documentation
Quoted 15 lines · Samuel Holland

This series improves the documentation of the FDT blob lifecycle within the OpenSBI code by more explicitly indicating which functions and platform callbacks may modify the FDT blob, and by avoiding ad-hoc calls to fdt_get_address() outside the top-level platform callbacks.

Samuel Holland (16):
lib: utils/fdt: Fix fdt_add_cpu_idle_states() prototype
lib: utils/regmap: Fix typo in comment
lib: utils/fdt: Constify FDT parsing functions
lib: utils/gpio: Constify FDT pointers in parsing functions
lib: utils/i2c: Constify FDT pointers in parsing functions
lib: utils/ipi: Constify FDT pointers in parsing functions
lib: utils/irqchip: Constify FDT pointers in parsing functions
lib: utils/regmap: Constify FDT pointers in parsing functions

Quoted 9 lines

lib: utils/reset: Constify FDT pointers in parsing functions
lib: utils/serial: Constify FDT pointers in parsing functions
lib: utils/timer: Constify FDT pointers in parsing functions
platform: generic: Constify FDT pointers in fw_platform_init()
platform: generic: Pass FDT to early/final_init overrides
lib: utils/reset: Pass the FDT to fdt_reset_init()
lib: utils/serial: Pass the FDT to fdt_serial_init()
lib: utils/fdt: Add fdt_get_address_rw() helper

This is a nice improvement, Samuel.

For the series,

Thanks,
drew