of: reserved_mem: fixes and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 5 repliesIn review
Changes in v2 from the cover letter
1. Add new patch 1, to fix unnecessary memory allocation.
2. Support only one entry in reg property in patch 3, suggested by Rob Herring [2].
3. Per Rob's review on v1 2/11 [3], drop patch about "rejecting reserved memory outside physical memory range" due to potential abuse.
4. Drop patch about "of: reserved_mem: avoid unconditional save of reg entries in fdt_scan_reserved_mem_late()" due to a misunderstanding on my side.
5. Update commit message.
[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/T/#m29fa0f1c22c23e6343070e70f905c9482f930901
[3] https://lore.kernel.org/all/[email protected]/T/#m5948f8679540fb361e7f432137babb4609ff154f
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | of: reserved_mem: avoid unnecessary memory allocation when __reserved_mem_check_root() failsdrivers/ | +3 | 4 replies | |
| 2/3 | of: reserved_mem: clean up redundant alloc_reserved_mem_array() calldrivers/ | +3 | 0 replies | |
| 3/3 | of: reserved_mem: only support one <base size> entry in reg propertydrivers/ | +22 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Meijing Zhao |
|---|---|
| 1/3 | T-b |
| 2/3 | |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] of: reserved_mem: fixes and cleanups
This is v2 of the OF reserved memory fixes/cleanups series.
The original v1 [1] contains two parts of work:
- Bug fixes and small cleanups about reserved memory.
- A vmcore size optimization that exclude reserved memory out of vmcore.
For the convenience of review, I have split it into two independent patchsets. This patchset only contains bug fixes and cleanups content, while the content optimized for vmcore size will be in another patchset.
v1 --> v2:
1. Add new patch 1, to fix unnecessary memory allocation.
2. Support only one entry in reg property in patch 3, suggested by Rob Herring [2].
3. Per Rob's review on v1 2/11 [3], drop patch about "rejecting reserved memory outside physical memory range" due to potential abuse.
4. Drop patch about "of: reserved_mem: avoid unconditional save of reg entries in fdt_scan_reserved_mem_late()" due to a misunderstanding on my side.
5. Update commit message.
[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/T/#m29fa0f1c22c23e6343070e70f905c9482f930901
[3] https://lore.kernel.org/all/[email protected]/T/#m5948f8679540fb361e7f432137babb4609ff154f
Wandun Chen (3):
of: reserved_mem: avoid unnecessary memory allocation when
__reserved_mem_check_root() fails
of: reserved_mem: clean up redundant alloc_reserved_mem_array() call
of: reserved_mem: only support one <base size> entry in reg property
drivers/of/of_reserved_mem.c | 48 +++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 20 deletions(-)
Signature · 1 line
2.43.0