Re: [PATCH 0/6] drivers: convert struct spinlock to spinlock_t

2012-11-30 Thread Arend van Spriel
On 11/29/2012 09:45 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Turns out a few drivers have strayed away from using the > spinlock_t typedef and decided to use struct spinlock > directly. This series converts these drivers to use > spinlock_t. Each change has been compile tested

Re: [PATCH wireless-next] brcmsmac: fix u16 overflow warning

2013-02-07 Thread Arend van Spriel
uot; > Cc: Pieter-Paul Giesberts > Cc: Seth Forshee > Cc: Hauke Mehrtens > Cc: linux-wirel...@vger.kernel.org > Cc: brcm80211-dev-l...@broadcom.com > Cc: net...@vger.kernel.org Acked-by: Arend van Spriel > Signed-off-by: Tim Gardner > --- > drivers/net/wireless/brcm80

Re: [PATCH wireless-next] brcmsmac: avoid 512 byte stack variable

2013-02-07 Thread Arend van Spriel
On 02/07/2013 09:19 PM, Joe Perches wrote: > On Thu, 2013-02-07 at 13:13 -0700, Tim Gardner wrote: >> Dynamically allocate the probe response template which >> avoids potential stack corruption. Observed with smatch: > > trivial: > >> diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c >

Re: [PATCH wireless-next] brcmsmac: avoid 512 byte stack variable

2013-02-07 Thread Arend van Spriel
x27; puts 512 bytes on stack > > Cc: Brett Rudley > Cc: Arend van Spriel > Cc: "Franky (Zhenhui) Lin" > Cc: Hante Meuleman > Cc: "John W. Linville" > Cc: Seth Forshee > Cc: Pieter-Paul Giesberts > Cc: Hauke Mehrtens > Cc: linux-wirel...@vger

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-07 Thread Arend van Spriel
> Removed now unused stack variables. > Removed unnecessary parentheses. > Neatened alignment. for brcm80211 driver files listed below: Acked-by: Arend van Spriel > Signed-off-by: Joe Perches > --- > Let me know if you want multiple small patches instead. > > drivers/ne

Re: Wifi basics documents

2013-02-08 Thread Arend van Spriel
On 02/08/2013 07:55 AM, Onteddu Slreddy wrote: > Hello All, > > > I recently joined this group the group. > > Can anybody suggest me places where I can get Documents which will explain > wifi Architecture in brief i would like to know details like > > In Linux for embedded systems: > W

Re: Wifi basics documents

2013-02-08 Thread Arend van Spriel
On 02/08/2013 10:53 AM, sl reddy wrote: > any successions will be helpful for me My *suggestion* would be: http://wireless.kernel.org/en/developers/Documentation For what it is worth, below is some terrible ascii art. Gr. AvS Fullmac model: user-space (libnl)

Re: brcmsmac: firmware

2013-04-02 Thread Arend van Spriel
On 03/31/2013 10:38 AM, John Talbut wrote: > On 29/03/13 11:06, Arend van Spriel wrote: >> On 03/29/2013 07:14 AM, John Talbut wrote: >>> >>> As a matter of curiosity, why is the code currently in the firmware not >>> included in the kernel driver? >> >

Re: [PATCH] lib80211: make lib80211 can be enabled independently

2013-04-05 Thread Arend van Spriel
On 04/05/2013 01:51 AM, Julian Calaby wrote: Hi Wang, On Fri, Apr 5, 2013 at 3:01 AM, Wang YanQing wrote: Current we can only enable lib80211 by enable a driver in tree use it which will select it, but some out tree's drivers also use it, so I think it has sense to make lib80211 can be enable

Re: [PATCH] lib80211: make lib80211 can be enabled independently

2013-04-05 Thread Arend van Spriel
On 04/05/2013 06:01 AM, Randy Dunlap wrote: On 04/04/13 16:51, Julian Calaby wrote: Hi Wang, On Fri, Apr 5, 2013 at 3:01 AM, Wang YanQing wrote: Current we can only enable lib80211 by enable a driver in tree use it which will select it, but some out tree's drivers also use it, so I think it

need info: softirq warning upon free skb

2013-03-14 Thread Arend van Spriel
Hi Dave, Sorry to bother. Today during testing I ran into two warnings, which given their occurrence are fired in the same code path: kernel/softirq.c:99:__local_bh_disable(): WARN_ON_ONCE(in_irq()); kernel/softirq.c:160:_local_bh_enable_ip(): WARN_ON_ONCE(in_irq() || irqs_disab

3.6-rc1: issue with nouveaufb - system hangs

2012-08-29 Thread Arend van Spriel
Not sure if this is a known issue. Running a dell e6410 laptop and after fb log message it seemed to do pretty much nothing. By accident I kept it in that state long enough this time and udev spewed some more info. Not sure if it helps. Gr. AvS [8.844294] [drm] Initialized drm 1.1.0 20060

Re: [BUG 3.7-rc1] nouveau cli->mutex possible recursive locking detected

2012-10-24 Thread Arend van Spriel
On 10/16/2012 02:43 PM, Stanislaw Gruszka wrote: I have this lockdep warning on wireless-testing tree based on 3.7-rc1 (no other patches except wireless bits). = Restarting tasks ... done. [ INFO: possible recursive locking detected ] 3.7.0-rc1-wl+ #2

Re: [BUG 3.7-rc1] nouveau cli->mutex possible recursive locking detected

2012-10-24 Thread Arend van Spriel
On 10/24/2012 01:14 PM, Arend van Spriel wrote: On 10/16/2012 02:43 PM, Stanislaw Gruszka wrote: I have this lockdep warning on wireless-testing tree based on 3.7-rc1 (no other patches except wireless bits). = Restarting tasks ... done. [ INFO

Re: [BUG 3.7-rc1] nouveau cli->mutex possible recursive locking detected

2012-10-25 Thread Arend van Spriel
On 10/24/2012 02:45 PM, Arend van Spriel wrote: On 10/24/2012 01:14 PM, Arend van Spriel wrote: On 10/16/2012 02:43 PM, Stanislaw Gruszka wrote: I have this lockdep warning on wireless-testing tree based on 3.7-rc1 (no other patches except wireless bits

Re: [BUG 3.7-rc1] nouveau cli->mutex possible recursive locking detected

2012-10-25 Thread Arend van Spriel
On 10/24/2012 02:45 PM, Arend van Spriel wrote: On 10/24/2012 01:14 PM, Arend van Spriel wrote: On 10/16/2012 02:43 PM, Stanislaw Gruszka wrote: I have this lockdep warning on wireless-testing tree based on 3.7-rc1 (no other patches except wireless bits

lockdep info message

2012-10-26 Thread Arend van Spriel
Hi Peter and/or Ingo, I am working on a driver (brcmfmac) and when unloading it or unplugging the device I get this info message (see below) upon calling cancel_work_sync(). Just wondering if there is something I need to do in the driver or should it be done in workqueue code. Regards, Arend

Re: lockdep info message

2012-10-26 Thread Arend van Spriel
On 10/26/2012 01:25 PM, Peter Zijlstra wrote: On Fri, 2012-10-26 at 12:15 +0200, Arend van Spriel wrote: Hi Peter and/or Ingo, I am working on a driver (brcmfmac) and when unloading it or unplugging the device I get this info message (see below) upon calling cancel_work_sync(). Just wondering

Re: x86_64: undefined symbol 'mcount' in 3.7-rc1

2012-10-31 Thread Arend van Spriel
On 10/31/2012 07:44 PM, Steven Rostedt wrote: On Wed, 2012-10-17 at 22:23 +0200, Arend van Spriel wrote: Hi Steven, I have nightly test machines upgraded to 3.7-rc1 and on the 64-bit platform I get MODPOST warning on 'mcount'. It is conditionally exported in x8664_ksyms_64

Re: [PATCH -next] wireless: brcmfmac: fix printk format warning

2012-11-01 Thread Arend van Spriel
On 11/01/2012 06:43 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warning for ssid_len, which is a size_t: > > drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3941:2: warning: format > '%d' expects type 'int', but argument 4 has type 'size_t' > > Signed-off-by: Randy

Re: [PATCH -next] wireless: brcmfmac: fix printk format warning

2012-11-01 Thread Arend van Spriel
On 11/01/2012 08:31 PM, Johannes Berg wrote: > On Thu, 2012-11-01 at 19:01 +0100, Arend van Spriel wrote: >> On 11/01/2012 06:43 PM, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> Fix printk format warning for ssid_len, which is a size_t: >>>

Re: [PATCH v2 5/5] ARM: tegra: enable brcmfmac in defconfig

2012-09-21 Thread Arend van Spriel
On 09/21/2012 10:55 AM, Wei Ni wrote: New options enabled: * CFG80211_WEXT: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by: Wei Ni --- arch/arm/configs/tegra_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/tegra_defc

Re: [PATCH v2 5/5] ARM: tegra: enable brcmfmac in defconfig

2012-09-21 Thread Arend van Spriel
On 09/21/2012 06:19 PM, Stephen Warren wrote: On 09/21/2012 08:39 AM, Arend van Spriel wrote: On 09/21/2012 10:55 AM, Wei Ni wrote: New options enabled: * CFG80211_WEXT: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by: Wei Ni --- arch/arm/configs/tegra_defconfig

Re: Linux 3.7-rc3

2012-10-30 Thread Arend van Spriel
On 10/30/2012 01:10 AM, Rafael J. Wysocki wrote: On Sunday, October 28, 2012 12:59:49 PM Linus Torvalds wrote: It's been a week, time for -rc3! Nothing particularly stands out here. Lots of small fixes, exemplified by the series of memory leak fixes in usb serial drivers. Just a lot of random s

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Arend van Spriel
On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote

Re: [PATCH net-next] net:drivers/net: Miscellaneous conversions to ETH_ALEN

2013-10-02 Thread Arend van Spriel
On 10/02/2013 04:04 AM, Joe Perches wrote: Convert the memset/memcpy uses of 6 to ETH_ALEN where appropriate. Also convert some struct definitions and u8 array declarations of [6] to ETH_ALEN. For brcmsmac Acked-by: Arend van Spriel Signed-off-by: Joe Perches --- drivers/net/wireless

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-02 Thread Arend van Spriel
On 10/01/2013 03:19 PM, Balaji T K wrote: Hi Roger, It has been a while, but I would like to pickup this thread. We have a couple of pandaboards used as test setup. These have an SDIO adapter hooked up to expansion connector A using MMC2. I have attached the patch file (just ignore platform_data

Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-02 Thread Arend van Spriel
On 10/01/2013 01:29 PM, Luca Coelho wrote: Hi, On Tue, 2013-10-01 at 12:53 +0200, Arend van Spriel wrote: On 10/01/2013 11:53 AM, Roger Quadros wrote: On 10/01/2013 12:49 PM, Roger Quadros wrote: Hi Arend, On 10/01/2013 11:05 AM, Arend van Spriel wrote: On 07/19/2013 12:57 PM, Arend van

Re: [PATCH net-next v2 1/3] net: rename include/net/ll_poll.h to include/net/busy_poll.h

2013-07-10 Thread Arend van Spriel
On 07/10/2013 02:13 PM, Eliezer Tamir wrote: Rename the file and correct all the places where it is included. Signed-off-by: Eliezer Tamir --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c |2 drivers/net/ethernet/intel/ixgbe/ixgbe.h|2 drivers/net/ethernet/mellanox/mlx4/

Re: access efi variables

2013-09-14 Thread Arend van Spriel
On 09/14/13 00:37, H. Peter Anvin wrote: On 09/13/2013 08:37 AM, Arend van Spriel wrote: I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: But according to the specs the variable I need to obtain is 2k bytes. Should I expect

Re: [brcmfmac] BUG: unable to handle kernel paging request at ffffffff82196446

2013-09-16 Thread Arend van Spriel
BRCMFMAC_SDIO_OOB but that is now determined dynamically by checking availibility of platform data. Cc: Hauke Mehrtens Reviewed-by: Arend Van Spriel Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Piotr Haber Signed-off-by

access efi variables

2013-09-13 Thread Arend van Spriel
I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each part of the structure, * and we use a page for reading/wr

Re: access efi variables

2013-09-13 Thread Arend van Spriel
On 09/13/2013 05:37 PM, Arend van Spriel wrote: I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each

Re: linux-next: Tree for Aug 30 (brcmfmac)

2013-08-31 Thread Arend van Spriel
On 08/31/13 19:37, Geert Uytterhoeven wrote: On Fri, Aug 30, 2013 at 11:12 PM, Randy Dunlap wrote: This bool kconfig symbol: config BRCMFMAC_SDIO bool "SDIO bus interface support for FullMAC driver" depends on MMC allows BRCMFMAC_SDIO to be y even when MMC=m. Is there a rea

Re: linux-next: Tree for Aug 30 (brcmfmac)

2013-09-01 Thread Arend van Spriel
On 08/31/13 20:40, Hauke Mehrtens wrote: On 08/31/2013 08:21 PM, Arend van Spriel wrote: On 08/31/13 19:37, Geert Uytterhoeven wrote: On Fri, Aug 30, 2013 at 11:12 PM, Randy Dunlap wrote: This bool kconfig symbol: config BRCMFMAC_SDIO bool "SDIO bus interface support for Fu

using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]

2013-10-01 Thread Arend van Spriel
On 07/19/2013 12:57 PM, Arend van Spriel wrote: On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote: On 07/18/2013 10:59 AM, Tony Lindgren wrote: Then for the SDIO with device tree, take a look at the following patches: [PATCH 0/3] WLAN support for

Re: [brcmfmac] BUG: unable to handle kernel paging request at ffffffff82196446

2013-09-23 Thread Arend van Spriel
On 09/23/2013 02:14 PM, Fengguang Wu wrote: On Mon, Sep 16, 2013 at 11:15:53AM +0200, Arend van Spriel wrote: On 09/02/2013 12:23 PM, Fengguang Wu wrote: Greetings, I got the below dmesg and the first bad commit is Hi Fengguang, I could not reproduce this issue. Could you retest with the

Re: [PATCH 0/6] drivers: convert struct spinlock to spinlock_t

2012-11-30 Thread Arend van Spriel
On 11/30/2012 09:25 PM, Luis R. Rodriguez wrote: > On Fri, Nov 30, 2012 at 11:18 AM, Luis R. Rodriguez > wrote: >> On Fri, Nov 30, 2012 at 12:38 AM, Arend van Spriel >> wrote: >>> So what is the rationale here. During mainlining our drivers we had to >>> re

Re: [PATCH net-next 04/21] wireless: Convert is__ether_addr uses to eth_addr_

2012-10-20 Thread Arend van Spriel
On 10/19/2012 05:55 AM, Joe Perches wrote: Convert the old ether_addr tests to eth_addr_. Adds api consistency. Acked-by: Arend van Spriel Signed-off-by: Joe Perches --- .../net/wireless/brcm80211/brcmfmac/dhd_linux.c|4 ++-- .../net/wireless/brcm80211/brcmfmac/wl_cfg80211.c

Re: [PATCH -next] wireless: brcmfmac: fix printk format warning

2012-11-13 Thread Arend van Spriel
On 11/13/2012 04:55 PM, Randy Dunlap wrote: On 11/01/2012 12:31 PM, Johannes Berg wrote: On Thu, 2012-11-01 at 19:01 +0100, Arend van Spriel wrote: On 11/01/2012 06:43 PM, Randy Dunlap wrote: From: Randy Dunlap Fix printk format warning for ssid_len, which is a size_t: drivers/net

Re: linux-next: manual merge of the wireless-next tree with the wireless tree

2012-11-15 Thread Arend van Spriel
On 11/15/2012 03:17 AM, Stephen Rothwell wrote: Hi John, Today's linux-next merge of the wireless-next tree got a conflict in drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c between commit d61f978b8f26 ("brcmfmac: fix typo in CONFIG_BRCMISCAN") from the tree and commit f07998959d57 ("brcm

3.8-rc1: nouveau: X window session not starting

2013-01-05 Thread Arend van Spriel
Not sure if it is a kernel issue or user-space. Truth is probably somewhere in the middle. It popped up moving to 3.8-rc1 using nouveau. Using nvidia's driver works fine. With nouveau, after entering login credentials in lightDM the user session does not start and I am back at the lightDM login scr

Re: [PATCH] brcmsmac: initialize morepending in brcms_b_recv()

2012-12-23 Thread Arend van Spriel
seems to be invalid except when RXBND is defined as zero, which would make the whole function totally bogus. Would be good to have a WARN_ON(!RXBND) in brcms_b_attach(). I don't like pleasing a compiler with unnecessary initializers but I am also for builds with zero warnings. So... Acked-by:

Re: PROBLEM: REGRESSION in drivers/platform/x86/dell-laptop.c

2012-11-18 Thread Arend van Spriel
ted while RfKill switch is engaged, leading to hang due to partial initialization of hardware. Tested-by: Reviewed-by: Arend van Spriel Reviewed-by: Hante Meuleman Signed-off-by: Piotr Haber Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville Maybe

Re: [PATCH] net-sysfs: Add entry for nl80211 interface type

2013-04-18 Thread Arend van Spriel
On 04/18/2013 09:10 PM, Marcel Holtmann wrote: Hi Bing, Add a "wireless/nl80211_iftype" entry in the net device sysfs file structure to indicate the mode of the wireless device so it can be discovered easily from userspace. I do question a little bit the usefulness for this one. It would only

Re: event filtering with trace-cmd

2013-06-12 Thread Arend van Spriel
On 06/12/2013 07:16 PM, Steven Rostedt wrote: On Wed, 2013-06-12 at 12:22 -0400, Steven Rostedt wrote: # sudo trace-cmd record -e brcmfmac:brcmf_dbg -f 'level & 0x4' disable all enable brcmfmac:brcmf_dbg path = /sys/kernel/debug/tracing/events/brcmfmac/brcmf_dbg/enable (level & 0x4) ^ p

Re: event filtering with trace-cmd

2013-06-14 Thread Arend van Spriel
On 06/12/2013 07:16 PM, Steven Rostedt wrote: On Wed, 2013-06-12 at 12:22 -0400, Steven Rostedt wrote: # sudo trace-cmd record -e brcmfmac:brcmf_dbg -f 'level & 0x4' disable all enable brcmfmac:brcmf_dbg path = /sys/kernel/debug/tracing/events/brcmfmac/brcmf_dbg/enable (level & 0x4) ^ p

Re: [for-next][PATCH 08/12] tracing: Add binary & filter for events

2013-06-20 Thread Arend van Spriel
lways return true. Link:http://lkml.kernel.org/r/1371057385.9844.261.ca...@gandalf.local.home Suggested-by: Arend van Spriel Actually, my attempt was triggered by the trace-cmd manual page: "-f filter Specify a filter for the previous event. This must come after a -e. This will filter wha

Re: [for-next][PATCH 08/12] tracing: Add binary & filter for events

2013-06-20 Thread Arend van Spriel
On 06/20/13 14:14, Steven Rostedt wrote: On Thu, 2013-06-20 at 10:09 +0200, Arend van Spriel wrote: On 06/20/2013 05:35 AM, Steven Rostedt wrote: By allowing a binary '&' operation, this gives the user the ability to test a bit. Note, a binary '|' is not added, as

Re: [for-next][PATCH 08/12] tracing: Add binary & filter for events

2013-06-20 Thread Arend van Spriel
On 06/20/13 20:38, Steven Rostedt wrote: On Thu, 2013-06-20 at 14:34 -0400, Steven Rostedt wrote: On Thu, 2013-06-20 at 20:28 +0200, Arend van Spriel wrote: Reading the whole text with your remark in mind, I guess it does indicate there are no guarantees depending on the kernel and the list

event filtering with trace-cmd

2013-06-12 Thread Arend van Spriel
Hi Steven I wanted to filter my debug events getting only one specific level. So I followed the instruction found online, but I get a parse error. Running on 3.10-rc1 using trace-cmd 1.0.3. Should I upgrade? Regards, Arend 8<

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-22 Thread Arend van Spriel
On 03/22/2013 01:55 PM, Lubomir Rintel wrote: > Signed-off-by: Lubomir Rintel > Cc: Stephen Warren > Cc: Wim Van Sebroeck > Cc: linux-rpi-ker...@lists.infradead.org > Cc: linux-watch...@vger.kernel.org > --- > arch/arm/configs/bcm2835_defconfig |4 + > drivers/watchdog/Kconfig |

Re: [PATCH] brcmsmac: Remove unused macro SI_MSG

2013-03-23 Thread Arend van Spriel
On 03/22/2013 09:00 PM, Joe Perches wrote: > commit 6236dc2e2 ("brcmsmac: remove some redundant chip common workarounds") > removed the last uses. Good riddance. Acked-by: Arend van Spriel > Signed-off-by: Joe Perches > --- > drivers/net/wireless/brcm80211/brcmsmac/

Re: System suspend states and device driver suspend() callback

2013-08-16 Thread Arend van Spriel
On 08/16/2013 10:06 AM, Li Yang wrote: Hi Guys, Is there a standard way for the device drivers to know if the system is going to “standby” mode or “mem” mode when the suspend() callbacks are called? what about implementing struct device_driver::suspend? This is for driver level suspend operat

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-20 Thread Arend van Spriel
On 08/20/2013 06:56 AM, Felix Fietkau wrote: On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote: On Tue, Aug 20, 2013 at 8:03 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 07:59:47AM +0800, Tom Gundersen wrote: Hi guys, Sta

Re: [BUG] 3.10 regression: hang on suspend

2013-07-16 Thread Arend van Spriel
On 07/16/2013 09:34 AM, Ortwin Glück wrote: On 16.07.2013 08:56, Stanislaw Gruszka wrote: Apparently this commit changed suspend procedure on mac80211, but it's not obvious for me why it hangs :-( Hangs are hard :-) It just sits there with a black screen and a white cursor in the top left co

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host & Ethernet will not be functional with devi

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/16/2013 03:12 PM, Arend van Spriel wrote: On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-18 Thread Arend van Spriel
On 07/18/2013 10:59 AM, Tony Lindgren wrote: * Arend van Spriel [130718 01:47]: So my first step was to follow the recipe given in that commit. Beside that I noticed a thread about USB issue on LKML so I also applied the following commit: commit 352f573e59050c7a604c35c58b4bbfc51edebbee Author

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-27 Thread Arend van Spriel
On 07/27/2013 11:51 AM, Tomasz Figa wrote: On Saturday 27 of July 2013 07:04:08 Richard Cochran wrote: On Fri, Jul 26, 2013 at 08:49:43AM -0700, Olof Johansson wrote: Long term, final goal is likely to be close to what Russell is saying Why is this a long term goal? Start today. -- nothing

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-27 Thread Arend van Spriel
On 07/27/2013 12:24 PM, Arend van Spriel wrote: On 07/27/2013 11:51 AM, Tomasz Figa wrote: On Saturday 27 of July 2013 07:04:08 Richard Cochran wrote: On Fri, Jul 26, 2013 at 08:49:43AM -0700, Olof Johansson wrote: Long term, final goal is likely to be close to what Russell is saying Why is

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-27 Thread Arend van Spriel
On 07/27/2013 12:36 PM, Tomasz Figa wrote: On Saturday 27 of July 2013 12:24:24 Arend van Spriel wrote: On 07/27/2013 11:51 AM, Tomasz Figa wrote: On Saturday 27 of July 2013 07:04:08 Richard Cochran wrote: On Fri, Jul 26, 2013 at 08:49:43AM -0700, Olof Johansson wrote: Long term, final goal

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-29 Thread Arend van Spriel
On 07/27/2013 10:01 PM, jonsm...@gmail.com wrote: On Sat, Jul 27, 2013 at 3:45 PM, Grant Likely wrote: On Sat, Jul 27, 2013 at 4:59 AM, Arend van Spriel wrote: Let's see how many people go and scream if I say this: Too bad .dts files are not done using XML format as DT bindings cou

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-29 Thread Arend van Spriel
On 07/29/2013 11:19 AM, Arend van Spriel wrote: On 07/27/2013 10:01 PM, jonsm...@gmail.com wrote: On Sat, Jul 27, 2013 at 3:45 PM, Grant Likely wrote: On Sat, Jul 27, 2013 at 4:59 AM, Arend van Spriel wrote: Let's see how many people go and scream if I say this: Too bad .dts files ar

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-08-01 Thread Arend van Spriel
On 07/31/2013 11:26 PM, jonsm...@gmail.com wrote: Alternatively you may be of the belief that it is impossible to get rid of the board specific code. But x86 doesn't have any of it, why should ARM? Well, I am curious whether that will stay that way once x86 is truly moving into the embedded ar

Re: [PATCH] checkpatch: Warn when using extern with function prototypes in .h files

2013-08-01 Thread Arend van Spriel
On 08/01/2013 02:21 PM, David Howells wrote: Joe Perches wrote: Using the extern keyword on function prototypes is superfluous visual noise so suggest removing it. Using extern can cause unnecessary line wrapping at 80 columns and unnecessarily long multi-line function prototypes. Suggested-

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-20 Thread Arend van Spriel
On 08/20/2013 10:36 AM, Tom Gundersen wrote: On Tue, Aug 20, 2013 at 4:15 PM, Arend van Spriel wrote: On 08/20/2013 06:56 AM, Felix Fietkau wrote: On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote: On Tue, Aug 20, 2013 at 8:03

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-21 Thread Arend van Spriel
On 08/21/2013 02:11 AM, Josh Boyer wrote: On Tue, Aug 20, 2013 at 4:15 AM, Arend van Spriel wrote: On 08/20/2013 06:56 AM, Felix Fietkau wrote: On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote: On Tue, Aug 20, 2013 at 8:03 AM

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-21 Thread Arend van Spriel
On 08/21/13 14:38, Josh Boyer wrote: On Wed, Aug 21, 2013 at 4:52 AM, Arend van Spriel wrote: Hi Felix, I have been diving into root causing why brcmsmac can not handle cck fallback rates, because it should. Maybe it is better to flag no cck support and only change brcmsmac. We have a

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-18 Thread Arend van Spriel
On 07/18/2013 01:18 PM, Roger Quadros wrote: Hi Arend, On 07/18/2013 11:41 AM, Arend van Spriel wrote: Hi Tony, We are using the panda board (es variant) for testing our SDIO based chips. For this we have an adapter card connection to expansion connector A. As this adapter is not publicly

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-18 Thread Arend van Spriel
On 07/18/2013 01:30 PM, Roger Quadros wrote: On 07/18/2013 02:24 PM, Arend van Spriel wrote: On 07/18/2013 01:18 PM, Roger Quadros wrote: Hi Arend, On 07/18/2013 11:41 AM, Arend van Spriel wrote: Hi Tony, We are using the panda board (es variant) for testing our SDIO based chips. For this

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-19 Thread Arend van Spriel
On 07/18/2013 10:59 AM, Tony Lindgren wrote: Then for the SDIO with device tree, take a look at the following patches: [PATCH 0/3] WLAN support for omap4 when booted with devicetree http://comments.gmane.org/gmane.linux.ports.arm.omap/97522# I have been looking at the pandaboard patch in the s

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-19 Thread Arend van Spriel
On 07/19/2013 12:49 PM, Roger Quadros wrote: On 07/19/2013 01:36 PM, Arend van Spriel wrote: On 07/18/2013 10:59 AM, Tony Lindgren wrote: Then for the SDIO with device tree, take a look at the following patches: [PATCH 0/3] WLAN support for omap4 when booted with devicetree http

Re: brcm80211: machine freezing hard with rfkill on

2013-07-19 Thread Arend van Spriel
: don't start device when RfKill is engaged This patch fixes a bug when device is being started while RfKill switch is engaged, leading to hang due to partial initialization of hardware. Tested-by: Reviewed-by: Arend van Spriel Reviewed-by: Hante Meuleman Signed-o

Re: [PATCH 05/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 BRT DTS file

2013-07-22 Thread Arend van Spriel
On 07/22/2013 03:38 PM, Lee Jones wrote: On Mon, 22 Jul 2013, Christian Daudt wrote: On 13-07-22 03:52 AM, Lee Jones wrote: Cc: Christian Daudt Signed-off-by: Lee Jones --- arch/arm/boot/dts/bcm11351-brt.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ar

regression 3.11-rc1: rmmod hangs after tracing module

2013-07-23 Thread Arend van Spriel
Hi Steven, During testing of our brcmfmac wireless driver I had a trace-cmd running along (trace-cmd record -e brcmfmac:*). After the test I stopped the trace, unplugged my usb device and did a rmmod resulting in the attached lockdep splat. Hope you have an idea what is going wrong here. Reg

Re: regression 3.11-rc1: rmmod hangs after tracing module

2013-07-25 Thread Arend van Spriel
On 07/23/2013 08:44 PM, Steven Rostedt wrote: On Tue, 2013-07-23 at 20:07 +0200, Arend van Spriel wrote: Hi Steven, During testing of our brcmfmac wireless driver I had a trace-cmd running along (trace-cmd record -e brcmfmac:*). After the test I stopped the trace, unplugged my usb device and

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-25 Thread Arend van Spriel
On 07/18/2013 02:42 PM, Roger Quadros wrote: On 07/18/2013 03:38 PM, Arend van Spriel wrote: On 07/18/2013 01:30 PM, Roger Quadros wrote: On 07/18/2013 02:24 PM, Arend van Spriel wrote: On 07/18/2013 01:18 PM, Roger Quadros wrote: Hi Arend, On 07/18/2013 11:41 AM, Arend van Spriel wrote

Re: [PATCH 05/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 BRT DTS file

2013-07-25 Thread Arend van Spriel
On 07/25/2013 05:43 PM, Tim Kryger wrote: On Mon, Jul 22, 2013 at 9:57 AM, Christian Daudt wrote: it'd be nice to have something to point people to as this being the best practice for kernel dev. Power.org's ePAPR exclusively omits the 0x in the unit-address of node names. https://www.power

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-26 Thread Arend van Spriel
On 07/26/2013 05:00 AM, Joel Fernandes wrote: On 07/25/2013 09:49 PM, Joel Fernandes wrote: [..] Can I get back on this topic. When USB and ethernet was working for me as stated above, I was not doing tftpboot. When I use tftpboot the images are obtained from the tftp server, but after kernel

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-26 Thread Arend van Spriel
On 07/26/2013 12:13 PM, Arend van Spriel wrote: On 07/26/2013 05:00 AM, Joel Fernandes wrote: On 07/25/2013 09:49 PM, Joel Fernandes wrote: [..] Can I get back on this topic. When USB and ethernet was working for me as stated above, I was not doing tftpboot. When I use tftpboot the images

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-26 Thread Arend van Spriel
On 07/26/2013 12:15 PM, Arend van Spriel wrote: On 07/26/2013 12:13 PM, Arend van Spriel wrote: On 07/26/2013 05:00 AM, Joel Fernandes wrote: On 07/25/2013 09:49 PM, Joel Fernandes wrote: [..] Can I get back on this topic. When USB and ethernet was working for me as stated above, I was not

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-26 Thread Arend van Spriel
On 07/26/2013 12:37 PM, Roger Quadros wrote: On 07/26/2013 01:23 PM, Arend van Spriel wrote: On 07/26/2013 12:15 PM, Arend van Spriel wrote: On 07/26/2013 12:13 PM, Arend van Spriel wrote: On 07/26/2013 05:00 AM, Joel Fernandes wrote: On 07/25/2013 09:49 PM, Joel Fernandes wrote: [..] Can

Re: [PATCH 9/9] tracing: Remove locking trace_types_lock from tracing_reset_all_online_cpus()

2013-07-26 Thread Arend van Spriel
/51eec646.7070...@broadcom.com Reported-by: Arend van *Spril* Nasty dutch names, huh. If we ever meet on a summit you may try to pronounce it :-) Way easier than Finnish. Regards, Arend Tested-by: Arend van *Spriel* Cc: Alexander Z Lam Cc: Vaibhav Nagarnaik Cc: David Sharp Cc:sta...@vger.ke

Re: brcsmac kernel panic

2013-08-13 Thread Arend van Spriel
On 08/12/2013 10:11 PM, Daniel Wagner wrote: Hi Arend, On 08/12/2013 12:38 PM, Arend van Spriel wrote: On 08/11/2013 06:21 PM, Daniel Wagner wrote: I just updated my laptop (MacBook Air 2012) from 3.11-rc3+ to 3.11-rc4+ and since then brcsmac crashes short after enabling it. Unfortunately, I

checkpatch bailing out

2013-03-02 Thread Arend van Spriel
With my laptop being broken I have to work on a server provided by my employer and I am preparing some patches for submission. So I intended to run checkpatch, but I get the following message after which the script bails out: $ git format-patch -1 --stdout | scripts/checkpatch.pl - Nested quan

Re: checkpatch bailing out

2013-03-02 Thread Arend van Spriel
On 03/02/13 14:07, Joe Perches wrote: On Sat, 2013-03-02 at 13:02 +0100, Arend van Spriel wrote: With my laptop being broken I have to work on a server provided by my employer and I am preparing some patches for submission. So I intended to run checkpatch, but I get the following message after

Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

2013-03-03 Thread Arend van Spriel
On 03/03/13 12:34, Sedat Dilek wrote: Hi, unfortunately, the Git snapshot tarball feature was dropped when switching from gitweb->cgit interface. Just curious. I am looking at gitweb and cgit for our internal repositories and still deciding so I would like to know what "your" main motivation

Re: [PATCH -v3 16/23] drivers/net: rename random32() to prandom_u32()

2013-03-04 Thread Arend van Spriel
oubelat Cc: Bing Zhao Cc: Brett Rudley Cc: Arend van Spriel Cc: "Franky (Zhenhui) Lin" Cc: Hante Meuleman Cc: brcm80211-dev-l...@broadcom.com Cc: net...@vger.kernel.org Cc: linux-h...@vger.kernel.org Cc: linux-wirel...@vger.kernel.org --- * Changes from v2 - add Acked-by: line - add

Re: REGRESSION: 3.10-rc1: Dell Latitude e6410 hangs within 3 seconds

2013-05-14 Thread Arend van Spriel
On 05/14/2013 10:34 PM, Rafael J. Wysocki wrote: On Tuesday, May 14, 2013 03:03:58 PM Arend van Spriel wrote: Laptop hangs pretty soon after booting. Workaround for me was to turn off ACPI on kernel command line, ie. acpi=off Attached is my kernel configuration. Well, I have no idea what may

Re: REGRESSION: 3.10-rc1: Dell Latitude e6410 hangs within 3 seconds

2013-05-18 Thread Arend van Spriel
On 05/18/13 03:47, Paul E. McKenney wrote: On Fri, May 17, 2013 at 10:49:16PM +0200, Arend van Spriel wrote: On 05/14/2013 10:38 PM, Arend van Spriel wrote: On 05/14/2013 10:34 PM, Rafael J. Wysocki wrote: On Tuesday, May 14, 2013 03:03:58 PM Arend van Spriel wrote: Laptop hangs pretty soon

Re: [PATCH -mmotm resend] brcm80211: fix the misaligned indentation

2013-03-29 Thread Arend van Spriel
On 03/29/2013 01:33 PM, Akinobu Mita wrote: > This fixes the misaligned indentation introduced by > drivers-net-rename-random32-to-prandom_u32.patch in the -mm tree. > > This also remove unneeded parentheses in order not to cause line over > 80 characters. > Acked-by: Arend va

Re: Unable to activate WiFi p2p / WiFi Direct

2013-03-07 Thread Arend van Spriel
On 03/07/13 14:32, Kévin THIERRY wrote: Hi, I've been unable to activate the p2p feature on my WiFi dongle (which otherwise works fine). iwpriv command returns "wlan1 no private ioctls." I'm running Ubuntu 12.04 with kernel 3.5.0-25 and the WiFi dongle is a Netgear model wna1000m (driver rtl8192c

Re: [PATCH]: Mac80211 driver and I checked the patch

2012-08-06 Thread Arend van Spriel
Very generic subject line. I would expect something like: [PATCH] mac80211: include rfkill header implicitly On 08/06/2012 01:49 PM, Christopher Sacchi wrote: > The source file needed a change that was told in the description to > know that the #include needed to be fixed, and the function chang

Re: [PATCH]: Mac80211 driver and I checked the patch

2012-08-06 Thread Arend van Spriel
On 08/06/2012 07:59 PM, Arend van Spriel wrote: > On 08/06/2012 01:49 PM, Christopher Sacchi wrote: >> > The source file needed a change that was told in the description to >> > know that the #include needed to be fixed, and the function changed >> > another value

Re: v3.6-rc1: modprobe hangs with sdhci failure on dell e6410

2012-08-24 Thread Arend van Spriel
On 08/23/2012 04:58 PM, Aaron Lu wrote: On Wed, Aug 22, 2012 at 10:11 PM, Arend van Spriel wrote: A quick search using google did not provide clues. Regardless if there is anything inserted the hang occurs. Gr. AvS Also, your .config might be helpful. True. Here it is. Gr. AvS config

Re: v3.6-rc1: modprobe hangs with sdhci failure on dell e6410

2012-08-24 Thread Arend van Spriel
On 08/24/2012 10:24 AM, Arend van Spriel wrote: On 08/23/2012 04:58 PM, Aaron Lu wrote: On Wed, Aug 22, 2012 at 10:11 PM, Arend van Spriel wrote: A quick search using google did not provide clues. Regardless if there is anything inserted the hang occurs. Gr. AvS Also, your .config might be

Re: [PATCH 2/6] brcmfmac: Handling the interrupt in ISR directly for non-OOB

2012-08-27 Thread Arend van Spriel
On 08/27/2012 12:25 PM, Wei Ni wrote: In case of inband interrupts, if we handle the interrupt in dpc thread, two level of thread switching takes place to process wifi interrupts. One in SDHCI driver and the other in Wifi driver. This may cause the system instability. Looking into the sdhci/mmc

Re: Out of memory on 3.5 kernels

2012-09-20 Thread Arend van Spriel
On 09/20/2012 09:32 AM, Nico Schottelius wrote: Hey David, David Rientjes [Wed, Sep 19, 2012 at 11:54:54PM -0700]: >On Thu, 20 Sep 2012, Nico Schottelius wrote: > > >for some time the slab usage is quite high (~3.2 GiB) and whenever I try > >to do a backup with ccollect (which is using rsync),

Re: Out of memory on 3.5 kernels

2012-09-20 Thread Arend van Spriel
Thanks, Nico > just while running, I got the following brcmsmac related error: > > [17336.572558] WARNING: at drivers/net/wireless/brcm80211/brcmsmac/main.c:7968 brcms_c_wait_for_tx_completion+0x99/0xb0 [brcmsmac]() > [17336.572562] Hardware name: MacBookAir4,2 > [17336.572565] Modules linked

  1   2   3   4   5   6   >