tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 03c9c649e6f28e26260d276ce755f785b2435da3 commit: 028a4161a77d2e15d331a13599a6f06cdd7490b6 [13/13] ub:ubfi: register ubc usi domain config: arm64-randconfig-004-20251226 (https://download.01.org/0day-ci/archive/20251226/202512262133.NDd7lyEj-lkp@i...) compiler: aarch64-linux-gcc (GCC) 13.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251226/202512262133.NDd7lyEj-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512262133.NDd7lyEj-lkp@intel.com/ All error/warnings (new ones prefixed by >>): drivers/ub/ubfi/ubc.c: In function 'acpi_processor_ubc':
drivers/ub/ubfi/ubc.c:61:18: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'? [-Werror=implicit-function-declaration] 61 | status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); | ^~~~~~~~~~~~~~~~~~~~~ | acpi_evaluate_object drivers/ub/ubfi/ubc.c:69:16: error: implicit declaration of function 'acpi_get_acpi_dev'; did you mean 'acpi_get_timer'? [-Werror=implicit-function-declaration] 69 | adev = acpi_get_acpi_dev(handle); | ^~~~~~~~~~~~~~~~~ | acpi_get_timer drivers/ub/ubfi/ubc.c:69:14: warning: assignment to 'struct acpi_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 69 | adev = acpi_get_acpi_dev(handle); | ^ drivers/ub/ubfi/ubc.c:87:9: error: implicit declaration of function 'acpi_put_acpi_dev'; did you mean 'acpi_match_acpi_device'? [-Werror=implicit-function-declaration] 87 | acpi_put_acpi_dev(adev); | ^~~~~~~~~~~~~~~~~ | acpi_match_acpi_device cc1: some warnings being treated as errors
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for RESCTRL_FS Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y] Selected by [y]: - ARM64_MPAM [=y] vim +61 drivers/ub/ubfi/ubc.c 50 51 static acpi_status acpi_processor_ubc(acpi_handle handle, u32 lvl, 52 void *context, void **rv) 53 { 54 struct ub_bus_controller *ubc = context; 55 struct acpi_device *adev; 56 unsigned long long uid; 57 acpi_status status; 58 struct device *dev; 59 int ret; 60
61 status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); 62 if (ACPI_FAILURE(status)) 63 return AE_CTRL_TERMINATE; 64 65 pr_info("ubc acpi ubc->ctl_no %u, uid: %llu\n", ubc->ctl_no, uid); 66 if (ubc->ctl_no != (u32)uid) 67 return AE_OK; 68 69 adev = acpi_get_acpi_dev(handle); 70 if (!adev) 71 return AE_CTRL_TERMINATE; 72 73 dev = bus_find_device_by_acpi_dev(&platform_bus_type, adev); 74 if (!dev) { 75 status = AE_CTRL_TERMINATE; 76 goto out; 77 } 78 ret = ub_update_msi_domain(dev, DOMAIN_BUS_UB_MSI); 79 if (ret) { 80 status = AE_CTRL_TERMINATE; 81 goto out; 82 } 83 dev_set_msi_domain(&ubc->dev, dev->msi.domain); 84 pr_debug("set ubc msi domain success by acpi\n"); 85 86 out: 87 acpi_put_acpi_dev(adev); 88 return status; 89 } 90
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki