lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 22 Feb 2013 12:25:47 +0530
From:	Tushar Behera <tushar.behera@...aro.org>
To:	John Stultz <john.stultz@...aro.org>
CC:	Kukjin Kim <kgene.kim@...sung.com>,
	Andrzej Pietrasiewicz <andrzej.p@...sung.com>,
	Sachin Kamat <sachin.kamat@...aro.org>,
	lkml <linux-kernel@...r.kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: Re: Origen board hang with functionfs

On 02/22/2013 12:03 AM, John Stultz wrote:
> On 02/20/2013 06:01 PM, John Stultz wrote:
>> Hey Kukjin, Andrzej,
>>     I recently started playing around with functionfs, and have
>> noticed some strange behavior with my origen board.
>>
>> If I enable the FunctionFS gadget driver, I see the board hang at boot
>> here:
>>
>> [    2.360000] USB Mass Storage support registered.
>> [    2.365000] s3c-hsotg s3c-hsotg: regs f0040000, irq 103
>> [    2.375000] s3c-hsotg s3c-hsotg: EPs:15
>> [    2.380000] s3c-hsotg s3c-hsotg: dedicated fifos
>> [    2.385000] g_ffs: file system registered

I think the issue is because of the USB phy regulators. LDO3 and LDO8
power the phy regulators for OTG and HOST. These regulators are disabled
in OTG probe whereas they are not handled at all in HOST driver. Keeping
these LDOs always active should solve the problem for the time being.

I will follow-up with a patch shortly. But I am not sure if this patch
will be considered for mainline as board patches are not getting
accepted these days.

-- 
Tushar Behera
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ