Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-client-v5.8-rc4
commit 42bed7e4fbcef3d76958d82e82e1b299ae08c6c6
Author: Joerg Roedel <jroedel(a)suse.de>
AuthorDate: Thu Sep 5 17:04:17 2019 +0200
Commit: Joerg Roedel <jroedel(a)suse.de>
CommitDate: Mon Jul 6 09:36:34 2020 +0200
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>
9664438de9 x86/sev-es: Add CPUID handling to #VC handler
42bed7e4fb x86/idt: Move IDT to data segment
7ee5e0ddab x86/sev-es: Check required CPU features for SEV-ES
+---------------------------------------------+------------+------------+------------+
| | 9664438de9 | 42bed7e4fb | 7ee5e0ddab |
+---------------------------------------------+------------+------------+------------+
| boot_successes | 31 | 0 | 0 |
| boot_failures | 0 | 16 | 14 |
| BUG:unable_to_handle_page_fault_for_address | 0 | 16 | 14 |
| Oops:#[##] | 0 | 16 | 14 |
| EIP:open_softirq | 0 | 16 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 16 | 14 |
+---------------------------------------------+------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 1.669432] Tracing variant of Tasks RCU enabled.
[ 1.670526] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 1.672273] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 1.674327] NR_IRQS: 2304, nr_irqs: 56, preallocated irqs: 16
[ 1.676092] rcu: Offload RCU callbacks from CPUs: (none).
[ 1.677402] BUG: unable to handle page fault for address: 9d71c884
[ 1.678798] #PF: supervisor write access in kernel mode
[ 1.680024] #PF: error_code(0x0003) - permissions violation
[ 1.681251] *pde = 74c6d063 *pte = 1d71c161
[ 1.682195] Oops: 0003 [#1] PREEMPT SMP
[ 1.683006] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.8.0-rc4-00027-g42bed7e4fbcef
#1
[ 1.684771] EIP: open_softirq+0x6/0x20
[ 1.685591] Code: 00 85 c0 75 dd b9 18 f6 63 9d ba 9c 00 00 00 b8 8c f7 64 9d c6 05 9c
b0 7c 9d 01 e8 49 9d 05 00 eb c0 66 90 3e 8d 74 26 00 55 <89> 14 85 80 c8 71 9d 89
e5 5d c3 8d b4 26 00 00 00 00 8d b4 26 00
[ 1.690034] EAX: 00000001 EBX: 00000008 ECX: 00000000 EDX: 9caddcc0
[ 1.691471] ESI: 9d87efc0 EDI: f5270fc0 EBP: 9d71bf88 ESP: 9d71bf74
[ 1.692981] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210006
[ 1.694594] CR0: 80050033 CR2: 9d71c884 CR3: 1d88e000 CR4: 00040690
[ 1.696045] Call Trace:
[ 1.696636] ? init_timers+0x62/0x6a
[ 1.697489] start_kernel+0x2d1/0x44d
[ 1.698360] i386_start_kernel+0x48/0x4a
[ 1.699268] startup_32_smp+0x15f/0x164
[ 1.700201] Modules linked in:
[ 1.700927] CR2: 000000009d71c884
[ 1.701716] ---[ end trace ae5cf232d924bfc1 ]---
[ 1.702811] EIP: open_softirq+0x6/0x20
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 0b060223d200412be245ee8b420b56022aa72fe3
dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 --
git bisect good eb0d7bf4fe352d6b352632c3228fe97352ad5df0 # 02:00 G 11 0 11 11
Merge
'linux-review/Randy-Dunlap/Documentation-locking-eliminate-duplicated-words/20200704-054048'
into devel-hourly-2020070823
git bisect good f345e0745182a16d9479a71a0f5acc4f9af3e9b4 # 02:15 G 11 0 11 11
Merge
'linux-review/Josef-Bacik/btrfs-set-tree_root-node-NULL-on-error/20200701-025643'
into devel-hourly-2020070823
git bisect good 185fe8118f7238e61aaea92e1795db56825106b2 # 02:31 G 11 0 11 11
Merge
'linux-review/Jakub-Kicinski/net-organize-driver-docs-by-device-type/20200627-013041'
into devel-hourly-2020070823
git bisect good 05856deda362062a53eb15e062f9efabe6ce0fbe # 02:42 G 11 0 11 11
Merge
'linux-review/Lionel-Landwerlin/Revert-dma-buf-Report-signaled-links-inside-dma-fence-chain/20200625-203603'
into devel-hourly-2020070823
git bisect good 1bb3e5b977b91279484e081bfc19e42fec4425b3 # 02:54 G 10 0 10 10
Merge
'linux-review/Alexander-A-Klimov/Replace-HTTP-links-with-HTTPS-ones-SI2165-MEDIA-DRIVER/20200708-231932'
into devel-hourly-2020070823
git bisect bad 1c19728481d6afc72e8a7caa262380de074f5fdd # 03:03 B 0 3 19 0
Merge
'linux-review/trix-redhat-com/USB-c67x00-fix-use-after-free-in-c67x00_giveback_urb/20200708-211631'
into devel-hourly-2020070823
git bisect bad 2859f5a79fed2b15f46c1c6197b318f4f61eba82 # 03:23 B 0 5 21 0
Merge
'linux-review/Alexander-A-Klimov/Replace-HTTP-links-with-HTTPS-ones-9P-FILE-SYSTEM/20200708-225933'
into devel-hourly-2020070823
git bisect bad 3066031133c2bd5bf6abf7f67a0dad487b6f2b2d # 03:45 B 0 11 27 0
Merge 'linux-review/Sven-Auhagen/inside-secure-irq-balance/20200708-231026' into
devel-hourly-2020070823
git bisect bad 32d1299c12b30456265826ca6144b488a23ced33 # 03:54 B 0 10 26 0
Merge 'joro/sev-es-client-v5.8-rc4' into devel-hourly-2020070823
git bisect bad 9ef9f559942a07be8c476b343abac292ef7a26e8 # 04:11 B 0 11 27 0
x86/sev-es: Print SEV-ES info into kernel log
git bisect good 604a4a2923ab659931510c83f2161eaa65fd8e63 # 04:23 G 11 0 0 0
x86/boot/compressed/64: Call set_sev_encryption_mask earlier
git bisect bad ad77815639251f4ac8249a85b5f1b89c735359d8 # 04:33 B 0 11 27 0
x86/idt: Split idt_data setup out of set_intr_gate()
git bisect good 3e8153484ca158d6e2143786bb8fd87d14e32335 # 04:46 G 10 0 0 1
x86/boot/compressed/64: Unmap GHCB page before booting the kernel
git bisect good 1782d12000dbf051b813e55dab9c20fb82ed9ce8 # 05:02 G 11 0 0 0
x86/fpu: Move xgetbv()/xsetbv() into separate header
git bisect bad 42bed7e4fbcef3d76958d82e82e1b299ae08c6c6 # 05:11 B 0 11 27 0
x86/idt: Move IDT to data segment
git bisect good 9664438de976ccfdefb47e03791102c5bc1c0908 # 05:25 G 11 0 0 0
x86/sev-es: Add CPUID handling to #VC handler
# first bad commit: [42bed7e4fbcef3d76958d82e82e1b299ae08c6c6] x86/idt: Move IDT to data
segment
git bisect good 9664438de976ccfdefb47e03791102c5bc1c0908 # 05:30 G 31 0 0 0
x86/sev-es: Add CPUID handling to #VC handler
# extra tests with debug options
git bisect bad 42bed7e4fbcef3d76958d82e82e1b299ae08c6c6 # 05:43 B 0 11 33 6
x86/idt: Move IDT to data segment
# extra tests on head commit of joro/sev-es-client-v5.8-rc4
git bisect bad 7ee5e0ddab7fa6efbf0937f175a5688a375d55b8 # 06:41 B 0 11 27 0
x86/sev-es: Check required CPU features for SEV-ES
# bad: [7ee5e0ddab7fa6efbf0937f175a5688a375d55b8] x86/sev-es: Check required CPU features
for SEV-ES
# extra tests on revert first bad commit
git bisect good e97dbfc525452c8be70e83d23b7e811632b13f7d # 07:02 G 11 0 0 0
Revert "x86/idt: Move IDT to data segment"
# good: [e97dbfc525452c8be70e83d23b7e811632b13f7d] 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