It's not safe. Regards, Li ---- On Tue, 22 Feb 2022 22:32:21 +0800 Li Chen <lchen.firstlove@xxxxxxxxxxxx> wrote ---- > Hi all, > > Say that I have one controller run under EP-mode and its bar 2 is mapped into a large DRAM area actually. pci_ioremap and its friends just use ioremap internally and are non-cachable by default, so the speed is really slow(in my case write 28m/s and read 3m/d). I wonder is it safe to use ioremap_cache for this bar? > > > Regards, > Li >