I have an application that needs to map several ranges of physical memory at an offset in order to talk to some RAID controllers. (It is a x86_64 type image if it makes any difference) The code works, but it gives a tainted kernel message that I wish to suppress every time it executes:
Aug 31 19:18:54 DD1SYS kernel: [26931.369509] process "flashcontroller" tried to map 0x000dd310-0x000dd311 on 0000:03:03.0 BAR 1 (size 0x00000004)
(Above corresponds to physical address dd310000h)
Another message is "... tried to map 0x000dd500-0x000dd510 on 0000:05:03.0 BAR 0 (size 0x00000001)"
I'm not up on setting a parameter at boot time so the targeted kernel can get this message suppressed before the code is invoked. How would I do it?
Depending on how many cards / ports there are multiple ports will be mapped. I want to play nice and just block out the specific areas I need, but don't mind taking the easy way out and trying to suppress reporting for a few MB to cover all the bases.