i am writing a piece of code that needs to store 10k of memory located in specific physical address before the SOC shuts down.
My problem is that this physical address is not part of kernel space so i have to create an ad -hoc memory mapping so i can access this memory space.
i tried using io-remap but it doesn't (apparently) work on non-kernel space.
is there any API for doing this ? should i used kmap ?
Thanks in advance