Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC4582566 for ; Mon, 15 Jan 2024 02:03:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Y7VWi1/D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705284214; x=1736820214; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XBf/VgT07CFCEbD6Lb3g3bq+kq7BKueAwyHGzN6CnfU=; b=Y7VWi1/DQNRwfhHEgi3uaHC/FXQ81S6LmqCxf7PaKkQLjPmag7WIA+2F F67QIoHpunFrnvIfKHwcezi5FTlT6s9OMhx6lh12jLI6KzP8aeXGO2RXi IyjmDDMKDvqebmSbWA+DGUlnVEz4wnIz3wtl6NlaG+sI5UOlwGDZHRnbq QoXEdhRIffOzQ73dc+k+HLGYqela2NPd9fsBRZKah4xQjqhn9rg6RCavX KvnMNjp4a9QqV6gBX4JD+PNwjfkiKO7Z5kYuy4arzadc+rnhOjKuxZ6Sb ZCJcJYpCrXXofC4dtxC1XP2zhfR+i7JFeVVqMHce/NKrCWr4LaZt3825F w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="485678800" X-IronPort-AV: E=Sophos;i="6.04,195,1695711600"; d="scan'208";a="485678800" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2024 18:03:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1114792265" X-IronPort-AV: E=Sophos;i="6.04,195,1695711600"; d="scan'208";a="1114792265" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 14 Jan 2024 18:03:33 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rPCK3-000C0O-07; Mon, 15 Jan 2024 02:03:31 +0000 Date: Mon, 15 Jan 2024 10:02:33 +0800 From: kernel test robot To: Meng Li Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH V13 4/7] cpufreq: Add a notification message that the highest perf has changed Message-ID: <202401150945.Dq0fwAfX-lkp@intel.com> References: <20240112092531.789841-5-li.meng@amd.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240112092531.789841-5-li.meng@amd.com> Hi Meng, kernel test robot noticed the following build errors: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on tip/x86/core tip/master linus/master rafael-pm/acpi-bus v6.7 next-20240112] [cannot apply to rafael-pm/devprop bp/for-next tip/auto-latest] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Meng-Li/x86-Drop-CPU_SUP_INTEL-from-SCHED_MC_PRIO-for-the-expansion/20240112-173016 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next patch link: https://lore.kernel.org/r/20240112092531.789841-5-li.meng%40amd.com patch subject: [PATCH V13 4/7] cpufreq: Add a notification message that the highest perf has changed config: x86_64-randconfig-r081-20240115 (https://download.01.org/0day-ci/archive/20240115/202401150945.Dq0fwAfX-lkp@intel.com/config) compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240115/202401150945.Dq0fwAfX-lkp@intel.com/reproduce) 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202401150945.Dq0fwAfX-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/acpi/processor_driver.c:88:3: error: call to undeclared function 'cpufreq_update_limits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | cpufreq_update_limits(pr->id); | ^ 1 error generated. vim +/cpufreq_update_limits +88 drivers/acpi/processor_driver.c 53 54 static void acpi_processor_notify(acpi_handle handle, u32 event, void *data) 55 { 56 struct acpi_device *device = data; 57 struct acpi_processor *pr; 58 int saved; 59 60 if (device->handle != handle) 61 return; 62 63 pr = acpi_driver_data(device); 64 if (!pr) 65 return; 66 67 switch (event) { 68 case ACPI_PROCESSOR_NOTIFY_PERFORMANCE: 69 saved = pr->performance_platform_limit; 70 acpi_processor_ppc_has_changed(pr, 1); 71 if (saved == pr->performance_platform_limit) 72 break; 73 acpi_bus_generate_netlink_event(device->pnp.device_class, 74 dev_name(&device->dev), event, 75 pr->performance_platform_limit); 76 break; 77 case ACPI_PROCESSOR_NOTIFY_POWER: 78 acpi_processor_power_state_has_changed(pr); 79 acpi_bus_generate_netlink_event(device->pnp.device_class, 80 dev_name(&device->dev), event, 0); 81 break; 82 case ACPI_PROCESSOR_NOTIFY_THROTTLING: 83 acpi_processor_tstate_has_changed(pr); 84 acpi_bus_generate_netlink_event(device->pnp.device_class, 85 dev_name(&device->dev), event, 0); 86 break; 87 case ACPI_PROCESSOR_NOTIFY_HIGEST_PERF_CHANGED: > 88 cpufreq_update_limits(pr->id); 89 acpi_bus_generate_netlink_event(device->pnp.device_class, 90 dev_name(&device->dev), event, 0); 91 break; 92 default: 93 acpi_handle_debug(handle, "Unsupported event [0x%x]\n", event); 94 break; 95 } 96 97 return; 98 } 99 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki