Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-13 Thread Rafael Tinoco
On 13 June 2018 at 18:08, Rafael David Tinoco wrote: > On Wed, Jun 13, 2018 at 6:00 PM, Greg Kroah-Hartman > wrote: >> On Wed, Jun 13, 2018 at 05:47:49PM -0300, Rafael Tinoco wrote: >>> Results from Linaro’s test farm. >>> Regressions detected. >>> >>> NOTE: >>> >>> 1) LTP vma03 test

Re: [PATCH 07/11] staging: lustre: fold lprocfs_call_handler functionality into lnet_debugfs_*

2018-06-13 Thread James Simmons
> The calling convention for ->proc_handler is rather clumsy, > as a comment in fs/procfs/proc_sysctl.c confirms. > lustre has copied this convention to lnet_debugfs_{read,write}, > and then provided a wrapper for handlers - lprocfs_call_handler - > to work around the clumsiness. > > It is

Re: [PATCH 09/11] staging: lustre: discard WIRE_ATTR

2018-06-13 Thread James Simmons
> This macro adds nothing of value, and make the code harder > to read for new readers. Reviewed-by: James Simmons > Signed-off-by: NeilBrown > --- > .../staging/lustre/include/linux/lnet/socklnd.h|8 ++- > .../lustre/include/uapi/linux/lnet/lnet-types.h| 28 +--- >

Re: [PATCH 08/11] staging: lustre: obdclass: move linux/linux-foo.c to foo.c

2018-06-13 Thread James Simmons
> As lustre is now linux-only, having this linux sub-directory > with files named "linux-something" is just noise. Move them > to a more friendly name. Reviewed-by: James Simmons > Signed-off-by: NeilBrown > --- > drivers/staging/lustre/lustre/obdclass/Makefile|2 >

Re: [PATCH 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-13 Thread Baolin Wang
Hi Peter, On 13 June 2018 at 17:17, Baolin Wang wrote: > Hi Peter, > > On 13 June 2018 at 16:53, Peter Meerwald-Stadler wrote: >> >>> From: Freeman Liu >> >> some comments below >> >>> The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, >>> which is used to sample voltages with 12

linux-next: Tree for Jun 14

2018-06-13 Thread Stephen Rothwell
Hi all, Note: please do *not* add any v4.19 material to your linux-next included branches until after v4.18-rc1 has been released. Changes since 20180613: The cifs tree gained a conflict against Linus' tree. The fbdev tree gained a conflict against Linus' tree. The akpm-current tree gained

Re: [PATCH v3 0/6] add virt-dma support for imx-sdma

2018-06-13 Thread Robin Gong
Hi Lucas, I have identified the root cause besides the lockdep issue. Will contain the UART patch into my next v4 patchset. Hi Sascha, Will address your comments in v4 too. Thank you both input. On 三, 2018-06-13 at 18:07 +0200, Lucas Stach wrote: > Hi Robin, > > Am Dienstag, den

Re: [PATCH v2 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-06-13 Thread Sean Wang
On Tue, 2018-06-12 at 17:58 +0800, Sean Wang wrote: > On Wed, 2018-05-30 at 08:26 +0200, Marcel Holtmann wrote: > > Hi Sean, > > > > >> > > [ ... ] > > > >>> * Unknown packet (code 14 len 30) > > >>> 0.641509 > > >>> 01 00 00 00 02 00 01 0e 00 01

[PATCH] selftests: user: return Kselftest Skip code for skipped tests

2018-06-13 Thread Shuah Khan (Samsung OSG)
When user test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test gets

[PATCH] devres: Add devm_of_iomap()

2018-06-13 Thread Benjamin Herrenschmidt
There are still quite a few cases where a device might want to get to a different node of the device-tree, obtain the resources and map them. This is generally open coded in drivers which is quite error prone We have of_iomap() and of_io_request_and_map() but they both have shortcomings, such as

[PATCH] selftests: vm: return Kselftest Skip code for skipped tests

2018-06-13 Thread Shuah Khan (Samsung OSG)
When vm test is skipped because of unmet dependencies and/or unsupported configuration, it exits with error which is treated as a fail by the Kselftest framework. This leads to false negative result even when the test could not be run. Change it to return kselftest skip code when a test gets

Re: linux-next: manual merge of the cifs tree with Linus' tree

2018-06-13 Thread Ronnie Sahlberg
Steve, Looks good. It builds and seems to work in my testing. Thanks. - Original Message - From: "Steve French" To: "Stephen Rothwell" Cc: "CIFS" , "Linux-Next Mailing List" , "Linux Kernel Mailing List" , "Kees Cook" , "Ronnie Sahlberg" , "Aurelien Aptel" Sent: Thursday, 14 June,

Improving kselfests cross compilation

2018-06-13 Thread Florian Fainelli
Hi Shuah, I was giving a shot at building the kselftests from within buildroot [1] as of Linux be779f03d563981c65cc7417cc5e0dbbc5b89d30 and there are a number of things that make it still reasonably hard even today: - 3c545084130c1fd5cf873a5fec3ee29070128e06 ("selftests: sparc64: char: Selftest

Re: [PATCH] selftests: kselftest_harness: return Kselftest Skip code for skipped tests

2018-06-13 Thread Kees Cook
On Wed, Jun 13, 2018 at 6:34 PM, Shuah Khan (Samsung OSG) wrote: > When a test is skipped because of unmet dependencies and/or unsupported > configuration, kselftest_harness exits with error which is treated as a > fail by the Kselftest framework. This leads to false negative result even > when

[PATCH] extcon: Release locking when sending the notification of connector state

2018-06-13 Thread Chanwoo Choi
Previously, extcon used the spinlock before calling the notifier_call_chain to prevent the scheduled out of task and to prevent the notification delay. When spinlock is locked for sending the notification, deadlock issue occured on the side of extcon consumer device. To fix this issue, extcon

Re: [PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-13 Thread Naoya Horiguchi
On Wed, Jun 13, 2018 at 10:40:32AM +0200, Oscar Salvador wrote: > On Wed, Jun 13, 2018 at 05:41:08AM +, Naoya Horiguchi wrote: > > Hi everyone, > > > > I wrote a patch for this issue. > > There was a discussion about prechecking approach, but I finally found > > out it's hard to make change

[PATCH v2 2/3] mtd: rawnand: denali_dt: add more clocks based on IP datasheet

2018-06-13 Thread Masahiro Yamada
According to the Denali User's Guide, this IP needs three clocks: - clk: controller core clock - clk_x: bus interface clock - ecc_clk: clock at which ECC circuitry is run Currently, denali_dt.c requires a single anonymous clock and its frequency. However, the driver needs to get the

[PATCH v2 1/3] mtd: rawnand: denali_dt: use dev as a shorthand of >dev

2018-06-13 Thread Masahiro Yamada
Add 'dev' as a shorthand before adding more code that takes a pointer to struce device. Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/mtd/nand/raw/denali_dt.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH v2 3/3] mtd: rawnand: denali: optimize timing parameters for data interface

2018-06-13 Thread Masahiro Yamada
This commit improves the ->setup_data_interface() hook. The denali_setup_data_interface() needs the frequency of clk_x and the ratio of clk_x / clk. The latter is currently hardcoded in the driver, like this: #define DENALI_CLK_X_MULT 6 The IP datasheet requires that clk_x / clk be 4,

[PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-13 Thread Masahiro Yamada
The ->setup_data_interface() hook needs to know the clock frequency. In fact, this IP needs three clocks, bus "which clock?" is really confusing. (It is not described in the DT-binding at all.) This series adds more clocks. In the new binding, three clocks are required: core clock, bus

Re: [PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-13 Thread Naoya Horiguchi
On Wed, Jun 13, 2018 at 11:07:00AM +0200, Michal Hocko wrote: > On Wed 13-06-18 05:41:08, Naoya Horiguchi wrote: > [...] > > From: Naoya Horiguchi > > Date: Wed, 13 Jun 2018 12:43:27 +0900 > > Subject: [PATCH] mm: zero remaining unavailable struct pages > > > > There is a kernel panic that is

[PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-13 Thread Viresh Kumar
of_genpd_opp_to_performance_state() should return 0 for errors, but the dummy routine isn't doing that. Fix it. Signed-off-by: Viresh Kumar --- include/linux/pm_domain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h

[PATCH 1/2] PM / Domains: Rename opp_node to np

2018-06-13 Thread Viresh Kumar
The DT node passed here isn't necessarily an OPP node, as this routine can also be used for cases where the "required-opps" property is present directly in the device's node. Rename it. This also removes a stale comment. Signed-off-by: Viresh Kumar --- drivers/base/power/domain.c | 7 +++

Re: [PATCH v2 1/7] vmw_balloon: fix inflation of 64-bit GFNs

2018-06-13 Thread Greg Kroah-Hartman
On Wed, Jun 13, 2018 at 06:54:06AM -0700, Nadav Amit wrote: > When balloon batching is not supported by the hypervisor, the guest > frame number (GFN) must fit in 32-bit. However, due to a bug, this check > was mistakenly ignored. In practice, when total RAM is greater than > 16TB, the balloon

Re: [PATCH v2 6/7] vmw_balloon: update copyright message

2018-06-13 Thread Greg Kroah-Hartman
On Wed, Jun 13, 2018 at 06:54:11AM -0700, Nadav Amit wrote: > Removing the paragraph about writing to the Free Software Foundation's > mailing address from the sample GPL notice according to checkpatch > request. > > In addition, updating the year and adding a license tag. > > Reviewed-by:

[PATCH] gpio: uniphier: set legitimate irq trigger type in .to_irq hook

2018-06-13 Thread Masahiro Yamada
If a GPIO chip is a part of a hierarchy IRQ domain, there is no way to specify the trigger type when gpio(d)_to_irq() allocates an interrupt on-the-fly. Currently, uniphier_gpio_to_irq() sets IRQ_TYPE_NONE, but it causes an error in the .alloc() hook of the parent domain.

Re: [PATCH v2 6/7] vmw_balloon: update copyright message

2018-06-13 Thread Nadav Amit
at 10:24 PM, Greg Kroah-Hartman wrote: > On Wed, Jun 13, 2018 at 06:54:11AM -0700, Nadav Amit wrote: >> Removing the paragraph about writing to the Free Software Foundation's >> mailing address from the sample GPL notice according to checkpatch >> request. >> >> In addition, updating the year

[PATCH v4 0/7] add virt-dma support for imx-sdma

2018-06-13 Thread Robin Gong
The legacy sdma driver has below limitations or drawbacks: 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc one page size for one channel regardless of only few BDs needed most time. But in few cases, the max PAGE_SIZE maybe not enough. 2. One SDMA channel can't

[PATCH v4 2/7] dmaengine: imx-sdma: factor out a struct sdma_desc from struct sdma_channel

2018-06-13 Thread Robin Gong
From: Sascha Hauer This is a preparation step to make the adding of virt-dma easier. We create a struct sdma_desc, move some fields from struct sdma_channel there and add a pointer from the former to the latter. For now we allocate the data statically in struct sdma_channel, but with virt-dma

[PATCH v4 1/7] tty: serial: imx: correct dma cookie status

2018-06-13 Thread Robin Gong
Correct to check the right rx dma cookie status in spit of it works because only one cookie is running in the current sdma. But it will not once sdma driver support multi cookies running based on virt-dma. Signed-off-by: Robin Gong --- drivers/tty/serial/imx.c | 2 +- 1 file changed, 1

[PATCH v4 5/7] dmaengine: imx-sdma: remove the maximum limitation for bd numbers

2018-06-13 Thread Robin Gong
No this limitation now after virtual dma used since bd is allocated dynamically instead of static. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 27b76eb..f56226f

[PATCH v4 7/7] tty: serial: imx: split all dma setup operations out of 'port.lock' protector

2018-06-13 Thread Robin Gong
After sdma driver change to virt-dma, all bds will be allocated dynamically with 'port.lock' acquired instead of statically allocated before. That means the lock sequence is 'port.lock' -> 'fs_reclaim_acquire' .But in case uart rx/tx dma callback coming after other kernel code which have already

[PATCH v4 6/7] dmaengine: imx-sdma: add sdma_transfer_init to decrease code overlap

2018-06-13 Thread Robin Gong
There are lot of codes overlap between prep_sg and prep_cyclic function. Add sdma_transfer_init() function to elimated the code overlap. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 83 ++ 1 file changed, 37 insertions(+), 46

[PATCH v4 3/7] dmaengine: imx-sdma: add virt-dma support

2018-06-13 Thread Robin Gong
The legacy sdma driver has below limitations or drawbacks: 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc one page size for one channel regardless of only few BDs needed most time. But in few cases, the max PAGE_SIZE maybe not enough. 2. One SDMA channel can't

[PATCH v4 4/7] dmaengine: imx-sdma: remove useless 'lock' and 'enabled' in 'struct sdma_channel'

2018-06-13 Thread Robin Gong
Since 'sdmac->vc.lock' and 'sdmac->desc' can be used as 'lock' and 'enabled' in 'struct sdma_channel sdmac', remove them. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 23 --- 1 file changed, 23 deletions(-) diff --git a/drivers/dma/imx-sdma.c

Re: [PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-13 Thread Oscar Salvador
On Thu, Jun 14, 2018 at 05:16:18AM +, Naoya Horiguchi wrote: > On Wed, Jun 13, 2018 at 11:07:00AM +0200, Michal Hocko wrote: > > On Wed 13-06-18 05:41:08, Naoya Horiguchi wrote: > > [...] > > > From: Naoya Horiguchi > > > Date: Wed, 13 Jun 2018 12:43:27 +0900 > > > Subject: [PATCH] mm: zero

RE: [RFC PATCH 3/3] sdhci: arasan: Add support to read Tap Delay values from DT

2018-06-13 Thread Manish Narani
Ping for RFC > -Original Message- > From: Manish Narani [mailto:manish.nar...@xilinx.com] > Sent: Thursday, June 7, 2018 5:42 PM > To: robh...@kernel.org; mark.rutl...@arm.com; catalin.mari...@arm.com; > will.dea...@arm.com; m...@kernel.org; stefan.krsmano...@aggios.com; >

Re: [PATCH] selftests: vm: return Kselftest Skip code for skipped tests

2018-06-13 Thread Mike Rapoport
On Wed, Jun 13, 2018 at 09:35:57PM -0600, Shuah Khan (Samsung OSG) wrote: > When vm test is skipped because of unmet dependencies and/or unsupported > configuration, it exits with error which is treated as a fail by the > Kselftest framework. This leads to false negative result even when the >

Re: [PATCH v2 1/7] vmw_balloon: fix inflation of 64-bit GFNs

2018-06-13 Thread Nadav Amit
at 10:23 PM, Greg Kroah-Hartman wrote: > On Wed, Jun 13, 2018 at 06:54:06AM -0700, Nadav Amit wrote: >> When balloon batching is not supported by the hypervisor, the guest >> frame number (GFN) must fit in 32-bit. However, due to a bug, this check >> was mistakenly ignored. In practice, when

Re: [PATCH] Staging: octeon-usb: octeon-hcd.c: Remove boiler plate and add SPDX

2018-06-13 Thread Greg KH
On Wed, Jun 13, 2018 at 05:28:25PM -0400, Javier Martinez wrote: > Removed massive boiler plate text at top of the file and instead > replaced it with a simple SPDX license identifier. > > Signed-off-by: Javier Martinez > --- > drivers/staging/octeon-usb/octeon-hcd.c | 47

Re: [PATCH] gpio: uniphier: set legitimate irq trigger type in .to_irq hook

2018-06-13 Thread Masahiro Yamada
2018-06-14 14:27 GMT+09:00 Masahiro Yamada : > If a GPIO chip is a part of a hierarchy IRQ domain, there is no > way to specify the trigger type when gpio(d)_to_irq() allocates an > interrupt on-the-fly. > > Currently, uniphier_gpio_to_irq() sets IRQ_TYPE_NONE, but it causes > an error in the

Re: [PATCH v2 6/7] vmw_balloon: update copyright message

2018-06-13 Thread Greg Kroah-Hartman
On Thu, Jun 14, 2018 at 05:33:46AM +, Nadav Amit wrote: > at 10:24 PM, Greg Kroah-Hartman wrote: > > > On Wed, Jun 13, 2018 at 06:54:11AM -0700, Nadav Amit wrote: > >> Removing the paragraph about writing to the Free Software Foundation's > >> mailing address from the sample GPL notice

Re: [PATCH v2 1/7] vmw_balloon: fix inflation of 64-bit GFNs

2018-06-13 Thread Greg Kroah-Hartman
On Thu, Jun 14, 2018 at 05:41:01AM +, Nadav Amit wrote: > at 10:23 PM, Greg Kroah-Hartman wrote: > > > On Wed, Jun 13, 2018 at 06:54:06AM -0700, Nadav Amit wrote: > >> When balloon batching is not supported by the hypervisor, the guest > >> frame number (GFN) must fit in 32-bit. However, due

Re: [PATCH v2 1/7] vmw_balloon: fix inflation of 64-bit GFNs

2018-06-13 Thread Nadav Amit
at 10:50 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 14, 2018 at 05:41:01AM +, Nadav Amit wrote: >> at 10:23 PM, Greg Kroah-Hartman wrote: >> >>> On Wed, Jun 13, 2018 at 06:54:06AM -0700, Nadav Amit wrote: When balloon batching is not supported by the hypervisor, the guest frame

<    6   7   8   9   10   11