All of lore.kernel.org
 help / color / mirror / Atom feed
* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
@ 2010-04-02 17:11 Myhailo Danylenko
  2010-04-02 18:04 ` Larry Finger
  0 siblings, 1 reply; 15+ messages in thread
From: Myhailo Danylenko @ 2010-04-02 17:11 UTC (permalink / raw)
  To: b43-dev

(resending this message, as first one has been lost somewhere)

Hi.

I have a Dell Vostro 1310 notebook with Debian Squeeze on board. It have
a Celeron M540 in it, so, it is definitely not an Atom case, and that's
why I decided to send this message.

My experience with drivers and kernels:
With 2.6.30 and earlier wl worked fine.
With 2.6.32-trunk-? wl worked fine, b43 fired dma errors pretty quickly
after start (working time was from 5 secs to 15-30 mins).
With 2.6.32-3 wl has stopped working. It builds fine and shows no
errors, but does not work. Then I tried b43, and got similar results
to -trunk version.
With 2.6.33-2 from experimental b43 works much better - working period
is usually more than five hours, it happily survives s2ram and s2disk.
Right now I am running 2.6.34-rc2-wl (git snapshot from 28th March), it
works as far as I can tell the same as 2.6.33-2 - at least it already
fired dma errors twice (except that it automatically switches to pio
mode).

PIO mode is unacceptably slow - web-traffic speed is about 300kbps,
and when I'm trying to rsync something from nfs, mounted over wi-fi,
all the system gets slowed down, and 100% of processor time is consumed
by a kernel process irq/19-b43 (as shown by htop).

Can I provide any additional info to help solve this problem?

P.S. I also have access to Lenovo G450 with the same (14e4:4315 rev 01)
wireless card, but that worked fine without any glitches on 2.6.32-3 (to
test I copied 7Gb of traffic - all went fine, and during two days I have
not experienced any errors with it (it is not mine notebook, and it's
owner does not use wi-fi, so, there's no extensive testing for that
matter available).
P.P.S. On 2.6.33 and 2.6.34 I have not tested wl, as there's no debian
infrastructure to build broadcom-sta for that kernel versions yet.

System info:

Bios is A15 (latest version from vendor), IIRC, it is a Phoenix one.

Operating system architecture is 32-bit, although processor, seemingly
should support 64-bit.

Firmware version is 4.178.10.4.

The system have 1Gb of RAM.

tsubasa:~# lspci -nvv -d 14e4:4315
06:00.0 0280: 14e4:4315 (rev 01)
	Subsystem: 1028:000b
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory@f4000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [d0] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr+ BadTLP- BadDLLP- Rollover- Timeout+ NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
	Capabilities: [13c v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [160 v1] Device Serial Number 94-cc-44-ff-ff-ea-00-16
	Capabilities: [16c v1] Power Budgeting <?>
	Kernel driver in use: b43-pci-bridge

tsubasa:~# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 22
model name	: Intel(R) Celeron(R) CPU          540  @ 1.86GHz
stepping	: 1
cpu MHz		: 1861.818
cache size	: 1024 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx lm constant_tsc up arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips	: 3723.63
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

tsubasa:~# dmesg | grep -iE 'broad|b43|wlan'
[    1.533694] b43-pci-bridge 0000:06:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    1.533710] b43-pci-bridge 0000:06:00.0: setting latency timer to 64
[    8.279586] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[    8.455842] Registered led device: b43-phy0::tx
[    8.455858] Registered led device: b43-phy0::rx
[    8.455873] Registered led device: b43-phy0::radio
[    8.455941] Broadcom 43xx driver loaded [ Features: PMLS, Firmware-ID: FW13 ]
[  439.740248] b43 ssb0:0: firmware: requesting b43/ucode15.fw
[  439.774269] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
[  439.780248] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
[  439.928250] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
[  445.449079] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  446.744295] wlan0: authenticate with 00:1d:0f:f5:de:3f (try 1)
[  446.747587] wlan0: authenticated
[  446.747607] wlan0: associate with 00:1d:0f:f5:de:3f (try 1)
[  446.749951] wlan0: RX AssocResp from 00:1d:0f:f5:de:3f (capab=0x421 status=0 aid=8)
[  446.749955] wlan0: associated
[  446.751073] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  457.192023] wlan0: no IPv6 routers present

-- 
??????? ?????????
-------------------------------
jabber:	<isbear@unixzone.org.ua>
icq:    590697790
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20100402/f4881c24/attachment.sig>

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-02 17:11 [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540) Myhailo Danylenko
@ 2010-04-02 18:04 ` Larry Finger
  2010-04-03  9:57   ` Myhailo Danylenko
  0 siblings, 1 reply; 15+ messages in thread
From: Larry Finger @ 2010-04-02 18:04 UTC (permalink / raw)
  To: b43-dev

On 04/02/2010 12:11 PM, Myhailo Danylenko wrote:
> (resending this message, as first one has been lost somewhere)
> 
> Hi.
> 
> I have a Dell Vostro 1310 notebook with Debian Squeeze on board. It have
> a Celeron M540 in it, so, it is definitely not an Atom case, and that's
> why I decided to send this message.
> 
> My experience with drivers and kernels:
> With 2.6.30 and earlier wl worked fine.
> With 2.6.32-trunk-? wl worked fine, b43 fired dma errors pretty quickly
> after start (working time was from 5 secs to 15-30 mins).
> With 2.6.32-3 wl has stopped working. It builds fine and shows no
> errors, but does not work. Then I tried b43, and got similar results
> to -trunk version.

Any difficulties with wl are not our problem. Complain to Broadcom.

> With 2.6.33-2 from experimental b43 works much better - working period
> is usually more than five hours, it happily survives s2ram and s2disk.

Is that with DMA? If so, the margin of error is better on your machine
than on most that have this problem, but you don't have an Atom.

> Right now I am running 2.6.34-rc2-wl (git snapshot from 28th March), it
> works as far as I can tell the same as 2.6.33-2 - at least it already
> fired dma errors twice (except that it automatically switches to pio
> mode).
> 
> PIO mode is unacceptably slow - web-traffic speed is about 300kbps,
> and when I'm trying to rsync something from nfs, mounted over wi-fi,
> all the system gets slowed down, and 100% of processor time is consumed
> by a kernel process irq/19-b43 (as shown by htop).

That is the nature of PIO.

> Can I provide any additional info to help solve this problem?
> 
> P.S. I also have access to Lenovo G450 with the same (14e4:4315 rev 01)
> wireless card, but that worked fine without any glitches on 2.6.32-3 (to
> test I copied 7Gb of traffic - all went fine, and during two days I have
> not experienced any errors with it (it is not mine notebook, and it's
> owner does not use wi-fi, so, there's no extensive testing for that
> matter available).
> P.P.S. On 2.6.33 and 2.6.34 I have not tested wl, as there's no debian
> infrastructure to build broadcom-sta for that kernel versions yet.

As you have probably read, we are aware of the problem but do not have a
fix. I have AMD processors, thus it never happens to my machines. We are
trying to see what differences there are between wl and b43, but so far
nothing has been found.

You would not likely find success even if your distro allowed you to
build wl with 2.6.34. I have built it and find that it panics the kernel.

Larry

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-02 18:04 ` Larry Finger
@ 2010-04-03  9:57   ` Myhailo Danylenko
  2010-04-03 16:03     ` Larry Finger
  0 siblings, 1 reply; 15+ messages in thread
From: Myhailo Danylenko @ 2010-04-03  9:57 UTC (permalink / raw)
  To: b43-dev

Fri, Apr 02, 2010 at 01:04:03PM -0500 ????? Larry Finger ???? ????????:
> Any difficulties with wl are not our problem. Complain to Broadcom.

Yep, I know :)

> Is that with DMA? If so, the margin of error is better on your machine
> than on most that have this problem, but you don't have an Atom.

Yeah, but there's a great improvement between 2.6.32 and 2.6.33 - good
work!

If some testing will be needed - I'll hang around for next three weeks
(maybe afterwards too) (though, in my case it's rather hard to determine
if it works fine or still fails).

Thanks!

-- 
??????? ?????????
-------------------------------
jabber:	<isbear@unixzone.org.ua>
icq:    590697790
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20100403/2e0121b8/attachment.sig>

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03  9:57   ` Myhailo Danylenko
@ 2010-04-03 16:03     ` Larry Finger
  2010-04-03 16:15       ` Gábor Stefanik
  0 siblings, 1 reply; 15+ messages in thread
From: Larry Finger @ 2010-04-03 16:03 UTC (permalink / raw)
  To: b43-dev

On 04/03/2010 04:57 AM, Myhailo Danylenko wrote:
> Fri, Apr 02, 2010 at 01:04:03PM -0500 ????? Larry Finger ???? ????????:
>> Any difficulties with wl are not our problem. Complain to Broadcom.
> 
> Yep, I know :)
> 
>> Is that with DMA? If so, the margin of error is better on your machine
>> than on most that have this problem, but you don't have an Atom.
> 
> Yeah, but there's a great improvement between 2.6.32 and 2.6.33 - good
> work!
> 
> If some testing will be needed - I'll hang around for next three weeks
> (maybe afterwards too) (though, in my case it's rather hard to determine
> if it works fine or still fails).

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03 16:03     ` Larry Finger
@ 2010-04-03 16:15       ` Gábor Stefanik
  2010-04-03 16:15         ` Gábor Stefanik
  0 siblings, 1 reply; 15+ messages in thread
From: Gábor Stefanik @ 2010-04-03 16:15 UTC (permalink / raw)
  To: b43-dev

On Sat, Apr 3, 2010 at 6:03 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
> On 04/03/2010 04:57 AM, Myhailo Danylenko wrote:
>> Fri, Apr 02, 2010 at 01:04:03PM -0500 ????? Larry Finger ???? ????????:
>>> Any difficulties with wl are not our problem. Complain to Broadcom.
>>
>> Yep, I know :)
>>
>>> Is that with DMA? If so, the margin of error is better on your machine
>>> than on most that have this problem, but you don't have an Atom.
>>
>> Yeah, but there's a great improvement between 2.6.32 and 2.6.33 - good
>> work!
>>
>> If some testing will be needed - I'll hang around for next three weeks
>> (maybe afterwards too) (though, in my case it's rather hard to determine
>> if it works fine or still fails).
>
> From what I remember, we changed nothing. There has been recent work on
> the DMA subsystem. Perhaps some of those changes introduced a better
> margin of error for whatever is happening.
>
> Larry

AFAIK my SSB PMU LDO voltage setting patches landed in 2.6.33. As
Michael said before, the PMU cutting power to the device at
inappropriate times can easily cause DMA errors, so any PMU

>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03 16:15       ` Gábor Stefanik
@ 2010-04-03 16:15         ` Gábor Stefanik
  2010-04-03 18:00           ` Michael Buesch
  0 siblings, 1 reply; 15+ messages in thread
From: Gábor Stefanik @ 2010-04-03 16:15 UTC (permalink / raw)
  To: b43-dev

2010/4/3 G?bor Stefanik <netrolller.3d@gmail.com>:
> On Sat, Apr 3, 2010 at 6:03 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
>> On 04/03/2010 04:57 AM, Myhailo Danylenko wrote:
>>> Fri, Apr 02, 2010 at 01:04:03PM -0500 ????? Larry Finger ???? ????????:
>>>> Any difficulties with wl are not our problem. Complain to Broadcom.
>>>
>>> Yep, I know :)
>>>
>>>> Is that with DMA? If so, the margin of error is better on your machine
>>>> than on most that have this problem, but you don't have an Atom.
>>>
>>> Yeah, but there's a great improvement between 2.6.32 and 2.6.33 - good
>>> work!
>>>
>>> If some testing will be needed - I'll hang around for next three weeks
>>> (maybe afterwards too) (though, in my case it's rather hard to determine
>>> if it works fine or still fails).
>>
>> From what I remember, we changed nothing. There has been recent work on
>> the DMA subsystem. Perhaps some of those changes introduced a better
>> margin of error for whatever is happening.
>>
>> Larry
>
> AFAIK my SSB PMU LDO voltage setting patches landed in 2.6.33. As
> Michael said before, the PMU cutting power to the device at
> inappropriate times can easily cause DMA errors, so any PMU

...changes can be considered suspicious. (I'm gonna shoot my mailer now.)

>
>>
>> _______________________________________________
>> b43-dev mailing list
>> b43-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/b43-dev
>>
>
>
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03 16:15         ` Gábor Stefanik
@ 2010-04-03 18:00           ` Michael Buesch
  2010-04-03 22:35             ` Gábor Stefanik
  2010-04-04  4:59             ` Larry Finger
  0 siblings, 2 replies; 15+ messages in thread
From: Michael Buesch @ 2010-04-03 18:00 UTC (permalink / raw)
  To: b43-dev

On Saturday 03 April 2010 18:15:55 G?bor Stefanik wrote:
> > AFAIK my SSB PMU LDO voltage setting patches landed in 2.6.33. As
> > Michael said before, the PMU cutting power to the device at
> > inappropriate times can easily cause DMA errors, so any PMU
> 
> ...changes can be considered suspicious. (I'm gonna shoot my mailer now.)

I think the bug is within the PCI-E core driver.

-- 
Greetings, Michael.

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03 18:00           ` Michael Buesch
@ 2010-04-03 22:35             ` Gábor Stefanik
  2010-04-04  4:59             ` Larry Finger
  1 sibling, 0 replies; 15+ messages in thread
From: Gábor Stefanik @ 2010-04-03 22:35 UTC (permalink / raw)
  To: b43-dev

On Sat, Apr 3, 2010 at 8:00 PM, Michael Buesch <mb@bu3sch.de> wrote:
> On Saturday 03 April 2010 18:15:55 G?bor Stefanik wrote:
>> > AFAIK my SSB PMU LDO voltage setting patches landed in 2.6.33. As
>> > Michael said before, the PMU cutting power to the device at
>> > inappropriate times can easily cause DMA errors, so any PMU
>>
>> ...changes can be considered suspicious. (I'm gonna shoot my mailer now.)
>
> I think the bug is within the PCI-E core driver.
>
> --
> Greetings, Michael.
>

Larry, any news on the PCI-E specs?

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-03 18:00           ` Michael Buesch
  2010-04-03 22:35             ` Gábor Stefanik
@ 2010-04-04  4:59             ` Larry Finger
  2010-04-04  7:03               ` richardvoigt at gmail.com
                                 ` (2 more replies)
  1 sibling, 3 replies; 15+ messages in thread
From: Larry Finger @ 2010-04-04  4:59 UTC (permalink / raw)
  To: b43-dev

On 04/03/2010 01:00 PM, Michael Buesch wrote:
> On Saturday 03 April 2010 18:15:55 G?bor Stefanik wrote:
>>> AFAIK my SSB PMU LDO voltage setting patches landed in 2.6.33. As
>>> Michael said before, the PMU cutting power to the device at
>>> inappropriate times can easily cause DMA errors, so any PMU
>>
>> ...changes can be considered suspicious. (I'm gonna shoot my mailer now.)
> 
> I think the bug is within the PCI-E core driver.

I agree with Michael, and I'm reviewing all the PCI-E initialization
code. So far, I have some differences in the specs as follows:

With the PCI-E core selected, read the contents of MMIO address 0x0800.
Mask that result with 0xF000 and compare the result with (PCI-E core
index) << 12. If the two are not equal, maskset 0x800 with mask 0x0FFF
and set with (PCI-E core index) << 12.

Again with the PCI-E core selected, if the PCI-E core revision is >= 6,
set bit 0x8000 in MMIO register 0x280A.

When running wl on my machine, these changes show up as the contents of
0x0800 going from 0x2801 to 0x3801 and 0x280A going from 0x6FDE to
0xEBDE. On John's Netbook, both values are already at the correct values.

A change that will make a difference is found in ssb_pmu_pll_init(). The
0x4312 case should just do a break. No external routines are called for
this chip.

There is also a new section to be placed near the end of
ssb_pcicore_dev_irqvecs_enable() in the PCI-E branch of the if statement
according to the following:

 If (chip id is 0x4311 AND chip revision is 2) OR chip id is 0x4312
   Maskset SSB_IMCFGLO with mask ~(SSB_IMCFGLO_SERTO |
     SSB_IMCFGLO_REQTO) and set with 3

So far, those are the only differences that I have found.

Larry

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04  4:59             ` Larry Finger
@ 2010-04-04  7:03               ` richardvoigt at gmail.com
  2010-04-04 14:51                 ` Larry Finger
  2010-04-04  8:24               ` Michael Buesch
  2011-04-19 10:18               ` Rafał Miłecki
  2 siblings, 1 reply; 15+ messages in thread
From: richardvoigt at gmail.com @ 2010-04-04  7:03 UTC (permalink / raw)
  To: b43-dev

> Again with the PCI-E core selected, if the PCI-E core revision is >= 6,
> set bit 0x8000 in MMIO register 0x280A.
>
> When running wl on my machine, these changes show up as the contents of
> 0x0800 going from 0x2801 to 0x3801 and 0x280A going from 0x6FDE to
> 0xEBDE. On John's Netbook, both values are already at the correct values.

In your example, bit 0x8000 at 0x280A is set, but bit 0x0400 is also
unset.  Don't know if that's important.

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04  4:59             ` Larry Finger
  2010-04-04  7:03               ` richardvoigt at gmail.com
@ 2010-04-04  8:24               ` Michael Buesch
  2010-04-04 17:15                 ` Larry Finger
  2011-04-19 10:18               ` Rafał Miłecki
  2 siblings, 1 reply; 15+ messages in thread
From: Michael Buesch @ 2010-04-04  8:24 UTC (permalink / raw)
  To: b43-dev

On Sunday 04 April 2010 06:59:25 Larry Finger wrote:
>  If (chip id is 0x4311 AND chip revision is 2) OR chip id is 0x4312
>    Maskset SSB_IMCFGLO with mask ~(SSB_IMCFGLO_SERTO |
>      SSB_IMCFGLO_REQTO) and set with 3

Note that we do the IMCFGLO timeout fixups in b43. So I think the fixup
should be implemented there.

-- 
Greetings, Michael.

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04  7:03               ` richardvoigt at gmail.com
@ 2010-04-04 14:51                 ` Larry Finger
  0 siblings, 0 replies; 15+ messages in thread
From: Larry Finger @ 2010-04-04 14:51 UTC (permalink / raw)
  To: b43-dev

On 04/04/2010 02:03 AM, richardvoigt at gmail.com wrote:
>> Again with the PCI-E core selected, if the PCI-E core revision is >= 6,
>> set bit 0x8000 in MMIO register 0x280A.
>>
>> When running wl on my machine, these changes show up as the contents of
>> 0x0800 going from 0x2801 to 0x3801 and 0x280A going from 0x6FDE to
>> 0xEBDE. On John's Netbook, both values are already at the correct values.
> 
> In your example, bit 0x8000 at 0x280A is set, but bit 0x0400 is also
> unset.  Don't know if that's important.

That was a typo. 0x6BDE => 0xEBDE.

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04  8:24               ` Michael Buesch
@ 2010-04-04 17:15                 ` Larry Finger
  2010-04-04 17:22                   ` Michael Buesch
  0 siblings, 1 reply; 15+ messages in thread
From: Larry Finger @ 2010-04-04 17:15 UTC (permalink / raw)
  To: b43-dev

On 04/04/2010 03:24 AM, Michael Buesch wrote:
> On Sunday 04 April 2010 06:59:25 Larry Finger wrote:
>>  If (chip id is 0x4311 AND chip revision is 2) OR chip id is 0x4312
>>    Maskset SSB_IMCFGLO with mask ~(SSB_IMCFGLO_SERTO |
>>      SSB_IMCFGLO_REQTO) and set with 3
> 
> Note that we do the IMCFGLO timeout fixups in b43. So I think the fixup
> should be implemented there.

As the change only affecxts b43, your suggestion is good.

Any idea what IM and TM stand for in the backplane register names?

Larry

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04 17:15                 ` Larry Finger
@ 2010-04-04 17:22                   ` Michael Buesch
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Buesch @ 2010-04-04 17:22 UTC (permalink / raw)
  To: b43-dev

On Sunday 04 April 2010 19:15:40 Larry Finger wrote:
> On 04/04/2010 03:24 AM, Michael Buesch wrote:
> > On Sunday 04 April 2010 06:59:25 Larry Finger wrote:
> >>  If (chip id is 0x4311 AND chip revision is 2) OR chip id is 0x4312
> >>    Maskset SSB_IMCFGLO with mask ~(SSB_IMCFGLO_SERTO |
> >>      SSB_IMCFGLO_REQTO) and set with 3
> > 
> > Note that we do the IMCFGLO timeout fixups in b43. So I think the fixup
> > should be implemented there.
> 
> As the change only affecxts b43, your suggestion is good.
> 
> Any idea what IM and TM stand for in the backplane register names?

I don't know. The values are timeout values for data transactions on the SSB
bus between the cores. So these values certainly are related to MMIO and/or
DMA timeouts.

-- 
Greetings, Michael.

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

* [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540)
  2010-04-04  4:59             ` Larry Finger
  2010-04-04  7:03               ` richardvoigt at gmail.com
  2010-04-04  8:24               ` Michael Buesch
@ 2011-04-19 10:18               ` Rafał Miłecki
  2 siblings, 0 replies; 15+ messages in thread
From: Rafał Miłecki @ 2011-04-19 10:18 UTC (permalink / raw)
  To: b43-dev

2010/4/4 Larry Finger <Larry.Finger@lwfinger.net>:
> With the PCI-E core selected, read the contents of MMIO address 0x0800.
> Mask that result with 0xF000 and compare the result with (PCI-E core
> index) << 12. If the two are not equal, maskset 0x800 with mask 0x0FFF
> and set with (PCI-E core index) << 12.

Larry, I think you didn't document this one in specs.


> There is also a new section to be placed near the end of
> ssb_pcicore_dev_irqvecs_enable() in the PCI-E branch of the if statement
> according to the following:
>
> ?If (chip id is 0x4311 AND chip revision is 2) OR chip id is 0x4312
> ? Maskset SSB_IMCFGLO with mask ~(SSB_IMCFGLO_SERTO |
> ? ? SSB_IMCFGLO_REQTO) and set with 3
>
> So far, those are the only differences that I have found.

Same here.

-- 
Rafa?

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

end of thread, other threads:[~2011-04-19 10:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-02 17:11 [14e4:4315] Fatal DMA errors on Dell Vostro 1310 (Celeron M540) Myhailo Danylenko
2010-04-02 18:04 ` Larry Finger
2010-04-03  9:57   ` Myhailo Danylenko
2010-04-03 16:03     ` Larry Finger
2010-04-03 16:15       ` Gábor Stefanik
2010-04-03 16:15         ` Gábor Stefanik
2010-04-03 18:00           ` Michael Buesch
2010-04-03 22:35             ` Gábor Stefanik
2010-04-04  4:59             ` Larry Finger
2010-04-04  7:03               ` richardvoigt at gmail.com
2010-04-04 14:51                 ` Larry Finger
2010-04-04  8:24               ` Michael Buesch
2010-04-04 17:15                 ` Larry Finger
2010-04-04 17:22                   ` Michael Buesch
2011-04-19 10:18               ` Rafał Miłecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.