Re: Linux 5.11-rc1

From: Sedat Dilek
Date: Mon Dec 28 2020 - 10:26:59 EST


[ Please CC me I am not subscribed to LKML and linux-kbuild ML ]

Hi Linus,

I also tested with LLVM toolchain v11.0.1-rc2 together with passing
LLVM=1 and LLVM_IAS=1 to my make line.

I had one ERROR:

error: too few operands for instruction in arch/x86/kvm/svm/sev.c

The issue was reported in ClangBuiltLinux (CBL) issue #1216.
A fix was offered in [2] and fixes the issue on the kernel-side.

I had one WARNING:

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool:
eb_relocate_parse_slow()+0x3d0: stack state mismatch: cfa1=7+120
cfa2=-1+0
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool:
eb_copy_relocations()+0x229: stack state mismatch: cfa1=7+120
cfa2=-1+0

Looks like a similar issue was reported as
"drivers/gpu/drm/i915/gem/i915_gem_execbuffer: objtool warning on
stack state mismatch" in [3].
I CCed Josh in the CBL issue #1192.

Thanks.

Regards,
- Sedat -

[1] https://github.com/ClangBuiltLinux/linux/issues/1216
[2] https://lore.kernel.org/kvm/20201219063711.3526947-1-natechancellor@xxxxxxxxx/
[3] https://github.com/ClangBuiltLinux/linux/issues/1192