From: kernel test robot <lkp@intel.com>
To: "Chang S. Bae" <chang.seok.bae@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/2] platform/x86/intel/ifs: Initialize AMX state for the scan test
Date: Sun, 5 May 2024 14:39:52 +0800 [thread overview]
Message-ID: <202405051417.5CWuLrhT-lkp@intel.com> (raw)
In-Reply-To: <20240430212508.105117-3-chang.seok.bae@intel.com>
Hi Chang,
kernel test robot noticed the following build errors:
[auto build test ERROR on e67572cd2204894179d89bd7b984072f19313b03]
url: https://github.com/intel-lab-lkp/linux/commits/Chang-S-Bae/x86-fpu-Extend-kernel_fpu_begin_mask-to-initialize-AMX-state/20240501-054234
base: e67572cd2204894179d89bd7b984072f19313b03
patch link: https://lore.kernel.org/r/20240430212508.105117-3-chang.seok.bae%40intel.com
patch subject: [PATCH 2/2] platform/x86/intel/ifs: Initialize AMX state for the scan test
config: x86_64-buildonly-randconfig-004-20240505 (https://download.01.org/0day-ci/archive/20240505/202405051417.5CWuLrhT-lkp@intel.com/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240505/202405051417.5CWuLrhT-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405051417.5CWuLrhT-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/platform/x86/intel/ifs/load.c:9:
>> drivers/platform/x86/intel/ifs/ifs.h:334:2: error: call to undeclared function 'kernel_fpu_begin_mask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
334 | kernel_fpu_begin_mask(KFPU_AMX);
| ^
>> drivers/platform/x86/intel/ifs/ifs.h:334:24: error: use of undeclared identifier 'KFPU_AMX'
334 | kernel_fpu_begin_mask(KFPU_AMX);
| ^
>> drivers/platform/x86/intel/ifs/ifs.h:339:2: error: call to undeclared function 'kernel_fpu_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
339 | kernel_fpu_end();
| ^
3 errors generated.
vim +/kernel_fpu_begin_mask +334 drivers/platform/x86/intel/ifs/ifs.h
327
328 static inline void ifs_fpu_begin(void)
329 {
330 /*
331 * The AMX state must be initialized prior to executing In-Field
332 * Scan tests, according to Intel SDM.
333 */
> 334 kernel_fpu_begin_mask(KFPU_AMX);
335 }
336
337 static inline void ifs_fpu_end(void)
338 {
> 339 kernel_fpu_end();
340 }
341
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2024-05-05 6:40 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20240430212508.105117-3-chang.seok.bae@intel.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202405051417.5CWuLrhT-lkp@intel.com \
--to=lkp@intel.com \
--cc=chang.seok.bae@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox