Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Joerg-Roedel/x86-SEV-ES-Guest-Su...
commit 1500e76ee7fbb46fde0832be629e2a8f56bcd036
Author: Joerg Roedel <jroedel(a)suse.de>
AuthorDate: Tue Jul 14 14:08:29 2020 +0200
Commit: 0day robot <lkp(a)intel.com>
CommitDate: Tue Jul 14 20:22:02 2020 +0800
x86/idt: Move IDT to data segment
With SEV-ES, exception handling is needed very early, even before the
kernel has cleared the bss segment. In order to prevent clearing the
currently used IDT, move the IDT to the data segment.
Signed-off-by: Joerg Roedel <jroedel(a)suse.de>
c87bcd6b43 x86/sev-es: Add CPUID handling to #VC handler
1500e76ee7 x86/idt: Move IDT to data segment
8dd33b9961 x86/sev-es: Check required CPU features for SEV-ES
+-----------------------------------------------------------------------------------------------+------------+------------+------------+
|
| c87bcd6b43 | 1500e76ee7 | 8dd33b9961 |
+-----------------------------------------------------------------------------------------------+------------+------------+------------+
| boot_successes
| 31 | 0 | 0 |
| boot_failures
| 0 | 11 | 19 |
|
BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:early_console_in_setup_code
| 0 | 11 | 19 |
+-----------------------------------------------------------------------------------------------+------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
early console in setup code
BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in
setup code
Linux version 5.8.0-rc5-00027-g1500e76ee7fbb #1
Command line: root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1
softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0
drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0
earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw
link=/cephfs/kbuild/run-queue/openwrt-vm-openwrt/i386-randconfig-r026-20200714/linux-devel:devel-catchup-202007142216:1500e76ee7fbb46fde0832be629e2a8f56bcd036:bisect-BUG:_kernel_reboot-without-warning_in_early-boot_.__last_printk:_early_console_in_setup_code/.vmlinuz-1500e76ee7fbb46fde0832be629e2a8f56bcd036-20200715040506-1:openwrt-vm-openwrt-16
branch=linux-devel/devel-catchup-202007142216
BOOT_IMAGE=/pkg/linux/i386-randconfig-r026-20200714/gcc-9/1500e76ee7fbb46fde0832be629e2a8f56bcd036/vmlinuz-5.8.0-rc5-00027-g1500e76ee7fbb
rcuperf.shutdown=0 watchdog_thresh=60
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 90f44ac4313cc8f317de07d142497265d58d469b
11ba468877bb23f28956a35e896356252d63c983 --
git bisect bad 2b74adf3137a01b5d04da51ca1b3dc8565022e0e # 00:11 B 0 2 18 0
Merge
'linux-review/Dan-Carpenter/netfilter-nf_tables-Fix-a-use-after-free-in-nft_immediate_destroy/20200714-190119'
into devel-catchup-202007142216
git bisect good d982adb0ce3121d4073709525dbf85e95e0c64e1 # 00:26 G 11 0 0 0
Merge 'char-misc/char-misc-next' into devel-catchup-202007142216
git bisect good a3f02d410a7f2bdc7b8fce0b2d78b55c1f73575c # 00:37 G 11 0 0 0
Merge 'drm-tip/drm-tip' into devel-catchup-202007142216
git bisect bad 239d06d21a8584f5070d838c3c028f613d7cc041 # 00:44 B 0 3 19 0
Merge
'linux-review/Dafna-Hirschfeld/media-staging-rkisp1-fix-possible-race-conditions-in-capture/20200714-204036'
into devel-catchup-202007142216
git bisect good 76a6d7290908e0310449b9d27b70730a5d6f34b9 # 01:00 G 10 0 0 0
Merge 'tegra/for-next' into devel-catchup-202007142216
git bisect bad 7ca04019255a2f544bb344112bbd66f32d773dd2 # 01:39 B 0 3 19 0
Merge 'linux-review/Joerg-Roedel/x86-SEV-ES-Guest-Support/20200714-202150' into
devel-catchup-202007142216
git bisect bad 76ece0543047ede80656d2a42d587a4dd5c634ff # 02:09 B 0 3 19 0
x86/sev-es: Print SEV-ES info into kernel log
git bisect good cca763283244b4a520c6f7c86d20ec4bbf786a2c # 02:35 G 10 0 0 0
x86/boot/compressed/64: Call set_sev_encryption_mask earlier
git bisect bad 3cfcf4da3a5e623f96094745e96057d2af6d54e7 # 02:46 B 0 1 17 0
x86/idt: Split idt_data setup out of set_intr_gate()
git bisect good fa92be83e946d60dc3c2f0db44fec41ff276d4a1 # 03:41 G 11 0 0 0
x86/boot/compressed/64: Unmap GHCB page before booting the kernel
git bisect good cb525962814f84feeeff3ae5ff3288ff84f50451 # 03:54 G 11 0 0 0
x86/fpu: Move xgetbv()/xsetbv() into separate header
git bisect bad 1500e76ee7fbb46fde0832be629e2a8f56bcd036 # 04:06 B 0 2 18 0
x86/idt: Move IDT to data segment
git bisect good c87bcd6b43cdae898a18be8c4afcd289992bc8fd # 04:37 G 11 0 0 0
x86/sev-es: Add CPUID handling to #VC handler
# first bad commit: [1500e76ee7fbb46fde0832be629e2a8f56bcd036] x86/idt: Move IDT to data
segment
git bisect good c87bcd6b43cdae898a18be8c4afcd289992bc8fd # 04:45 G 30 0 0 0
x86/sev-es: Add CPUID handling to #VC handler
# extra tests with debug options
git bisect bad 1500e76ee7fbb46fde0832be629e2a8f56bcd036 # 04:55 B 0 2 18 0
x86/idt: Move IDT to data segment
# extra tests on head commit of
linux-review/Joerg-Roedel/x86-SEV-ES-Guest-Support/20200714-202150
git bisect bad 8dd33b9961b5b3eff91779acf26509226d0b57ed # 05:33 B 0 2 26 8
x86/sev-es: Check required CPU features for SEV-ES
# bad: [8dd33b9961b5b3eff91779acf26509226d0b57ed] x86/sev-es: Check required CPU features
for SEV-ES
# extra tests on revert first bad commit
git bisect good 343d9c4f73bf23b7e17c7e32fabb1639e830c7af # 06:09 G 11 0 0 0
Revert "x86/idt: Move IDT to data segment"
# good: [343d9c4f73bf23b7e17c7e32fabb1639e830c7af] Revert "x86/idt: Move IDT to data
segment"
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/lkp@lists.01.org