![]() ![]() * This one maps high address device memory and turns off caching for that area. That ioremap_cache() has uncached semantics by default. Ioremap_cache() is uncached by default since a long time.įrom version 2.6.25 onwards we know for sure => replace use of ioremap_nocache() with ioremap_cache() Merging generic-ioremap/for-next (4bdc0d676a64 remove ioremap_nocache and devm_ioremap_nocache) Since the Linux 2.6 days, so remove the additional ioremap has provided non-cached semantics by default : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub) home/ws/vbtrunk/trunk/out/linux.amd64/debug/obj/tstvboxguest-src_mod/r0drv/linux/memobj-r0drv-linux.c:1466:30: error: pointer/integer type mismatch in conditional expression ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub) ![]() home/ws/vbtrunk/trunk/out/linux.amd64/debug/obj/tstvboxguest-src_mod/r0drv/linux/memobj-r0drv-linux.c:1465:32: error: implicit declaration of function ‘ioremap_nocache’ did you mean ‘ioremap_cache’? home/ws/vbtrunk/trunk/out/linux.amd64/debug/obj/tstvboxguest-src_mod/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapKernel’: In file included from /home/ws/vbtrunk/trunk/out/linux.amd64/debug/obj/tstvboxguest-src_mod/combined-os-specific.c:33:0: ![]() So mainline 5.6-rc1 is out and we have already 1 change required: ![]()
0 Comments
Leave a Reply. |