On Tue, Apr 22, 2025 at 12:19 PM Jared Kangas jkangas@redhat.com wrote:
The CMA heap's name in devtmpfs can vary depending on how the heap is defined. Its name defaults to "reserved", but if a CMA area is defined in the devicetree, the heap takes on the devicetree node's name, such as "default-pool" or "linux,cma". To simplify naming, just name it "default_cma", and keep a legacy node in place backed by the same underlying structure for backwards compatibility.
Signed-off-by: Jared Kangas jkangas@redhat.com
Once again, thanks for working out how to improve the standard naming while keeping compatibility.
I do still hope we can get to the point where other cma regions can be registered as heaps with unique/purpose-specific names, but I can see having a standard name for the default region is a nice improvement.
Acked-by: John Stultz jstultz@google.com
thanks -john
linaro-mm-sig@lists.linaro.org