public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* PCI/AER: AER in SRIOV environment
@ 2014-06-23 14:29 Yishai Hadas
       [not found] ` <53A839C6.5050102-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Yishai Hadas @ 2014-06-23 14:29 UTC (permalink / raw)
  To: vijaymohan.pandarathil-VXdhtT5mjnY
  Cc: bhelgaas-hpIqsD4AKlfQT0dZR+AlfA,
	myron.stowe-H+wXaHxf7aLQT0dZR+AlfA,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
	liranl-VPRAkNaXOzVWk0Htik3J/w

Hi Vijay,
Trying to add AER support for Mellanox NIC in SRIOV environment, while 
evaluating/testing encountered a problem which led me to your
patch accepted as part of kernel 3.8, commit ID 
"918b4053184c0ca22236e70e299c5343eea35304".

Have some concerns/questions on:
When working in SRIOV environment VFs may be un-attached, having no 
driver assigned to, or may be attached to Virtual machine to work in 
some pass-through mode.
Once working in KVM setup there is pci-stub driver which is loaded in 
the HYP/PF for a given attached VF.

I'm using the aer-inject kernel module and its corresponding aer-inject 
tool to simulate an error in the HYP.
In both cases your commit will cause the AER recovery to fail as there 
is no driver assigned to PF's VFs that supports AER, comparing the code 
before your change.

How such cases should work ?  my expectation was that the PF will get 
the error detected message then will recognize whether
issue is its own or one of its VFs and work accordingly, in current code 
looks like recovery failed as part of "voting" once there is no AER 
handler assigned to the VFs.

Yishai
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-06-24 17:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 14:29 PCI/AER: AER in SRIOV environment Yishai Hadas
     [not found] ` <53A839C6.5050102-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-06-23 19:09   ` Bjorn Helgaas
2014-06-23 20:12     ` Don Dutile
     [not found]       ` <53A88A32.4010406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-23 22:44         ` Yishai Hadas
2014-06-23 23:17           ` Alex Williamson
     [not found]           ` <53A8ADD5.7030207-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-06-24 14:56             ` Don Dutile
     [not found]               ` <53A9918D.9020607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-24 16:22                 ` Yishai Hadas
2014-06-24 17:38                   ` Alex Williamson
2014-06-23 23:10       ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox