summaryrefslogtreecommitdiff
path: root/doc/README.davinci.nand_spl
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2026-01-09 09:08:18 -0600
committerTom Rini <trini@konsulko.com>2026-01-09 10:19:57 -0600
commit1bcb2fe324180d0a8cfbdb0511737eba1d5b8550 (patch)
tree8b7449bae3c6c2202bab853f75813e9c43932bf1 /doc/README.davinci.nand_spl
parentcf51247c632fe6f1f6c29a6f7754b99915182142 (diff)
parent217cf656e249f698d390a7d8eaf255eb1a6c0230 (diff)
Merge patch series "Enable / require DEVRES for devm_.alloc usage outside xPL"HEADmaster
Tom Rini <trini@konsulko.com> says: As seen by a number of patches fixing memory leaks, U-Boot has a problem with developer expectations around devm_kmalloc and friends. Namely, whereas in Linux these memory allocations will be freed automatically in most cases, in U-Boot this is only true if DEVRES is enabled. Now, intentionally, in xPL phases, we do not (and do not offer as an option) enabling DEVRES. However in full U-Boot this is left either to the user, or some drivers have select'd DEVRES on their own. This inconsistency is a problem. This series goes and deals with two small issues that were shown by having all drivers that use devm_.alloc to allocate memory also select DEVRES and then we make DEVRES no longer be a prompted option and instead select'd as needed. We do not make this unconditional as it would result in growing the resulting binary on the many platforms which have no users of the devm_.alloc family of functions. Link: https://lore.kernel.org/r/20251227223833.3019311-1-trini@konsulko.com
Diffstat (limited to 'doc/README.davinci.nand_spl')
0 files changed, 0 insertions, 0 deletions