答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-08-18 Thread TimGuo-oc
> -Original Mail- > Sender : Alan Stern > Time : 2020/7/24 0:39 > Receiver : Alex Williamson > CC : Weitao Wang(BJ-RD) ; Greg KH > ; WeitaoWang-oc > ; mathias.ny...@linux.intel.com; > ulf.hans...@linaro.org; vk...@kernel.org; hsleste...@gmail.com; > linux-...@vger.kernel.org; linux-kerne

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-27 Thread WeitaoWang-oc
On Fri, 24 Jul 2020 19:17:49 + Alex wrote: > On Fri, 24 Jul 2020 12:57:49 + > WeitaoWang-oc wrote: > > > On Thu, 23 Jul 2020 12:38:21 -0400, Alan wrote: > > > On Thu, Jul 23, 2020 at 10:17:35AM -0600, Alex Williamson wrote: > > > > The IOMMU grouping restriction does solve the hardware i

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-24 Thread WeitaoWang-oc
On Thu, 23 Jul 2020 12:38:21 -0400, Alan wrote: > On Thu, Jul 23, 2020 at 10:17:35AM -0600, Alex Williamson wrote: > > The IOMMU grouping restriction does solve the hardware issue, so long > > as one driver doesn't blindly assume the driver private data for > > another device and modify it. > > C

Re: 答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-23 Thread gre...@linuxfoundation.org
On Thu, Jul 23, 2020 at 08:36:25AM +, WeitaoWang-oc wrote: > > On Thu,23 July 2020 04:18:00 + Alex wrote: > > On Wed, 22 Jul 2020 19:57:48 +0800 > > WeitaoWangoc wrote: > > > > > drivers/usb/core/hcd-pci.c | 5 + > > > 1 file changed, 5 insertions(+) > > > > > > diff --git a/drivers

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-23 Thread WeitaoWang-oc
On Thu,23 July 2020 04:18:00 + Alex wrote: > On Wed, 22 Jul 2020 19:57:48 +0800 > WeitaoWangoc wrote: > > > drivers/usb/core/hcd-pci.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c > > index 1547aa6..484f2a0 10064

Re: 答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-22 Thread Greg KH
On Thu, Jul 23, 2020 at 02:59:55AM +, Weitao Wang(BJ-RD) wrote: > CONFIDENTIAL NOTE: > This email contains confidential or legally privileged information and is for > the sole use of its intended recipient. Any unauthorized review, use, copying > or forwarding of this email or the content of

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-22 Thread Weitao Wang(BJ-RD)
On , Jul 22, 2020 at 02:44:14PM +0200, Alan wrote: > On Wed, Jul 22, 2020 at 02:44:14PM +0200, Greg KH wrote: > > On Wed, Jul 22, 2020 at 07:57:48PM +0800, WeitaoWangoc wrote: > > > This bug is found in Zhaoxin platform, but it's a commom code bug. > > > Fail sequence: > > > step1: Unbind UHCI con

答复: [PATCH] USB:Fix kernel NULL pointer when unbind UHCI form vfio-pci

2020-07-22 Thread Weitao Wang(BJ-RD)
   On Wed, Jul 22, 2020 at 02:44:14PM +0200, Greg KH wrote: > On Wed, Jul 22, 2020 at 07:57:48PM +0800, WeitaoWangoc wrote: > > This bug is found in Zhaoxin platform, but it's a commom code bug. > > Fail sequence: > > step1: Unbind UHCI controller from native driver; > > step2: Bind UHCI controller