* v4.18-rc0: ohci-platform on n900 oops-es on reboot
@ 2018-06-14 19:44 Pavel Machek
2018-06-15 11:39 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2018-06-14 19:44 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
When I enable
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_OMAP3=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
on n900 (I need it on droid4 and want common config), I get oops when
attempting to reboot the system. I believe problem is there in v4.17,
too.
I'll try to build it as a module and debug, but if you have better
idea, let me know...
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180614/2ece3886/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
* v4.18-rc0: ohci-platform on n900 oops-es on reboot
2018-06-14 19:44 v4.18-rc0: ohci-platform on n900 oops-es on reboot Pavel Machek
@ 2018-06-15 11:39 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2018-06-15 11:39 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
> When I enable
>
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_HCD_OMAP3=y
> CONFIG_USB_OHCI_HCD_PLATFORM=y
>
> on n900 (I need it on droid4 and want common config), I get oops when
> attempting to reboot the system. I believe problem is there in v4.17,
> too.
>
> I'll try to build it as a module and debug, but if you have better
> idea, let me know...
It oopses in the ohci_shutdown, see the "oopses here" below.
Any ideas?
Pavel
+ printk(KERN_CRIT "ohci_shutdown... have pointers %lx, %lx\n", hcd, ohci);
ohci_writel(ohci, (u32) ~0, &ohci->regs->intrdisable);
+ printk(KERN_CRIT "ohci_shutdown... disable done\n");
+ udelay(1000);
+ printk(KERN_CRIT "ohci_shutdown... disable done\n");
/* Software reset, after which the controller goes into SUSPEND */
ohci_writel(ohci, OHCI_HCR, &ohci->regs->cmdstatus);
+ printk(KERN_CRIT "ohci_shutdown... writel done\n");
ohci_readl(ohci, &ohci->regs->cmdstatus); /* flush the writes */
+ /* It oopses here */
+ printk(KERN_CRIT "ohci_shutdown... readl done\n");
udelay(10);
+ printk(KERN_CRIT "ohci_shutdown... reset done\n");
ohci_writel(ohci, ohci->fminterval, &ohci->regs->fminterval);
ohci->rh_state = OHCI_RH_HALTED;
+
+ printk(KERN_CRIT "ohci_shutdown... all ok?\n");
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180615/1cb8b88e/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-15 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 19:44 v4.18-rc0: ohci-platform on n900 oops-es on reboot Pavel Machek
2018-06-15 11:39 ` Pavel Machek
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).