Re: [PATCH v3 3/3] vfio/nvgrace-gpu: Check the HBM training and C2C link status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>
>> Ok, yeah. I tried to disable through setpci, and the probe is failing with ETIME.
>> Should we check if disabled and return -EIO for such situation to differentiate
>> from timeout?
>
> No, the driver needs to enable memory on the device around the iomap
> rather than assuming the initial state.  Thanks,
>
> Alex

Ack, thanks for the suggestion.

I'll change nvgrace_gpu_wait_device_ready to read the PCI_COMMAND
through pci_read_config_word before pci_iomap. And if PCI_COMMAND_MEMORY
is not set, update through pci_write_config_word.





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux