On 2/29/24 21:57, Stephen Rothwell wrote:
Hi all,on riscv 32-bit:
Changes since 20240229:
In file included from ../arch/riscv/include/asm/uaccess.h:12,
from ../include/linux/uaccess.h:11,
from ../include/linux/sched/task.h:13,
from ../include/linux/sched/signal.h:9,
from ../include/linux/rcuwait.h:6,
from ../include/linux/percpu-rwsem.h:7,
from ../include/linux/fs.h:33,
from ../kernel/events/core.c:11:
../kernel/events/core.c: In function 'perf_get_pgtable_size':
../arch/riscv/include/asm/pgtable.h:443:41: error: implicit declaration of function 'napot_cont_size' [-Werror=implicit-function-declaration]
443 | napot_cont_size(napot_cont_order(pte)) :\
| ^~~~~~~~~~~~~~~
../kernel/events/core.c:7588:24: note: in expansion of macro 'pte_leaf_size'
7588 | size = pte_leaf_size(pte);
| ^~~~~~~~~~~~~
../arch/riscv/include/asm/pgtable.h:443:57: error: implicit declaration of function 'napot_cont_order'; did you mean 'get_count_order'? [-Werror=implicit-function-declaration]
443 | napot_cont_size(napot_cont_order(pte)) :\
| ^~~~~~~~~~~~~~~~
../kernel/events/core.c:7588:24: note: in expansion of macro 'pte_leaf_size'
7588 | size = pte_leaf_size(pte);
| ^~~~~~~~~~~~~
Full randconfig file is attached.