Hi,

I'm running kernel 4.11-rc1 on VMWare Workstation 12 Pro (Host : windows 10, 
Guest : Fedora 25).


I got kernel warning with latest kernel.

According to git bisect, first bad commit is 
[3bb434cdcc6af3d4e70ba041e6f596e465d11e14] vmw_vmci: switch to 
pci_irq_alloc_vectors.
Reverting the commit removes the warning I see.

Here is the kernel warning ;


[    2.255007] vmw_vmci 0000:00:07.7: Found VMCI PCI device at 0x11080, irq 16
[    2.255042] vmw_vmci 0000:00:07.7: Using capabilities 0xc
[    2.255076] ------------[ cut here ]------------
[    2.255083] WARNING: CPU: 6 PID: 1 at drivers/pci/msi.c:966 
__pci_enable_msix+0x475/0x4d0
[    2.255084] Modules linked in:
[    2.255087] CPU: 6 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc1+ #227
[    2.255088] Hardware name: VMware, Inc. VMware Virtual Platform/440BX 
Desktop Reference Platform, BIOS 6.00 07/02/2015
[    2.255089] Call Trace:
[    2.255094]  dump_stack+0x58/0x73
[    2.255097]  __warn+0xea/0x110
[    2.255100]  ? __pci_enable_msix+0x475/0x4d0
[    2.255103]  warn_slowpath_null+0x2a/0x30
[    2.255105]  __pci_enable_msix+0x475/0x4d0
[    2.255109]  pci_alloc_irq_vectors_affinity+0xcc/0x170
[    2.255112]  vmci_guest_probe_device+0x4e8/0x7a0
[    2.255115]  ? refcount_inc+0xb/0x40
[    2.255118]  pci_device_probe+0x83/0x100
[    2.255120]  ? devices_kset_move_last+0x57/0xc0
[    2.255122]  ? sysfs_create_link+0x25/0x50
[    2.255125]  driver_probe_device+0x291/0x470
[    2.255127]  ? pci_match_device+0xde/0x100
[    2.255129]  __driver_attach+0xe9/0xf0
[    2.255130]  ? refcount_dec_and_test+0xf/0x20
[    2.255133]  ? klist_next+0x63/0xd0
[    2.255135]  ? driver_probe_device+0x470/0x470
[    2.255138]  bus_for_each_dev+0x57/0xa0
[    2.255140]  driver_attach+0x1e/0x20
[    2.255141]  ? driver_probe_device+0x470/0x470
[    2.255143]  bus_add_driver+0x17f/0x270
[    2.255145]  driver_register+0x5d/0xf0
[    2.255148]  ? vmballoon_init+0x151/0x151
[    2.255150]  __pci_register_driver+0x33/0x40
[    2.255152]  vmci_guest_init+0x14/0x16
[    2.255154]  vmci_drv_init+0x31/0xbf
[    2.255155]  do_one_initcall+0x46/0x1a0
[    2.255157]  ? repair_env_string+0x12/0x54
[    2.255160]  ? parse_args+0x2c1/0x580
[    2.255162]  kernel_init_freeable+0x143/0x1c1
[    2.255164]  ? rest_init+0x70/0x70
[    2.255166]  kernel_init+0x10/0x100
[    2.255167]  ? schedule_tail+0x11/0x50
[    2.255169]  ? rest_init+0x70/0x70
[    2.255172]  ret_from_fork+0x21/0x2c
[    2.255177] ---[ end trace a1a119af829507de ]---
[    2.255211] ------------[ cut here ]------------
[    2.255216] WARNING: CPU: 6 PID: 1 at drivers/pci/msi.c:966 
__pci_enable_msix+0x475/0x4d0
[    2.255217] Modules linked in:
[    2.255219] CPU: 6 PID: 1 Comm: swapper/0 Tainted: G        W       
4.11.0-rc1+ #227
[    2.255221] Hardware name: VMware, Inc. VMware Virtual Platform/440BX 
Desktop Reference Platform, BIOS 6.00 07/02/2015
[    2.255221] Call Trace:
[    2.255224]  dump_stack+0x58/0x73
[    2.255226]  __warn+0xea/0x110
[    2.255228]  ? __pci_enable_msix+0x475/0x4d0
[    2.255229]  warn_slowpath_null+0x2a/0x30
[    2.255231]  __pci_enable_msix+0x475/0x4d0
[    2.255234]  pci_alloc_irq_vectors_affinity+0xcc/0x170
[    2.255237]  vmci_guest_probe_device+0x4e8/0x7a0
[    2.255238]  ? refcount_inc+0xb/0x40
[    2.255241]  pci_device_probe+0x83/0x100
[    2.255243]  ? devices_kset_move_last+0x57/0xc0
[    2.255244]  ? sysfs_create_link+0x25/0x50
[    2.255247]  driver_probe_device+0x291/0x470
[    2.255249]  ? pci_match_device+0xde/0x100
[    2.255251]  __driver_attach+0xe9/0xf0
[    2.255252]  ? refcount_dec_and_test+0xf/0x20
[    2.255254]  ? klist_next+0x63/0xd0
[    2.255256]  ? driver_probe_device+0x470/0x470
[    2.255258]  bus_for_each_dev+0x57/0xa0
[    2.255259]  driver_attach+0x1e/0x20
[    2.255261]  ? driver_probe_device+0x470/0x470
[    2.255263]  bus_add_driver+0x17f/0x270
[    2.255266]  driver_register+0x5d/0xf0
[    2.255268]  ? vmballoon_init+0x151/0x151
[    2.255271]  __pci_register_driver+0x33/0x40
[    2.255273]  vmci_guest_init+0x14/0x16
[    2.255275]  vmci_drv_init+0x31/0xbf
[    2.255277]  do_one_initcall+0x46/0x1a0
[    2.255279]  ? repair_env_string+0x12/0x54
[    2.255281]  ? parse_args+0x2c1/0x580
[    2.255283]  kernel_init_freeable+0x143/0x1c1
[    2.255285]  ? rest_init+0x70/0x70
[    2.255287]  kernel_init+0x10/0x100
[    2.255288]  ? schedule_tail+0x11/0x50
[    2.255290]  ? rest_init+0x70/0x70
[    2.255291]  ret_from_fork+0x21/0x2c
[    2.255293] ---[ end trace a1a119af829507df ]---
[    2.255327] vmw_vmci 0000:00:07.7: Driver probe function unexpectedly 
returned 2
[    2.255348] Guest personality initialized and is inactive
[    2.255399] VMCI host device registered (name=vmci, major=10, minor=61)
[    2.255400] Initialized host personality

Reply via email to