kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 216498] New: Can't load kvmgt anymore (works with 5.18)
@ 2022-09-17 18:46 bugzilla-daemon
  2022-09-17 18:47 ` [Bug 216498] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-09-17 18:46 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216498

            Bug ID: 216498
           Summary: Can't load kvmgt anymore (works with 5.18)
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.19
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: dion@inhex.net
        Regression: No

Created attachment 301820
  --> https://bugzilla.kernel.org/attachment.cgi?id=301820&action=edit
5.19 dmesg with warning, GVT-g doesn't work

I'm using Intel GVT-g actively and it was very stable on older kernels
including 5.18.x.

But after updating to 5.19 it doesn't work anymore. I'm sure that it isn't
related to hardware change / bios update. It still works if I reboot to older
5.18 kernel. 


I'm getting followed in dmesg:

[   92.987534] ------------[ cut here ]------------
[   92.987538] assign a handler to a non-tracked mmio 4ab8
[   92.987555] WARNING: CPU: 0 PID: 3660 at
drivers/gpu/drm/i915/gvt/handlers.c:124 setup_mmio_info.constprop.0+0xd5/0x100
[kvmgt]

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 216498] Can't load kvmgt anymore (works with 5.18)
  2022-09-17 18:46 [Bug 216498] New: Can't load kvmgt anymore (works with 5.18) bugzilla-daemon
@ 2022-09-17 18:47 ` bugzilla-daemon
  2022-09-17 18:48 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-09-17 18:47 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216498

--- Comment #1 from Dmitry Nezhevenko (dion@inhex.net) ---
Created attachment 301821
  --> https://bugzilla.kernel.org/attachment.cgi?id=301821&action=edit
5.18 dmesg after starting qemu with GVT-g

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 216498] Can't load kvmgt anymore (works with 5.18)
  2022-09-17 18:46 [Bug 216498] New: Can't load kvmgt anymore (works with 5.18) bugzilla-daemon
  2022-09-17 18:47 ` [Bug 216498] " bugzilla-daemon
@ 2022-09-17 18:48 ` bugzilla-daemon
  2022-09-19 11:04 ` bugzilla-daemon
  2022-09-20 15:00 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-09-17 18:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216498

Dmitry Nezhevenko (dion@inhex.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Regression|No                          |Yes

--- Comment #2 from Dmitry Nezhevenko (dion@inhex.net) ---
[   92.987534] ------------[ cut here ]------------
[   92.987538] assign a handler to a non-tracked mmio 4ab8
[   92.987555] WARNING: CPU: 0 PID: 3660 at
drivers/gpu/drm/i915/gvt/handlers.c:124 setup_mmio_info.constprop.0+0xd5/0x100
[kvmgt]
[   92.987586] Modules linked in: kvmgt(+) vfio_iommu_type1 vfio mdev ctr ccm
z3fold lz4 lz4_compress snd_seq_dummy snd_hrtimer snd_seq snd_seq_device
xt_TCPMSS xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT xt_tcpudp
nft_compat nf_nat_tftp nf_conntrack_netbios_ns nf_conntrack_broadcast
nft_objref wireguard curve25519_x86_64 libchacha20poly1305 bridge chacha_x86_64
poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel stp
llc nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib rfcomm
cmac algif_hash nft_reject_inet nf_reject_ipv4 algif_skcipher nf_reject_ipv6
af_alg nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 ip_set nf_tables nfnetlink qrtr uinput bnep snd_ctl_led
snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi
snd_sof_probes sunrpc binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek
nls_ascii nls_cp437 snd_hda_codec_generic vfat snd_soc_dmic ledtrig_audio fat
snd_sof_pci_intel_cnl
[   92.987660]  snd_sof_intel_hda_common soundwire_intel
soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci
snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core ext4
snd_soc_acpi_intel_match snd_soc_acpi mbcache joydev snd_soc_core jbd2
snd_compress btusb x86_pkg_temp_thermal intel_powerclamp soundwire_bus coretemp
btrtl hid_multitouch btbcm snd_hda_intel iTCO_wdt intel_pmc_bxt ee1004 btintel
iTCO_vendor_support mei_wdt hid_generic iwlmvm kvm_intel snd_intel_dspcfg btmtk
watchdog mei_hdcp intel_rapl_msr snd_intel_sdw_acpi bluetooth mac80211
snd_hda_codec kvm libarc4 snd_hda_core snd_hwdep jitterentropy_rng irqbypass
snd_pcm iwlwifi uvcvideo crc32_pclmul sha512_ssse3 videobuf2_vmalloc
sha512_generic snd_timer videobuf2_memops videobuf2_v4l2
processor_thermal_device_pci_legacy snd processor_thermal_device
videobuf2_common ghash_clmulni_intel i2c_i801 drbg processor_thermal_rfim
hp_wmi rapl intel_cstate intel_uncore efi_pstore platform_profile
[   92.987731]  wmi_bmof soundcore i2c_smbus videodev ansi_cprng mei_me
processor_thermal_mbox ucsi_acpi processor_thermal_rapl intel_rapl_common
typec_ucsi ecdh_generic intel_lpss_pci cfg80211 mei int3403_thermal
soc_button_array ecc roles int340x_thermal_zone intel_lpss mc i2c_hid_acpi
crc16 rfkill idma64 intel_pch_thermal typec intel_soc_dts_iosf battery i2c_hid
int3400_thermal acpi_thermal_rel intel_hid intel_pmc_core ac sparse_keymap
acpi_pad button msr i2c_dev parport_pc ppdev lp parport fuse configfs ip_tables
x_tables autofs4 dm_crypt dm_mod efivarfs raid10 raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx raid1 raid0 multipath linear md_mod
r8152 mii btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq
zstd_compress usbhid hid uas usb_storage scsi_mod scsi_common i915 i2c_algo_bit
drm_buddy crc32c_intel drm_display_helper nvme nvme_core drm_kms_helper t10_pi
cec aesni_intel rc_core ttm xhci_pci crc64_rocksoft crc64 crc_t10dif
intel_wmi_thunderbolt xhci_hcd
[   92.987819]  crypto_simd drm evdev crct10dif_generic thunderbolt
crct10dif_pclmul cryptd serio_raw usbcore crct10dif_common usb_common wmi video
[   92.987832] CPU: 0 PID: 3660 Comm: modprobe Tainted: G     U           
5.19.0-1-amd64 #1  Debian 5.19.6-1
[   92.987836] Hardware name: HP HP EliteBook 850 G7 Notebook PC/8724, BIOS S73
Ver. 01.09.00 04/07/2022
[   92.987838] RIP: 0010:setup_mmio_info.constprop.0+0xd5/0x100 [kvmgt]
[   92.987863] Code: ef e4 e6 dd 78 39 f5 77 a2 31 c0 48 83 c4 08 5b 5d 41 5c
41 5d 41 5e 41 5f c3 cc cc cc cc 48 c7 c7 a0 c9 8c c1 e8 ef 25 2c c1 <0f> 0b 48
83 c4 08 b8 ed ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3
[   92.987865] RSP: 0018:ffffb801c467fca8 EFLAGS: 00010286
[   92.987868] RAX: 0000000000000000 RBX: ffff8e94a7a88000 RCX:
0000000000000000
[   92.987870] RDX: 0000000000000001 RSI: ffffffff8336ed69 RDI:
00000000ffffffff
[   92.987873] RBP: 0000000000004abc R08: 0000000000000000 R09:
00000000ffffefff
[   92.987874] R10: ffffb801c467fb48 R11: ffffffff83ad1f08 R12:
0000000000000000
[   92.987876] R13: 0000000000000000 R14: 0000000000000008 R15:
0000000000000000
[   92.987878] FS:  00007fed010be440(0000) GS:ffff8e99ffe00000(0000)
knlGS:0000000000000000
[   92.987881] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.987883] CR2: 000055dd95eb9030 CR3: 000000035e690004 CR4:
00000000003706f0
[   92.987885] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   92.987886] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   92.987888] Call Trace:
[   92.987891]  <TASK>
[   92.987894]  ? bxt_gt_disp_pwron_write+0x70/0x70 [kvmgt]
[   92.987913]  init_skl_mmio_info+0x153a/0x15b0 [kvmgt]
[   92.987926]  intel_gvt_setup_mmio_info+0x316f/0x3560 [kvmgt]
[   92.987936]  ? gen9_dbuf_ctl_mmio_write+0x40/0x40 [kvmgt]
[   92.987946]  intel_gvt_init_device+0x10a/0x3f0 [kvmgt]
[   92.987958]  intel_gvt_init_device.part.0+0xe7/0x1c0 [i915]
[   92.988058]  ? intel_vgt_balloon+0x230/0x230 [i915]
[   92.988124]  ? 0xffffffffc18f7000
[   92.988127]  intel_gvt_set_ops+0x7f/0xb0 [i915]
[   92.988187]  kvmgt_init+0x13/0x1000 [kvmgt]
[   92.988200]  do_one_initcall+0x41/0x200
[   92.988204]  ? kmem_cache_alloc_trace+0x177/0x2a0
[   92.988208]  do_init_module+0x4c/0x200
[   92.988211]  __do_sys_finit_module+0xb4/0x130
[   92.988214]  do_syscall_64+0x38/0xc0
[   92.988217]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[   92.988220] RIP: 0033:0x7fed011c6ee9
[   92.988222] Code: 08 44 89 e0 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d f7 ee 0e 00 f7 d8 64 89 01 48
[   92.988223] RSP: 002b:00007ffe5d5bb848 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[   92.988225] RAX: ffffffffffffffda RBX: 000055ea7aa730b0 RCX:
00007fed011c6ee9
[   92.988226] RDX: 0000000000000000 RSI: 000055ea799924d0 RDI:
0000000000000005
[   92.988227] RBP: 000055ea799924d0 R08: 0000000000000000 R09:
000055ea7aa77760
[   92.988228] R10: 0000000000000005 R11: 0000000000000246 R12:
0000000000040000
[   92.988229] R13: 0000000000000000 R14: 000055ea7aa731e0 R15:
0000000000000000
[   92.988231]  </TASK>
[   92.988232] ---[ end trace 0000000000000000 ]---

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 216498] Can't load kvmgt anymore (works with 5.18)
  2022-09-17 18:46 [Bug 216498] New: Can't load kvmgt anymore (works with 5.18) bugzilla-daemon
  2022-09-17 18:47 ` [Bug 216498] " bugzilla-daemon
  2022-09-17 18:48 ` bugzilla-daemon
@ 2022-09-19 11:04 ` bugzilla-daemon
  2022-09-20 15:00 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-09-19 11:04 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216498

The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |regressions@leemhuis.info

--- Comment #3 from The Linux kernel's regression tracker (Thorsten Leemhuis) (regressions@leemhuis.info) ---
Does this still happen with the latest 5.19.y version? There was a fix recently
that might help:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.19.y&id=2914e46f5b0399279ad56e3c0247a2da72fa0f21

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 216498] Can't load kvmgt anymore (works with 5.18)
  2022-09-17 18:46 [Bug 216498] New: Can't load kvmgt anymore (works with 5.18) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2022-09-19 11:04 ` bugzilla-daemon
@ 2022-09-20 15:00 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-09-20 15:00 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216498

Dmitry Nezhevenko (dion@inhex.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #4 from Dmitry Nezhevenko (dion@inhex.net) ---
This patch fixes it for me. Sorry for not checking latest 5.19.y before
reporting.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-20 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17 18:46 [Bug 216498] New: Can't load kvmgt anymore (works with 5.18) bugzilla-daemon
2022-09-17 18:47 ` [Bug 216498] " bugzilla-daemon
2022-09-17 18:48 ` bugzilla-daemon
2022-09-19 11:04 ` bugzilla-daemon
2022-09-20 15:00 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).