Hi Yizhen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 8f53b22e47e98837db7830541a369ed0cd5df749
commit: ad84f0a92e3fe282d8280d8c45f8d5b8aab1a2b4 [19475/30000] ub: ubcore add event api and add jetty and event api impls to compile
config: arm64-randconfig-004-20240912 (https://download.01.org/0day-ci/archive/20240913/202409131051.TeavBfiV-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409131051.TeavBfiV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409131051.TeavBfiV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ub/urma/ubcore/ubcore_dp.c:26:5: warning: no previous prototype for 'ubcore_rearm_jfc' [-Wmissing-prototypes]
26 | int ubcore_rearm_jfc(struct ubcore_jfc *jfc, bool solicited_only)
| ^~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/ubcore_rearm_jfc +26 drivers/ub/urma/ubcore/ubcore_dp.c
25
> 26 int ubcore_rearm_jfc(struct ubcore_jfc *jfc, bool solicited_only)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 8f53b22e47e98837db7830541a369ed0cd5df749
commit: 78568d28ad62c586e32e3989de5354fcb014c09f [16408/30000] scripts: Fix issue of module signing with openssl 3.x
config: arm64-randconfig-002-20240913 (https://download.01.org/0day-ci/archive/20240913/202409130912.f9BTikpV-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project bf684034844c660b778f0eba103582f582b710c9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409130912.f9BTikpV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409130912.f9BTikpV-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:372:33: note: expanded from macro '__arm_smccc_1_1'
372 | register unsigned long r3 asm("r3"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:373:3: note: expanded from macro '__arm_smccc_1_1'
373 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); | ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:28:1: note: expanded from here
28 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:377:9: note: expanded from macro '__arm_smccc_1_1'
377 | __constraints(__count_args(__VA_ARGS__))); | ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:369:33: note: expanded from macro '__arm_smccc_1_1'
369 | register unsigned long r0 asm("r0"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:372:33: note: expanded from macro '__arm_smccc_1_1'
372 | register unsigned long r3 asm("r3"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:373:3: note: expanded from macro '__arm_smccc_1_1'
373 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); | ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:36:1: note: expanded from here
36 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:377:9: note: expanded from macro '__arm_smccc_1_1'
377 | __constraints(__count_args(__VA_ARGS__))); | ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:452:4: note: expanded from macro 'arm_smccc_1_1_invoke'
452 | __fail_smccc_1_1(__VA_ARGS__); | ^
include/linux/arm-smccc.h:421:3: note: expanded from macro '__fail_smccc_1_1'
421 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); | ^
include/linux/arm-smccc.h:355:37: note: expanded from macro '__declare_args'
355 | #define __declare_args(count, ...) ___declare_args(count, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:44:1: note: expanded from here
44 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:452:4: note: expanded from macro 'arm_smccc_1_1_invoke'
452 | __fail_smccc_1_1(__VA_ARGS__); | ^
include/linux/arm-smccc.h:422:13: note: expanded from macro '__fail_smccc_1_1'
422 | asm ("" : __constraints(__count_args(__VA_ARGS__))); | ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r0' in asm
66 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND64, 64, &res);
| ^
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:369:33: note: expanded from macro '__arm_smccc_1_1'
369 | register unsigned long r0 asm("r0"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); | ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); | ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
vim +/x16 +20 arch/arm64/include/asm/archrandom.h
78d8f4f7a298a5 Andre Przywara 2022-01-17 15
181f11fd395b9e Andre Przywara 2022-01-17 16 static inline bool __init smccc_probe_trng(void)
181f11fd395b9e Andre Przywara 2022-01-17 17 {
78d8f4f7a298a5 Andre Przywara 2022-01-17 18 struct arm_smccc_res res;
78d8f4f7a298a5 Andre Przywara 2022-01-17 19
78d8f4f7a298a5 Andre Przywara 2022-01-17 @20 arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_VERSION, &res);
78d8f4f7a298a5 Andre Przywara 2022-01-17 21 if ((s32)res.a0 < 0)
181f11fd395b9e Andre Przywara 2022-01-17 22 return false;
78d8f4f7a298a5 Andre Przywara 2022-01-17 23
78d8f4f7a298a5 Andre Przywara 2022-01-17 24 return res.a0 >= ARM_SMCCC_TRNG_MIN_VERSION;
181f11fd395b9e Andre Przywara 2022-01-17 25 }
181f11fd395b9e Andre Przywara 2022-01-17 26
:::::: The code at line 20 was first introduced by commit
:::::: 78d8f4f7a298a5d259b2163121ea20b9e60e93f7 arm64: Add support for SMCCC TRNG entropy source
:::::: TO: Andre Przywara <andre.przywara(a)arm.com>
:::::: CC: Zheng Zengkai <zhengzengkai(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 13706c950ff941dc015e16f76812077f9861e378
commit: e6aa0ecf50a8a0da6b742aacd9cbd47463275a30 [7633/13930] net: hns3: add support for Hisilicon ptp sync device
config: arm64-randconfig-003-20240913 (https://download.01.org/0day-ci/archive/20240913/202409130201.5q7OutLm-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409130201.5q7OutLm-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409130201.5q7OutLm-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ptp/ptp_hisi.c:731:36: warning: 'hisi_ptp_acpi_match' defined but not used [-Wunused-const-variable=]
731 | static const struct acpi_device_id hisi_ptp_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~~~
vim +/hisi_ptp_acpi_match +731 drivers/ptp/ptp_hisi.c
730
> 731 static const struct acpi_device_id hisi_ptp_acpi_match[] = {
732 { "HISI0411", 0 },
733 { }
734 };
735 MODULE_DEVICE_TABLE(acpi, hisi_ptp_acpi_match);
736
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Yizhen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 8f53b22e47e98837db7830541a369ed0cd5df749
commit: f6206cf05e28a7f455850a4e2de8162890f50073 [19385/30000] ub: add memory map api in ubcore
config: arm64-randconfig-004-20240912 (https://download.01.org/0day-ci/archive/20240913/202409130030.E8xxPVNT-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409130030.E8xxPVNT-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409130030.E8xxPVNT-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ub/urma/ubcore/ubcore_umem.c:227:21: warning: no previous prototype for 'ubcore_umem_get' [-Wmissing-prototypes]
227 | struct ubcore_umem *ubcore_umem_get(struct ubcore_device *dev, uint64_t va, uint64_t len,
| ^~~~~~~~~~~~~~~
>> drivers/ub/urma/ubcore/ubcore_umem.c:245:6: warning: no previous prototype for 'ubcore_umem_release' [-Wmissing-prototypes]
245 | void ubcore_umem_release(struct ubcore_umem *umem)
| ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/ubcore_umem_get +227 drivers/ub/urma/ubcore/ubcore_umem.c
226
> 227 struct ubcore_umem *ubcore_umem_get(struct ubcore_device *dev, uint64_t va, uint64_t len,
228 union ubcore_umem_flag flag)
229 {
230 struct page **page_list;
231 int ret;
232
233 ret = umem_verify_input(dev, va, len, flag);
234 if (ret < 0)
235 return ERR_PTR(ret);
236
237 page_list = (struct page **)__get_free_page(GFP_KERNEL);
238 if (page_list == 0)
239 return ERR_PTR(-ENOMEM);
240
241 return ubcore_get_target_umem(dev, va, len, flag, page_list);
242 }
243 EXPORT_SYMBOL(ubcore_umem_get);
244
> 245 void ubcore_umem_release(struct ubcore_umem *umem)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Yizhen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 8f53b22e47e98837db7830541a369ed0cd5df749
commit: 95c713224477ac3433652331dd715e9bbcbc793a [19377/30000] ub: init ubcore module
config: arm64-randconfig-004-20240912 (https://download.01.org/0day-ci/archive/20240912/202409122243.XfSUhJlV-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240912/202409122243.XfSUhJlV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409122243.XfSUhJlV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ub/urma/ubcore/ubcore_main.c:61:5: warning: no previous prototype for 'ubcore_open' [-Wmissing-prototypes]
61 | int ubcore_open(struct inode *i_node, struct file *filp)
| ^~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/ubcore_open +61 drivers/ub/urma/ubcore/ubcore_main.c
60
> 61 int ubcore_open(struct inode *i_node, struct file *filp)
62 {
63 return 0;
64 }
65
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki