Re: [v7] brcmfmac: add CLM download support

2017-11-10 Thread Kalle Valo
Wright Feng wrote: > From: Chung-Hsien Hsu > > The firmware for brcmfmac devices includes information regarding > regulatory constraints. For certain devices this information is kept > separately in a binary form that needs to be downloaded to the device. > This patch adds support to download t

[GIT] [4.15] NFC update

2017-11-10 Thread Samuel Ortiz
Hi David, This is the NFC pull request for 4.15. We have: - A new netlink command for explicitly deactivating NFC targets - i2c constification for all NFC drivers - One NFC device allocation error path fix The following changes since commit 2798b80b385384d51a81832556ee9ad25d175f9b: Merge bran

Re: [PATCH v2 5/6] firmware: Add request_firmware_prefer_user() function

2017-11-10 Thread Luis R. Rodriguez
On Fri, Nov 10, 2017 at 10:08:19PM +0100, Pali Rohár wrote: > On Friday 10 November 2017 21:26:01 Luis R. Rodriguez wrote: > > On Fri, Nov 10, 2017 at 12:38:27AM +0100, Pali Rohár wrote: > > > This function works pretty much like request_firmware(), but it prefer > > > usermode helper. If usermode

Re: [run_timer_softirq] BUG: unable to handle kernel paging request at 0000000000010007

2017-11-10 Thread Thomas Gleixner
On Fri, 10 Nov 2017, Linus Torvalds wrote: > On Wed, Nov 8, 2017 at 9:19 PM, Fengguang Wu wrote: > > > > Yes it's accessing the list. Here is the faddr2line output. > > Ok, so it's a corrupted timer list. Which is not a big surprise. > > It's > > next->pprev = pprev; > > in __

Re: [PATCH v2 5/6] firmware: Add request_firmware_prefer_user() function

2017-11-10 Thread Pali Rohár
On Friday 10 November 2017 21:26:01 Luis R. Rodriguez wrote: > On Fri, Nov 10, 2017 at 12:38:27AM +0100, Pali Rohár wrote: > > This function works pretty much like request_firmware(), but it prefer > > usermode helper. If usermode helper fails then it fallback to direct > > access. Useful for dynam

Re: [PATCH v2 5/6] firmware: Add request_firmware_prefer_user() function

2017-11-10 Thread Luis R. Rodriguez
On Fri, Nov 10, 2017 at 12:26 PM, Luis R. Rodriguez wrote: > even if you *leave* the flag in place and a driver required > this, but the kernel was compiled without CONFIG_FW_LOADER_USER_HELPER then > calling fw_load_from_user_helper would just already return -ENOENT, as such it > would in turn fa

Re: [PATCH v2 5/6] firmware: Add request_firmware_prefer_user() function

2017-11-10 Thread Luis R. Rodriguez
On Fri, Nov 10, 2017 at 12:38:27AM +0100, Pali Rohár wrote: > This function works pretty much like request_firmware(), but it prefer > usermode helper. If usermode helper fails then it fallback to direct > access. Useful for dynamic or model specific firmware data. > > Signed-off-by: Pali Rohár >

Re: [run_timer_softirq] BUG: unable to handle kernel paging request at 0000000000010007

2017-11-10 Thread Linus Torvalds
On Wed, Nov 8, 2017 at 9:19 PM, Fengguang Wu wrote: > > Yes it's accessing the list. Here is the faddr2line output. Ok, so it's a corrupted timer list. Which is not a big surprise. It's next->pprev = pprev; in __hlist_del(), and the trapping instruction decodes as mov

Re: AP6335 with mainline kernel

2017-11-10 Thread Arend van Spriel
On 10-11-17 13:43, Vanessa Maegima wrote: Hi, On Qui, 2017-09-21 at 12:30 -0300, Vanessa Ayumi Maegima wrote: Hi Arend, On Thu, Sep 21, 2017 at 4:26 AM, Arend van Spriel wrote: On 20-09-17 21:33, Vanessa Ayumi Maegima wrote: Hi, I am trying to enable Wifi on imx7d-pico using mainline ke

[PATCH] mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()

2017-11-10 Thread Ben Hutchings
hwsim_new_radio_nl() now copies the name attribute in order to add a null-terminator. mac80211_hwsim_new_radio() (indirectly) copies it again into the net_device structure, so the first copy is not used or freed later. Free the first copy before returning. Fixes: ff4dd73dd2b4 ("mac80211_hwsim: c

Re: AP6335 with mainline kernel

2017-11-10 Thread Vanessa Maegima
Hi, On Qui, 2017-09-21 at 12:30 -0300, Vanessa Ayumi Maegima wrote: > Hi Arend, > > On Thu, Sep 21, 2017 at 4:26 AM, Arend van Spriel > wrote: > > > > On 20-09-17 21:33, Vanessa Ayumi Maegima wrote: > > > > > > > > > Hi, > > > > > > I am trying to enable Wifi on imx7d-pico using mainline ker

[PATCH v7] brcmfmac: add CLM download support

2017-11-10 Thread Wright Feng
From: Chung-Hsien Hsu The firmware for brcmfmac devices includes information regarding regulatory constraints. For certain devices this information is kept separately in a binary form that needs to be downloaded to the device. This patch adds support to download this so-called CLM blob file. It u

Re: [PATCH v6] brcmfmac: add CLM download support

2017-11-10 Thread Chung-Hsien Hsu
On Fri, Nov 10, 2017 at 08:15:19AM +0200, Kalle Valo wrote: > Wright Feng writes: > > > From: Chung-Hsien Hsu > > > > The firmware for brcmfmac devices includes information regarding > > regulatory constraints. For certain devices this information is kept > > separately in a binary form that nee