* tegra on 3.11
@ 2013-08-20 15:04 Kyle McMartin
[not found] ` <20130820150418.GI27560-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Kyle McMartin @ 2013-08-20 15:04 UTC (permalink / raw)
To: swarren-DDmLM1+adcrQT0dZR+AlfA
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
mperttunen-DDmLM1+adcrQT0dZR+AlfA
Hey guys,
Just a quick note, I needed to pull in the patch from
http://marc.info/?l=linux-tegra&m=137404750420372&w=2 in order to get
trimslice booting from its internal SATA when using dtb to boot.
--Kyle
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <20130820150418.GI27560-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <20130820150418.GI27560-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org> @ 2013-08-20 19:18 ` Stephen Warren [not found] ` <5213C0F2.9060909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> [not found] ` <20130827213445.GI8764@redacted.bos.redhat.com> 0 siblings, 2 replies; 8+ messages in thread From: Stephen Warren @ 2013-08-20 19:18 UTC (permalink / raw) To: Kyle McMartin Cc: swarren-DDmLM1+adcrQT0dZR+AlfA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, mperttunen-DDmLM1+adcrQT0dZR+AlfA On 08/20/2013 09:04 AM, Kyle McMartin wrote: > Hey guys, > > Just a quick note, I needed to pull in the patch from > http://marc.info/?l=linux-tegra&m=137404750420372&w=2 in order to get > trimslice booting from its internal SATA when using dtb to boot. Oh dear, I can reproduce this. It looks like I didn't notice this since I was probably testing linux-next with Mikko's patches applied on top in my local branch:-( If that patch gets applied to v3.11, then it'll cause nasty merge conflicts with Mikko's other USB-related patches when v3.12 comes around. Plus, the patch is rather large for this late stage in the v3.11-rc series. I think the best way is to add regulator-always-on, regulator-boot-on properties to the relevant VBUS regulators. I'll try sending a patch for that... ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <5213C0F2.9060909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <5213C0F2.9060909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-08-20 20:50 ` Kyle McMartin 0 siblings, 0 replies; 8+ messages in thread From: Kyle McMartin @ 2013-08-20 20:50 UTC (permalink / raw) To: Stephen Warren Cc: swarren-DDmLM1+adcrQT0dZR+AlfA, linux-tegra-u79uwXL29TY76Z2rM5mHXA, mperttunen-DDmLM1+adcrQT0dZR+AlfA On Tue, Aug 20, 2013 at 01:18:10PM -0600, Stephen Warren wrote: > On 08/20/2013 09:04 AM, Kyle McMartin wrote: > > Hey guys, > > > > Just a quick note, I needed to pull in the patch from > > http://marc.info/?l=linux-tegra&m=137404750420372&w=2 in order to get > > trimslice booting from its internal SATA when using dtb to boot. > > Oh dear, I can reproduce this. It looks like I didn't notice this since > I was probably testing linux-next with Mikko's patches applied on top in > my local branch:-( > > If that patch gets applied to v3.11, then it'll cause nasty merge > conflicts with Mikko's other USB-related patches when v3.12 comes > around. Plus, the patch is rather large for this late stage in the > v3.11-rc series. I think the best way is to add regulator-always-on, > regulator-boot-on properties to the relevant VBUS regulators. I'll try > sending a patch for that... Thanks, we've hit another issue in Fedora where that may or may not be the kernel (life on the bleeding edge, sigh.) but I'll re-build a known working kernel with your patch instead of the backport and let you know if it works for us. regards, Kyle ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20130827213445.GI8764@redacted.bos.redhat.com>]
[parent not found: <521D1D7F.7060006@wwwdotorg.org>]
[parent not found: <521D1D7F.7060006-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <521D1D7F.7060006-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-09-04 18:38 ` Kyle McMartin [not found] ` <20130904183815.GC16338-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Kyle McMartin @ 2013-09-04 18:38 UTC (permalink / raw) To: Stephen Warren; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA > > [ 29.198018] PCI: enabling device 0000:01:00.0 (0140 -> 0143) > > [ 29.198180] Unhandled fault: imprecise external abort (0x406) at > > 0xb6f49000 > > [ 29.205136] Internal error: : 406 [#1] SMP ARM > > > > looks to be the first time we touch the HW in rtl_init_one. > > > > Seen anything similar, or should I start debugging further? > > PCIe isn't expected to work usefully until 3.12, unless you've manually > merged in Thierry's Tegra PCIe driver rewrite. It's probably worth > disabling it in your .config file. fwiw, the problem was CONFIG_PCIEPORTBUS in our config, I've not had a chance to track down what the issue actually is, but that driver busted things in 3.11. regards, Kyle ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20130904183815.GC16338-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <20130904183815.GC16338-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org> @ 2013-09-05 21:14 ` Stephen Warren [not found] ` <5228F42F.50904-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 2013-12-03 10:30 ` Thierry Reding 1 sibling, 1 reply; 8+ messages in thread From: Stephen Warren @ 2013-09-05 21:14 UTC (permalink / raw) To: Kyle McMartin; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA On 09/04/2013 12:38 PM, Kyle McMartin wrote: >>> [ 29.198018] PCI: enabling device 0000:01:00.0 (0140 -> 0143) >>> [ 29.198180] Unhandled fault: imprecise external abort (0x406) at >>> 0xb6f49000 >>> [ 29.205136] Internal error: : 406 [#1] SMP ARM >>> >>> looks to be the first time we touch the HW in rtl_init_one. >>> >>> Seen anything similar, or should I start debugging further? >> >> PCIe isn't expected to work usefully until 3.12, unless you've manually >> merged in Thierry's Tegra PCIe driver rewrite. It's probably worth >> disabling it in your .config file. > > fwiw, the problem was CONFIG_PCIEPORTBUS in our config, I've not had > a chance to track down what the issue actually is, but that driver > busted things in 3.11. Ah, I guess if you build the R8169 driver as a module, and disable CONFIG_CPU_IDLE, then it will work fine on TrimSlice in v3.11. I have reproduced the issue you see with CONFIG_PCIEPORTBUS in v3.11. So, at least it isn't an isolated incident. That said, I don't intend to look into it since there's an easy workaround, and ... The good news is that in v3.12 with the new PCIe driver, (a) You don't need to build R8169 as a module; built-in will work fine. (b) You don't need to disable CPUIDLE; the code disables the problematic idle state automatically iff a PCIe device is detected. (c) CONFIG_PCIEPORTBUS is enabled in tegra_defconfig, and everything still works fine. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <5228F42F.50904-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <5228F42F.50904-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-09-05 21:43 ` Kyle McMartin 0 siblings, 0 replies; 8+ messages in thread From: Kyle McMartin @ 2013-09-05 21:43 UTC (permalink / raw) To: Stephen Warren; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA On Thu, Sep 05, 2013 at 03:14:23PM -0600, Stephen Warren wrote: > Ah, I guess if you build the R8169 driver as a module, and disable > CONFIG_CPU_IDLE, then it will work fine on TrimSlice in v3.11. > > I have reproduced the issue you see with CONFIG_PCIEPORTBUS in v3.11. > So, at least it isn't an isolated incident. That said, I don't intend to > look into it since there's an easy workaround, and ... > > The good news is that in v3.12 with the new PCIe driver, > > (a) You don't need to build R8169 as a module; built-in will work fine. > > (b) You don't need to disable CPUIDLE; the code disables the problematic > idle state automatically iff a PCIe device is detected. > > (c) CONFIG_PCIEPORTBUS is enabled in tegra_defconfig, and everything > still works fine. > Awesome. Thanks very much Stephen, I'll make those changes to our 3.12 snapshots. --Kyle ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tegra on 3.11 [not found] ` <20130904183815.GC16338-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org> 2013-09-05 21:14 ` Stephen Warren @ 2013-12-03 10:30 ` Thierry Reding [not found] ` <20131203103043.GI21178-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org> 1 sibling, 1 reply; 8+ messages in thread From: Thierry Reding @ 2013-12-03 10:30 UTC (permalink / raw) To: Kyle McMartin; +Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 980 bytes --] On Wed, Sep 04, 2013 at 02:38:15PM -0400, Kyle McMartin wrote: > > > [ 29.198018] PCI: enabling device 0000:01:00.0 (0140 -> 0143) > > > [ 29.198180] Unhandled fault: imprecise external abort (0x406) at > > > 0xb6f49000 > > > [ 29.205136] Internal error: : 406 [#1] SMP ARM > > > > > > looks to be the first time we touch the HW in rtl_init_one. > > > > > > Seen anything similar, or should I start debugging further? > > > > PCIe isn't expected to work usefully until 3.12, unless you've manually > > merged in Thierry's Tegra PCIe driver rewrite. It's probably worth > > disabling it in your .config file. > > fwiw, the problem was CONFIG_PCIEPORTBUS in our config, I've not had > a chance to track down what the issue actually is, but that driver > busted things in 3.11. I came across another occurrence of this only recently and now stumbled across this old email. Did you by any chance find out what the issue is with PCIEPORTBUS? Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20131203103043.GI21178-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>]
* Re: tegra on 3.11 [not found] ` <20131203103043.GI21178-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org> @ 2013-12-03 16:44 ` Kyle McMartin 0 siblings, 0 replies; 8+ messages in thread From: Kyle McMartin @ 2013-12-03 16:44 UTC (permalink / raw) To: Thierry Reding; +Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA On Tue, Dec 03, 2013 at 11:30:45AM +0100, Thierry Reding wrote: > On Wed, Sep 04, 2013 at 02:38:15PM -0400, Kyle McMartin wrote: > > > > [ 29.198018] PCI: enabling device 0000:01:00.0 (0140 -> 0143) > > > > [ 29.198180] Unhandled fault: imprecise external abort (0x406) at > > > > 0xb6f49000 > > > > [ 29.205136] Internal error: : 406 [#1] SMP ARM > > > > > > > > looks to be the first time we touch the HW in rtl_init_one. > > > > > > > > Seen anything similar, or should I start debugging further? > > > > > > PCIe isn't expected to work usefully until 3.12, unless you've manually > > > merged in Thierry's Tegra PCIe driver rewrite. It's probably worth > > > disabling it in your .config file. > > > > fwiw, the problem was CONFIG_PCIEPORTBUS in our config, I've not had > > a chance to track down what the issue actually is, but that driver > > busted things in 3.11. > > I came across another occurrence of this only recently and now stumbled > across this old email. Did you by any chance find out what the issue is > with PCIEPORTBUS? > I think I did -- let me try to dig through my notes next time I'm in the office and I'll follow up later this week. Thanks! Kyle ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-12-03 16:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 15:04 tegra on 3.11 Kyle McMartin
[not found] ` <20130820150418.GI27560-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org>
2013-08-20 19:18 ` Stephen Warren
[not found] ` <5213C0F2.9060909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-08-20 20:50 ` Kyle McMartin
[not found] ` <20130827213445.GI8764@redacted.bos.redhat.com>
[not found] ` <521D1D7F.7060006@wwwdotorg.org>
[not found] ` <521D1D7F.7060006-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-04 18:38 ` Kyle McMartin
[not found] ` <20130904183815.GC16338-nxOev/eQj6CGu0OVIAPS5KfLeoKvNuZc@public.gmane.org>
2013-09-05 21:14 ` Stephen Warren
[not found] ` <5228F42F.50904-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-05 21:43 ` Kyle McMartin
2013-12-03 10:30 ` Thierry Reding
[not found] ` <20131203103043.GI21178-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-12-03 16:44 ` Kyle McMartin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox