Re: [PATCH v4 00/10] prevent bounds-check bypass via speculative execution

2018-01-19 Thread Dan Williams
On Thu, Jan 18, 2018 at 4:01 PM, Dan Williams wrote: > Changes since v3 [1] > * Drop 'ifence_array_ptr' and associated compile-time + run-time > switching and just use the masking approach all the time. > > * Convert 'get_user' to use pointer sanitization via masking rather than > lfence. '__g

Re: [PATCH 01/10] rtlwifi: btcoex: extend get_wifi_bw to support bandwidth 80M

2018-01-19 Thread Larry Finger
On 01/19/2018 12:45 AM, pks...@realtek.com wrote: From: Ping-Ke Shih The rtlwifi newer ICs support 80M bandwidth in 5G band, so extend get_wifi_bw() to know bandwidth 80M that helps btcoex to make correct decisions. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.

Re: [PATCH 06/10] rtlwifi: btcoex: add boolean variables dbg_mode

2018-01-19 Thread Larry Finger
On 01/19/2018 12:45 AM, pks...@realtek.com wrote: From: Ping-Ke Shih In files halbtc8822b1ant.c and halbtc8822b2ant.c that I will submit later, two undesired directives named BT_8822B_1ANT_COEX_DBG and BT_8822B_2ANT_COEX_DBG will be replaced by boolean variables. Signed-off-by: Ping-Ke Shih -

Re: [PATCH 07/10] rtlwifi: btcoex: Fix some static warnings from Sparse

2018-01-19 Thread Larry Finger
On 01/19/2018 12:45 AM, pks...@realtek.com wrote: From: Ping-Ke Shih Add 'static' or declaration to resolve the warnings. Signed-off-by: Ping-Ke Shih --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 36 +++--- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 4

Re: [PATCH 08/10] rtlwifi: 8822be has to report vht capability to mac80211

2018-01-19 Thread Larry Finger
On 01/19/2018 12:45 AM, pks...@realtek.com wrote: From: Ping-Ke Shih 8822be is 2x2 11ac wifi chip, so report VHT capability to mac80211. Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtlwifi/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Larry Fin

[PATCH 4/8] wil6210: support flashless device

2018-01-19 Thread Maya Erez
From: Dedy Lansky Talyn device supports boot without flash. Driver detects flashless device and in this case waits for ready indication from HW machine (instead of bootloader ready indication). Also in this case, MAC address is retrieved from OTP. Signed-off-by: Dedy Lansky Signed-off-by: Maya

[PATCH 2/8] wil6210: recognize Talyn JTAG ID

2018-01-19 Thread Maya Erez
Add Talyn JTAG ID to the list of valid IDs and identify this device as Talyn. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/pcie_bus.c | 4 drivers/net/wireless/ath/wil6210/wil6210.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/drivers/net/wireless/ath/wil6210/pc

[PATCH 8/8] wil6210: support parsing brd file address from fw file

2018-01-19 Thread Maya Erez
In order to allow using the same brd file across different 11ad chips, the address for loading the brd file should be part of the FW file, instead of the brd file. The brd file is expected to include only one section. To allow backward compatibility the driver reads the address from the brd file in

[PATCH 7/8] wil6210: enlarge FW mac_rgf_ext section for Sparrow D0

2018-01-19 Thread Maya Erez
From: Lior David Sparrow D0 chips have slightly larger mac_rgf_ext section in order to support extra features such as multiple virtual interfaces. Signed-off-by: Lior David Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/pcie_bus.c | 12 +--- drivers/net/wireless/ath/wil

[PATCH 6/8] wil6210: fix random failure to bring network interface up

2018-01-19 Thread Maya Erez
From: Lior David Currently when we want to bring the interface up, we first reset the device which causes the boot loader to run. Then we halt the device CPU, load FW image and resume the device CPU. There are some boot loader versions which perform redundant memory accesses even when idle. Halti

[PATCH 5/8] wil6210: configure OTP HW vectors in SW reset flow

2018-01-19 Thread Maya Erez
OTP HW vectors values are different for 40MHz and 330MHz AHB clocks. In SW reset flow, the host driver sets the clock frequency to 40MHz. In order to allow reading from the OTP, the host driver should configure the OTP HW vectors with the values that fits this clock frequency. Signed-off-by: Maya

[PATCH 1/8] wil6210: add Talyn PCIe device ID

2018-01-19 Thread Maya Erez
PCIe device ID has changed in Talyn. Add this ID to wil6210_pcie_ids list to allow recognition of Talyn device. Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/pcie_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/wil6210/pcie_bus.c b/drivers/ne

[PATCH 0/8] wil6210 patches

2018-01-19 Thread Maya Erez
The following patches add support for new wil6210 device and general fixes. Dedy Lansky (1): wil6210: support flashless device Lior David (2): wil6210: fix random failure to bring network interface up wil6210: enlarge FW mac_rgf_ext section for Sparrow D0 Maya Erez (5): wil6210: add Taly

[PATCH 3/8] wil6210: add support for Talyn AHB address map

2018-01-19 Thread Maya Erez
Talyn memory has changed, areas were increased and shifted to new locations. Use the appropriate address map according to the device JTAG ID. Signed-off-by: Dedy Lansky Signed-off-by: Maya Erez --- drivers/net/wireless/ath/wil6210/interrupt.c | 6 ++- drivers/net/wireless/ath/wil6210/pcie_bus.

Re: pull-request: wireless-drivers-next 2018-01-19

2018-01-19 Thread David Miller
From: Kalle Valo Date: Fri, 19 Jan 2018 10:59:33 +0200 > a pull request to net-next tree for 4.16. This should be the last pull > request in this cycle, unless Linus releases -rc9 of course. Only few > patches so should be an easy one. Please let me know if there are any > problems. Pulled, than

Re: sdio failure to initialize on warm boot.

2018-01-19 Thread Kyle Evans
* Arend van Spriel : > On 1/18/2018 6:50 PM, Kyle Evans wrote: > > * Arend van Spriel : > >> On 1/12/2018 9:18 PM, Kyle Evans wrote: > >>> 2) After reboot I get this nasty error... > >>> [0.00] Kernel command line: console=tty0 selinux=0 > >>> video=1280x800 root=/dev/mmcblk1p1 brcmfmac.beb

Re: [PATCH 04/14] staging: wilc1000: rename host_int_ParseJoinBssParam() and it's variable using camelCase

2018-01-19 Thread Claudiu Beznea
On 19.01.2018 14:44, Dan Carpenter wrote: > On Fri, Jan 19, 2018 at 01:20:00PM +0200, Claudiu Beznea wrote: >> It is hard to review this. Anyway, Reviewed-by: Claudiu Beznea >> >> > > I have a script I use. It's sort of hacky, but it's a time saver. I've > attached it. > > To review this on

Re: [PATCH 04/14] staging: wilc1000: rename host_int_ParseJoinBssParam() and it's variable using camelCase

2018-01-19 Thread Dan Carpenter
On Fri, Jan 19, 2018 at 01:20:00PM +0200, Claudiu Beznea wrote: > It is hard to review this. Anyway, Reviewed-by: Claudiu Beznea > > I have a script I use. It's sort of hacky, but it's a time saver. I've attached it. To review this one, I do `cat | rename_rev.pl -a` regards, dan carpenter

Re: pull-request mwifiex-firmware 2018-01-16

2018-01-19 Thread Josh Boyer
On Tue, Jan 16, 2018 at 5:59 AM, Xinming Hu wrote: > The following changes since commit db3e1855ea46bc1a22b8bbecb400c2909c551cf5: > > linux-firmware: update Marvell PCIe-USB8997 firmware image (2017-10-31 > 20:49:53 +0530) > > are available in the git repository at: > > git://git.marvell.com/

Re: UBSAN: Undefined behaviour in drivers/net/wireless/ath/ath10k/mac.c:3092:53: signed integer overflow

2018-01-19 Thread Andrey Ryabinin
2018-01-19 13:24 GMT+03:00 Kalle Valo : > Adding linux-wireless. > > For linux-wireless the full report is here: > > https://lkml.kernel.org/r/70aa931f-2f02-dd26-c98b-695d1321f...@molgen.mpg.de > > Paul Menzel writes: > >> I enabled the undefined behavior sanitizer, and built Linus’ master >> bran

Re: [PATCH 00/14] fix to remove unnecessary parenthesis,typedef and avoid camelCase

2018-01-19 Thread Claudiu Beznea
All series Reviewed-by: Claudiu Beznea with the inline comments. Ajay, one general remark, please use Capital letters when beginning new sentences (I'm talking about commit descriptions). Thanks, Claudiu Beznea On 18.01.2018 15:16, Ajay Singh wrote: > This patch series contains changes to fix i

Re: [PATCH 09/14] staging: wilc1000: rename pstrHostIFconnectAttr argument to avoid camelCase

2018-01-19 Thread Claudiu Beznea
On 18.01.2018 15:17, Ajay Singh wrote: > fix "Avoid camelCase" issue found by checkpatch.pl script. > > Signed-off-by: Ajay Singh > --- > drivers/staging/wilc1000/host_interface.c | 104 > ++ > 1 file changed, 49 insertions(+), 55 deletions(-) > > diff --git a/dri

Re: [PATCH 10/14] staging: wilc1000: rename ptstrJoinBssParam variable to avoid camelCase

2018-01-19 Thread Claudiu Beznea
On 18.01.2018 15:17, Ajay Singh wrote: > fix "Avoid camelCase" issue reported by checkpatch.pl script. > > Signed-off-by: Ajay Singh > --- > drivers/staging/wilc1000/host_interface.c | 78 > +++ > 1 file changed, 39 insertions(+), 39 deletions(-) > > diff --git a/

Re: [PATCH 05/14] staging: wilc1000: rename camelCase used in Handle_DelAllSta() and its variable

2018-01-19 Thread Claudiu Beznea
On 18.01.2018 15:17, Ajay Singh wrote: > fix "Avoid camelCase" issue reported by checkpatch.pl script. > > Signed-off-by: Ajay Singh > --- > drivers/staging/wilc1000/host_interface.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/st

Re: [PATCH 04/14] staging: wilc1000: rename host_int_ParseJoinBssParam() and it's variable using camelCase

2018-01-19 Thread Claudiu Beznea
It is hard to review this. Anyway, Reviewed-by: Claudiu Beznea On 18.01.2018 15:17, Ajay Singh wrote: > fix "Avoid CamelCase:" issue reported by checkpatch.pl script > Rename host_int_ParseJoinBssParam() & its variables name using > camelCase. > > Signed-off-by: Ajay Singh > --- > drivers/sta

Re: UBSAN: Undefined behaviour in drivers/net/wireless/ath/ath10k/mac.c:3092:53: signed integer overflow

2018-01-19 Thread Kalle Valo
Adding linux-wireless. For linux-wireless the full report is here: https://lkml.kernel.org/r/70aa931f-2f02-dd26-c98b-695d1321f...@molgen.mpg.de Paul Menzel writes: > I enabled the undefined behavior sanitizer, and built Linus’ master > branch under Ubuntu 16.04 with gcc (Ubuntu 5.4.0-6ubuntu1

Re: [PATCH] MAINTAINERS: wireless: update wil6210 maintainer entry

2018-01-19 Thread merez
On 2018-01-18 18:34, Kalle Valo wrote: Maya Erez writes: wil6210 maintainer email and mail list has changed, hence update its MAINTAINERS entry accordingly. Signed-off-by: Maya Erez Maya, for some reason you CCed your address with a typo (the 'e' character is missing): Maya Erez Better

Re: AP6335 with mainline kernel

2018-01-19 Thread Arend van Spriel
On 1/18/2018 12:47 PM, Vanessa Maegima wrote: Hi Arend, On Ter, 2018-01-16 at 21:21 +0100, Arend van Spriel wrote: On 1/15/2018 9:08 PM, Fabio Estevam wrote: Hi Arend, On Tue, Dec 5, 2017 at 12:58 PM, Vanessa Maegima wrote: Hi Arend, Sorry for this! I updated the folder on https://emea

pull-request: wireless-drivers-next 2018-01-19

2018-01-19 Thread Kalle Valo
Hi Dave, a pull request to net-next tree for 4.16. This should be the last pull request in this cycle, unless Linus releases -rc9 of course. Only few patches so should be an easy one. Please let me know if there are any problems. Kalle The following changes since commit 79d891c1bbb6573cef31dbc20

Re: [PATCH 1/2] mt76x2: init: disable tbtt tasklet during device cleanup

2018-01-19 Thread Lorenzo Bianconi
> Lorenzo Bianconi writes: > >> Signed-off-by: Lorenzo Bianconi > > No empty commit logs, please. At least the commit log should answer the > question "Why?". For example, are you fixing a reported bug or are you > fixing is a theoretical issue you found during code review? What kind of > symtomp

Re: [PATCH 1/2] mt76x2: init: disable tbtt tasklet during device cleanup

2018-01-19 Thread Kalle Valo
Lorenzo Bianconi writes: > Signed-off-by: Lorenzo Bianconi No empty commit logs, please. At least the commit log should answer the question "Why?". For example, are you fixing a reported bug or are you fixing is a theoretical issue you found during code review? What kind of symtomps does this b

Re: sdio failure to initialize on warm boot.

2018-01-19 Thread Arend van Spriel
On 1/18/2018 6:50 PM, Kyle Evans wrote: * Arend van Spriel : On 1/12/2018 9:18 PM, Kyle Evans wrote: 2) After reboot I get this nasty error... [0.00] Kernel command line: console=tty0 selinux=0 video=1280x800 root=/dev/mmcblk1p1 brcmfmac.bebug=0x2 [2.269750] mmc0: Invalid maximu