Hello,
I am currently configuring a contiguous memory block in my system_conf.dtsi and exposing it to the uio framework as shown below. I would like to disable cache for the reserved-memory space I have reserved.
Is there some dts level configuration that can be used to remove caching of a certain physical address range?
Does a node using "linux,cma-default;" disable caching in that region by default?
/include/ "system-conf.dtsi"
/ {
chosen {
bootargs = "earlycon console=ttyPS0,115200 clk_ignore_unused uio_pdrv_genirq.of_id=generic-uio";
};
reserved-memory {
#address-cells = <0x02>;
#size-cells = <0x02>;
ranges;
reserved: buffer@0 {
no-map;
// ~66MB
reg = <0x0 0x70000000 0x0 0x0fe0000>;
};
};
uio_pipeline {
compatible ="generic-uio";
reg = <0x0 0x70000000 0x0 0x0fe0000>;
interrupt-parent = <&gpio>;
interrupts = <24 1>;
};
…
}