All of lore.kernel.org
 help / color / mirror / Atom feed
* Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) - Hardware error in PCI passthrough
@ 2018-03-22  1:43 Mohamed Khalfella
  2018-03-28 20:09 ` Luca Coelho
  0 siblings, 1 reply; 2+ messages in thread
From: Mohamed Khalfella @ 2018-03-22  1:43 UTC (permalink / raw)
  To: linux-wireless

Hi,

I am working in pci passthrough for qemu under SmartOS. My test
machine is Intel NUC Kit NUC6i3SYH BOXNUC6I3SYH which comes with Intel
Wireless 8260 [8086:24f3]. So far the guest OS recognize the PCI
device and the driver, iwlwifi reports an error when it tries to
initialize the device.

Here is what I see in linux guest console https://pastebin.com/cCzEUgGz.
lspci from the guest OS https://pastebin.com/pPS7c1HT
lspci from the host OS, running the same iso image
https://pastebin.com/xLTpw9fz. Host OS regencies the device perfectly.

I did mmio tracing and here are the results
https://docs.google.com/spreadsheets/d/1GFW1JTA9Q5OVh4CQMYYHSQ378j45nP078juewogBIp0/edit?usp=sharing.
For some reason, which I don't know, the guest gets different result
when it reads register 3C. I don't know why does that happen.

My implementation doesn't present PCI extended capabilities, I am not
sure if this is stopping the device to work or not.

Unfortunately, I don't have the device specification to dig deeper
into the issue. The code I am working on is accessible in upci branch
in

upci driver https://github.com/khalfella/illumos-gate
qemu https://github.com/khalfella/illumos-kvm-cmd

Appreciate any hints or ideas.


Thanks,
Mohamed A. Khalfella

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

* Re: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) - Hardware error in PCI passthrough
  2018-03-22  1:43 Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) - Hardware error in PCI passthrough Mohamed Khalfella
@ 2018-03-28 20:09 ` Luca Coelho
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Coelho @ 2018-03-28 20:09 UTC (permalink / raw)
  To: Mohamed Khalfella, linux-wireless; +Cc: linuxwifi

On Wed, 2018-03-21 at 19:43 -0600, Mohamed Khalfella wrote:
> Hi,

Hi Mohamed,

> I am working in pci passthrough for qemu under SmartOS. My test
> machine is Intel NUC Kit NUC6i3SYH BOXNUC6I3SYH which comes with
> Intel
> Wireless 8260 [8086:24f3]. So far the guest OS recognize the PCI
> device and the driver, iwlwifi reports an error when it tries to
> initialize the device.
> 
> Here is what I see in linux guest console https://pastebin.com/cCzEUg
> Gz.
> lspci from the guest OS https://pastebin.com/pPS7c1HT
> lspci from the host OS, running the same iso image
> https://pastebin.com/xLTpw9fz. Host OS regencies the device
> perfectly.
> 
> I did mmio tracing and here are the results
> https://docs.google.com/spreadsheets/d/1GFW1JTA9Q5OVh4CQMYYHSQ378j45n
> P078juewogBIp0/edit?usp=sharing.
> For some reason, which I don't know, the guest gets different result
> when it reads register 3C. I don't know why does that happen.
> 
> My implementation doesn't present PCI extended capabilities, I am not
> sure if this is stopping the device to work or not.
> 
> Unfortunately, I don't have the device specification to dig deeper
> into the issue. The code I am working on is accessible in upci branch
> in
> 
> upci driver https://github.com/khalfella/illumos-gate
> qemu https://github.com/khalfella/illumos-kvm-cmd
> 
> Appreciate any hints or ideas.

We use PCI passthrough in our test machines extensively, with KVM and
qemu.  It works fine, so this is most likely some issue in the
passthrough configuration you have.  Some of us also use PCI
passthrough with VirtualBox and it works fine as well.

Can you provide more info on how you are configuring the PCI
passthrough on your machine?

--
Cheers,
Luca.

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

end of thread, other threads:[~2018-03-28 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22  1:43 Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) - Hardware error in PCI passthrough Mohamed Khalfella
2018-03-28 20:09 ` Luca Coelho

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.