On Tue, Aug 06, 2024 at 12:30:36PM -0700, Yang Shi wrote:
commit f442fa6141379a20b48ae3efabee827a3d260787 upstream A kernel warning was reported when pinning folio in CMA memory when launching SEV virtual machine. The splat looks like:
[snip] This doesn't compile on 6.6... mm/huge_memory.c: In function 'follow_devmap_pud': mm/huge_memory.c:1213:8: error: implicit declaration of function 'try_grab_page'; did you mean 'try_get_page'? [-Werror=implicit-function-declaration] 1213 | ret = try_grab_page(page, flags); | ^~~~~~~~~~~~~ | try_get_page -- Thanks, Sasha