[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

[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

[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

[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(+),

[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

[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

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

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

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

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

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

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

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

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

Re: [PATCH] ARM: Keystone: Introduce Kconfig option to compile in typical Keystone features

2016-06-08 Thread Arnd Bergmann
On Wednesday, June 8, 2016 2:47:48 AM CEST Tony Lindgren wrote: > > * Arnd Bergmann [160607 01:11]: > > A lot of these options are typical for all ARMv7 machines: AEABI, I2C, NEON, > > PM, REGULATOR and VFP are things that we probably want to default to enabled > > whenever we

Re: [PATCH 05/10] mm: remove LRU balancing effect of temporary page isolation

2016-06-08 Thread Johannes Weiner
On Wed, Jun 08, 2016 at 04:39:44PM +0900, Minchan Kim wrote: > On Mon, Jun 06, 2016 at 03:48:31PM -0400, Johannes Weiner wrote: > > @@ -832,9 +854,9 @@ static void __pagevec_lru_add_fn(struct page *page, > > struct lruvec *lruvec, > > * Add the passed pages to the LRU, then drop the caller's

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

2016-06-08 Thread Mark Rutland
On Wed, Jun 08, 2016 at 11:21:16AM -0400, Neil Leeder wrote: > > > 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

[PATCH v2 00/13] regulator: pwm: various improvements

2016-06-08 Thread Boris Brezillon
Hello, This patch series series aims at adding two important features to the pwm-regulator driver. The first one is the support for 'smooth handover' between the bootloader and the kernel. This is mainly solving problems we have when the PWM is controlling a critical regulator (like the one

[PATCH v6 00/11] powerpc/powernv/cpuidle: Add support for POWER ISA v3 idle states

2016-06-08 Thread Shreyas B. Prabhu
POWER ISA v3 defines a new idle processor core mechanism. In summary, a) new instruction named stop is added. This instruction replaces instructions like nap, sleep, rvwinkle. b) new per thread SPR named PSSCR is added which controls the behavior of stop instruction.

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

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

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

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

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

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

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 >

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

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:

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

[PATCH] cifs: check hash calculating succeeded

2016-06-08 Thread Luis de Bethencourt
calc_lanman_hash() could return -ENOMEM or other errors, we should check that everything went fine before using the calculated key. Signed-off-by: Luis de Bethencourt --- fs/cifs/sess.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c

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

2016-06-08 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > 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 > >

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

2016-06-08 Thread Laura Abbott
On 06/08/2016 08:46 AM, Kees Cook wrote: 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

[PATCH] md: use a mutex to protect a global list

2016-06-08 Thread Cong Wang
We saw a list corruption in the list all_detected_devices: WARNING: CPU: 16 PID: 226 at lib/list_debug.c:29 __list_add+0x3c/0xa9() list_add corruption. next->prev should be prev (880859d58320), but was 880859ce74c0. (next=81abfdb0). Modules linked in: ahci libahci libata

[PATCH v2 05/13] pwm: rockchip: Add support for atomic update

2016-06-08 Thread Boris Brezillon
Implement the ->apply() function to add support for atomic update. Signed-off-by: Boris Brezillon Tested-by: Heiko Stuebner Reviewed-by: Brian Norris Tested-by: Brian Norris ---

[PATCH v2 06/13] pwm: sti: Add support for hardware readout

2016-06-08 Thread Boris Brezillon
Implement ->get_state() to provide support for initial state retrieval. Signed-off-by: Boris Brezillon --- drivers/pwm/pwm-sti.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/pwm/pwm-sti.c

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

2016-06-08 Thread Nicolas Ferre
Le 08/06/2016 18:41, Alexandre Belloni a écrit : > The clocks group properties and the clock@0 node have been obsolete for two > years, remove them. > > Signed-off-by: Alexandre Belloni On the whole series: Acked-by: Nicolas Ferre

Re: [PATCH] hwmon: (tmp401) Add support for TI TMP461

2016-06-08 Thread Andrew F. Davis
On 06/03/2016 11:41 PM, Guenter Roeck wrote: > On 05/31/2016 09:27 AM, Andrew F. Davis wrote: >> Signed-off-by: Andrew F. Davis >> --- >> Documentation/hwmon/tmp401 | 18 +-- >> drivers/hwmon/Kconfig | 2 +- >> drivers/hwmon/tmp401.c | 81 >>

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

2016-06-08 Thread Peter Hurley
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 place this into console::name and > console::index, such that we'd get

[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

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

[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

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

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

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

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

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

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

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

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,

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:56 AM, Prasun Maiti wrote: Please help me how to test this one?? It will be great to me if you help me. I do not have time or interest, sorry. You basically need access to firmware source to do any useful development on this driver in my opinion, and I do not have access to

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 02:51:37PM +0200, Michal Hocko wrote: > On Mon 06-06-16 15:48:33, Johannes Weiner wrote: > > Rename struct zone_reclaim_stat to struct lru_cost, and move from two > > separate value ratios for the LRU lists to a relative LRU cost metric > > with a shared denominator. > > I

Re: [PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding

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 dt-bindings of Sharp LQ123P1JX31 panel in

Re: Using DT overlays for adding virtual hardware

2016-06-08 Thread Pantelis Antoniou
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: >>> >>> On Wed, Jun 08, 2016 at 04:16:32PM +0200, Jan

[PATCH v2 07/13] pwm: sti: Avoid glitches on already running PWMs

2016-06-08 Thread Boris Brezillon
The current logic will disable the PWM clk even if a 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 at least one PWM is enabled to avoid any glitches. Signed-off-by: Boris Brezillon

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 12:44:12PM -0400, Alex Deucher wrote: > If the ring and IB tests pass on resume, you should be good to go. Yap, they do. I pasted that output earlier but here it is again: [ 64.745988] [drm] ring test on 0 succeeded in 1 usecs [ 64.920633] [drm] ring test on 5

[PATCH v6 07/11] powerpc/powernv: set power_save func after the idle states are initialized

2016-06-08 Thread Shreyas B. Prabhu
pnv_init_idle_states discovers supported idle states from the device tree and does the required initialization. Set power_save function pointer only after this initialization is done Reviewed-by: Gautham R. Shenoy Signed-off-by: Shreyas B. Prabhu

[PATCH v6 08/11] powerpc/powernv: Add platform support for stop instruction

2016-06-08 Thread Shreyas B. Prabhu
POWER ISA v3 defines a new idle processor core mechanism. In summary, a) new instruction named stop is added. This instruction replaces instructions like nap, sleep, rvwinkle. b) new per thread SPR named Processor Stop Status and Control Register (PSSCR) is added which controls

[PATCH v6 02/11] powerpc/kvm: make hypervisor state restore a function

2016-06-08 Thread Shreyas B. Prabhu
In the current code, when the thread wakes up in reset vector, some of the state restore code and check for whether a thread needs to branch to kvm is duplicated. Reorder the code such that this duplication is avoided. At a higher level this is what the change looks like- Before this patch -

[PATCH v6 01/11] powerpc/powernv: Use PNV_THREAD_WINKLE macro while requesting for winkle

2016-06-08 Thread Shreyas B. Prabhu
Signed-off-by: Shreyas B. Prabhu --- -No changes since v4 Changes in v4 = - New in v4 arch/powerpc/kernel/idle_power7.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/idle_power7.S

[PATCH v6 10/11] cpuidle/powernv: Add support for POWER ISA v3 idle states

2016-06-08 Thread Shreyas B. Prabhu
POWER ISA v3 defines a new idle processor core mechanism. In summary, a) new instruction named stop is added. b) new per thread SPR named PSSCR is added which controls the behavior of stop instruction. Supported idle states and value to be written to PSSCR register to enter any idle

[PATCH v6 06/11] powerpc/powernv: abstraction for saving SPRs before entering deep idle states

2016-06-08 Thread Shreyas B. Prabhu
Create a function for saving SPRs before entering deep idle states. This function can be reused for POWER9 deep idle states. Reviewed-by: Gautham R. Shenoy Signed-off-by: Shreyas B. Prabhu --- - No changes since v3 Changes in v3:

Re: [RFC PATCH] regulator: introduce boot protection flag

2016-06-08 Thread Mark Brown
On Mon, May 09, 2016 at 03:05:08PM +0800, WEN Pingbo wrote: > In some platforms, critical shared regulator is initialized in > bootloader. But during kernel booting, the driver probing order and > conflicting operations from other regulator consumers, may set the > regulator in a undefined state,

Re: [RFC][PATCH 0/5] Functional dependencies between devices

2016-06-08 Thread Rafael J. Wysocki
On Wed, Jun 8, 2016 at 2:15 PM, Mark Brown wrote: > On Thu, Jan 14, 2016 at 02:52:11AM +0100, Rafael J. Wysocki wrote: > >> What follows is my prototype implementation of this. It took some time >> to develop (much more than I was hoping for), but here it goes at last. > >

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

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

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

[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

[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

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. + *

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

2016-06-08 Thread Ingo Molnar
* Vince Weaver wrote: > eventually you can get them to send /proc/cpuinfo so you can try to find > out what processor they really have, and in that case you can get > the family/model numbers in plain decimal, and you can easily look up > if things are supported in

[PATCH v2 13/13] regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range

2016-06-08 Thread Boris Brezillon
Document the pwm-dutycycle-unit and pwm-dutycycle-range properties. Signed-off-by: Boris Brezillon Acked-by: Brian Norris --- .../devicetree/bindings/regulator/pwm-regulator.txt | 19 +++ 1 file changed, 19

[PATCH v2 12/13] regulator: pwm: Support extra continuous mode cases

2016-06-08 Thread Boris Brezillon
The continuous mode allows one to declare a PWM regulator without having to declare the voltage <-> dutycycle association table. It works fine as long as your voltage(dutycycle) function is linear, but also has the following constraints: - dutycycle for min_uV = 0% - dutycycle for max_uV = 100% -

[PATCH v2 11/13] regulator: pwm: Retrieve correct voltage

2016-06-08 Thread Boris Brezillon
The continuous PWM voltage regulator is caching the voltage value in the ->volt_uV field. While most of the time this value should reflect the real voltage, sometime it can be sightly different if the PWM device rounded the set_duty_cycle request. Moreover, this value is not valid until someone

[PATCH v2 02/13] pwm: rockchip: Fix period and duty_cycle approximation

2016-06-08 Thread Boris Brezillon
The current implementation always round down the duty and period values, while it would be better to round them to the closest integer. These changes are needed in preparation of atomic update support to prevent a period/duty cycle drift when executing several time the 'pwm_get_state() / modify /

Re: [PATCH 17/23] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-06-08 Thread Yury Norov
On Wed, Jun 08, 2016 at 09:34:09AM +0800, zhouchengming wrote: > On 2016/5/24 8:04, Yury Norov wrote: > >Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > >detection of the task type. > > > >Signed-off-by: Yury Norov [...] > Hello, I found ilp32

Re: [PATCH 6/6] ppc: ebpf/jit: Implement JIT compiler for extended BPF

2016-06-08 Thread Naveen N. Rao
On 2016/06/07 03:56PM, Alexei Starovoitov wrote: > On Tue, Jun 07, 2016 at 07:02:23PM +0530, Naveen N. Rao wrote: > > PPC64 eBPF JIT compiler. > > > > Enable with: > > echo 1 > /proc/sys/net/core/bpf_jit_enable > > or > > echo 2 > /proc/sys/net/core/bpf_jit_enable > > > > ... to see the

[PATCH 5/7] f2fs: introduce force_lfs mount option

2016-06-08 Thread Jaegeuk Kim
This mount option is to enable original log-structured filesystem forcefully. So, there should be no random writes for main area. Especially, this supports host-managed SMR device. Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.txt | 3 +++ fs/f2fs/data.c

[PATCH 2/3] x86, siginfo: add build-time checks in siginfo compat code

2016-06-08 Thread Dave Hansen
From: Dave Hansen There were at least 3 features added to the __SI_FAULT area of the siginfo struct that did not make it to the compat siginfo: 1. The si_addr_lsb used in SIGBUS's sent for machine checks 2. The upper/lower bounds for MPX SIGSEGV

[PATCH 1/7] f2fs: set mapping error for EIO

2016-06-08 Thread Jaegeuk Kim
If EIO occurred, we need to set all the mapping to avoid any further IOs. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index c9d6fe2..30dc448 100644 --- a/fs/f2fs/data.c +++

[PATCH 6/7] f2fs: fix deadlock in add_link failure

2016-06-08 Thread Jaegeuk Kim
mkdirsync_dirty_inode - init_inode_metadata - lock_page(node) - make_empty_dir - filemap_fdatawrite() - do_writepages - lock_page(data) -

[PATCH 0/3] [v2] x86: compat_siginfo fixes and build-time tests

2016-06-08 Thread Dave Hansen
Changes from v1: * lots of style fixups to the MPX selftests. No Functional changes. --- We have not been updating the x86 compat_siginfo when updating the generic one. These patches fix the issue, and then add a bunch of build-time checks to try to avoid this happening again in the future

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

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

2016-06-08 Thread Brian Norris
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. drivers/thermal/mtk_thermal.c is already working around this by casting to (u32

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

2016-06-08 Thread Borislav Petkov
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 12%. Doing: $ mpv --vo=vdpau --hwdec=vdpau $file (+) Video --vid=1 (*) (h264)

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 09:06 AM, Michal Hocko wrote: >> > Do we have any statistics that tell us how many pages are sitting the >> > lru pvecs? Although this helps the problem overall, don't we still have >> > a problem with memory being held in such an opaque place? > Is it really worth bothering when we

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

2016-06-08 Thread Robin Murphy
On 08/06/16 16:44, Rob Herring wrote: 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

[PATCH v2 1/1] hwmon: (tmp401) Add support for TI TMP461

2016-06-08 Thread Andrew F. Davis
Signed-off-by: Andrew F. Davis --- Changes from v1: - Dropped n-factor correction until a generic solution is developed - Removed double empty line Documentation/hwmon/tmp401 | 14 -- drivers/hwmon/Kconfig | 2 +- drivers/hwmon/tmp401.c | 35

Re: [PATCH v5 08/11] powerpc/powernv: Add platform support for stop instruction

2016-06-08 Thread Shreyas B Prabhu
Hi Ben, Sorry for the delayed response. On 06/06/2016 03:58 AM, Benjamin Herrenschmidt wrote: > On Thu, 2016-06-02 at 07:38 -0500, Shreyas B. Prabhu wrote: >> @@ -61,8 +72,13 @@ save_sprs_to_stack: >> * Note all register i.e per-core, per-subcore or per-thread is saved >> *

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

2016-06-08 Thread Greg KH
On Wed, Jun 08, 2016 at 11:28:11AM -0500, Jaime Arrocha wrote: > > 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 > > > > > >

[PATCH] ARM: exynos_defconfig add CONFIG_EXYNOS_IOMMU in not set mode

2016-06-08 Thread Shuah Khan
Add CONFIG_EXYNOS_IOMMU in not set mode to make it easier to enable it. Signed-off-by: Shuah Khan --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index

Re: [RFC][PATCH 2/5] hi655x-pmic: Make hi655x pmic logic probe child nodes in the dt

2016-06-08 Thread John Stultz
On Wed, Jun 8, 2016 at 7:31 AM, Lee Jones wrote: > > Please use full buffer width. Wrapping at 50 chars is not necessary. But then how would you be able to review patches on your phone?! :) >> --- a/drivers/mfd/hi655x-pmic.c >> +++ b/drivers/mfd/hi655x-pmic.c >> @@ -39,6

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"

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

  1   2   3   4   5   6   7   8   9   10   >