[haiku-bugs] Re: [Haiku] #12929: [XHCI] crash in _LinkDescriptorForPipe()

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 18 Feb 2019 16:24:43 -0000

#12929: [XHCI] crash in _LinkDescriptorForPipe()
--------------------------------+----------------------------------------
   Reporter:  diver             |      Owner:  nobody
       Type:  bug               |     Status:  assigned
   Priority:  normal            |  Milestone:  R1/beta2
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  12915, 12951, 13912, 14798
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------------------

Comment (by waddlesplash):

SubmitControlRequest() could at least check _LinkDescriptorForPipe()
 return value and exit, instead of calling Ring() and returning B_OK.

 Except the page fault occurs inside _LinkDescriptorForPipe, so I'm not
 sure what difference that will make?

 I'll commit that change and the trbCount one, though.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12929#comment:17>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: