[PATCH] ARM: amba: Move EXPORT_SYMBOL immediately next to the exported function

2019-08-18 Thread Rishi Gupta
EXPORT_SYMBOL should appear next to the function as it improves code maintenance. This commit fixes this issue as identified by checkpatch script. Signed-off-by: Rishi Gupta --- drivers/amba/bus.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Oleksij Rempel
Am 18.08.19 um 04:29 schrieb Chuanhong Guo: > Hi! > > On Sun, Aug 18, 2019 at 2:06 AM Oleksij Rempel wrote: SYSC_REG_CPLL_CLKCFG1 register is a clock gate controller. It is used to enable or disable clocks. Jist wild assumption. All peripheral devices are suing bus clock. >>> >>>

RE: [PATCH 5/6] clk: imx8mn: Add necessary frequency support for ARM PLL table

2019-08-18 Thread Anson Huang
Hi, Stephen > Quoting Anson Huang (2019-08-17 15:22:01) > > Hi, Stephen > > > > > Quoting anson.hu...@nxp.com (2019-08-15 03:59:42) > > > > diff --git a/drivers/clk/imx/clk-imx8mn.c > > > > b/drivers/clk/imx/clk-imx8mn.c index ecd1062..3f1239a 100644 > > > > --- a/drivers/clk/imx/clk-imx8mn.c > >

Re: [PATCH] staging: android: Remove ion device tree bindings from the TODO

2019-08-18 Thread Greg KH
On Sun, Aug 18, 2019 at 01:47:38AM -0400, Donald Yandt wrote: > On Sun, Aug 18, 2019 at 1:03 AM Greg KH wrote: > > > > On Sat, Aug 17, 2019 at 05:37:58PM -0400, Donald Yandt wrote: > > > This patch removes the todo for the ion chunk and > > > carveout device tree bindings. > > > > > >

[PATCH] toshiba: Add correct printk log level while emitting error log

2019-08-18 Thread Rishi Gupta
printk function is invoked without specifying KERN_ERR log level when printing error messages. This commit fixes this. Signed-off-by: Rishi Gupta --- drivers/char/toshiba.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/toshiba.c b/drivers/char/toshiba.c

[PATCH] media: ti-vpe: Add cleanup in vpdma_list_cleanup()

2019-08-18 Thread Wenwen Wang
If an error occurs in this function, no cleanup is executed, leading to memory/resource leaks. To fix this issue, introduce two labels to perform the cleanup work. Signed-off-by: Wenwen Wang --- drivers/media/platform/ti-vpe/vpdma.c | 10 ++ 1 file changed, 6 insertions(+), 4

Re: [PATCH] toshiba: Add correct printk log level while emitting error log

2019-08-18 Thread Joe Perches
On Sun, 2019-08-18 at 12:09 +0530, Rishi Gupta wrote: > TOSH_DEBUG Perhaps better to remove it altogether and just use pr_debug.

[PATCH RESEND V2 7/7] arm64: dts: imx8mn: Add cpu-freq support

2019-08-18 Thread Anson Huang
Add A53 OPP table, cpu regulator and speed grading node to support cpu-freq driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 4 +++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 41 +++ 2 files changed, 45

[PATCH RESEND V2 1/7] arm64: dts: imx8mn-ddr4-evk: Add i2c1 support

2019-08-18 Thread Anson Huang
Enable i2c1 on i.MX8MN DDR4 EVK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts

[PATCH RESEND V2 3/7] cpufreq: Use imx-cpufreq-dt for i.MX8MN's speed grading

2019-08-18 Thread Anson Huang
Add i.MX8MN to blacklist, so that imx-cpufreq-dt driver can handle speed grading bits just like other i.MX8M SoCs. Signed-off-by: Anson Huang --- No changes. --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c

[PATCH RESEND V2 2/7] arm64: dts: imx8mn-ddr4-evk: Add rohm,bd71847 PMIC support

2019-08-18 Thread Anson Huang
On i.MX8MN DDR4 EVK board, there is a rohm,bd71847 PMIC on i2c1 bus, enable it. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 109 ++ 1 file changed, 109 insertions(+) diff --git

[PATCH RESEND V2 4/7] cpufreq: imx-cpufreq-dt: Add i.MX8MN support

2019-08-18 Thread Anson Huang
i.MX8MN has different speed grading definition as below, it has 4 bits to define speed grading, add support for it. SPEED_GRADE[3:0]MHz 2300 00012200 00102100 00112000 01001900 01011800

[PATCH RESEND V2 5/7] clk: imx8mn: Add missing rate_count assignment for each PLL structure

2019-08-18 Thread Anson Huang
Add .rate_count assignment which is necessary for searching required PLL rate from the each PLL table. Fixes: 96d6392b54db ("clk: imx: Add support for i.MX8MN clock driver") Signed-off-by: Anson Huang --- Changes since V1: - split the patch into 2 patches, #1 fixed those missing

[PATCH RESEND V2 6/7] clk: imx8mn: Add necessary frequency support for ARM PLL table

2019-08-18 Thread Anson Huang
i.MX8MN supports CPU running at 1.5GHz/1.4GHz/1.2GHz, add missing frequency for ARM PLL table. Signed-off-by: Anson Huang --- Changes since V1: - split the patch into 2 patches, #1 fixed those missing .rate_count assignment, #2 add missing frequency points. ---

Re: [PATCH v2] virtio-net: lower min ring num_free for efficiency

2019-08-18 Thread Michael S. Tsirkin
On Thu, Aug 15, 2019 at 09:42:40AM +, ? jiang wrote: > This change lowers ring buffer reclaim threshold from 1/2*queue to budget > for better performance. According to our test with qemu + dpdk, packet > dropping happens when the guest is not able to provide free buffer in > avail ring timely

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Chuanhong Guo
Hi! On Sun, Aug 18, 2019 at 2:10 PM Oleksij Rempel wrote: > > >> We have at least 2 know registers: > >> SYSC_REG_CPLL_CLKCFG0 - it provides some information about boostrapped > >> refclock. PLL and dividers used for CPU and some sort of BUS (AHB?). > >> SYSC_REG_CPLL_CLKCFG1 - a banch of gates

[PATCH] mtd: rawnand: Fix a memory leak bug

2019-08-18 Thread Wenwen Wang
In nand_scan_bbt(), a temporary buffer 'buf' is allocated through vmalloc(). However, if check_create() fails, 'buf' is not deallocated, leading to a memory leak bug. To fix this issue, free 'buf' before returning the error. Signed-off-by: Wenwen Wang --- drivers/mtd/nand/raw/nand_bbt.c | 8

[PATCH v2] toshiba: Add correct printk log level while emitting error log

2019-08-18 Thread Rishi Gupta
The printk functions are invoked without specifying required log level when printing error messages. This commit replaces all direct uses of printk with their corresponding pr_err/info/debug variant. Signed-off-by: Rishi Gupta --- Changes in v2: - Replaced all printk(KERN_ERR with pr_err( -

Re: [PATCH] arch : arm : add a criteria for pfn_valid

2019-08-18 Thread Zhaoyang Huang
On Sun, Aug 18, 2019 at 2:32 AM Russell King - ARM Linux admin wrote: > > On Sat, Aug 17, 2019 at 11:00:13AM +0800, Zhaoyang Huang wrote: > > From: Zhaoyang Huang > > > > pfn_valid can be wrong while the MSB of physical address be trimed as pfn > > larger than the max_pfn. > > What scenario are

Re: [PATCH v3] lsilogic mpt fusion: mptctl: Fixed race condition around mptctl_id variable using mutexes

2019-08-18 Thread Julian Calaby
Hi Mark, On Thu, Aug 15, 2019 at 8:02 PM Mark Balantzyan wrote: > > Certain functions in the driver, such as mptctl_do_fw_download() and > mptctl_do_mpt_command(), rely on the instance of mptctl_id, which does the > id-ing. There is race condition possible when these functions operate in >

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Oleksij Rempel
Am 18.08.19 um 09:19 schrieb Chuanhong Guo: > Hi! > > On Sun, Aug 18, 2019 at 2:10 PM Oleksij Rempel wrote: >> We have at least 2 know registers: SYSC_REG_CPLL_CLKCFG0 - it provides some information about boostrapped refclock. PLL and dividers used for CPU and some sort of BUS

Re: PROBLEM: 5.3.0-rc* causes iwlwifi failure

2019-08-18 Thread Chris Clayton
On 17/08/2019 22:44, Stuart Little wrote: > After some private coaching from Serge Belyshev on git-revert I can confirm > that reverting that commit atop the current tree resolves the issue (the wifi > card scans for and finds networks just fine, no dmesg errors reported, etc.). > I've

Re: [PATCH] arch : arm : add a criteria for pfn_valid

2019-08-18 Thread Mike Rapoport
On Sun, Aug 18, 2019 at 03:46:51PM +0800, Zhaoyang Huang wrote: > On Sun, Aug 18, 2019 at 2:32 AM Russell King - ARM Linux admin > wrote: > > > > On Sat, Aug 17, 2019 at 11:00:13AM +0800, Zhaoyang Huang wrote: > > > From: Zhaoyang Huang > > > > > > pfn_valid can be wrong while the MSB of

Re: iwlwifi: microcode SW error detected

2019-08-18 Thread Chris Clayton
On 17/08/2019 08:19, Chris Clayton wrote: > Hi. > > I just found the following error in the output from dmesg. > > [ 4023.460058] iwlwifi :02:00.0: Microcode SW error detected. Restarting > 0x0. Since reporting, I've found that this problem is being explored in the thread that starts

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Chuanhong Guo
Hi! On Sun, Aug 18, 2019 at 3:59 PM Oleksij Rempel wrote: > > Am 18.08.19 um 09:19 schrieb Chuanhong Guo: > > Hi! > > > > On Sun, Aug 18, 2019 at 2:10 PM Oleksij Rempel > > wrote: > >> > We have at least 2 know registers: > SYSC_REG_CPLL_CLKCFG0 - it provides some information about

[PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-08-18 Thread Christoph Hellwig
The sifive_l2_cache.c is in no way related to RISC-V architecture memory management. It is a little stub driver working around the fact that the EDAC maintainers prefer their drivers to be structured in a certain way that doesn't fit the SiFive SOCs. Move the file to drivers/soc and add a

Re: [PATCH v2 2/2] vfs: don't allow writes to swap files

2019-08-18 Thread Christoph Hellwig
On Fri, Aug 16, 2019 at 09:19:49AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > Don't let userspace write to an active swap file because the kernel > effectively has a long term lease on the storage and things could get > seriously corrupted if we let this happen. > >

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Chuanhong Guo
On Sun, Aug 18, 2019 at 4:26 PM Chuanhong Guo wrote: > > Hi! > > On Sun, Aug 18, 2019 at 3:59 PM Oleksij Rempel wrote: > > > > Am 18.08.19 um 09:19 schrieb Chuanhong Guo: > > > Hi! > > > > > > On Sun, Aug 18, 2019 at 2:10 PM Oleksij Rempel > > > wrote: > > >> > > We have at least 2 know

[GIT PULL] Staging/IIO driver fixes for 5.3-rc5

2019-08-18 Thread Greg KH
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.3-rc5 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 5.3-rc5

2019-08-18 Thread Greg KH
The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.3-rc5 for you to fetch changes up to

Re: [PATCH 1/4] resource: add a not device managed request_free_mem_region variant

2019-08-18 Thread Christoph Hellwig
On Fri, Aug 16, 2019 at 02:01:34PM -0700, Andrew Morton wrote: > On Fri, 16 Aug 2019 08:54:31 +0200 Christoph Hellwig wrote: > > > Just add a simple macro that passes a NULL dev argument to > > dev_request_free_mem_region, and call request_mem_region in the > > function for that particular case.

Re: [PATCH 4/4] memremap: provide a not device managed memremap_pages

2019-08-18 Thread Christoph Hellwig
On Fri, Aug 16, 2019 at 02:00:57PM -0700, Andrew Morton wrote: > On Fri, 16 Aug 2019 08:54:34 +0200 Christoph Hellwig wrote: > > > The kvmppc ultravisor code wants a device private memory pool that is > > system wide and not attached to a device. Instead of faking up one > > provide a low-level

add a not device managed memremap_pages v3

2019-08-18 Thread Christoph Hellwig
Hi Dan and Jason, Bharata has been working on secure page management for kvmppc guests, and one I thing I noticed is that he had to fake up a struct device just so that it could be passed to the devm_memremap_pages instrastructure for device private memory. This series adds non-device managed

[GIT PULL] SPDX fixes for 5.3-rc5

2019-08-18 Thread Greg KH
The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b: Linux 5.3-rc2 (2019-07-28 12:47:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git tags/spdx-5.3-rc5 for you to fetch changes up to

[PATCH 1/4] resource: add a not device managed request_free_mem_region variant

2019-08-18 Thread Christoph Hellwig
Factor out the guts of devm_request_free_mem_region so that we can implement both a device managed and a manually release version as tiny wrappers around it. Signed-off-by: Christoph Hellwig Reviewed-by: Ira Weiny --- include/linux/ioport.h | 2 ++ kernel/resource.c | 45

[PATCH 3/4] memremap: don't use a separate devm action for devmap_managed_enable_get

2019-08-18 Thread Christoph Hellwig
Just clean up for early failures and then piggy back on devm_memremap_pages_release. This helps with a pending not device managed version of devm_memremap_pages. Signed-off-by: Christoph Hellwig Reviewed-by: Ira Weiny --- kernel/memremap.c | 15 ++- 1 file changed, 10

[PATCH 4/4] memremap: provide a not device managed memremap_pages

2019-08-18 Thread Christoph Hellwig
The kvmppc ultravisor code wants a device private memory pool that is system wide and not attached to a device. Instead of faking up one provide a low-level memremap_pages for it. Signed-off-by: Christoph Hellwig Reviewed-by: Ira Weiny --- include/linux/memremap.h | 2 + kernel/memremap.c

[PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-18 Thread Christoph Hellwig
The dev field in struct dev_pagemap is only used to print dev_name in two places, which are at best nice to have. Just remove the field and thus the name in those two messages. Signed-off-by: Christoph Hellwig Reviewed-by: Ira Weiny --- include/linux/memremap.h | 1 - kernel/memremap.c

stable markup was Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates

2019-08-18 Thread Pavel Machek
Hi! > The most I'll take is two separate patches. One is going to be marked > for stable as it fixes a real bug. The other is more for cosmetic or > theoretical issues, that I will state clearly "NOT FOR STABLE", such > that the autosel doesn't take them. Do we have standartized way to mark

[PATCH 1/7] dt-bindings: imx-ocotp: Add i.MX8MN compatible

2019-08-18 Thread Srinivas Kandagatla
From: Anson Huang Add compatible for i.MX8MN and add i.MX8MM/i.MX8MN to the description. Signed-off-by: Anson Huang Reviewed-by: Rob Herring Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH nvmem v2 0/2] nvmem: imx: add i.MX8QM platform support

2019-08-18 Thread Srinivas Kandagatla
On 07/08/2019 05:03, fugang.d...@nxp.com wrote: From: Fugang Duan The patch set is to add i.MX8QM platform support for i.MX8 SCU OCOTP driver due to i.MX8QM efuse table has some difference with i.MX8QXP platform. V2: - Add dt-bindings for the new compatible string support. Fugang Duan

[PATCH 4/7] nvmem: meson-mx-efuse: allow reading data smaller than word_size

2019-08-18 Thread Srinivas Kandagatla
From: Martin Blumenstingl Some Amlogic boards store the Ethernet MAC address inside the eFuse. The Ethernet MAC address uses 6 bytes. The existing logic in meson_mx_efuse_read() would write beyond the end of the data buffer when trying to read data with a size that is not aligned to word_size (4

[PATCH 6/7] dt-bindings: fsl: scu: add new compatible string for ocotp

2019-08-18 Thread Srinivas Kandagatla
From: Fugang Duan Add new compatible string "fsl,imx8qm-scu-ocotp" into binding doc for i.MX8 SCU OCOTP driver. Signed-off-by: Fugang Duan Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 2/7] nvmem: imx-ocotp: Add i.MX8MN support

2019-08-18 Thread Srinivas Kandagatla
From: Anson Huang i.MX8MN is a new SoC of i.MX8M series, it is similar to i.MX8MM in terms of addressing and clock setup, add support for its fuse read/write. Signed-off-by: Anson Huang Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-ocotp.c | 7 +++ 1 file changed, 7

[PATCH 7/7] nvmem: imx: add i.MX8QM platform support

2019-08-18 Thread Srinivas Kandagatla
From: Fugang Duan i.MX8QM efuse table has some difference with i.MX8QXP platform, so add i.MX8QM platform support. Signed-off-by: Fugang Duan Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-ocotp-scu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 0/7] nvmem: patches(set 1) for 5.4

2019-08-18 Thread Srinivas Kandagatla
Hi Greg, Here are some nvmem patches for 5.4 which includes: - adding support to new imx mx8mn octp and mx8qm fsl providers - fix for smaller word size in meson provider and fix in sunxi provier. - finally author email update from Stefan Can you please queue them up for 5.4. thanks, srini

[PATCH 5/7] nvmem: mxs-ocotp: update MODULE_AUTHOR() email address

2019-08-18 Thread Srinivas Kandagatla
From: Stefan Wahren The email address listed in MODULE_AUTHOR() will be disabled in the near future. Replace it with my private one. Signed-off-by: Stefan Wahren Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/mxs-ocotp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/7] nvmem: sunxi_sid: fix A64 SID controller support

2019-08-18 Thread Srinivas Kandagatla
From: Stefan Mavrodiev Like in H3, A64 SID controller doesn't return correct data when using direct access. It appears that on A64, SID needs 8 bytes of word_size. Workaround is to enable read by registers. Signed-off-by: Stefan Mavrodiev Acked-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick

[PATCH 1/2] slimbus: qcom-ngd-ctrl: Add of_node_put() before return

2019-08-18 Thread Srinivas Kandagatla
From: Nishka Dasgupta Each iteration of for_each_available_child_of_node puts the previous node, but in the case of a return from the middle of the loop, there is no put, thus causing a memory leak. Hence add an of_node_put before the return in two places. Issue found with Coccinelle.

[PATCH 0/2] slimbus: patches(set 1) for 5.4

2019-08-18 Thread Srinivas Kandagatla
Hi Greg, Here are some slimbus patches for 5.4 which includes: Two fixes, one to fix the dt node refcount and other is to address a coccicheck. Can you please queue them up for 5.4. Thanks, srini Nishka Dasgupta (1): slimbus: qcom-ngd-ctrl: Add of_node_put() before return Srinivas

[PATCH 2/2] slimbus: fix slim_tid_txn()

2019-08-18 Thread Srinivas Kandagatla
fix below issue reported by coccicheck ./drivers/slimbus/slimbus.h:440:3-46: duplicated argument to && or || Looks like this was a typo, SLIM_MSG_MC_REQUEST_CHANGE_VALUE is command which requires transaction ID, so fix it, this also fix the warning. Reported-by: Hariprasad Kelam Signed-off-by:

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Oleksij Rempel
Am 18.08.19 um 10:44 schrieb Chuanhong Guo: > On Sun, Aug 18, 2019 at 4:26 PM Chuanhong Guo wrote: >> >> Hi! >> >> On Sun, Aug 18, 2019 at 3:59 PM Oleksij Rempel >> wrote: >>> >>> Am 18.08.19 um 09:19 schrieb Chuanhong Guo: Hi! On Sun, Aug 18, 2019 at 2:10 PM Oleksij Rempel

Re: [PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-08-18 Thread Chuanhong Guo
Hi! On Sun, Aug 18, 2019 at 5:51 PM Oleksij Rempel wrote: > > lets see more code: > drivers/staging/mt7621-mmc/sd.c > /* clock source for host: global */ > #if defined(CONFIG_SOC_MT7620) > static u32 hclks[] = {4800}; /* +/- by chhung */ > #elif defined(CONFIG_SOC_MT7621) > static u32

Re: [PATCH] arch : arm : add a criteria for pfn_valid

2019-08-18 Thread Russell King - ARM Linux admin
On Sun, Aug 18, 2019 at 11:20:35AM +0300, Mike Rapoport wrote: > On Sun, Aug 18, 2019 at 03:46:51PM +0800, Zhaoyang Huang wrote: > > On Sun, Aug 18, 2019 at 2:32 AM Russell King - ARM Linux admin > > wrote: > > > > > > On Sat, Aug 17, 2019 at 11:00:13AM +0800, Zhaoyang Huang wrote: > > > > From:

wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Pavel Machek
Hi! First, I guess I should mention that this is first time I'm attempting to get wifi going on D4. I'm getting this: user@devuan:~/g/ofono$ sudo ifconfig wlan0 down user@devuan:~/g/ofono$ sudo ifconfig wlan0 up user@devuan:~/g/ofono$ sudo iwlist wlan0 scan wlan0 Interface doesn't support

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Michael Nazzareno Trimarchi
Hi On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: > > Hi! > > First, I guess I should mention that this is first time I'm attempting > to get wifi going on D4. > > I'm getting this: > > user@devuan:~/g/ofono$ sudo ifconfig wlan0 down > user@devuan:~/g/ofono$ sudo ifconfig wlan0 up >

Re: PROBLEM: 5.3.0-rc* causes iwlwifi failure

2019-08-18 Thread Stuart Little
On Sun, Aug 18, 2019 at 09:17:59AM +0100, Chris Clayton wrote: > > > On 17/08/2019 22:44, Stuart Little wrote: > > After some private coaching from Serge Belyshev on git-revert I can confirm > > that reverting that commit atop the current tree resolves the issue (the > > wifi card scans for

[PATCH] platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1

2019-08-18 Thread Hans de Goede
Add touchscreen info for the Trekstor Primebook C11B 2-in-1, note the C11B used the same touchscreen as the regular C11, so we only add a new DMI match. Cc: Thomas Hiller Reported-and-tested-by: Thomas Hiller Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 8

[GIT pull] x86/urgent for 5.3-rc5

2019-08-18 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus up to: a90118c445cc: x86/boot: Save fields explicitly, zero out everything else A set of fixes for x86: - Fix the inconsistent error handling

[GIT pull] efi/urgent for 5.3-rc5

2019-08-18 Thread Thomas Gleixner
Linus, please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus up to: cbd32a1c56e3: Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent A single fix for a EFI

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Pavel Machek
On Sun 2019-08-18 12:53:01, Michael Nazzareno Trimarchi wrote: > Hi > > On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: > > > > Hi! > > > > First, I guess I should mention that this is first time I'm attempting > > to get wifi going on D4. > > > > I'm getting this: > > > >

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Pavel Machek
Hi! > > First, I guess I should mention that this is first time I'm attempting > > to get wifi going on D4. > > > > I'm getting this: > > > > user@devuan:~/g/ofono$ sudo ifconfig wlan0 down > > user@devuan:~/g/ofono$ sudo ifconfig wlan0 up > > user@devuan:~/g/ofono$ sudo iwlist wlan0 scan > >

Re: [PATCH] powerpc: optimise WARN_ON()

2019-08-18 Thread Segher Boessenkool
On Sat, Aug 17, 2019 at 09:04:42AM +, Christophe Leroy wrote: > Unlike BUG_ON(x), WARN_ON(x) uses !!(x) as the trigger > of the t(d/w)nei instruction instead of using directly the > value of x. > > This leads to GCC adding unnecessary pair of addic/subfe. And it has to, it is passed as an

Re: [RFC PATCH] powerpc: use __builtin_trap() in BUG/WARN macros.

2019-08-18 Thread Segher Boessenkool
Hi Christophe, On Sat, Aug 17, 2019 at 06:37:50PM +, Christophe Leroy wrote: > #define BUG() do { \ > + __builtin_trap(); \ GCC will optimise away all code after this, it knows it is unreachable. But you

Re: [PATCH v3 4/5] arm64: perf: Enable pmu counter direct access for perf event on armv8

2019-08-18 Thread kbuild test robot
/Raphael-Gault/perf-arm64-Add-test-to-check-userspace-access-to-hardware-counters/20190818-182238 config: arm-omap2plus_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Michael Nazzareno Trimarchi
Hi On Sun, Aug 18, 2019 at 1:43 PM Pavel Machek wrote: > > On Sun 2019-08-18 12:53:01, Michael Nazzareno Trimarchi wrote: > > Hi > > > > On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: > > > > > > Hi! > > > > > > First, I guess I should mention that this is first time I'm attempting > > >

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Michael Nazzareno Trimarchi
Hi Pavel For the second part On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: > > Hi! > > First, I guess I should mention that this is first time I'm attempting > to get wifi going on D4. > > I'm getting this: > > user@devuan:~/g/ofono$ sudo ifconfig wlan0 down > user@devuan:~/g/ofono$ sudo

Re: [PATCH v2] gpio: pl061: Fix the issue failed to register the ACPI interrtupion

2019-08-18 Thread kbuild test robot
-pl061-Fix-the-issue-failed-to-register-the-ACPI-interrtupion/20190818-183921 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH 19/20] pstore: fs superblock limits

2019-08-18 Thread Deepa Dinamani
On Fri, Aug 2, 2019 at 12:15 AM Arnd Bergmann wrote: > > On Fri, Aug 2, 2019 at 4:26 AM Deepa Dinamani wrote: > > > > On Tue, Jul 30, 2019 at 12:36 AM Arnd Bergmann wrote: > > > > > > On Tue, Jul 30, 2019 at 6:31 AM Kees Cook wrote: > > > > > > > > On Mon, Jul 29, 2019 at 06:49:23PM -0700,

[PATCH v6 12/13] MAINTAINERS: add Mediatek shutdown drivers

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add Section in MAINTAINERS file for poweroff driver Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: none changes since v3: moved SOB changes since v2: none (=v2 part 6) --- MAINTAINERS | 7 +++ 1 file changed, 7

[PATCH v6 06/13] mfd: mt6397: add mutex include

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add missing mutex.h Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: separated from "power: reset: add driver for mt6323 poweroff" --- include/linux/mfd/mt6397/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 02/13] dt-bindings: mfd: mediatek: update rtc to include mt6323

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add mt6323 to rtc-bindings Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: splitted from "dt-bindings: add powercontroller" --- Documentation/devicetree/bindings/mfd/mt6397.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v6 03/13] dt-bindings: mfd: mediatek: add mt6323 power-controller

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl - add powercontroller-section to existing binding-document - add mt6323-pwrc bindings-document with example Suggested-by: Frank Wunderlich Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich Acked-for-MFD-by: Lee Jones --- changes since v5: split out non-pwrc

[PATCH v6 01/13] dt-bindings: mfd: mediatek: mt6397: change to relative paths

2019-08-18 Thread Frank Wunderlich
paths in dt-bindings should be relative as suggested by Lee Johnes Suggested-By: Lee Jones Signed-off-by: Frank Wunderlich --- changes since v5: splitted from dt-bindings: add powercontroller --- Documentation/devicetree/bindings/mfd/mt6397.txt | 10 +- 1 file changed, 5 insertions(+),

[PATCH v6 04/13] dt-bindings: rtc: mediatek: add missing mt6397 rtc

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add missing devicetree-binding document for mt6397 rtc in later patch driver is extended with mt6323 chip Suggested-By: Alexandre Belloni Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: use relative path changes

[PATCH v6 07/13] rtc: mt6397: improvements of rtc driver

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl - use regmap_read_poll_timeout to drop while-loop - use devm-api to drop remove-callback Suggested-by: Alexandre Belloni Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: none changes since v3: none changes since v2: -

Re: [PATCH 28/79] libperf: Add perf_cpu_map struct

2019-08-18 Thread Guenter Roeck
On Sun, Jul 21, 2019 at 01:24:15PM +0200, Jiri Olsa wrote: > Adding perf_cpu_map struct into libperf. > > It's added as a declaration into into: > include/perf/cpumap.h > which will be included by users. > > The perf_cpu_map struct definition is added into: > include/internal/cpumap.h > >

[PATCH v6 11/13] power: reset: add driver for mt6323 poweroff

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add poweroff driver for mt6323 and make Makefile and Kconfig-Entries Suggested-by: Frank Wunderlich Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: split out mfd/mt6397/core.h changes since v4: none changes since v3: none changes since v2:

[PATCH v6 13/13] arm: dts: mt6323: add keys, power-controller, rtc and codec

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl support poweroff and power-related keys on bpi-r2 Suggested-by: Frank Wunderlich Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: none changes since v3: none changes since v2: none (=v2 part 7) ---

[PATCH v6 10/13] mfd: mt6323: add mt6323 rtc+pwrc

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl add entry for rtc and power-controller to mt6323 Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich Acked-for-MFD-by: Lee Jones --- changes since v5: none changes since v4: none changes since v3: none changes since v2: only splitting, second part of v2 part 4 ---

[PATCH v6 00/13] implement poweroff for mt6323 / bpi-r2

2019-08-18 Thread Frank Wunderlich
mainline-driver does not support mt6323 this series makes some cleanup to mt6397-rtc-driver, adds mt6323 and implement power-controller on it. tested on bananapi-r2 Original Patch from Josef Friedl changes since v5: - splitted part 1 to separate changes and additions not related to

[PATCH v6 08/13] mfd: mt6323: some improvements of mt6397-core

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl simplyfications (resource definitions my DEFINE_RES_* macros) Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich Acked-for-MFD-by: Lee Jones --- changes since v5: none changes since v4: do not touch year of copyright changes since v3: moved part 6 forward to let

[PATCH v6 09/13] rtc: mt6397: add compatible for mt6323

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl use mt6397 rtc driver also for mt6323 but with different base/size see "mfd: mt6323: add mt6323 rtc+pwrc" Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: none changes since v3: moved (was part 5) changes since v2:

[PATCH v6 05/13] rtc: mt6397: move some common definitions into rtc.h

2019-08-18 Thread Frank Wunderlich
From: Josef Friedl move code to separate header-file to reuse definitions later in poweroff-driver (drivers/power/reset/mt6323-poweroff.c) Suggested-by: Frank Wunderlich Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v5: none changes since v4: none changes

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-18 Thread Kalle Valo
Pavel Machek writes: > On Sun 2019-08-18 12:53:01, Michael Nazzareno Trimarchi wrote: >> Hi >> >> On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: >> > >> > Hi! >> > >> > First, I guess I should mention that this is first time I'm attempting >> > to get wifi going on D4. >> > >> > I'm

Re: kernel BUG at include/linux/skbuff.h:LINE! (2)

2019-08-18 Thread Xin Long
On Sat, Aug 17, 2019 at 2:38 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:459c5fb4 Merge branch 'mscc-PTP-support' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=13f2d33c60 > kernel config:

OMAP DRM regression on N900

2019-08-18 Thread Aaro Koskinen
Hi, I haven't got display working on N900 since v5.1. Bisected to: d17eb4537a7eb16da9eafbfd5717e12b45b77251 is the first bad commit commit d17eb4537a7eb16da9eafbfd5717e12b45b77251 Author: Laurent Pinchart Date: Wed Sep 12 19:41:31 2018 +0300 drm/omap: Factor out common init/cleanup code

Re: kernel BUG at include/linux/skbuff.h:LINE! (2)

2019-08-18 Thread Dmitry Vyukov
On Sun, Aug 18, 2019 at 7:07 AM Xin Long wrote: > > On Sat, Aug 17, 2019 at 2:38 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:459c5fb4 Merge branch 'mscc-PTP-support' > > git tree: net-next > > console output:

Re: [PATCH v6 00/13] implement poweroff for mt6323 / bpi-r2

2019-08-18 Thread Frank Wunderlich
Arg, missed a comma between linux-arm-ker...@lists.infradead.org and Alessandro Zummo Will send the series to linux-arm-kernel later Sorry for that

[PATCH 0/4] Add support for updated vmware hypercall instruction

2019-08-18 Thread VMware
Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Cc: Dmitry Torokhov Cc: VMware has started using "vmcall" / "vmmcall" instead of an inl instruction for the "backdoor" interface. This series detects support for those instructions. Outside of the platform

[PATCH 4/4] input/vmmouse: Update the backdoor call with support for new instructions

2019-08-18 Thread VMware
From: Thomas Hellstrom Use the definition provided by include/asm/vmware.h Cc: Dmitry Torokhov Cc: Signed-off-by: Thomas Hellstrom Reviewed-by: Doug Covelli --- drivers/input/mouse/vmmouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/vmmouse.c

[PATCH 2/4] x86/vmware: Add a header file for hypercall definitions

2019-08-18 Thread VMware
From: Thomas Hellstrom This is intended to be used by drivers using the backdoor, and we follow the kvm example using alternatives self-patching to choose between vmcall, vmmcall and inl instructions. This patch defines two new x86 cpu feature flags. Cc: Thomas Gleixner Cc: Ingo Molnar Cc:

[PATCH 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

2019-08-18 Thread VMware
From: Thomas Hellstrom Vmware has historically used an "inl" instruction for this, but recent hardware versions support using VMCALL/VMMCALL instead, so use this method if supported at platform detection time. We explicitly need to code separate macro versions since the alternatives

[PATCH 3/4] drm/vmwgfx: Update the backdoor call with support for new instructions

2019-08-18 Thread VMware
From: Thomas Hellstrom Use the definition provided by include/asm/vmware.h Signed-off-by: Thomas Hellstrom Reviewed-by: Doug Covelli --- drivers/gpu/drm/vmwgfx/vmwgfx_msg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.h

[PATCH] scsi: qla4xxx: Avoid usage of duplicated Header Guard

2019-08-18 Thread Christophe JAILLET
__QLA_NX_H is already used in 'drivers/scsi/qla2xxx/qla_nx.h', so use a better name for the include headrr guard of 'ql4_nx.h'. Use __QL4_NX_H Signed-off-by: Christophe JAILLET --- drivers/scsi/qla4xxx/ql4_nx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] staging: rtl8712: Improve naming of include hearder guards

2019-08-18 Thread Christophe JAILLET
Choose a better name for the include hearder guard used in rtl871x_io.h. '_IO_H_' is to generic and does not match the comment after the #endif. Use '_RTL871X_IO_H_' instead. Also make the comments in the #endif /* XXX */ match the name used in #ifndef. Signed-off-by: Christophe JAILLET ---

[PATCH v2] staging: android: Remove ion device tree bindings from the TODO

2019-08-18 Thread Donald Yandt
Commit 23a4388f24f5 ("staging: android: ion: Remove file ion_chunk_heap.c") and eadbf7a34e44 ("staging: android: ion: Remove file ion_carveout_heap.c") removed the chunk and carveout heaps from ion but left behind the device tree bindings for them in the TODO, this patch removes it.

[PATCH] MIPS: Octeon: Fix a typo in #define OCTOEN_SERIAL_LEN

2019-08-18 Thread Christophe JAILLET
It should be OCTEON_SERIAL_LEN. Update the #define and use it accordingly Signed-off-by: Christophe JAILLET --- arch/mips/include/asm/octeon/octeon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/include/asm/octeon/octeon.h

[PATCH] mtd: onenand_base: Fix a memory leak bug

2019-08-18 Thread Wenwen Wang
In onenand_scan(), if CONFIG_MTD_ONENAND_VERIFY_WRITE is defined, 'this->verify_buf' is allocated through kzalloc(). However, it is not deallocated in the following execution, if the allocation for 'this->oob_buf' fails, leading to a memory leak bug. To fix this issue, free 'this->verify_buf'

possible deadlock in io_submit_one (2)

2019-08-18 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:17da61ae Add linux-next specific files for 20190814 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=127712e260 kernel config: https://syzkaller.appspot.com/x/.config?x=4733704ca85aaa66

  1   2   3   4   >