From: kernel test robot <lkp@intel.com>
To: steven@liquorix.net
Cc: oe-kbuild-all@lists.linux.dev
Subject: [zen:6.13/invlpgb-v9 5/13] arch/x86/include/asm/invlpgb.h:30:49: error: invalid input size for constraint 'a'
Date: Sat, 8 Feb 2025 23:43:30 +0800 [thread overview]
Message-ID: <202502082340.MdGy6PqI-lkp@intel.com> (raw)
tree: https://github.com/zen-kernel/zen-kernel 6.13/invlpgb-v9
head: df542b65e9753dea56b584fdca48cb8f8e3f74cd
commit: 83464118a5db5f7faeadcfac9a09205147c0c604 [5/13] x86/mm: add INVLPGB support code
config: i386-buildonly-randconfig-002-20250208 (https://download.01.org/0day-ci/archive/20250208/202502082340.MdGy6PqI-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250208/202502082340.MdGy6PqI-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/202502082340.MdGy6PqI-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:17:
In file included from include/linux/fs.h:33:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:9:
In file included from include/linux/sched/task.h:13:
In file included from include/linux/uaccess.h:12:
In file included from arch/x86/include/asm/uaccess.h:17:
In file included from arch/x86/include/asm/tlbflush.h:13:
>> arch/x86/include/asm/invlpgb.h:30:49: error: invalid input size for constraint 'a'
30 | asm volatile(".byte 0x0f, 0x01, 0xfe" : : "a" (rax), "c" (ecx), "d" (edx));
| ^
1 error generated.
make[3]: *** [scripts/Makefile.build:102: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=3934676415
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1263: prepare0] Error 2 shuffle=3934676415
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=3934676415
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:251: __sub-make] Error 2 shuffle=3934676415
make: Target 'prepare' not remade because of errors.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for X86_BROADCAST_TLB_FLUSH
Depends on [n]: CPU_SUP_AMD [=y] && 64BIT [=n]
Selected by [y]:
- CPU_SUP_AMD [=y]
vim +/a +30 arch/x86/include/asm/invlpgb.h
8
9 /*
10 * INVLPGB does broadcast TLB invalidation across all the CPUs in the system.
11 *
12 * The INVLPGB instruction is weakly ordered, and a batch of invalidations can
13 * be done in a parallel fashion.
14 *
15 * TLBSYNC is used to ensure that pending INVLPGB invalidations initiated from
16 * this CPU have completed.
17 */
18 static inline void __invlpgb(unsigned long asid, unsigned long pcid,
19 unsigned long addr, u16 extra_count,
20 bool pmd_stride, u8 flags)
21 {
22 u32 edx = (pcid << 16) | asid;
23 u32 ecx = (pmd_stride << 31) | extra_count;
24 u64 rax = addr | flags;
25
26 /* The low bits in rax are for flags. Verify addr is clean. */
27 VM_WARN_ON_ONCE(addr & ~PAGE_MASK);
28
29 /* INVLPGB; supported in binutils >= 2.36. */
> 30 asm volatile(".byte 0x0f, 0x01, 0xfe" : : "a" (rax), "c" (ecx), "d" (edx));
31 }
32
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-02-08 15:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202502082340.MdGy6PqI-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=steven@liquorix.net \
/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.