superna9999 / meson_gx_mali_450

Amlogic GX Mali support for Mali-450 based SoCs, for Mainline Linux only
http://linux-meson.com
35 stars 20 forks source link

linux 4.20 support fix #5

Closed xlazom00 closed 5 years ago

xlazom00 commented 5 years ago

linux 4.20 support fix

superna9999 commented 5 years ago

Hi,

This weird because https://github.com/superna9999/meson_gx_mali_450/commit/2c9bd8ae57c0648045f7eaa48c120ec78db85d10 should already fix this !

Your patch seems to partially revert and refix it ! Can you try reverting https://github.com/superna9999/meson_gx_mali_450/commit/2c9bd8ae57c0648045f7eaa48c120ec78db85d10 and re-applying the fix ?

xlazom00 commented 5 years ago

vmf_insert_pfn return VM_FAULT_NOPAGE => it isn't 0 and base on this https://elixir.bootlin.com/linux/latest/source/include/linux/mm.h#L2568 it looks like it is just fine