[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251113155104.226617-1-yuntao.wang@linux.dev>
Date: Thu, 13 Nov 2025 23:50:57 +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>,
James Morse <james.morse@....com>,
Baoquan He <bhe@...hat.com>,
Zhen Lei <thunder.leizhen@...wei.com>,
Ard Biesheuvel <ardb@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Geoff Levand <geoff@...radead.org>,
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 v2 0/7] 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.
Changelog:
v1: Consolidate duplicate code into helper functions
Links:
v1: https://lore.kernel.org/linux-devicetree/20251112143520.233870-11-yuntao.wang@linux.dev/t/
Yuntao Wang (7):
of/fdt: Consolidate duplicate code into helper functions
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: Fix incorrect use of dt_root_addr_cells in
early_init_dt_check_kho()
of/fdt: Simplify the logic of early_init_dt_scan_memory()
of/reserved_mem: Simplify the logic of __reserved_mem_reserve_reg()
of/reserved_mem: Simplify the logic of
fdt_scan_reserved_mem_reg_nodes()
drivers/of/fdt.c | 93 ++++++++++++++++++++++--------------
drivers/of/of_reserved_mem.c | 37 ++++----------
include/linux/of_fdt.h | 5 ++
3 files changed, 72 insertions(+), 63 deletions(-)
--
2.51.0
Powered by blists - more mailing lists