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,

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

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

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

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(-)

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: > > > > ---

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-06-08 Thread Hoan Tran
Hi Ashwin, On Wed, Jun 8, 2016 at 5:18 AM, Ashwin Chaugule wrote: > + Prashanth (Can you please have a look as well?) > > On 31 May 2016 at 15:35, Hoan Tran wrote: >> Hi Ashwin, > > Hi, > > Sorry about the delay. I'm in the middle of switching jobs

Re: [tip:perf/core] perf/x86/intel: Use Intel family macros for core perf events

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 06:25:29PM +0200, Ingo Molnar wrote: > model string: IvyBridge_X > > ... or something like that. The string could even be auto-generated from the > list > in intel-family.h? Yap, that sounds cool too. And then we should issue that too during boot: [0.542398]

[PATCH v2 01/13] pwm: Add new helpers to create/manipulate PWM states

2016-06-08 Thread Boris Brezillon
The pwm_prepare_new_state() helper prepares a new state object containing the current PWM state except for the polarity and period fields which are set to the reference values. This is particurly useful for PWM users who want to apply a new duty-cycle expressed relatively to the reference period

[PATCH v2 09/13] regulator: pwm: Switch to the atomic PWM API

2016-06-08 Thread Boris Brezillon
Use the atomic API wherever appropriate and get rid of pwm_apply_args() call (the reference period and polarity are now explicitly set when calling pwm_apply_state()). We also make use of the pwm_set_relative_duty_cycle() helper to ease relative to absolute duty_cycle conversion. Note that

[PATCH v2 10/13] regulator: pwm: Properly initialize the ->state field

2016-06-08 Thread Boris Brezillon
The ->state field is currently initialized to 0, thus referencing the voltage selector at index 0, which might not reflect the current voltage value. If possible, retrieve the current voltage selector from the PWM state, else return -EINVAL. Signed-off-by: Boris Brezillon

Re: [PATCH v2 6/6] drm/panel: simple: Add support for Sharp LQ123P1JX31 2400x1600 panel

2016-06-08 Thread Doug Anderson
Yakir, On Wed, Jun 8, 2016 at 4:52 AM, Yakir Yang wrote: > The Sharp LQ123P1JX31 is an 12.3", 2400x1600 TFT-LCD panel connected > using eDP interfaces. > > Signed-off-by: Yakir Yang > --- > Changes in v2: > - Add detail timing of Sharp LQ123P1JX31 panel

[PATCH 6/8] ARM: dts: at91: mpa1600: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Cc: Joachim Eastwood Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/mpa1600.dts | 9 - 1 file changed, 9 deletions(-) diff

Re: [PATCH 1/3] PM / Runtime: Add notifiers for device runtime PM events

2016-06-08 Thread Rafael J. Wysocki
On Wed, Jun 8, 2016 at 12:25 PM, Marek Szyprowski wrote: > From: Krzysztof Kozlowski > > Allow drivers registering for certain runtime PM events of other > devices. Some drivers in power domain are more or less coupled. When one > driver is

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

2016-06-08 Thread Vitaly Kuznetsov
I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting RSS parameters for the device. When this happens we end up returning -ETIMEDOUT from the function and rndis_filter_device_add() falls back to setting net_device->max_chn = 1; net_device->num_chn = 1;

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

2016-06-08 Thread Jeff Layton
On Wed, 2016-06-08 at 12:10 -0400, Oleg Drokin wrote: > On Jun 8, 2016, at 6:58 AM, Jeff Layton wrote: > > > A simple way to confirm that might be to convert all of the read locks > > on the st_rwsem to write locks. That will serialize all of the open > > operations and should prevent that

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

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 = _cpu_var(lru_add_pvec); > >

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

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

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

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

2016-06-08 Thread Michal Hocko
On Wed 08-06-16 23:55:24, Tetsuo Handa wrote: > 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 >

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Jan Kiszka
On 2016-06-08 18:31, Pantelis Antoniou wrote: > Hi Mark, > >> On Jun 8, 2016, at 19:23 , Mark Rutland wrote: >> >> On Wed, Jun 08, 2016 at 06:57:37PM +0300, Pantelis Antoniou wrote: >>> Hi Mark, >>> On Jun 8, 2016, at 18:17 , Mark Rutland wrote:

[PATCH v2 04/13] pwm: rockchip: Avoid glitches on already running PWMs

2016-06-08 Thread Boris Brezillon
The current logic will disable the PWM clk even if the PWM was left enabled by the bootloader (because it's controlling a critical device like a regulator for example). Keep the PWM clk enabled if the PWM is enabled to avoid any glitches. Signed-off-by: Boris Brezillon

[PATCH v2 03/13] pwm: rockchip: Add support for hardware readout

2016-06-08 Thread Boris Brezillon
Implement the ->get_state() function to expose initial state. Signed-off-by: Boris Brezillon Reviewed-by: Brian Norris Tested-by: Brian Norris --- drivers/pwm/pwm-rockchip.c | 67

Re: [PATCH] nvmem: fix nvmem_cell_read() return type for !CONFIG_NVMEM

2016-06-08 Thread Brian Norris
On Wed, Jun 08, 2016 at 09:26:46AM -0700, Brian Norris wrote: > With CONFIG_NVMEM, nvmem_cell_read() returns void *. With !CONFIG_NVMEM > it returns char *. Let's make that consistent. Also drop the > incorrect/inconsistent comment about char * above the nvmem_cell_read() > definition. > >

[PATCH v2 08/13] regulator: pwm: Adjust PWM config at probe time

2016-06-08 Thread Boris Brezillon
The PWM attached to a PWM regulator device might have been previously configured by the bootloader. Make sure the bootloader and linux config are in sync, and adjust the PWM config if that's not the case. Signed-off-by: Boris Brezillon Acked-by: Mark Brown

[PATCH] config: Add android config fragments

2016-06-08 Thread Rob Herring
Copy the config fragments from the AOSP common kernel tree. It is becoming possible to run mainline kernels with Android, but the kernel defconfigs don't work as-is and debugging missing config options is a pain. Adding the config fragments into the kernel tree, makes configuring a mainline kernel

Re: [PATCH] serial_core: Change UART PM state to OFF on failure

2016-06-08 Thread Peter Hurley
Hi Pramod, On 05/06/2016 02:46 AM, Pramod Gurav wrote: > uart_change_pm is used to turn on the UART controller resources and > change UART's PM status. On failure to allocate pages the controller > be left in ON state. This will change the state to OFF on failure. > > Signed-off-by: Pramod Gurav

[PATCH v6 11/11] powerpc/powernv: Use deepest stop state when cpu is offlined

2016-06-08 Thread Shreyas B. Prabhu
If hardware supports stop state, use the deepest stop state when the cpu is offlined. Reviewed-by: Gautham R. Shenoy Signed-off-by: Shreyas B. Prabhu --- - No changes since v1 arch/powerpc/platforms/powernv/idle.c| 15 +--

[PATCH v6 04/11] powerpc/powernv: Rename reusable idle functions to hardware agnostic names

2016-06-08 Thread Shreyas B. Prabhu
Functions like power7_wakeup_loss, power7_wakeup_noloss, power7_wakeup_tb_loss are used by POWER7 and POWER8 hardware. They can also be used by POWER9. Hence rename these functions hardware agnostic names. Suggested-by: Gautham R. Shenoy Signed-off-by: Shreyas B. Prabhu

[PATCH v6 03/11] powerpc/powernv: Rename idle_power7.S to idle_power_common.S

2016-06-08 Thread Shreyas B. Prabhu
idle_power7.S handles idle entry/exit for POWER7, POWER8 and in next patch for POWER9. Rename the file to a non-hardware specific name. Reviewed-by: Gautham R. Shenoy Signed-off-by: Shreyas B. Prabhu --- - No changes since v3 Changes in v3:

[PATCH v6 09/11] cpuidle/powernv: Use CPUIDLE_STATE_MAX instead of MAX_POWERNV_IDLE_STATES

2016-06-08 Thread Shreyas B. Prabhu
Use cpuidle's CPUIDLE_STATE_MAX macro instead of powernv specific MAX_POWERNV_IDLE_STATES. Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: linux...@vger.kernel.org Suggested-by: Daniel Lezcano Signed-off-by: Shreyas

[PATCH v6 05/11] powerpc/powernv: Make pnv_powersave_common more generic

2016-06-08 Thread Shreyas B. Prabhu
pnv_powersave_common does common steps needed before entering idle state and eventually changes MSR to MSR_IDLE and does rfid to pnv_enter_arch207_idle_mode. Move the updation of HSTATE_HWTHREAD_STATE to pnv_powersave_common from pnv_enter_arch207_idle_mode and make it more generic by passing the

[PATCH] lib/iommu-helper: skip to next segment

2016-06-08 Thread Sebastian Ott
When a large enough area in the iommu bitmap is found but would span a boundary we continue the search starting from the next bit position. For large allocations this can lead to several useless invocations of bitmap_find_next_zero_area() and iommu_is_span_boundary(). Continue the search from the

Re: [PATCH] serial: earlycon: stop abusing console::index

2016-06-08 Thread Mark Rutland
On Wed, Jun 08, 2016 at 10:06:22AM -0700, Peter Hurley wrote: > On 06/03/2016 08:19 AM, Mark Rutland wrote: > > Commit cda64e6824026575 ("serial: earlycon: Fixup earlycon console name > > and index") added code to decompose an earlycon driver name into a > > string prefix and numeric suffix, and

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

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

[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

[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

[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

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

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: 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

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.

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:

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

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

[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 ---

[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

[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

[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

[RFC v3 0/5] MT2701 DRM support

2016-06-08 Thread YT Shen
This is MT2701 DRM support RFC v3, based on 4.7-rc1. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size changed. - DISP_COLOR offset changed. We add a new component DISP_BLS, and the

[RFC v3 3/5] drm/mediatek: add shadow register support

2016-06-08 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 +++

[RFC v3 2/5] drm/mediatek: add *driver_data for different hardware settings

2016-06-08 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT Shen ---

[RFC v3 1/5] drm/mediatek: rename macros, add chip prefix

2016-06-08 Thread YT Shen
Add MT8173 prefix for hardware related macros. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 60 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c

Re: [PATCH 07/10] mm: base LRU balancing on an explicit cost model

2016-06-08 Thread Johannes Weiner
On Wed, Jun 08, 2016 at 05:14:21PM +0900, Minchan Kim wrote: > On Mon, Jun 06, 2016 at 03:48:33PM -0400, Johannes Weiner wrote: > > @@ -249,15 +249,10 @@ void rotate_reclaimable_page(struct page *page) > > } > > } > > > > -static void update_page_reclaim_stat(struct lruvec *lruvec, > > -

[RFC v3 5/5] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2016-06-08 Thread YT Shen
This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen --- arch/arm/boot/dts/mt2701.dtsi | 106 + 1 file changed, 106 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi

[RFC v3 4/5] drm/mediatek: add support for Mediatek SoC MT2701

2016-06-08 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c |6 drivers/gpu/drm/mediatek/mtk_disp_rdma.c|6

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 08:31:21, Dave Hansen wrote: > 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

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: > A simple way to confirm that might be to convert all of the read locks > on the st_rwsem to write locks. That will serialize all of the open > operations and should prevent that particular race from occurring. > > If that works, we'd probably

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

2016-06-08 Thread Keerthy
On Wednesday 08 June 2016 09:20 PM, Lee Jones wrote: 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 ---

Re: [PATCH v3 2/2] mfd: lp873x: Add lp873x PMIC support

2016-06-08 Thread Lee Jones
On Fri, 13 May 2016, Keerthy wrote: > The LP873X chip is a power management IC for Portable Navigation Systems > and Tablet Computing devices. It contains the following components: > > - Regulators. > - Configurable General Purpose Output Signals(GPO). > > PMIC interacts with the

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

2016-06-08 Thread Keerthy
On Wednesday 08 June 2016 09:21 PM, Lee Jones wrote: 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

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Mark Rutland
On Wed, Jun 08, 2016 at 06:57:37PM +0300, Pantelis Antoniou wrote: > 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

[PATCH 2/8] ARM: dts: at91: at91-ariag25: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-ariag25.dts

[PATCH 3/8] ARM: dts: at91: at91-cosino: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Cc: Rodolfo Giometti Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-cosino.dtsi | 9 - 1 file changed, 9 deletions(-)

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

2016-06-08 Thread Alex Deucher
On Wed, Jun 8, 2016 at 12:32 PM, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 05:28:53PM +0200, Grigori Goronzy wrote: >> Are you sure it is using accelerated decoding? CPU load should be just 1-2%. > > Ha, good point. So with mplayer vo=vdpau, CPU load was at something over

[PATCH 1/8] ARM: dts: at91: animeo_ip: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/animeo_ip.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts/animeo_ip.dts

[PATCH 8/8] ARM: dts: at91: calao: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-qil_a9260.dts| 9 - arch/arm/boot/dts/tny_a9260_common.dtsi | 9 -

[PATCH 7/8] ARM: dts: at91: pm9g45: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/pm9g45.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/boot/dts/pm9g45.dts

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

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; >

[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

[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

[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

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 >

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

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

Re: [PATCH v3 2/2] mfd: lp873x: Add lp873x PMIC support

2016-06-08 Thread Keerthy
On Wednesday 08 June 2016 09:41 PM, Lee Jones wrote: On Fri, 13 May 2016, Keerthy wrote: The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose

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

2016-06-08 Thread Jaime Arrocha
On Wed, 08 Jun 2016 10:49:47 -0500 Greg KH wrote > 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?

[PATCH] scripts/gdb: Perform path expansion to lx-symbol's arguments

2016-06-08 Thread Nikolay Borisov
Python doesn't do automatic expansion of paths. In case one passes path of the from ~/foo/bar the gdb scripts won't automatically expand that and as a result the symbols files won't be loaded. Fix this by explicitly expanding all paths which begin with "~" Signed-off-by: Nikolay Borisov

[PATCH 4/8] ARM: dts: at91: at91-foxg20: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-foxg20.dts

[PATCH 5/8] ARM: dts: at91: ge863-pro3: remove leftovers clock definition

2016-06-08 Thread Alexandre Belloni
The clocks group properties and the clock@0 node have been obsolete for two years, remove them. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 9 - 1 file changed, 9

[PATCH] ARM: multi_v5_defconfig: enable Atmel platforms

2016-06-08 Thread Alexandre Belloni
Enable ARMv5 platforms in multi_v5 Signed-off-by: Alexandre Belloni --- arch/arm/configs/multi_v5_defconfig | 54 - 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/multi_v5_defconfig

Re: [PATCH 1/2] mfd: sm-usb-dig: Add support for the TI SM-USB-DIG

2016-06-08 Thread Andrew F. Davis
On 06/08/2016 08:06 AM, Lee Jones wrote: > On Tue, 31 May 2016, Andrew F. Davis wrote: > >> The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. >> Add MFD core support. >> >> Signed-off-by: Andrew F. Davis >> --- >> The SPI, GPIO, and 1Wire drivers are WIP. >> >>

Re: [RFC][PATCH 2/5] driver core: Functional dependencies tracking support

2016-06-08 Thread Mark Brown
On Wed, Jun 08, 2016 at 08:12:34PM +0200, Rafael J. Wysocki wrote: > On Wed, Jun 8, 2016 at 2:48 PM, Mark Brown wrote: > > On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote: > >> + * A side effect of the link creation is re-ordering of dpm_list and the > >> +

Re: [PATCH v3 06/12] power: pwrseq: simple: Add support for regulator and generic property

2016-06-08 Thread Rob Herring
On Tue, Jun 07, 2016 at 11:29:02AM +0200, Krzysztof Kozlowski wrote: > On 06/03/2016 04:02 AM, Rob Herring wrote: > >> Optional properties: > >> - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are > >> asserted > >> @@ -16,6 +22,7 @@ Optional properties: > >>See

Re: [v1 PATCH 1/4] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-06-08 Thread Rob Herring
On Wed, Jun 08, 2016 at 09:38:33AM +0800, Chris Zhong wrote: > Hi Rob > > On 06/07/2016 09:46 PM, Rob Herring wrote: > >On Mon, Jun 6, 2016 at 7:33 PM, Chris Zhong wrote: > >>Hi Rob > >> > >> > >>On 06/06/2016 10:27 PM, Rob Herring wrote: > >>>On Fri, Jun 03, 2016 at

Re: [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-06-08 Thread Alan Stern
On Wed, 8 Jun 2016, Wenyou Yang wrote: > In order to the save power consumption, as a workaround, suspend > forcibly the USB PORTA/B/C via set the SUSPEND_A/B/C bits of OHCI > Interrupt Configuration Register in the SFRs while OHCI USB suspend. > > This suspend operation must be done before the

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

2016-06-08 Thread Laura Abbott
On 06/08/2016 08:34 AM, Brian Starkey wrote: 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,

Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 12:34:05PM -0700, H. Peter Anvin wrote: > (I'm going to assume for now that you meant the whole patch series.) Same from me: Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.

Re: [PATCH v3 1/2] checkpatch: add Kconfig 'default n' test

2016-06-08 Thread Paul Bolle
On di, 2016-06-07 at 21:16 +0800, Yingjoe Chen wrote: > On Mon, 2016-06-06 at 20:10 +0100, Andy Whitcroft wrote: > > > Is it obvious that a Kconfig has "default n" ? > > > This seems to work, but is this useful? > > While sending patch for upstream, I saw maintainers request it to be > removed. So

Re: [PATCH v4 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 06:11:36PM +0530, Pramod Kumar wrote: > Add DT binding doc for Broadcom MDIO bus multiplexer driver. > > Reviewed-by: Andrew Lunn > Signed-off-by: Pramod Kumar > --- > .../bindings/net/brcm,mdio-mux-iproc.txt | 59 >

[PATCH 4/7] f2fs: skip clean segment for gc

2016-06-08 Thread Jaegeuk Kim
If a segment in a section is clean or prefreed, we don't need to get its summary and do gc. Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 67fd285..e1d274c 100644 --- a/fs/f2fs/gc.c +++

[PATCH 2/7] f2fs: avoid reverse IO order for NODE and DATA

2016-06-08 Thread Jaegeuk Kim
There is a data race between allocate_data_block() and f2fs_sbumit_page_mbio(), which incur unnecessary reversed bio submission. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h| 1 + fs/f2fs/segment.c | 6 ++ fs/f2fs/super.c | 2 ++ 3 files changed, 9 insertions(+)

Re: [PATCH] nvmem: fix nvmem_cell_read() return type for !CONFIG_NVMEM

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 09:40:11AM -0700, Brian Norris wrote: > On Wed, Jun 08, 2016 at 09:26:46AM -0700, Brian Norris wrote: > > With CONFIG_NVMEM, nvmem_cell_read() returns void *. With !CONFIG_NVMEM > > it returns char *. Let's make that consistent. Also drop the > > incorrect/inconsistent

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