[PATCH v2 0/4] mxs-lradc: Split driver into MFD

2016-06-08 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on i.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc: R

Re: Files leak from nfsd in 4.7.1-rc1 (and more?)

2016-06-08 Thread Oleg Drokin
On Jun 8, 2016, at 6:58 AM, Jeff Layton wrote: > On Tue, 2016-06-07 at 22:22 -0400, Oleg Drokin wrote: >> On Jun 7, 2016, at 8:03 PM, Jeff Layton wrote: >> > That said, this code is quite subtle. I'd need to look over it in more > detail before I offer up any fixes. I'd also appreciate i

[PATCH v2 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-06-08 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - do not change spacing in Kconfig - make struct mfd_cell part of struct mxs_lradc - use switch instead of if in mxs_lradc_irq_mask - use only necessary header files in mxs_lradc.h - use devm_mfd_ad

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Valo, Kalle
Prasun Maiti writes: > No. I did not any test for that case. > This driver create a new wiphy for use with cfg80211 through > "wiphy_new_nm" api, but in this api, I found that more warnings for > inconsistent ops are added there. e.g; "WARN_ON(ops->set_antenna && > !ops->get_antenna);" > So, warn

Re: [PATCH 2/2] mm: oom: deduplicate victim selection code for memcg and global oom

2016-06-08 Thread Michal Hocko
On Wed 08-06-16 16:52:04, Vladimir Davydov wrote: > On Wed, Jun 08, 2016 at 10:33:34AM +0200, Michal Hocko wrote: > > On Fri 27-05-16 17:17:42, Vladimir Davydov wrote: > > [...] > > > @@ -970,26 +1028,25 @@ bool out_of_memory(struct oom_control *oc) > > > !oom_unkillable_task(current, NULL, o

Re: [PATCH 1/5] mfd: max8925-i2c: Make it explicitly non-modular

2016-06-08 Thread Lee Jones
On Thu, 02 Jun 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig: config MFD_MAX8925 > drivers/mfd/Kconfig:bool "Maxim Semiconductor MAX8925 PMIC Support" > > ...meaning that it currently is not being built as a module by any

Re: [PATCH 3/5] mfd: max8998: Make it explicitly non-modular

2016-06-08 Thread Lee Jones
On Thu, 02 Jun 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > mfd/Kconfig:config MFD_MAX8998 > mfd/Kconfig:bool "Maxim Semiconductor MAX8998/National LP3974 PMIC > Support" > > ...meaning that it currently is not being built as a module by a

Re: [PATCH 5/5] mfd: max77843: Make it explicitly non-modular

2016-06-08 Thread Lee Jones
On Thu, 02 Jun 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_MAX77843 > drivers/mfd/Kconfig:bool "Maxim Semiconductor MAX77843 PMIC Support" > > ...meaning that it currently is not being built as a module by an

Re: [PATCH 1/2] xen-blkfront: don't call talk_to_blkback when already connected to blkback

2016-06-08 Thread Konrad Rzeszutek Wilk
On Wed, Jun 08, 2016 at 02:46:38PM +0800, Bob Liu wrote: > > On 06/07/2016 11:25 PM, Konrad Rzeszutek Wilk wrote: > > On Wed, Jun 01, 2016 at 01:49:23PM +0800, Bob Liu wrote: > >> > >> On 06/01/2016 04:33 AM, Konrad Rzeszutek Wilk wrote: > >>> On Tue, May 31, 2016 at 04:59:16PM +0800, Bob Liu wrot

[PATCH v2 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-06-08 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - improve commit message - do not change spacing in Kconfig -

[PATCH v2 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-06-08 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - do not change spacing in Kconfig - remove dev.parent - rename err_ts_register to error - combine functions hw_stop and disable_ts so that mxs_lradc_ts_remove could be deleted. - add spinlock i

Re: [PATCH 4/5] mfd: max77620: make it explicitly non-modular

2016-06-08 Thread Lee Jones
On Thu, 02 Jun 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_MAX77620 > drivers/mfd/Kconfig:bool "Maxim Semiconductor MAX77620 and MAX20024 PMIC > Support" > > ...meaning that it currently is not being built a

RE: [PATCH v3 04/30] staging: unisys: visorbus: remove unused module parameters

2016-06-08 Thread Binder, David Anthony
> -Original Message- > From: Neil Horman [mailto:nhor...@redhat.com] > Sent: Wednesday, June 08, 2016 9:08 AM > To: Binder, David Anthony > Cc: Kershner, David A ; cor...@lwn.net; > t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > gre...@linuxfoundation.org; Arfvidson, Erik ; > Sell

[PATCH v2 4/4] iio: adc: mxs-lradc: Remove driver

2016-06-08 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic --- Changes in v2: - none drivers/iio/adc/Kconfig | 14 - drivers/iio/adc/Makefile|1 - drivers/iio/adc/mxs-lradc.c | 1775 -

Re: [PATCH] zram: add zpool support

2016-06-08 Thread Dan Streetman
On Wed, Jun 8, 2016 at 5:39 AM, Geliang Tang wrote: > This patch adds zpool support for zram, it will allow us to use both > the zpool api and directly zsmalloc api in zram. besides the problems below, this was discussed a while ago and I believe Minchan is still against it, as nobody has so far

Re: [PATCH] kernel/sysrq: reset watchdog on all CPUs while processing sysrq-w

2016-06-08 Thread Andrey Ryabinin
On 06/08/2016 04:13 PM, Ingo Molnar wrote: > > * Andrey Ryabinin wrote: > >> Lengthy output of sysrq-w may take a lot of time on slow serial console. >> Currently we reset NMI-watchdog on the current CPU to avoid softlockup. >> Sometimes this doesn't work since watchdog might trigger on the ot

[PATCH 07/11] clk: imx6ul: fix pll clock parents

2016-06-08 Thread Dong Aisheng
pllx_bypass_src mux shouldn't be the parent of pllx clock since it's only valid when when pllx BYPASS bit is set. Thus it is actually one parent of pllx_bypass only. Instead, pllx parent should be fixed to osc according to reference manual. Other plls have the same issue. e.g. before fix, the pll

[PATCH 08/11] clk: imx6q: fix pll clock parents

2016-06-08 Thread Dong Aisheng
pllx_bypass_src mux shouldn't be the parent of pllx clock since it's only valid when when pllx BYPASS bit is set. Thus it is actually one parent of pllx_bypass only. Instead, pllx parent should be fixed to osc according to reference manual. Other plls have the same issue. Signed-off-by: Dong Aish

[PATCH 06/11] clk: imx6ul: fix gpt2 clock names

2016-06-08 Thread Dong Aisheng
fix gpt2 clock names Signed-off-by: Dong Aisheng --- drivers/clk/imx/clk-imx6ul.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c index 0f1f17a8f3ed..67ae3465dd37 100644 --- a/drivers/clk/imx/clk-imx6ul.c +++ b/d

[PATCH v2] thinkpad_acpi: Add support for HKEY version 0x200

2016-06-08 Thread Lyude
From: Dennis Wassenberg Lenovo Thinkpad devices T460, T460s, T460p, T560, X260 use HKEY version 0x200 without adaptive keyboard. HKEY version 0x200 has method MHKA with one parameter value. Passing parameter value 1 will get hotkey_all_mask (the same like HKEY version 0x100 without parameter). P

[PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-08 Thread Dong Aisheng
There's a powerdown bit already, so let's change the name of powerup_set bit to power_invert to reflects the power polarity to make it less confusing. Signed-off-by: Dong Aisheng --- drivers/clk/imx/clk-pllv3.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dr

[PATCH 04/11] clk: imx: correct dram pll type

2016-06-08 Thread Dong Aisheng
From: Anson Huang DRAM PLL is a audio/video type PLL, need to correct it to get correct ops of PLL. Signed-off-by: Anson Huang Signed-off-by: Dong Aisheng --- drivers/clk/imx/clk-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/

[PATCH 02/11] clk: imx: correct AV PLL rate formula

2016-06-08 Thread Dong Aisheng
From: Anson Huang The audio/video PLL's rate calculation is as below in RM: Fref * (DIV_SELECT + NUM / DENOM), in origin clk-pllv3's code, below code is used: (parent_rate * div) + ((parent_rate / mfd) * mfn as it does NOT consider the float data using div, so below formula should be used as a

[PATCH 11/11] clk: imx7d: fix pll clock parents

2016-06-08 Thread Dong Aisheng
pllx_bypass_src mux shouldn't be the parent of pllx clock since it's only valid when when pllx BYPASS bit is set. Thus it is actually one parent of pllx_bypass only. Instead, pllx parent should be fixed to osc according to reference manual. Other plls have the same issue. Signed-off-by: Dong Aish

Re: [PATCH 0/10 -v3] Handle oom bypass more gracefully

2016-06-08 Thread Tetsuo Handa
Michal Hocko wrote: > On Wed 08-06-16 06:49:24, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > OK, so you are arming the timer for each mark_oom_victim regardless > > > of the oom context. This means that you have replaced one potential > > > lockup by other potential livelocks. Tasks from diffe

Re: [PATCH 2/5] mfd: max8997: Make it explicitly non-modular

2016-06-08 Thread Lee Jones
On Thu, 02 Jun 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_MAX8997 > drivers/mfd/Kconfig:bool "Maxim Semiconductor MAX8997/8966 PMIC Support" > > ...meaning that it currently is not being built as a module by

[PATCH 2/3] mtd: nand: Support maximizing ECC when using software BCH

2016-06-08 Thread Boris Brezillon
Add support for ECC maximization when software BCH with nand_ooblayout_lp_ops layout is used. Other cases should be handled by the NAND controller driver. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 20 1 file changed, 20 insertions(+) diff --git a/dri

[PATCH 1/3] mtd: nand: Add an option to maximize the ECC strength

2016-06-08 Thread Boris Brezillon
The generic NAND DT bindings allows one to tweak the ECC strength and step size to their need. It can be used to lower the ECC strength to match a bootloader/firmware config, but might also be used to get a better reliability. In the latter case, the user might want to use the maximum ECC strength

[PATCH 0/3] mtd: nand: standardize ECC maximization

2016-06-08 Thread Boris Brezillon
Hello, This series aims at standardizing a feature already supported by some NAND controller drivers: setting the maximum ECC strength based on the OOB area size instead of using the ECC strength/step_size information retrieved from the DT or NAND detection code. This is particularly useful when

[PATCH 3/3] mtd: nand: sunxi: Support ECC maximization

2016-06-08 Thread Boris Brezillon
Setup the maximum ECC config when NAND_ECC_MAXIMIZE is set. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/nand/sunxi_nand.c index 8dfcb65..21dad0b 100

Re: [PATCH v3 04/30] staging: unisys: visorbus: remove unused module parameters

2016-06-08 Thread Neil Horman
On Wed, Jun 08, 2016 at 02:42:08PM +, Binder, David Anthony wrote: > > -Original Message- > > From: Neil Horman [mailto:nhor...@redhat.com] > > Sent: Wednesday, June 08, 2016 9:08 AM > > To: Binder, David Anthony > > Cc: Kershner, David A ; cor...@lwn.net; > > t...@linutronix.de; mi...

Re: [PATCH] mmc: core: add auto bkops support

2016-06-08 Thread Alex Lemberg
Hi Shawn, Is the intention in this patch to stop using MANUAL_BKOPS for all eMMC5.1+ devices, and only use AUTO_BKOPS? Please see several questions inline. On 6/6/16, 6:07 AM, "linux-mmc-ow...@vger.kernel.org on behalf of Shawn Lin" wrote: >JEDEC eMMC v5.1 introduce an autonomously initiated

Re: [PATCH] nbd: pass the nbd pointer for flags debugfs

2016-06-08 Thread Jens Axboe
On 06/08/2016 08:32 AM, Josef Bacik wrote: We were passing in &nbd for the private data in debugfs_create_file() for the flags entry. We expect it to just be nbd, fix this so we get proper output from this debugfs entry. Added for this series, thanks Josef. -- Jens Axboe

RE: [PATCH RFC net-next] netvsc: get rid of completion timeouts

2016-06-08 Thread Haiyang Zhang
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, June 8, 2016 10:19 AM > To: net...@vger.kernel.org > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; KY > Srinivasan ; Haiyang Zhang > Subject: [PATCH RFC net-next] netvsc: get r

[RESEND PATCH 1/3] mtd: nand: Add an option to maximize the ECC strength

2016-06-08 Thread Boris Brezillon
The generic NAND DT bindings allows one to tweak the ECC strength and step size to their need. It can be used to lower the ECC strength to match a bootloader/firmware config, but might also be used to get a better reliability. In the latter case, the user might want to use the maximum ECC strength

[RESEND PATCH 3/3] mtd: nand: sunxi: Support ECC maximization

2016-06-08 Thread Boris Brezillon
Setup the maximum ECC config when NAND_ECC_MAXIMIZE is set. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/nand/sunxi_nand.c index 8dfcb65..21dad0b 100

[RESEND PATCH 0/3] mtd: nand: standardize ECC maximization

2016-06-08 Thread Boris Brezillon
Hello, Sorry for the noise, but I forgot to add DT maintainers in Cc. This series aims at standardizing a feature already supported by some NAND controller drivers: setting the maximum ECC strength based on the OOB area size instead of using the ECC strength/step_size information retrieved from t

Re: [PATCH 1/1] mm/swap.c: flush lru_add pvecs on compound page arrival

2016-06-08 Thread Michal Hocko
On Wed 08-06-16 16:35:37, Lukasz Odzioba wrote: > When the application does not exit cleanly (i.e. SIGTERM) we might I do not see how a SIGTERM would make any difference. But see below. > end up with some pages in lru_add_pvec, which is ok. With THP > enabled huge pages may also end up on per cpu

Re: [PATCH] treewide: update my email address

2016-06-08 Thread Joe Perches
On Wed, 2016-06-08 at 12:56 +0200, Felix Fietkau wrote: > My n...@openwrt.org address is no longer valid and bounces Perhaps add an entry to .mailmap too.

[RESEND PATCH 2/3] mtd: nand: Support maximizing ECC when using software BCH

2016-06-08 Thread Boris Brezillon
Add support for ECC maximization when software BCH with nand_ooblayout_lp_ops layout is used. Other cases should be handled by the NAND controller driver. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 20 1 file changed, 20 insertions(+) diff --git a/dri

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-08 Thread Andrew F. Davis
On 06/07/2016 05:30 PM, Guenter Roeck wrote: > On Fri, Jun 03, 2016 at 10:17:55AM -0500, Andrew F. Davis wrote: >> On 06/03/2016 09:14 AM, Laxman Dewangan wrote: >>> >>> On Friday 03 June 2016 06:59 PM, Guenter Roeck wrote: On 06/03/2016 03:06 AM, Jonathan Cameron wrote: > On 01/06/16 13:3

[PATCH] Add .set_antenna callback in ath6kl driver to fix wireless core warns

2016-06-08 Thread Prasun Maiti
Since add more warnings for inconsistent ops in cfg80211, the wireless core warns if a driver implements a cfg80211 callback but doesn't implements the inverse operation. The ath6kl driver implements a cfg80211 .get_antenna operation handler but doesn't have the inverse .set_antenna callback. So, i

Re: [RFC][PATCH 0/6] ion: improved ABI

2016-06-08 Thread Brian Starkey
Hi Laura, On Mon, Jun 06, 2016 at 11:23:27AM -0700, Laura Abbott wrote: The ABI for Ion's ioctl interface are a pain to work with. The heap IDs are a 32-bit non-discoverable namespace that form part of the ABI. There's no way to determine what ABI version is in use which leads to problems if the

Re: [GIT PULL arm] Use _rcuidle tracepoints to allow tracing from idle

2016-06-08 Thread Paul E. McKenney
On Wed, Jun 08, 2016 at 03:33:50PM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Thu, May 26, 2016 at 09:26:06AM -0700, Paul E. McKenney wrote: > > > Hello, Ingo, > > > > > > This series changes a number of event tracepoints to their _rcuidle() form > > > to allow use from id

Re: [PATCH 2/2] soc: qcom: add l2 cache perf events driver

2016-06-08 Thread Neil Leeder
Mark, Thank you for the detailed review. On 6/6/2016 05:51 AM, Mark Rutland wrote: > On Fri, Jun 03, 2016 at 05:03:32PM -0400, Neil Leeder wrote: >> Adds perf events support for L2 cache PMU. >> >> The L2 cache PMU driver is named 'l2cache' and can be used >> with perf events to profile L2 events

[PATCH] watchdog: drop redundant 'default n' option for WATCHDOG_SYSFS

2016-06-08 Thread Vladimir Zapolskiy
The option 'default n' and its absence are equal for kbuild, which makes explicit 'default n' redundant. Signed-off-by: Vladimir Zapolskiy --- drivers/watchdog/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index b54f26c..8d38cb8 10

Re: [PATCH v9 11/14] usb: otg: use dev_dbg() instead of VDBG()

2016-06-08 Thread Joe Perches
On Wed, 2016-06-08 at 12:03 +0300, Roger Quadros wrote: > Now that we have a device reference in struct usb_otg > let's use dev_dbg() for debug messages. dev_vdbg vs dev_dbg The patch subject and commit message don't match the code changes. > diff --git a/drivers/usb/common/usb-otg-fsm.c > b/dr

Re: [PATCH v3 4/6] watchdog: add watchdog pretimeout framework

2016-06-08 Thread Vladimir Zapolskiy
On 08.06.2016 16:53, Guenter Roeck wrote: > On 06/08/2016 06:37 AM, Vladimir Zapolskiy wrote: > +comment "Watchdog Pretimeout Governors" + +config WATCHDOG_PRETIMEOUT_GOV + bool "Enable watchdog pretimeout governors" + default n >>> >>> I don't think 'default n" is

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Mark Rutland
On Wed, Jun 08, 2016 at 04:16:32PM +0200, Jan Kiszka wrote: > Hi all, > > already started the discussion off-list with Pantelis, but it's better > done in public: > > I'm currently exploring ways to make Linux recognize dynamically added > virtual hardware when running under the Jailhouse hypervi

Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF

2016-06-08 Thread Rob Herring
On Wed, Jun 8, 2016 at 8:41 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On Jun 8, 2016, at 00:00 , Rob Herring wrote: >> >> +Mark R >> >> On Fri, Jun 3, 2016 at 3:26 PM, Pantelis Antoniou >> wrote: >>> In certain cases it makes sense to create cascaded GPIO which >>> are not real GPIOs, merely p

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
I am not sure it works fine. Like ath6kl driver send another cmd to firmare, I have just filled up the cmd buffer with "tx_ant", and "rx_ant" values, then use "ath6kl_wmi_cmd_send()" api to send the cmd buffer to firmware. I have resend the patch as there are some errors in the previous patch. Let

Re: [PATCH 0/2] qcom: add l2 cache perf events driver

2016-06-08 Thread Neil Leeder
On 6/6/2016 05:04 AM, Mark Rutland wrote: > On Fri, Jun 03, 2016 at 05:03:30PM -0400, Neil Leeder wrote: >> This adds a new dynamic PMU to the Perf Events framework to program >> and control the L2 cache PMUs in some Qualcomm Technologies SOCs. >> >> The driver exports formatting and event inform

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Valo, Kalle
Prasun Maiti writes: > I am not sure it works fine. Like ath6kl driver send another cmd to > firmare, I have just filled up the cmd buffer with "tx_ant", and > "rx_ant" values, then use "ath6kl_wmi_cmd_send()" api to send the cmd > buffer to firmware. I have resend the patch as there are some err

Re: [PATCH 1/1] mm/swap.c: flush lru_add pvecs on compound page arrival

2016-06-08 Thread Dave Hansen
On 06/08/2016 07:35 AM, Lukasz Odzioba wrote: > diff --git a/mm/swap.c b/mm/swap.c > index 9591614..3fe4f18 100644 > --- a/mm/swap.c > +++ b/mm/swap.c > @@ -391,9 +391,8 @@ static void __lru_cache_add(struct page *page) > struct pagevec *pvec = &get_cpu_var(lru_add_pvec); > > get_page

Re: [RESEND PATCH] iommu/rockchip: fix zap cache during device attach

2016-06-08 Thread Heiko Stübner
Hi Joerg, Am Mittwoch, 1. Juni 2016, 16:46:10 schrieb John Keeping: > rk_iommu_command() takes a struct rk_iommu and iterates over the slave > MMUs, so this is doubly wrong in that we're passing in the wrong pointer > and talking to MMUs that we shouldn't be. > > Fixes: cd6438c5f844 ("iommu/rockc

Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF

2016-06-08 Thread Pantelis Antoniou
Hi Rob, > On Jun 8, 2016, at 18:18 , Rob Herring wrote: > > On Wed, Jun 8, 2016 at 8:41 AM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Jun 8, 2016, at 00:00 , Rob Herring wrote: >>> >>> +Mark R >>> >>> On Fri, Jun 3, 2016 at 3:26 PM, Pantelis Antoniou >>> wrote: In certain cases

Re: [PATCH 5/8] mfd: ti_am335x_tscadc: Rename regmap_tscadc to regmap

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > The regmap structuer pointer is named regmap_tscadc, this is not > consistent with other drivers and is redundant, it also contributes > to several checkpatch warnings involving long lines. Rename this. Please spell check all of your subject lines and

Re: [PATCH v3] power_supply: power_supply_read_temp only if use_cnt > 0

2016-06-08 Thread Rhyland Klein
On 6/8/2016 2:35 AM, Krzysztof Kozlowski wrote: > On 06/07/2016 10:26 PM, Rhyland Klein wrote: >> Change power_supply_read_temp() to use power_supply_get_property() >> so that it will check the use_cnt and ensure it is > 0. The use_cnt >> will be incremented at the end of __power_supply_register, s

Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-08 Thread Grigori Goronzy
On 2016-06-08 15:47, Borislav Petkov wrote: On Wed, Jun 08, 2016 at 03:30:34PM +0200, Christian König wrote: Try forcing mplayer to use VDPAU with "mplayer -vo vdpau $file". All good. Actually, this hw accel thing is much better, I better make it default :-P Are you sure it is using acce

Re: [PATCH 4/8] mfd: ti_am335x_tscadc: Unify variable naming when refrencing ti_tscadc_dev

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > All functions in this driver reference the same ti_tscadc_dev per device > but use several different names for this structure pointer, this can > be confusing when following the code. Use the name 'tscadc' everywhere. > > Signed-off-by: Andrew F. Davi

Re: [RFC][PATCH 6/6] staging: android: ion: Introduce new ioctls for dynamic heaps

2016-06-08 Thread Brian Starkey
Hi, I'm finding "usage_id" a bit confusing - there's not a very clear distinction between usage_id and heap ID. For instance, ION_IOC_USAGE_CNT claims to return the number of usage IDs, but seems to return the number of heaps (i.e. number heap IDs, some of which might be usage_ids). Similarly,

Re: [PATCH 3/8] mfd: ti_am335x_tscadc: Remove use of single line functions

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > tscadc_readl and tscadc_writel are single line functions and do not save > use anything, remove these. Right. I usually push back on these type of abstraction when they are submitted. Acked-by: Lee Jones > Signed-off-by: Andrew F. Davis > --- >

Re: [PATCH 1/8] mfd: ti_am335x_tscadc: Use SIMPLE_DEV_PM_OPS helper macro

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > Replace ifdefs with SIMPLE_DEV_PM_OPS helper macro. > > Signed-off-by: Andrew F. Davis > --- > drivers/mfd/ti_am335x_tscadc.c | 16 > 1 file changed, 4 insertions(+), 12 deletions(-) Acked-by: Lee Jones > diff --git a/drivers/mfd

Re: [PATCH 0/8] TI AM335x TSC/ADC cleanup

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > Hello all, > > This series is a group of non-functional changes I would > like to get in this cycle to prepare some regmap based > changes I would like to make next cycle. Hopefully the > churn can be seen as more useful in that case. Once you've fin

Re: [PATCH 0/5] Hi655x powerkey support for HiKey (v2)

2016-06-08 Thread Lee Jones
On Fri, 03 Jun 2016, John Stultz wrote: > This patchset enables the pmic powerkey to function on HiKey. > > I wanted to submit it for some initial review. Feedback would > be greatly appreciated! > > New in v2: > * Larger rework to the powerkey driver, integrating feedback > from Dmitry > * Mi

Re: [PATCH 0/2] *** r8723au: Replace semaphore lock with mutex ***

2016-06-08 Thread Arnd Bergmann
On Wednesday, June 8, 2016 1:10:53 PM CEST Binoy Jayan wrote: > These are a set of patches which removes semaphores from: > > drivers/staging/rtl8723au > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whol

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-08 Thread Matthias Brugger
On 08/06/16 14:25, Horng-Shyang Liao wrote: Hi Matthias, On Wed, 2016-06-08 at 12:45 +0200, Matthias Brugger wrote: On 08/06/16 07:40, Horng-Shyang Liao wrote: Hi Matthias, On Tue, 2016-06-07 at 18:59 +0200, Matthias Brugger wrote: On 03/06/16 15:11, Matthias Brugger wrote: [...] +

Re: [PATCH v3 0/6] watchdog: add watchdog pretimeout framework

2016-06-08 Thread Vladimir Zapolskiy
Hi Wolfram, On 08.06.2016 10:56, Wolfram Sang wrote: > >> Changes from v2 to v3: > > This series was odd to review. I am used to that we build stuff on top > of each other to strive for the best technical solution. I didn't expect > that you like all of my changes, but at least some of them were

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Jan Kiszka
On 2016-06-08 17:17, Mark Rutland wrote: > On Wed, Jun 08, 2016 at 04:16:32PM +0200, Jan Kiszka wrote: >> Hi all, >> >> already started the discussion off-list with Pantelis, but it's better >> done in public: >> >> I'm currently exploring ways to make Linux recognize dynamically added >> virtual h

Re: [PATCH] mfd: si476x-i2c: fix spelling mistake "comptible" -> "compatible"

2016-06-08 Thread Lee Jones
On Sat, 04 Jun 2016, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King > --- > drivers/mfd/si476x-i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Scraping the bottom of the barrel on this one Colin.

Re: [PATCH] mfd: max77620: Constify resources tables

2016-06-08 Thread Lee Jones
On Sun, 05 Jun 2016, Axel Lin wrote: > These tables are never modified, so declare them as const. > > Signed-off-by: Axel Lin > --- > drivers/mfd/max77620.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/max77620.c b/drivers/mfd/max

kbuild: default n removals? (was: Re: [PATCH v3 4/6] watchdog: add watchdog pretimeout framework)

2016-06-08 Thread Joe Perches
(Adding Michal Marek and linux-kbuild) On Wed, 2016-06-08 at 18:11 +0300, Vladimir Zapolskiy wrote: > On 08.06.2016 16:53, Guenter Roeck wrote: > > On 06/08/2016 06:37 AM, Vladimir Zapolskiy wrote: > > > > > +comment "Watchdog Pretimeout Governors" > > > > > + > > > > > +config WATCHDOG_PRETIMEOUT

Re: [PATCH 6/8] mfd: ti_am335x_tscadc: use variable name for sizeof() operator

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > Fix the code formatting to use the kernel preferred style > of using the actual variables to determize the size using > the sizeof() operator. > > Signed-off-by: Andrew F. Davis > --- > drivers/mfd/ti_am335x_tscadc.c | 3 +-- > 1 file changed, 1 ins

Re: [PATCH v5 00/18] Cleanup for populate default bus

2016-06-08 Thread Rob Herring
+Joerg, Will On Wed, Jun 1, 2016 at 1:52 AM, Kefeng Wang wrote: > This cleanup patchset cantains two parts. > > Firstly, introduce a new way to populate the default bus, then, we can > drop unnecessary calls from the arch code, and do the same thing for > of_iommu_init() in [1]. > > Secondly, use

Re: [PATCH v2] udp reuseport: fix packet of same flow hashed to different socket

2016-06-08 Thread Eric Dumazet
On Wed, 2016-06-08 at 11:40 +0800, Su Xuemin wrote: > From: "Su, Xuemin" > > There is a corner case in which udp packets belonging to a same > flow are hashed to different socket when hslot->count changes from 10 > to 11: > It's the same case for IPv6, and this patch also fixes that. > > Signed

Re: [PATCH v2] of: iommu: make of_iommu_init() postcore_initcall_sync

2016-06-08 Thread Rob Herring
On Wed, Jun 1, 2016 at 1:06 AM, Kefeng Wang wrote: > The of_iommu_init() is called multiple times by arch code, > make it postcore_initcall_sync, then we can drop relevant > calls fully. > > Note, the IOMMUs should have a chance to perform some basic > initialisation before we start adding masters

Re: [PATCH v10 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-06-08 Thread Greg Kroah-Hartman
On Wed, Jun 08, 2016 at 03:56:04PM +0800, Lu Baolu wrote: > Hi Greg, > > On 06/08/2016 12:45 PM, Greg Kroah-Hartman wrote: > > On Thu, Jun 02, 2016 at 09:37:28AM +0800, Lu Baolu wrote: > >> In some Intel platforms, a single usb port is shared between USB host > >> and device controllers. The share

Re: [PATCH 3/5] lkdtm: add function for testing .rodata section

2016-06-08 Thread Kees Cook
On Tue, Jun 7, 2016 at 6:02 PM, Laura Abbott wrote: > On 06/07/2016 02:57 PM, Kees Cook wrote: >> >> This adds a function that lives in the .rodata section. The section >> flags are corrected using objcopy since there is no way with gcc to >> declare section flags in an architecture-agnostic way.

Re: [PATCH v10 1/7] regulator: fixed: add support for ACPI interface

2016-06-08 Thread Greg Kroah-Hartman
On Wed, Jun 08, 2016 at 02:43:27PM +0100, Mark Brown wrote: > On Tue, Jun 07, 2016 at 09:42:48PM -0700, Greg Kroah-Hartman wrote: > > On Thu, Jun 02, 2016 at 09:37:23AM +0800, Lu Baolu wrote: > > > > Add support to retrieve fixed voltage configure information through > > > ACPI interface. This is

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
Please tell me if I mention that this code is untested in commit log, then could you check the code kindly and also help me to fix this type of warning? On Wed, Jun 8, 2016 at 9:00 PM, Valo, Kalle wrote: > Prasun Maiti writes: > >> I am not sure it works fine. Like ath6kl driver send another cmd

Re: [PATCH v10 0/8] add i2c driver supported for rk3399

2016-06-08 Thread Heiko Stübner
Hi Wolfram, Am Montag, 16. Mai 2016, 21:57:35 schrieb David Wu: > There are three points differert from others: > - new method to caculate i2c timings for rk3399 > - pclk and function clk are separated at rk3399 > - add fast-plus mode supported for rk3399 this series looks pretty nice now and

Re: [PATCH] arm64: mm: only initialize swiotlb when necessary

2016-06-08 Thread Arnd Bergmann
On Wednesday, June 8, 2016 1:08:29 PM CEST Catalin Marinas wrote: > On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > > static int __init arm64_dma_init(void) > > { > > + if (swiotlb_force || max_pfn > (arm64_dma_phys_limit >> PAGE_SHIFT)) > > + swiotlb = 1; > > + >

Re: [PATCH] staging: slicoss: replacement of goto statements

2016-06-08 Thread Greg KH
On Wed, Jun 08, 2016 at 08:46:06AM -0500, Jaime Arrocha wrote: > From: Jaime Arrocha > > Replaced deprecated goto statements. Since when is 'goto' deprecated? Were you able to test these changes? thanks, greg k-h

Re: [PATCH 0/2] Proper ro_after_init implementation on s390

2016-06-08 Thread Kees Cook
On Tue, Jun 7, 2016 at 10:41 PM, Heiko Carstens wrote: > On Tue, Jun 07, 2016 at 11:11:17AM -0700, Kees Cook wrote: >> On Tue, Jun 7, 2016 at 11:07 AM, Heiko Carstens >> wrote: >> > On Tue, Jun 07, 2016 at 08:49:14AM -0700, Kees Cook wrote: >> >> > Heiko Carstens (2): >> >> > vmlinux.lds.h: all

Re: [PATCH 4/4] mfd: db8500 stop passing around platform data

2016-06-08 Thread Arnd Bergmann
On Wednesday, June 8, 2016 1:37:12 PM CEST Linus Walleij wrote: > On Tue, May 10, 2016 at 4:02 PM, Arnd Bergmann wrote: > > > Except for the constant DB8500_PRCMU_FW_VERSION_OFFSET number, nothing > > is ever passed through the platform data and used in a driver, so we > > can simply stop passing

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-08 Thread Laxman Dewangan
On Wednesday 08 June 2016 08:34 PM, Andrew F. Davis wrote: On 06/07/2016 05:30 PM, Guenter Roeck wrote: On Fri, Jun 03, 2016 at 10:17:55AM -0500, Andrew F. Davis wrote: On 06/03/2016 09:14 AM, Laxman Dewangan wrote: On Friday 03 June 2016 06:59 PM, Guenter Roeck wrote: On 06/03/2016 03:06 AM

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Ben Greear
On 06/08/2016 08:46 AM, Prasun Maiti wrote: Please tell me if I mention that this code is untested in commit log, then could you check the code kindly and also help me to fix this type of warning? In my experience, ath6kl has very fragile and buggy firmware, so I would not add any new API to it

Re: [PATCH v3 1/2] Documentation: mfd: LP873X: Add information for the mfd and regulator drivers

2016-06-08 Thread Lee Jones
On Fri, 13 May 2016, Keerthy wrote: > Add information for the mfd and regulator drivers. > > Acked-by: Rob Herring > Signed-off-by: Keerthy > --- > > Changes in v3: > > * Changed the example node lable to pmic from lp8733. > > Documentation/devicetree/bindings/mfd/lp873x.txt | 55 > +

Re: [PATCH 3/8] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-06-08 Thread Lee Jones
On Wed, 11 May 2016, Keerthy wrote: > mfd_add_devices enables parsing device tree nodes without compatibles > for child nodes. Replace of_platform_populate with mfd_add_devices. > > Signed-off-by: Keerthy > --- > drivers/mfd/tps65218.c | 10 -- > 1 file changed, 8 insertions(+), 2 delet

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-08 Thread Boris Brezillon
On Tue, 7 Jun 2016 17:01:41 +0200 Ricard Wanderlof wrote: > Hi Boris, > > First of all, thanks for reviewing this. > > On Fri, 3 Jun 2016, Boris Brezillon wrote: > > > > + > > > +Optional properties: > > > +- nand-on-flash-bbt: See nand.txt. > > > +- #address-cells, #size-cells: See partition.

[PATCH v2 5/5] mfd: ti_am335x_tscadc: use variable name for sizeof() operator

2016-06-08 Thread Andrew F. Davis
Fix the code formatting to use the kernel preferred style of using the actual variables to determine the size using the sizeof() operator. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/ti_am335x_tscadc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/

[PATCH v2 2/5] mfd: ti_am335x_tscadc: Remove use of single line functions

2016-06-08 Thread Andrew F. Davis
tscadc_readl and tscadc_writel are single line functions and do not save use anything, remove these. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/ti_am335x_tscadc.c | 44 ++ 1 file changed, 15 insertions(+), 29 deletions(-) diff --g

Re: [PATCH 2/2] mfd: max77620: Add pre/post irq handler before/after servicing interrupt

2016-06-08 Thread Laxman Dewangan
Hi Lee, On Wednesday 08 June 2016 08:11 PM, Lee Jones wrote: On Fri, 20 May 2016, Laxman Dewangan wrote: + * MAX77620 and MAX20024 has the following steps of the interrupt handling + * for TOP interrupts: + * 1. When interrupt occurs from PMIC, mask the PMIC interrupt by setting GLBLM. + * 2.

[PATCH v2 0/5] TI AM335x TSC/ADC cleanup

2016-06-08 Thread Andrew F. Davis
Hello all, This series is a group of non-functional changes I would like to get in this cycle to prepare some regmap based changes I would like to make next cycle. Hopefully the churn can be seen as more useful in that case. Thanks, Andrew Changes from v1: - Fixed spelling - Dropped already ap

[PATCH v2 4/5] mfd: ti_am335x_tscadc: Rename regmap_tscadc to regmap

2016-06-08 Thread Andrew F. Davis
The regmap structure pointer is named regmap_tscadc, this is not consistent with other drivers and is redundant, it also contributes to several checkpatch warnings involving long lines. Rename this. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/ti_am335x_tscadc.c | 36

[PATCH v2 3/5] mfd: ti_am335x_tscadc: Unify variable naming when referencing ti_tscadc_dev

2016-06-08 Thread Andrew F. Davis
All functions in this driver reference the same ti_tscadc_dev per device but use several different names for this structure pointer, this can be confusing when following the code. Use the name 'tscadc' everywhere. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/ti_am335x_tsca

[PATCH v2 1/5] mfd: ti_am335x_tscadc: Use SIMPLE_DEV_PM_OPS helper macro

2016-06-08 Thread Andrew F. Davis
Replace ifdefs with SIMPLE_DEV_PM_OPS helper macro. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/ti_am335x_tscadc.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index e

Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
Please help me how to test this one?? It will be great to me if you help me. On Wed, Jun 8, 2016 at 9:21 PM, Ben Greear wrote: > On 06/08/2016 08:46 AM, Prasun Maiti wrote: >> >> Please tell me if I mention that this code is untested in commit log, >> then could you check the code kindly and also

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Pantelis Antoniou
Hi Mark, > On Jun 8, 2016, at 18:17 , Mark Rutland wrote: > > On Wed, Jun 08, 2016 at 04:16:32PM +0200, Jan Kiszka wrote: >> Hi all, >> >> already started the discussion off-list with Pantelis, but it's better >> done in public: >> >> I'm currently exploring ways to make Linux recognize dynami

Re: [PATCH 01/10] mm: allow swappiness that prefers anon over file

2016-06-08 Thread Johannes Weiner
On Wed, Jun 08, 2016 at 09:06:32AM +0900, Minchan Kim wrote: > On Tue, Jun 07, 2016 at 10:18:18AM -0400, Johannes Weiner wrote: > > On Tue, Jun 07, 2016 at 09:25:50AM +0900, Minchan Kim wrote: > > > On Mon, Jun 06, 2016 at 03:48:27PM -0400, Johannes Weiner wrote: > > > > --- a/Documentation/sysctl/

<    1   2   3   4   5   6   7   8   9   10   >