Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GVT-g does not work in 5.19 #216

Open
chriscjs opened this issue Aug 14, 2022 · 1 comment
Open

GVT-g does not work in 5.19 #216

chriscjs opened this issue Aug 14, 2022 · 1 comment

Comments

@chriscjs
Copy link

chriscjs commented Aug 14, 2022

I just upgraded to 5.19.1 in arch linux. No mdev types are registered. Was working in 5.18.
CPU is i7-10875H.

[ 3.387905] ------------[ cut here ]------------
[ 3.387922] assign a handler to a non-tracked mmio 4ab8
[ 3.387940] WARNING: CPU: 7 PID: 541 at drivers/gpu/drm/i915/gvt/handlers.c:124 setup_mmio_info.constprop.0+0x98/0x110 [kvmgt]
[ 3.387971] Modules linked in: kvmgt(+) kvm i915 intel_gtt drm_buddy video drm_display_helper cec ttm mdev vfio_pci vfio_pci_core vfio_virqfd irqbypass vfio_iommu_type1 vfio btrfs blake2b_generic xor raid6_pq libcrc32c crc32c_generic crc32c_intel sunrpc dm_mirror dm_region_hash dm_log be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls cxgb3i cxgb3 mdio libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath sg crypto_user dm_mod
[ 3.388031] CPU: 7 PID: 541 Comm: modprobe Not tainted 5.19.1-arch2-1 #1 e053941816231cdb69988a866d07465c3100e80c
[ 3.388046] Hardware name: Micro-Star International Co., Ltd. GS66 Stealth 10SE/MS-16V1, BIOS E16V1IMS.112 11/19/2020
[ 3.388060] RIP: 0010:setup_mmio_info.constprop.0+0x98/0x110 [kvmgt]
[ 3.388082] Code: 00 48 85 c0 74 16 48 83 e8 30 48 85 c0 74 0d 39 18 74 31 48 8b 40 30 48 85 c0 75 ea 89 de 48 c7 c7 e0 68 ce c0 e8 3f 4e ac c9 <0f> 0b 48 83 c4 08 b8 ed ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3
[ 3.388103] RSP: 0018:ffffa3200148fc28 EFLAGS: 00010282
[ 3.388112] RAX: 0000000000000000 RBX: 0000000000004ab8 RCX: 0000000000000027
[ 3.388123] RDX: ffff88f3775e1668 RSI: 0000000000000001 RDI: ffff88f3775e1660
[ 3.388134] RBP: ffff88e416030000 R08: 0000000000000000 R09: ffffa3200148fab0
[ 3.388145] R10: 0000000000000003 R11: ffff88f3be7fffe8 R12: 0000000000004abc
[ 3.388155] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000008
[ 3.388166] FS: 00007f9b08006740(0000) GS:ffff88f3775c0000(0000) knlGS:0000000000000000
[ 3.388178] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.388187] CR2: 000055e04677c9a8 CR3: 0000000115308004 CR4: 00000000007706e0
[ 3.388198] PKRU: 55555554
[ 3.388204] Call Trace:
[ 3.388211]
[ 3.388218] ? bxt_gt_disp_pwron_write+0x70/0x70 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388242] init_skl_mmio_info+0x153a/0x15b0 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388266] intel_gvt_setup_mmio_info+0x3048/0x3420 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388290] ? gen9_dbuf_ctl_mmio_write+0x40/0x40 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388313] intel_gvt_init_device+0x10f/0x3e0 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388336] intel_gvt_init_device.part.0+0x101/0x1e0 [i915 c069aa29aca531c63789c3c0d9947e366f702332]
[ 3.388414] ? intel_vgt_balloon+0x220/0x220 [i915 c069aa29aca531c63789c3c0d9947e366f702332]
[ 3.388480] intel_gvt_set_ops+0x83/0xb0 [i915 c069aa29aca531c63789c3c0d9947e366f702332]
[ 3.388543] ? 0xffffffffc0e81000
[ 3.388551] kvmgt_init+0x16/0x1000 [kvmgt 55cdb495486b536d6543ee92d921e80ebc229611]
[ 3.388574] ? 0xffffffffc0e81000
[ 3.388581] do_one_initcall+0x5a/0x220
[ 3.388592] do_init_module+0x4a/0x1e0
[ 3.388601] __do_sys_init_module+0x138/0x1b0
[ 3.388611] do_syscall_64+0x5c/0x90
[ 3.388620] ? syscall_exit_to_user_mode+0x1b/0x40
[ 3.388629] ? do_syscall_64+0x6b/0x90
[ 3.388637] ? do_syscall_64+0x6b/0x90
[ 3.388646] ? syscall_exit_to_user_mode+0x1b/0x40
[ 3.389213] ? do_syscall_64+0x6b/0x90
[ 3.389780] ? do_syscall_64+0x6b/0x90
[ 3.390335] ? do_syscall_64+0x6b/0x90
[ 3.390882] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 3.391428] RIP: 0033:0x7f9b08113ace
[ 3.391969] Code: 48 8b 0d d5 f2 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a2 f2 0c 00 f7 d8 64 89 01 48
[ 3.392567] RSP: 002b:00007ffd590cf438 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 3.393157] RAX: ffffffffffffffda RBX: 000055e04610de60 RCX: 00007f9b08113ace
[ 3.393743] RDX: 000055e0459ffcb2 RSI: 00000000000f5e60 RDI: 000055e0463b27c0
[ 3.394338] RBP: 000055e0459ffcb2 R08: 00000000000f5e60 R09: 9e3779b185ebca87
[ 3.394920] R10: 00000000000438e1 R11: 0000000000000246 R12: 0000000000040000
[ 3.395502] R13: 000055e04610ddd0 R14: 0000000000000000 R15: 000055e046111f90
[ 3.396085]
[ 3.396662] ---[ end trace 0000000000000000 ]---

@chriscjs
Copy link
Author

I was able to get it working with the patch here:

https://www.spinics.net/lists/kernel/msg4467076.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant