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]

 



>> 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.

Or perhaps better to call vfio_pci_memory_lock_and_enable(). I'll make the change
and send out the next version.





[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