RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-25 Thread Cheng, Collins
Hi Alex W, I don't need the kernel patch anymore. However it looks the kernel could be improved to handle this more gracefully when PCI resource allocation fail. Do you have a plan to improve it in kernel PCI code? -Collins Cheng -Original Message- From: Cheng, Collins

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-27 Thread Cheng, Collins
:52 PM To: Cheng, Collins Cc: Alexander Duyck ; Bjorn Helgaas ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Deucher, Alexander ; Zytaruk, Kelly ; Yinghai Lu Subject: Re: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform On Fri, 26 May 2017 01:52:35

[PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-11 Thread Cheng, Collins
Hi Helgaas, Some AMD GPUs have hardware support for graphics SR-IOV. If the SR-IOV capable GPU is plugged into the SR-IOV incapable platform. It would cause a problem on PCI resource allocation in current Linux kernel. Therefore in order to allow the PF (Physical Function) device of SR-IOV capabl

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-11 Thread Cheng, Collins
ce will be correctly assigned BAR resource and user can use PF device. -Collins Cheng -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Friday, May 12, 2017 11:21 AM To: Cheng, Collins Cc: Bjorn Helgaas ; linux-...@vger.kernel.org; linux-kernel@vger.

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-11 Thread Cheng, Collins
d trigger some error handler to either just keep original BAR values set by system BIOS, or disable this device and log errors. -Collins Cheng -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Friday, May 12, 2017 12:01 PM To: Cheng, Collins Cc: Bjo

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-15 Thread Cheng, Collins
evice resource. I will send out dmesg log lspci info tomorrow. Thanks. -Collins Cheng -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Friday, May 12, 2017 10:43 PM To: Cheng, Collins Cc: Bjorn Helgaas ; linux-...@vger.kernel.org; linux-k

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-19 Thread Cheng, Collins
be better. My patch is trying to auto detect and bypass VF resource allocation. -Collins Cheng -Original Message- From: Alexander Duyck [mailto:alexander.du...@gmail.com] Sent: Friday, May 19, 2017 11:44 PM To: Alex Williamson Cc: Cheng, Collins ; Bjorn Helgaas ; linux-...@vger.

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-20 Thread Cheng, Collins
ux. -Collins Cheng -Original Message- From: Zytaruk, Kelly Sent: Saturday, May 20, 2017 6:28 PM To: Cheng, Collins ; Alexander Duyck ; Alex Williamson Cc: Bjorn Helgaas ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Deucher, Alexander ; Yinghai Lu Subject: RE: [PATCH] P

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-24 Thread Cheng, Collins
Hi Alex, How do you know "particular this system offers no 64-bit MMIO", from dmesg log? -Collins Cheng -Original Message----- From: Cheng, Collins Sent: Wednesday, May 24, 2017 4:56 PM To: 'Alex Williamson' Cc: Alexander Duyck ; Bjorn Helgaas ; linux-...@vger.kern

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-16 Thread Cheng, Collins
- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Tuesday, May 16, 2017 1:54 AM To: Cheng, Collins Cc: Bjorn Helgaas ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Deucher, Alexander ; Zytaruk, Kelly ; Yinghai Lu Subject: Re: [PATCH] PCI: Make SR-IOV capable GPU