From: kernel test robot <lkp@intel.com>
To: "Ahmed S. Darwish" <darwi@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v1 05/40] x86/cpu: Remove unnecessary headers and reorder the rest
Date: Thu, 6 Mar 2025 20:54:34 +0800 [thread overview]
Message-ID: <202503062003.flKq0dy6-lkp@intel.com> (raw)
In-Reply-To: <20250304085152.51092-6-darwi@linutronix.de>
Hi Ahmed,
kernel test robot noticed the following build errors:
[auto build test ERROR on 7eb172143d5508b4da468ed59ee857c6e5e01da6]
url: https://github.com/intel-lab-lkp/linux/commits/Ahmed-S-Darwish/x86-cacheinfo-Validate-cpuid-leaf-0x2-EDX-output/20250304-170332
base: 7eb172143d5508b4da468ed59ee857c6e5e01da6
patch link: https://lore.kernel.org/r/20250304085152.51092-6-darwi%40linutronix.de
patch subject: [PATCH v1 05/40] x86/cpu: Remove unnecessary headers and reorder the rest
config: i386-buildonly-randconfig-004-20250305 (https://download.01.org/0day-ci/archive/20250306/202503062003.flKq0dy6-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250306/202503062003.flKq0dy6-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/202503062003.flKq0dy6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/kernel/cpu/intel.c:452:3: error: use of undeclared identifier 'movsl_mask'
452 | movsl_mask.mask = 7;
| ^
arch/x86/kernel/cpu/intel.c:455:3: error: use of undeclared identifier 'movsl_mask'
455 | movsl_mask.mask = 7;
| ^
2 errors generated.
vim +/movsl_mask +452 arch/x86/kernel/cpu/intel.c
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 400
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 401 /*
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 402 * SEP CPUID bug: Pentium Pro reports SEP but doesn't have it until
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 403 * model 3 mask 3
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 404 */
b399151cb48db3 arch/x86/kernel/cpu/intel.c Jia Zhang 2018-01-01 405 if ((c->x86<<8 | c->x86_model<<4 | c->x86_stepping) < 0x633)
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 406 clear_cpu_cap(c, X86_FEATURE_SEP);
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 407
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 408 /*
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 409 * PAE CPUID issue: many Pentium M report no PAE but may have a
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 410 * functionally usable PAE implementation.
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 411 * Forcefully enable PAE if kernel parameter "forcepae" is present.
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 412 */
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 413 if (forcepae) {
1b74dde7c47c19 arch/x86/kernel/cpu/intel.c Chen Yucong 2016-02-02 414 pr_warn("PAE forced!\n");
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 415 set_cpu_cap(c, X86_FEATURE_PAE);
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 416 add_taint(TAINT_CPU_OUT_OF_SPEC, LOCKDEP_NOW_UNRELIABLE);
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 417 }
69f2366c9456d0 arch/x86/kernel/cpu/intel.c Chris Bainbridge 2014-03-07 418
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 419 /*
f0133acc7d4835 arch/x86/kernel/cpu/intel.c Borislav Petkov 2016-05-08 420 * P4 Xeon erratum 037 workaround.
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 421 * Hardware prefetcher may cause stale data to be loaded into the cache.
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 422 */
b399151cb48db3 arch/x86/kernel/cpu/intel.c Jia Zhang 2018-01-01 423 if ((c->x86 == 15) && (c->x86_model == 1) && (c->x86_stepping == 1)) {
0b131be8d4125b arch/x86/kernel/cpu/intel.c H. Peter Anvin 2014-03-13 424 if (msr_set_bit(MSR_IA32_MISC_ENABLE,
f0133acc7d4835 arch/x86/kernel/cpu/intel.c Borislav Petkov 2016-05-08 425 MSR_IA32_MISC_ENABLE_PREFETCH_DISABLE_BIT) > 0) {
c0a639ad0bc6b1 arch/x86/kernel/cpu/intel.c Borislav Petkov 2014-03-09 426 pr_info("CPU: C0 stepping P4 Xeon detected.\n");
f0133acc7d4835 arch/x86/kernel/cpu/intel.c Borislav Petkov 2016-05-08 427 pr_info("CPU: Disabling hardware prefetching (Erratum 037)\n");
^1da177e4c3f41 arch/i386/kernel/cpu/intel.c Linus Torvalds 2005-04-16 428 }
^1da177e4c3f41 arch/i386/kernel/cpu/intel.c Linus Torvalds 2005-04-16 429 }
^1da177e4c3f41 arch/i386/kernel/cpu/intel.c Linus Torvalds 2005-04-16 430
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 431 /*
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 432 * See if we have a good local APIC by checking for buggy Pentia,
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 433 * i.e. all B steppings and the C2 stepping of P54C when using their
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 434 * integrated APIC (see 11AP erratum in "Pentium Processor
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 435 * Specification Update").
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 436 */
93984fbd4e33cc arch/x86/kernel/cpu/intel.c Borislav Petkov 2016-04-04 437 if (boot_cpu_has(X86_FEATURE_APIC) && (c->x86<<8 | c->x86_model<<4) == 0x520 &&
b399151cb48db3 arch/x86/kernel/cpu/intel.c Jia Zhang 2018-01-01 438 (c->x86_stepping < 0x6 || c->x86_stepping == 0xb))
9b13a93df267af arch/x86/kernel/cpu/intel.c Borislav Petkov 2014-06-18 439 set_cpu_bug(c, X86_BUG_11AP);
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 440
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 441
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 442 #ifdef CONFIG_X86_INTEL_USERCOPY
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 443 /*
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 444 * Set up the preferred alignment for movsl bulk memory moves
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 445 */
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 446 switch (c->x86) {
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 447 case 4: /* 486: untested */
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 448 break;
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 449 case 5: /* Old Pentia: untested */
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 450 break;
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 451 case 6: /* PII/PIII only like movsl with 8-byte alignment */
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 @452 movsl_mask.mask = 7;
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 453 break;
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 454 case 15: /* P4 is OK down to 8-byte alignment */
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 455 movsl_mask.mask = 7;
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 456 break;
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 457 }
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 458 #endif
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 459
1f442d70c84aa7 arch/x86/kernel/cpu/intel.c Yinghai Lu 2009-03-07 460 intel_smp_check(c);
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 461 }
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 462 #else
148f9bb87745ed arch/x86/kernel/cpu/intel.c Paul Gortmaker 2013-06-18 463 static void intel_workarounds(struct cpuinfo_x86 *c)
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 464 {
4052704d92c317 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 465 }
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 466 #endif
185f3b9da24c09 arch/x86/kernel/cpu/intel.c Yinghai Lu 2008-09-09 467
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-06 12:55 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 8:51 [PATCH v1 00/40] x86: Leaf 0x2 and leaf 0x4 refactorings Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 01/40] x86/cacheinfo: Validate cpuid leaf 0x2 EDX output Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/urgent] x86/cacheinfo: Validate CPUID " tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 02/40] x86/cpu: Validate cpuid " Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/urgent] x86/cpu: Validate CPUID " tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 03/40] x86/cpu: Properly parse leaf 0x2 TLB descriptor 0x63 Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/urgent] x86/cpu: Properly parse CPUID " tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 04/40] x86/cpuid: Include linux/build_bug.h Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] x86/cpuid: Include <linux/build_bug.h> in <asm/cpuid.h> tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 05/40] x86/cpu: Remove unnecessary headers and reorder the rest Ahmed S. Darwish
2025-03-04 9:14 ` Ingo Molnar
2025-03-04 9:28 ` Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] " tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-06 12:54 ` kernel test robot [this message]
2025-03-04 8:51 ` [PATCH v1 06/40] x86/cpu: Use max() for leaf 0x2 TLB descriptors parsing Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] x86/cpu: Use max() for CPUID " tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 07/40] x86/cpu: Simplify TLB entry count storage Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] " tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 08/40] x86/cpu: Get rid of smp_store_cpu_info() indirection Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] x86/cpu: Get rid of the " tip-bot2 for Thomas Gleixner
2025-03-04 10:26 ` tip-bot2 for Thomas Gleixner
2025-03-04 8:51 ` [PATCH v1 09/40] x86/cpu: Remove unused TLB strings Ahmed S. Darwish
2025-03-04 9:37 ` [tip: x86/cpu] " tip-bot2 for Thomas Gleixner
2025-03-04 10:26 ` tip-bot2 for Thomas Gleixner
2025-03-04 8:51 ` [PATCH v1 10/40] x86/cpu: Remove leaf 0x2 parsing loop and add helpers Ahmed S. Darwish
2025-03-04 9:26 ` Ingo Molnar
2025-03-05 16:01 ` Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 11/40] x86/cacheinfo: Remove the P4 trace leftovers for real Ahmed S. Darwish
2025-03-04 9:47 ` [tip: x86/cpu] " tip-bot2 for Thomas Gleixner
2025-03-04 10:26 ` tip-bot2 for Thomas Gleixner
2025-03-04 8:51 ` [PATCH v1 12/40] x86/cacheinfo: Remove unnecessary headers and reorder the rest Ahmed S. Darwish
2025-03-04 9:47 ` [tip: x86/cpu] " tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 13/40] x86/cacheinfo: Use cpuid leaf 0x2 parsing helpers Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 14/40] x86/cacheinfo: Refactor leaf 0x2 cache descriptor lookup Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 15/40] x86/cacheinfo: Properly name amd_cpuid4()'s first parameter Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 16/40] x86/cacheinfo: Use proper name for cacheinfo instances Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 17/40] x86/cacheinfo: Constify _cpuid4_info_regs instances Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 18/40] x86/cacheinfo: Align ci_info_init() assignment expressions Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 19/40] x86/cacheinfo: Standardize _cpuid4_info_regs instance naming Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 20/40] x86: treewide: Introduce x86_vendor_amd_or_hygon() Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 21/40] x86/cacheinfo: Consolidate AMD/Hygon leaf 0x8000001d calls Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 22/40] x86/cacheinfo: Separate amd_northbridge from _cpuid4_info_regs Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 23/40] x86/cacheinfo: Move AMD cache_disable_0/1 handling to separate file Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 24/40] x86/cacheinfo: Use sysfs_emit() for sysfs attributes show() Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 25/40] x86/cacheinfo: Separate Intel and AMD leaf 0x4 code paths Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 26/40] x86/cacheinfo: Rename _cpuid4_info_regs to _cpuid4_info Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 27/40] x86/cacheinfo: Clarify type markers for leaf 0x2 cache descriptors Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 28/40] x86/cacheinfo: Use enums for cache descriptor types Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 29/40] x86/cpu: Use enums for TLB " Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 30/40] sizes.h: Cover all possible x86 cpu cache sizes Ahmed S. Darwish
2025-03-04 9:35 ` Ingo Molnar
2025-03-05 16:18 ` Ahmed S. Darwish
2025-03-04 9:47 ` [tip: x86/cpu] <linux/sizes.h>: Cover all possible x86 CPU " tip-bot2 for Ahmed S. Darwish
2025-03-04 10:26 ` tip-bot2 for Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 31/40] x86/cpu: Consolidate CPUID leaf 0x2 tables Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 32/40] x86/cacheinfo: Use consolidated leaf 0x2 descriptor table Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 33/40] x86/cpu: " Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 34/40] x86/cacheinfo: Separate leaf 0x2 handling and post-processing logic Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 35/40] x86/cacheinfo: Separate intel leaf 0x4 handling Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 36/40] x86/cacheinfo: Extract out cache level topology ID calculation Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 37/40] x86/cacheinfo: Extract out cache self-snoop checks Ahmed S. Darwish
2025-03-04 10:38 ` Andrew Cooper
2025-03-05 18:40 ` Ahmed S. Darwish
2025-03-05 18:42 ` Andrew Cooper
2025-03-05 18:58 ` Ahmed S. Darwish
2025-03-05 19:01 ` Andrew Cooper
2025-03-04 8:51 ` [PATCH v1 38/40] x86/cacheinfo: Relocate leaf 0x4 cache_type mapping Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 39/40] x86/cacheinfo: Introduce amd_hygon_cpu_has_l3_cache() Ahmed S. Darwish
2025-03-04 8:51 ` [PATCH v1 40/40] x86/cacheinfo: Apply maintainer-tip coding style fixes Ahmed S. Darwish
2025-03-04 9:19 ` [PATCH v1 00/40] x86: Leaf 0x2 and leaf 0x4 refactorings Ingo Molnar
2025-03-04 9:38 ` Ingo Molnar
2025-03-05 17:36 ` Ahmed S. Darwish
2025-03-04 9:33 ` Ingo Molnar
2025-03-05 16:38 ` Ahmed S. Darwish
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=202503062003.flKq0dy6-lkp@intel.com \
--to=lkp@intel.com \
--cc=darwi@linutronix.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.