[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251112143520.233870-1-yuntao.wang@linux.dev>
Date: Wed, 12 Nov 2025 22:35:10 +0800
From: Yuntao Wang <yuntao.wang@...ux.dev>
To: Rob Herring <robh@...nel.org>,
Saravana Kannan <saravanak@...gle.com>
Cc: Geert Uytterhoeven <geert+renesas@...der.be>,
Catalin Marinas <catalin.marinas@....com>,
AKASHI Takahiro <takahiro.akashi@...aro.org>,
James Morse <james.morse@....com>,
Chen Zhou <chenzhou10@...wei.com>,
Baoquan He <bhe@...hat.com>,
Zhen Lei <thunder.leizhen@...wei.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Changyuan Lyu <changyuanl@...gle.com>,
Alexander Graf <graf@...zon.com>,
"Mike Rapoport (Microsoft)" <rppt@...nel.org>,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yuntao Wang <yuntao.wang@...ux.dev>
Subject: [PATCH 00/10] of/fdt: Some bug fixes and cleanups
This patch series fixes several bugs related to dt_root_addr_cells and
dt_root_size_cells, and performs some cleanup.
Links to the previous related patches:
https://lore.kernel.org/lkml/CAL_JsqJxar7z+VcBXwPTw5-Et2oC9bQmH_CtMtKhoo_-=zN2XQ@mail.gmail.com/
Yuntao Wang (10):
of/fdt: Introduce dt_root_addr_size_cells() and
dt_root_addr_size_bytes()
of/reserved_mem: Use dt_root_addr_size_bytes() instead of open-coding
it
of/reserved_mem: Use dt_root_addr_size_bytes() instead of open-coding
it
of/reserved_mem: Use dt_root_addr_size_bytes() instead of open-coding
it
of/fdt: Use dt_root_addr_size_bytes() instead of open-coding it
of/fdt: Fix the len check in early_init_dt_check_for_elfcorehdr()
of/fdt: Fix the len check in
early_init_dt_check_for_usable_mem_range()
of/fdt: Use dt_root_addr_size_bytes() instead of open-coding it
of/fdt: Fix incorrect use of dt_root_addr_cells in
early_init_dt_check_kho()
of/address: Remove the incorrect and misleading comment
drivers/of/address.c | 4 ----
drivers/of/fdt.c | 14 +++++++-------
drivers/of/of_reserved_mem.c | 6 +++---
include/linux/of_fdt.h | 11 +++++++++++
4 files changed, 21 insertions(+), 14 deletions(-)
--
2.51.0
Powered by blists - more mailing lists