Bug 1502 - VM reboot panic with DSA MDEV pass through
Summary: VM reboot panic with DSA MDEV pass through
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 22:32 UTC by AubreyLi
Modified: 2022-06-28 11:22 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AubreyLi intel_group 2022-06-23 22:32:00 UTC
VM reboot panic with DSA MDEV pass through, panic stack below:

[  283.695576] BUG: kernel NULL pointer dereference, address: 0000000000000100
[  283.703473] #PF: supervisor instruction fetch in kernel mode
[  283.709900] #PF: error_code(0x0010) - not-present page
[  283.715746] PGD 1c71bf067 P4D 0 
[  283.719450] Oops: 0010 [#1] SMP NOPTI
[  283.723662] CPU: 32 PID: 4761 Comm: qemu-system-x86 Not tainted 5.10.112-siov #1
[  283.732032] Hardware name: Intel Corporation ArcherCity/ArcherCity, BIOS EGSDCRB1.SYS.0077.D01.2203211346 03/21/2022
[  283.743910] RIP: 0010:0x100
[  283.747135] Code: Unable to access opcode bytes at RIP 0xd6.
[  283.753554] RSP: 0018:ff725f630dc07df0 EFLAGS: 00010046
[  283.759494] RAX: 0000000000000100 RBX: ff436250840a0a48 RCX: 0000000000000001
[  283.767576] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ff436250840a0d28
[  283.775652] RBP: 0000000000000000 R08: ff436250840a0d28 R09: 0000000000000000
[  283.783733] R10: ff43626011588800 R11: 0000000000000000 R12: 00000000ffffffe8
[  283.791817] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
[  283.799894] FS:  00007f547ebd7c00(0000) GS:ff43625f2f000000(0000) knlGS:0000000000000000
[  283.809025] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  283.815568] CR2: 0000000000000100 CR3: 000000010c97e003 CR4: 0000000000773ee0
[  283.823649] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  283.831711] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[  283.839787] PKRU: 55555554
[  283.842905] Call Trace:
[  283.845764]  ? __wake_up_common+0x72/0x180
[  283.850470]  ? eventfd_signal+0x6b/0xa0
[  283.854883]  ? idxd_vdcm_ioctl+0x586/0x870 [idxd_mdev]
[  283.860743]  ? handle_mm_fault+0xc1/0x280
[  283.865336]  ? __x64_sys_ioctl+0x83/0xb0
[  283.869841]  ? do_syscall_64+0x33/0x40
[  283.874153]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  283.880114] Modules linked in: idxd_mdev vfio_pci vfio_virqfd nf_conntrack_netlink xfrm_user xt_CHECKSUM xt_MASQUERADE xt_addrtype xt_conntrack br_netfilter ipt_REJECT nf_reject_ipv4 nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc overlay dm_multipath intel_rapl_msr intel_rapl_common i10nm_edac nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass joydev isst_if_mbox_pci snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel isst_if_mmio isst_if_common snd_intel_dspcfg snd_hda_codec snd_hda_core idxd snd_pcm idxd_bus snd_timer mei_me mei acpi_power_meter parport_pc ppdev lp parport fuse ip_tables crc32c_intel ast drm_vram_helper i2c_i801 drm_ttm_helper i2c_smbus i2c_ismt ttm igc wmi pinctrl_emmitsburg pinctrl_intel
[  283.962253] CR2: 0000000000000100
[  283.966064] ---[ end trace 893c7883436fa741 ]---
[  284.978394] RIP: 0010:0x100
[  284.981684] Code: Unable to access opcode bytes at RIP 0xd6.
[  284.988117] RSP: 0018:ff725f630dc07df0 EFLAGS: 00010046
[  284.994068] RAX: 0000000000000100 RBX: ff436250840a0a48 RCX: 0000000000000001
[  285.002136] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ff436250840a0d28
[  285.010218] RBP: 0000000000000000 R08: ff436250840a0d28 R09: 0000000000000000
[  285.018282] R10: ff43626011588800 R11: 0000000000000000 R12: 00000000ffffffe8
[  285.026349] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
[  285.034417] FS:  00007f547ebd7c00(0000) GS:ff43625f2f000000(0000) knlGS:0000000000000000
[  285.043567] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  285.050097] CR2: 0000000000000100 CR3: 000000010c97e003 CR4: 0000000000773ee0
[  285.058161] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  285.066248] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[  285.074309] PKRU: 55555554
Comment 1 Guanjun alibaba_cloud_group 2022-06-28 11:22:03 UTC
代码已经合入,问题置为resolved