linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* powerpc/usb: machine check when writing to portsc in ehci-fsl
@ 2013-01-30 14:27 Guy Yribarren
  0 siblings, 0 replies; 2+ messages in thread
From: Guy Yribarren @ 2013-01-30 14:27 UTC (permalink / raw)
  To: linuxppc-dev

Currently using kernel 3.7.1 with mpc8315e, I am observing instability
during the usb initialisation. The usb controller is set as a host
controller with internal PHY defined in UTMI mode. This issue appears
sometimes after a warm reset. The kernel hangs and the log buffer =
contents
shows that a machine check exception is detected when execution is =
located
into ehci_fsl_setup_phy function.=20
=20
The latest messages available from the console are:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
/immr@e0000000/usb@23000: Invalid 'dr_mode' property, fallback to host =
mode
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

By adding multiple printk into the ehci-fsl, I found that the issue =
happens
when executing the write to the portsc register nearly at the end of the
function (ehci_writel(ehci, portsc, =
&ehci->regs->port_status[port_offset]);)

This issue appears either with or without external usb devices =
connected.

I didn't find any restrictions to access this register and/or =
explanation
from freescale doc and usb2 & ehci specification.

This issue has been also seen with older kernel release like 2.6.39.=20

Applying a warn reset, then the processor boot correctly and the usb
interface is now fully functional and really stable with intensive
activities.

The processor is based on the latest 1.2 mask revision.=20

Hope that someone has some suggestions about this strange behaviour.=20

Thanks for your help,
Regards

Guy Yribarren
=20
ACTIS Computer - 42 Route de Satigny - CH-1217 Meyrin - Switzerland
Tel +41 (22) 706 1830 - Fax +41 (22) 794 4391
guy.yribarren <at> actis-computer.com

=A0=A0=A0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: powerpc/usb: machine check when writing to portsc in ehci-fsl
@ 2016-05-16 11:52 Fouad KASSI
  0 siblings, 0 replies; 2+ messages in thread
From: Fouad KASSI @ 2016-05-16 11:52 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: 'Fouad KASSI'

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

Hi Guys,

 

I have the same issue on Xerox machine based freescale P1022 board. It hangs
on USB initialization and the machine is dead and not responding at all.

Trying to enable or disable the USB but it ask for password to enter the
prompt command.

During the boot, boot/config/usb1.disable file is not found error is
displayed.

Could you please assist on this issue?

 

Many thanks & Regards, Fouad 

 

--------------------

Fouad KASSI

Analyst Support

X Office Systems

 

13, rue Mélouia, Bd Allal Fassi

20000 – Casablanca

Morocco

 

Mob :   +212 661 98 51 50

Tél    :   +212 522 48 48 48

Fax    :   +212 522 49 20 63

HelpDesk : 080 100 30 35

Skype : fouad.kassi

www.xos.ma

 

 

This email and any attachment is confidential.  This information is intended
to be for the use of the individual(s) named above.  If you are not the
named or intended recipient, please notify the sender immediately and do not
disclose the contents to another person, use it for any purpose, or store or
copy the information in any medium

 


[-- Attachment #2: Type: text/html, Size: 6157 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-16 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-16 11:52 powerpc/usb: machine check when writing to portsc in ehci-fsl Fouad KASSI
  -- strict thread matches above, loose matches on Subject: below --
2013-01-30 14:27 Guy Yribarren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).