Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Chris Vine
On Sat, 27 Feb 2010 02:41:48 +0100 Gábor Stefanik netrolller...@gmail.com wrote: Someone should test the following: -Open drivers/ssb/driver_chipcommon_pmu.c -In ssb_pmu_init, replace 0x4325 with 0x4312. (This is not the correct way to fix this, but should be enough for a test. The correct fix

Re: [PATCH 08/11] b43: implement writing to MMIO shared memory

2010-02-27 Thread Rafał Miłecki
2010/2/9 Michael Buesch m...@bu3sch.de: On Tuesday 09 February 2010 21:04:40 Rafał Miłecki wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com ---  drivers/net/wireless/b43/phy_common.c |   11 +++  drivers/net/wireless/b43/phy_common.h |    2 ++  2 files changed, 13 insertions(+), 0

Re: [PATCH 01/11] b43: N-PHY: add some registers and structs definitions

2010-02-27 Thread Rafał Miłecki
2010/2/10 Michael Buesch m...@bu3sch.de: On Tuesday 09 February 2010 21:04:33 Rafał Miłecki wrote: +#define B43_MMIO_PSM_PHY_HDR         0x492   /* programmable state machine */ The comment doesn't make a lot of sense. In case you don't know, the PSM is the part of the hardware that

[PATCH 00/10] b43: more N-PHY patches, try #2

2010-02-27 Thread Rafał Miłecki
John: there is one patch less in comparision to first patchset, previous try was some time ago, so fianlly I decided to resend all patches. I guess half of them did not really changed. Are you fine with this? Rafał Miłecki (10): b43: N-PHY: add some registers and structs definitions b43:

[PATCH V2 02/10] b43: N-PHY: initialize super switch

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- drivers/net/wireless/b43/phy_n.c | 37 - 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 795bb1e..2d8eda1 100644 ---

[PATCH V2 03/10] b43: N-PHY: turn radio on/off (rfkill)

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- drivers/net/wireless/b43/phy_n.c | 50 -- 1 files changed, 37 insertions(+), 13 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 2d8eda1..dd81e8a 100644 ---

[PATCH V2 06/10] b43: N-PHY: switch to chanspec struct

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- drivers/net/wireless/b43/phy_n.c | 45 + drivers/net/wireless/b43/phy_n.h | 11 + 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c

[PATCH V2 07/10] b43: N-PHY: adjust gain table

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- drivers/net/wireless/b43/phy_n.c | 58 +- 1 files changed, 57 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 1952acc..30f8bf2 100644 ---

[PATCH V2 08/10] b43: N-PHY: isloate 2055 radio setup

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- V2: unconditional flush --- drivers/net/wireless/b43/phy_n.c | 23 +-- 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 30f8bf2..ffe2622

[PATCH V2 09/10] b43: N-PHY: implement chanspec setup

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- V2: use general SHM write --- drivers/net/wireless/b43/phy_n.c | 62 ++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index

[PATCH V2 10/10] b43: N-PHY: switch to chanspec ops

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- V2: fix typo --- drivers/net/wireless/b43/phy_n.c | 87 +++--- drivers/net/wireless/b43/phy_n.h |1 + 2 files changed, 63 insertions(+), 25 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c

[PATCH V2 01/10] b43: N-PHY: add some registers and structs definitions

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- V2: dropped obvious comment --- drivers/net/wireless/b43/b43.h |1 + drivers/net/wireless/b43/phy_n.h |9 + drivers/net/wireless/b43/tables_nphy.h |9 + 3 files changed, 19 insertions(+), 0 deletions(-)

[PATCH V2 04/10] b43: N-PHY: update writing channel-specific radio registers

2010-02-27 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- V2: unconditional flushes --- drivers/net/wireless/b43/phy_n.c | 54 ++--- 1 files changed, 32 insertions(+), 22 deletions(-) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Michael Buesch
On Friday 26 February 2010 23:03:28 Gábor Stefanik wrote: BTW there is an interesting difference in the early init between wl and b43: b43 sets bit 0x200 in core register 0x600, while wl sets 0x8000 in register 0x280a - an undocumented register. Well, it is not only undocumented, it's also far

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 02:41:48 Gábor Stefanik wrote: Someone should test the following: -Open drivers/ssb/driver_chipcommon_pmu.c -In ssb_pmu_init, replace 0x4325 with 0x4312. Uh, wait a second. Do _all_ cards that show the behavior have a PMU on the SSB? If so, you should really make

Re: [PATCH 01/11] b43: N-PHY: add some registers and structs definitions

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 12:12:23 Rafał Miłecki wrote: 2010/2/10 Michael Buesch m...@bu3sch.de: On Tuesday 09 February 2010 21:04:33 Rafał Miłecki wrote: +#define B43_MMIO_PSM_PHY_HDR         0x492   /* programmable state machine */ The comment doesn't make a lot of sense. In

Re: [PATCH 08/11] b43: implement writing to MMIO shared memory

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 12:09:30 Rafał Miłecki wrote: 2010/2/9 Michael Buesch m...@bu3sch.de: On Tuesday 09 February 2010 21:04:40 Rafał Miłecki wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com ---  drivers/net/wireless/b43/phy_common.c |   11 +++  

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Larry Finger
On 02/27/2010 09:16 AM, Michael Buesch wrote: On Friday 26 February 2010 23:03:28 Gábor Stefanik wrote: BTW there is an interesting difference in the early init between wl and b43: b43 sets bit 0x200 in core register 0x600, while wl sets 0x8000 in register 0x280a - an undocumented register.

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Larry Finger
On 02/27/2010 09:20 AM, Michael Buesch wrote: On Saturday 27 February 2010 02:41:48 Gábor Stefanik wrote: Someone should test the following: -Open drivers/ssb/driver_chipcommon_pmu.c -In ssb_pmu_init, replace 0x4325 with 0x4312. Uh, wait a second. Do _all_ cards that show the behavior have

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 16:55:09 Larry Finger wrote: On 02/27/2010 09:16 AM, Michael Buesch wrote: On Friday 26 February 2010 23:03:28 Gábor Stefanik wrote: BTW there is an interesting difference in the early init between wl and b43: b43 sets bit 0x200 in core register 0x600, while wl

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 17:05:41 Larry Finger wrote: On 02/27/2010 09:20 AM, Michael Buesch wrote: On Saturday 27 February 2010 02:41:48 Gábor Stefanik wrote: Someone should test the following: -Open drivers/ssb/driver_chipcommon_pmu.c -In ssb_pmu_init, replace 0x4325 with 0x4312.

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Larry Finger
On 02/27/2010 10:08 AM, Michael Buesch wrote: On Saturday 27 February 2010 17:05:41 Larry Finger wrote: On 02/27/2010 09:20 AM, Michael Buesch wrote: On Saturday 27 February 2010 02:41:48 Gábor Stefanik wrote: Someone should test the following: -Open drivers/ssb/driver_chipcommon_pmu.c -In

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Gábor Stefanik
On Sat, Feb 27, 2010 at 5:37 PM, Larry Finger larry.fin...@lwfinger.net wrote: On 02/27/2010 10:08 AM, Michael Buesch wrote: On Saturday 27 February 2010 17:05:41 Larry Finger wrote: On 02/27/2010 09:20 AM, Michael Buesch wrote: On Saturday 27 February 2010 02:41:48 Gábor Stefanik wrote:

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Gábor Stefanik
2010/2/27 Nathan Schulte rekl...@gmail.com: I've been following along with the linux-wireless thread, and wanted to bring up a few points. 1) If the report in reference by Gábor: Well, we have a report from someone with an Intel T7250, ... is mine, note that my processor is actually a T5670

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Michael Buesch
On Saturday 27 February 2010 20:45:50 Gábor Stefanik wrote: 2. Just before the SPROM readout, we are missing a Set 0x8000 in MMIO offset 0x280a. This looks curiously like PCI-E Miscellaneous Configuration, from http://bcm-v4.sipsolutions.net/PCI-E - and indeed, the value read out from

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Larry Finger
On 02/27/2010 01:45 PM, Gábor Stefanik wrote: So, a quick status update, from what I've found yesterday: 1. We get the PMU setup wrong. Bit 0x200 is being set, despite the PMU being rev1. Also, PMU setup is done too early - at least wl reads the SPROM before setting up the PMU. A write

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Gábor Stefanik
2010/2/28 Nathan Schulte rekl...@gmail.com: 2010/2/27 Gábor Stefanik netrolller...@gmail.com: OK, I whipped up a quick test patch with changes found so far implemented. Please test if this improves the situation. Where can I find this patch? -Nate Oops... yes, I forgot it. Here it is! --

Re: LP-PHY Fatal DMA error 0x00000800 on non-ULV Core 2 Duo?!?!!??!

2010-02-27 Thread Gábor Stefanik
2010/2/28 Nathan Schulte rekl...@gmail.com: 2010/2/27 Gábor Stefanik netrolller...@gmail.com: Oops... yes, I forgot it. Here it is! No luck from me either. And by the way, Lucas and I have the exact same hardware, so his is indeed a T5670 as well. -Nate Are you sure it is exactly the