Bug 215862 - Zynq/Zedboard USB driver can panic if it has trouble initializing phy.
Summary: Zynq/Zedboard USB driver can panic if it has trouble initializing phy.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: Oleksandr Tymoshenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-07 20:38 UTC by Thomas Skibo
Modified: 2017-01-17 00:58 UTC (History)
2 users (show)

See Also:


Attachments
patch (670 bytes, text/plain)
2017-01-07 20:38 UTC, Thomas Skibo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Skibo 2017-01-07 20:38:32 UTC
Created attachment 178608 [details]
patch

The Zedboard has a hardware bug where initialization of the USB PHY occasionally fails on boot-up.  In 11-RELEASE, the driver would gracefully detach if the error occurred but in -CURRENT it panics.

I've attached a fix.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-17 00:39:52 UTC
A commit references this bug:

Author: gonzo
Date: Tue Jan 17 00:39:09 UTC 2017
New revision: 312316
URL: https://svnweb.freebsd.org/changeset/base/312316

Log:
  [zynq] Fix panic on USB PHY initialization failure

  The Zedboard has a hardware bug where initialization of the USB PHY
  occasionally fails on boot-up. Fix regression in -CURRENT when
  kernel panics on such occasion. 11-RELEASE branch works fine

  PR:		215862
  Submitted by:	Thomas Skibo <thoma555-bsd@yahoo.com>

Changes:
  head/sys/arm/xilinx/zy7_ehci.c