I set the reserved memory in the dts. I only reserved dozens of megabytes of memory, but the kernel log shows that more than 200 megabytes of memory are reserved, imx8x. Is there any other place besides the dts set the reserved memory
log:
[ 0.000000] Memory: 492256K/1046528K available (18560K kernel code, 1558K rwdata, 7180K rodata, 3840K init, 544K bss, 226592K reserved, 327680K cma-reserved)
dtb->dts:
reserved-memory {
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
decoder-boot@0x84000000 {
reg = <0x00 0x84000000 0x00 0x2000000>;
no-map;
phandle = <0x40>;
};
encoder-boot@0x86000000 {
reg = <0x00 0x86000000 0x00 0x200000>;
no-map;
phandle = <0x43>;
};
decoder-rpc@0x86200000 {
reg = <0x00 0x86200000 0x00 0x100000>;
no-map;
phandle = <0x41>;
};
encoder-rpc@0x94400000 {
reg = <0x00 0x94400000 0x00 0x700000>;
no-map;
phandle = <0x44>;
};
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x00 0x14000000>;
alloc-ranges = <0x00 0x98000000 0x00 0x14000000>;
linux,cma-default;
};
};