Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-28 Thread Darren Hart
Greg, question for you below, see "GregKH"... On Mon, Feb 27, 2017 at 08:19:09AM +0100, Michał Kępień wrote: > > Darren, Andy, > > > > Please drop this patch series for now. I will send a rebased v2 after a > > long overdue patch series from Alan Jenkins gets applied in a reworked > > form. > >

Re: [PATCH] clk: core: Copy connection id

2017-02-28 Thread sb...@codeaurora.org
On 02/25, Leonard Crestez wrote: > On Fri, 2017-02-24 at 12:44 -0800, Stephen Boyd wrote: > > On 02/20, Leonard Crestez wrote: > > > Some drivers use sprintf to build clk connection id names but the > > > clk > > > core will save those strings and occasionally print them back. > > > Duplicate > >

Re: Still OOM problems with 4.9er/4.10er kernels

2017-02-28 Thread Michal Hocko
On Tue 28-02-17 07:06:41, Gerhard Wiesinger wrote: > On 27.02.2017 09:27, Michal Hocko wrote: > >On Sun 26-02-17 09:40:42, Gerhard Wiesinger wrote: > >>On 04.01.2017 10:11, Michal Hocko wrote: > The VM stops working (e.g. not pingable) after around 8h (will be > restarted >

Re: [PATCH 1/4] clk: sunxi-ng: Add clocks and reset indices for sun7i-a20 SoC

2017-02-28 Thread Emmanuel Vadot
Hello Priit, On Mon, 27 Feb 2017 23:09:11 +0200 Priit Laes wrote: > Add preliminary list of exported clocks and reset indices for > sun7i-a20 SoC, based on existing sun7i-a20 devicetree implementation. > > Signed-off-by: Priit Laes > --- >

Re: [PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to pdata-quirks

2017-02-28 Thread Bartosz Golaszewski
2017-02-28 9:49 GMT+01:00 Sekhar Nori : > On Wednesday 22 February 2017 07:43 PM, Bartosz Golaszewski wrote: >> On the da850-evm board we need to select the UI expander video capture >> function to make vpif capture work. Add the relevant GPIOs to the >> pdata-quirks. >> >>

Re: IB on s390 broken with commit 99db94940 "IB/core: Remove ib_device.dma_device"

2017-02-28 Thread Sebastian Ott
On Mon, 27 Feb 2017, Bart Van Assche wrote: > On Mon, 2017-02-27 at 21:17 +0100, Sebastian Ott wrote: > > commit 99db94940 "IB/core: Remove ib_device.dma_device" > > breaks infiniband on s390 (and I think also other archs that do something > > like to_pci_dev(dev) in one of their dma_ops

[PATCH] PCI: altera: Fix TLP_CFG_DW0 for TLP write

2017-02-28 Thread Ley Foon Tan
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation and this cause writing to configuration space will fail. This patch fix it by using correct FMTTYPE for write operation. Signed-off-by: Ley Foon Tan --- drivers/pci/host/pcie-altera.c | 10

Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space

2017-02-28 Thread Lorenzo Pieralisi
Arnd, all, On Mon, Feb 27, 2017 at 03:14:18PM +, Lorenzo Pieralisi wrote: > The introduction of the pci_remap_cfgspace() interface allows > PCI host controller drivers to map PCI config space through a > dedicated kernel interface. Current PCI host controller drivers > use the devm_ioremap_*

[PATCH v7] staging: xgifb: correct the multiple line dereference

2017-02-28 Thread Arushi Singhal
Error reported by checkpatch.pl as "avoid multiple line dereference". Addition of new variables to make the code more readable. Signed-off-by: Arushi Singhal --- changes in v7 - Improve the coding style. - Introduced new variables.

[PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2

2017-02-28 Thread Claudiu Beznea
sama5d2 can use the same atmel_pwm_data as sama5d3. Signed-off-by: Claudiu Beznea --- Documentation/devicetree/bindings/pwm/atmel-pwm.txt | 1 + drivers/pwm/pwm-atmel.c | 3 +++ 2 files changed, 4 insertions(+) diff --git

[tip:core/urgent] objtool: Enclose contents of unreachable() macro in a block

2017-02-28 Thread tip-bot for Josh Poimboeuf
Commit-ID: 4e4636cf981b5b629fbfb78aa9f232e015f7d521 Gitweb: http://git.kernel.org/tip/4e4636cf981b5b629fbfb78aa9f232e015f7d521 Author: Josh Poimboeuf AuthorDate: Mon, 27 Feb 2017 22:21:16 -0600 Committer: Ingo Molnar CommitDate: Tue, 28 Feb 2017

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2017-02-28 Thread Vincent Guittot
On 28 February 2017 at 01:33, Huang, Ying wrote: > Vincent Guittot writes: > >> Hi Ying, >> >> On 21 February 2017 at 03:40, Huang, Ying wrote: >>> Hi, Vincent, >>> >>> Vincent Guittot writes:

Re: Issues with irq handling in mfd/intel_soc_pmic_bxtwc.c

2017-02-28 Thread Andy Shevchenko
(Cc: Vincent, he might be interested in that since he is working on Basin Cove ADC driver for the moment) On Mon, Feb 27, 2017 at 2:38 PM, Hans de Goede wrote: > Hi All, > > While working on Whiskey Cove PMIC support for Cherrytrail devices > I noticed that the irq handling

Re: [PATCHv4] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-02-28 Thread Nicolai Stange
Hi Abel, On Tue, Feb 28 2017, Abel Vesa wrote: > On Mon, Feb 27, 2017 at 04:52:06PM +0100, Nicolai Stange wrote: >> On Fri, Feb 24 2017, Abel Vesa wrote: >> >> >> >> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> > index fda6a46..877df5b 100644 >> > --- a/arch/arm/Kconfig >> > +++

[PATCH SPEAKUP v2 3/3] use spkeaup_allocate as per required context

2017-02-28 Thread Pranay Kr. Srivastava
speakup_allocate used GFP_ATOMIC for allocations even while during initialization due to it's use in notifier call. Pass GFP_ flags as well to speakup_allocate depending on the context it is called in. Signed-off-by: Pranay Kr. Srivastava --- drivers/staging/speakup/main.c |

[PATCH SPEAKUP v2 0/3] cleanup error and initilization

2017-02-28 Thread Pranay Kr. Srivastava
Changelog from v1: 1. fixed kbuild warning for i386 build as reported by kbuild robot 2. split initialization code in two patches. Pranay Kr. Srivastava (3): return same error value from spk_set_key_info remove unecessary initial allocation of vc use spkeaup_allocate as per

[PATCH SPEAKUP v2 2/3] remove unecessary initial allocation of vc

2017-02-28 Thread Pranay Kr. Srivastava
This patch removes the unnecessary allocation of current foreground vc during initialization. This initialization is already handled in the loop that follows it for all available virtual consoles. Signed-off-by: Pranay Kr. Srivastava --- drivers/staging/speakup/main.c | 11

Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-28 Thread Michał Kępień
> On Mon, Feb 27, 2017 at 10:17:55PM -0800, Darren Hart wrote: > > Greg, question for you below, see "GregKH"... > > > > On Mon, Feb 27, 2017 at 08:19:09AM +0100, Michał Kępień wrote: > > > > Darren, Andy, > > > > > > > > Please drop this patch series for now. I will send a rebased v2 after a >

[RESEND PATCH v2 2/5] arm64: dts: exynos: Remove the OF graph from DSI node for exynos5433 dts

2017-02-28 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. So Remove the ports node and move burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda ---

Re: [PATCH RESEND] drm/via: use get_user_pages_unlocked()

2017-02-28 Thread Daniel Vetter
On Mon, Feb 27, 2017 at 09:50:08PM +, Lorenzo Stoakes wrote: > Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code > and takes advantage of VM_FAULT_RETRY functionality when faulting in pages. > > Signed-off-by: Lorenzo Stoakes Queued for 4.12,

Re: [PATCH v1] regulator: Add driver for voltage controlled regulators

2017-02-28 Thread Matthias Kaehlcke
El Fri, Feb 24, 2017 at 07:19:19PM -0800 Matthias Kaehlcke ha dit: > El Tue, Feb 21, 2017 at 06:22:14PM -0600 Rob Herring ha dit: > > > > > +Optional properties: > > > + > > > ... > > > +- min-slew-down-rate : Describes how slowly the regulator voltage > > > will decay >

Re: [PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to pdata-quirks

2017-02-28 Thread Sekhar Nori
On Wednesday 22 February 2017 07:43 PM, Bartosz Golaszewski wrote: > On the da850-evm board we need to select the UI expander video capture > function to make vpif capture work. Add the relevant GPIOs to the > pdata-quirks. > > Signed-off-by: Bartosz Golaszewski Hmm,

[PATCH] clk: meson: fix SET_PARM macro

2017-02-28 Thread Jerome Brunet
parameter val is not enclosed in parenthesis which is buggy when given an expression instead of a simple value Signed-off-by: Jerome Brunet --- drivers/clk/meson/clkc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/clkc.h

Re: [PATCH v2] mmc: meson-gx: remove mmc host on device removal

2017-02-28 Thread Kevin Hilman
Michał Zegan writes: > The mmc host was added in meson_mmc_probe, but never removed in > meson_mmc_remove. > Fix that by removing the host before deallocating other resources. > > Signed-off-by: Michał Zegan > Tested-by: Michał Zegan

Re: [PATCH v5 2/3] nvmem: sunxi-sid: add support for H3's SID controller

2017-02-28 Thread Maxime Ripard
On Tue, Feb 28, 2017 at 04:35:31PM +0800, Icenowy Zheng wrote: > > > 28.02.2017, 14:43, "Maxime Ripard" : > > On Tue, Feb 28, 2017 at 03:27:14AM +0800, Icenowy Zheng wrote: > >>  The H3 SoC have a bigger SID controller, which has its direct read > >>  address at

[PATCH V3] vhost: introduce O(1) vq metadata cache

2017-02-28 Thread Jason Wang
When device IOTLB is enabled, all address translations were stored in interval tree. O(lgN) searching time could be slow for virtqueue metadata (avail, used and descriptors) since they were accessed much often than other addresses. So this patch introduces an O(1) array which points to the

[PATCH V3 0/3] sched/deadline: Fixes for constrained deadline tasks

2017-02-28 Thread Daniel Bristot de Oliveira
While reading sched deadline code, I find out that a constrained deadline task could be replenished before the next period if activated after the deadline, opening the window to run for more than Q/P. The patch [2] explains and fixes this problem. Furthermore, while fixing this issue, I found

Re: [PATCH V2 2/3] Documentation: sprd: Add bindings for SP9860G

2017-02-28 Thread Chunyan Zhang
On 28 February 2017 at 03:56, Rob Herring wrote: > On Tue, Feb 21, 2017 at 02:55:03PM +0800, Chunyan Zhang wrote: >> Added support for Spreadtrum SP9860G board and SC9860 SoC. >> This patch also revised bindings of SC9836 to make the format >> more clear. >> >> Signed-off-by:

Re: [RFC PATCH v4 26/28] x86: Allow kexec to be used with SME

2017-02-28 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 09:47:55AM -0600, Tom Lendacky wrote: > Provide support so that kexec can be used to boot a kernel when SME is > enabled. > > Support is needed to allocate pages for kexec without encryption. This > is needed in order to be able to reboot in the kernel in the same manner

[PATCH 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM

2017-02-28 Thread Claudiu Beznea
The currently Atmel PWM controllers supported by this driver could change period and duty factor without channel disable (sama5d3 supports this by using period and duty factor update registers, sam9rl support this by writing channel update register and select the corresponding update: period or

[PATCH] PCI: altera: Fix TLP_CFG_DW0 for TLP write

2017-02-28 Thread Ley Foon Tan
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation and this cause writing to configuration space will fail. This patch fix it by using correct FMTTYPE for write operation. Signed-off-by: Ley Foon Tan Cc: sta...@vger.kernel.org ---

[PATCH 1/2] Documentation: dt-bindings: Use generic property for hardware enable pins

2017-02-28 Thread Milo Kim
With index usages, device specific properties can be replaced with generic one. Vpos is index 0 and Vneg is index 1. DT examples are added as well. Signed-off-by: Milo Kim --- .../bindings/regulator/lm363x-regulator.txt| 78 +- 1 file changed, 76

[GIT PULL] perf fixes

2017-02-28 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 1572e45a924f254d9570093abde46430c3172e3d perf/core: Fix the perf_cpu_time_max_percent check Misc fixes on the kernel and tooling

[GIT PULL] locking fixes

2017-02-28 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: 318b1dedcd39012624f466d281627553e9fa2570 locking/refcounts: Add missing kernel.h header to have UINT_MAX defined The main

Re: [PATCH V3 2/7] PM / OPP: Introduce "domain-performance-state" binding to OPP nodes

2017-02-28 Thread Viresh Kumar
On 27-02-17, 18:39, Rob Herring wrote: > On Fri, Feb 24, 2017 at 02:36:34PM +0530, Viresh Kumar wrote: > > If the consumers don't need the capability of switching to different > > domain performance states at runtime, then they can simply define their > > required domain performance state in their

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-28 Thread Alim Akhtar
Hi Kishon, On 02/28/2017 09:04 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 27 February 2017 07:40 PM, Alim Akhtar wrote: >> Hi Kishon, >> >> On 02/27/2017 10:56 AM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 23 February 2017 12:20 AM, Alim Akhtar wrote: On Fri, Feb

Re: [PATCH 1/2] dt-bindings: iio: stm32-adc: add option to set resolution

2017-02-28 Thread Fabrice Gasnier
On 02/25/2017 04:11 PM, Jonathan Cameron wrote: On 24/02/17 16:04, Fabrice Gasnier wrote: On 02/19/2017 01:09 PM, Jonathan Cameron wrote: On 15/02/17 16:55, Fabrice Gasnier wrote: Add documentation for 'st,adc-res' dt optional property. Signed-off-by: Fabrice Gasnier

Re: Still OOM problems with 4.9er/4.10er kernels

2017-02-28 Thread Michal Hocko
On Tue 28-02-17 14:17:23, Minchan Kim wrote: > On Mon, Feb 27, 2017 at 10:44:49AM +0100, Michal Hocko wrote: > > On Mon 27-02-17 18:02:36, Minchan Kim wrote: > > [...] > > > >From 9779a1c5d32e2edb64da5cdfcd6f9737b94a247a Mon Sep 17 00:00:00 2001 > > > From: Minchan Kim > > >

Re: [PATCH] pinctrl: samsung: Calculate GPIO base for pinctrl_add_gpio_range

2017-02-28 Thread Charles Keepax
On Mon, Feb 27, 2017 at 11:13:59AM +0900, Tomasz Figa wrote: > > diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c > > b/drivers/pinctrl/samsung/pinctrl-samsung.c > > index ddc8d6b..864d8b4d 100644 > > --- a/drivers/pinctrl/samsung/pinctrl-samsung.c > > +++

Re: [PATCH 2/2] gpu: drm: Convert printk(KERN_ to pr_

2017-02-28 Thread Daniel Vetter
On Mon, Feb 27, 2017 at 05:31:04PM -0800, Joe Perches wrote: > Use a more common logging style. > > Miscellanea: > > o Coalesce formats and realign arguments > o Neaten a few macros now using pr_ > > Signed-off-by: Joe Perches I know this is pain, but can you pls split this

Re: [PATCH SPEAKUP v2 2/3] remove unecessary initial allocation of vc

2017-02-28 Thread Samuel Thibault
Pranay Kr. Srivastava, on mar. 28 févr. 2017 13:57:54 +0530, wrote: > This patch removes the unnecessary allocation of > current foreground vc during initialization. > > This initialization is already handled in the loop > that follows it for all available virtual consoles. > > Signed-off-by:

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-28 Thread Gary Bisson
Hi Tony, On Mon, Feb 27, 2017 at 03:05:43PM -0800, Tony Lindgren wrote: > * Gary Bisson [170227 13:08]: > > Hi Tony, > > > > On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > > > * Tony Lindgren [170227 09:37]: > > > > * Gary

Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT blocks

2017-02-28 Thread Chao Yu
On 2017/2/28 6:19, Jaegeuk Kim wrote: > On 02/27, Chao Yu wrote: >> On 2017/2/26 2:34, Jaegeuk Kim wrote: >>> On 02/25, Chao Yu wrote: On 2017/2/24 6:54, Jaegeuk Kim wrote: > On 02/23, Chao Yu wrote: >> On 2017/2/14 10:06, Jaegeuk Kim wrote: >>> ... > >>> +static int

Re: [PATCH] PCI: altera: Fix TLP_CFG_DW0 for TLP write

2017-02-28 Thread Ley Foon Tan
On Tue, Feb 28, 2017 at 6:37 PM, Ley Foon Tan wrote: > Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation > and this cause writing to configuration space will fail. This patch > fix it by using correct FMTTYPE for write operation. > > Signed-off-by:

Re: [PATCH v3 2/2] perf/sdt: Directly record SDT events with 'perf record'

2017-02-28 Thread Ravi Bangoria
Thanks Masami for the review. Please find my replies to your comments. On Tuesday 28 February 2017 11:15 AM, Masami Hiramatsu wrote: > On Fri, 24 Feb 2017 13:13:25 +0530 > Ravi Bangoria wrote: > >> After invoking 'perf record', behind the scenes, it checks

Re: IB on s390 broken with commit 99db94940 "IB/core: Remove ib_device.dma_device"

2017-02-28 Thread Sebastian Ott
On Tue, 28 Feb 2017, Sebastian Ott wrote: > On Mon, 27 Feb 2017, Bart Van Assche wrote: > > On Mon, 2017-02-27 at 21:17 +0100, Sebastian Ott wrote: > > > commit 99db94940 "IB/core: Remove ib_device.dma_device" > > > breaks infiniband on s390 (and I think also other archs that do something > > >

Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT blocks

2017-02-28 Thread Chao Yu
On 2017/2/28 13:33, Jaegeuk Kim wrote: > On 02/28, Chao Yu wrote: >> On 2017/2/24 6:58, Jaegeuk Kim wrote: >>> @@ -2326,7 +2431,8 @@ void flush_nat_entries(struct f2fs_sb_info *sbi) >>> * entries, remove all entries from journal and merge them >>> * into nat entry set. >>> */ >>> -

[PATCH SPEAKUP v2 1/3] return same error value from spk_set_key_info

2017-02-28 Thread Pranay Kr. Srivastava
This patch makes spk_set_key_info return -EINVAL in case of failure instead of returning 4 different values for the type of error that occurred. Print the offending values instead as debug message. Signed-off-by: Pranay Kr. Srivastava --- drivers/staging/speakup/main.c | 27

[RESEND PATCH v2 3/5] arm: dts: Remove the OF graph from DSI node for exynos3250 dts

2017-02-28 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. So Remove the ports node and move burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda ---

[RESEND PATCH v2 5/5] arm: dts: Remove the OF graph from DSI node for exynos4210 dts

2017-02-28 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. So Remove the ports node and move burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda ---

Re: [NAND Question] When oob_required is used?

2017-02-28 Thread Masahiro Yamada
Hi Boris, 2017-02-28 17:02 GMT+09:00 Boris Brezillon : > On Tue, 28 Feb 2017 16:21:50 +0900 > Masahiro Yamada wrote: > >> Hi. >> >> >> I am seeing the reference implementations for the callback >> in drivers/mtd/nand/nand_base.c

Re: [RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg()

2017-02-28 Thread Yuyang Du
Hi Peter and Ingo, Could you please give a look at this? Thanks, Yuyang On Mon, Feb 13, 2017 at 05:44:21AM +0800, Yuyang Du wrote: > Hi Peter, > > I found I have some patches that go nowhere, out of which two stand out. So I > resend them. > > The first one adds a document about how to

Re: [PATCH 1/2] dt-bindings: iio: stm32-adc: add option to set resolution

2017-02-28 Thread Lars-Peter Clausen
On 02/28/2017 09:21 AM, Fabrice Gasnier wrote: > On 02/25/2017 04:11 PM, Jonathan Cameron wrote: >> On 24/02/17 16:04, Fabrice Gasnier wrote: >>> On 02/19/2017 01:09 PM, Jonathan Cameron wrote: On 15/02/17 16:55, Fabrice Gasnier wrote: > Add documentation for 'st,adc-res' dt optional

[PATCH] Input: sparse-keymap - add managed version of sparse_keymap_setup()

2017-02-28 Thread Michał Kępień
Some platform drivers use devm_input_allocate_device() together with sparse_keymap_setup() in their .probe callbacks. While using the former simplifies error handling, using the latter necessitates calling sparse_keymap_free() in the error path and upon module unloading to avoid leaking the copy

[PATCH] locking/ww_mutex: Replace cpu_relax with cond_resched for tests

2017-02-28 Thread Chris Wilson
When busy-spinning on a ww_mutex_trylock(), we depend upon the other thread advancing and releasing the lock. This can not happen on a single CPU unless we relinquish it. [ 28.709171] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:1:18] [ 28.710974] irq event stamp: 25570 [

Re: [PATCH 0/4] blk-mq: cleanup on all kinds of kobjects

2017-02-28 Thread Peter Zijlstra
On Wed, Feb 22, 2017 at 06:13:58PM +0800, Ming Lei wrote: > This patchset cleans up on kojects of request_queue.mq_kobj, > sw queue's kobject and hw queue's kobject. > > The 1st patch initialized kobject of request_queue and sw queue > in blk_mq_init_allocated_queue(), so we can avoid to

Re: [PATCH V2 2/3] Documentation: sprd: Add bindings for SP9860G

2017-02-28 Thread Rob Herring
On Tue, Feb 21, 2017 at 02:55:03PM +0800, Chunyan Zhang wrote: > Added support for Spreadtrum SP9860G board and SC9860 SoC. > This patch also revised bindings of SC9836 to make the format > more clear. > > Signed-off-by: Chunyan Zhang > --- >

Re: [PATCH v1 0/4] gpio: make gpiod_count() API consistent

2017-02-28 Thread Andy Shevchenko
On Mon, 2017-02-27 at 09:27 +0100, Benjamin Tissoires wrote: > On Feb 20 2017 or thereabouts, Andy Shevchenko wrote: > > There are three possibilities in gpiod_count(): ACPI, OF, and > > platform data. > > > > Some of them return 0, which requires to be handled separately, > > though > >

Re: [PATCH] locking/ww_mutex: Replace cpu_relax with cond_resched for tests

2017-02-28 Thread Peter Zijlstra
On Tue, Feb 28, 2017 at 09:40:11AM +, Chris Wilson wrote: > When busy-spinning on a ww_mutex_trylock(), we depend upon the other > thread advancing and releasing the lock. This can not happen on a single > CPU unless we relinquish it. Thanks, do you have any clue about those other ww-mutex

Re: [PATCH] staging: fsl-mc: fix warning in DT ranges parser

2017-02-28 Thread Laurentiu Tudor
Hi Arnd, On 02/27/2017 10:42 PM, Arnd Bergmann wrote: > The fsl-mc-bus driver in staging contains a copy of the standard > 'ranges' property parsing algorithm with a hack to treat a missing > property the same way as an empty one. This code produces false-positive > warnings for me in an

[PATCH] pci: dwc: Fix NULL pointer dereference due to missing assignment

2017-02-28 Thread Vivek Gautam
Add missing assignment of dw_pci core structure for designware-plat. Commit 8b130f815a6b ("PCI: dwc: Fix crashes seen due to missing assignments") fixed all other platforms, but missed designware-plat file. Fixes: 442ec4c04d12 ("PCI: dwc: all: Split struct pcie_port into host-only and core

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-02-28 Thread Tetsuo Handa
Vegard, can I send this patch? Tetsuo Handa wrote: > Vegard Nossum wrote: > > On 13 December 2016 at 15:45, Tetsuo Handa > > wrote: > > > When I was running my testcase which may block hundreds of threads > > > on fs locks, I got lockup due to output from

Re: [PATCH v2] acpi: acpica: fix acpi operand cache leak

2017-02-28 Thread Seunghun Han
Hello, Lv and Rafael. I checked that my patch was merged to ACPICA project. Thank you for your notice. I added an analysis report which has the root cause of this problem below. 2017-02-27 11:45 GMT+09:00 Zheng, Lv : > Hi, Rafael > >> From: linux-acpi-ow...@vger.kernel.org

Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-28 Thread Greg Kroah-Hartman
On Mon, Feb 27, 2017 at 10:17:55PM -0800, Darren Hart wrote: > Greg, question for you below, see "GregKH"... > > On Mon, Feb 27, 2017 at 08:19:09AM +0100, Michał Kępień wrote: > > > Darren, Andy, > > > > > > Please drop this patch series for now. I will send a rebased v2 after a > > > long

Re: [RESEND PATCH v2 0/5] Fix the parse_dt of exynos dsi and remove the OF graph

2017-02-28 Thread Krzysztof Kozlowski
On Tue, Feb 28, 2017 at 10:17 AM, Hoegeun Kwon wrote: > Hi All, > > [Resend this v2 patches, because i have missing TO and CC.] > > The dsi + panel is a parental relationship, so OF grpah is not needed. > Therefore, the current dsi_parse_dt function will throw an error,

Re: [Lsf-pc] [LSF/MM TOPIC] do we really need PG_error at all?

2017-02-28 Thread Boaz Harrosh
On 02/28/2017 03:11 AM, Jeff Layton wrote: <> > > I'll probably have questions about the read side as well, but for now it > looks like it's mostly used in an ad-hoc way to communicate errors > across subsystems (block to fs layer, for instance). If memory does not fail me it used to be checked

Re: tip.today - scheduler bam boom crash (cpu hotplug)

2017-02-28 Thread Peter Zijlstra
On Tue, Feb 28, 2017 at 09:51:07AM +0800, Wanpeng Li wrote: > diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c > index 4e95b2e..ed8eda4 100644 > --- a/arch/x86/kernel/cpu/amd.c > +++ b/arch/x86/kernel/cpu/amd.c > @@ -557,7 +557,7 @@ static void early_init_amd(struct cpuinfo_x86

[GIT PULL] x86 fixes

2017-02-28 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 8312593a55941a0fae2b09731a4f91d87bd796db Merge branches 'x86/cache', 'x86/debug' and 'x86/irq' into x86/urgent Two documentation

Re: [PATCH] arm64: dts: apq8016-sbc: Add ramoops

2017-02-28 Thread Stephen Boyd
On 02/01, Bjorn Andersson wrote: > Declare a ramoops memory segment to aid debugging for those without UART > access. Verified to carry console log when holding volume down for 15 > seconds. > > I was unable to find any ramoops-like memory region used in the 8916 > downstream kernels, so the

Re: [Outreachy kernel] Re: [PATCH v6] staging: xgifb: correct the multiple line dereference

2017-02-28 Thread Julia Lawall
On Tue, 28 Feb 2017, Arushi Singhal wrote: > > > On Tue, Feb 28, 2017 at 11:21 AM, Greg Kroah-Hartman > wrote: > On Tue, Feb 28, 2017 at 10:35:30AM +0530, Arushi Singhal wrote: > > Error reported by checkpatch.pl as "avoid multiple line dereference". >

Re: [PATCH 2/5] clk: tegra: define Tegra210 DMIC sync clocks

2017-02-28 Thread Peter De Schrijver
On Mon, Feb 27, 2017 at 08:27:33PM +0200, Mikko Perttunen wrote: > On 02/23/2017 02:39 PM, Peter De Schrijver wrote: > >Tegra210 has 3 DMIC inputs which can be clocked from the recovered clock > >of several other audio inputs (eg. i2s0, i2s1, ...). To model this, we add > >a 3 new clocks similar

Re: [PATCH 0/4] vc4 RST documentation

2017-02-28 Thread Daniel Vetter
On Mon, Feb 27, 2017 at 12:11:40PM -0800, Eric Anholt wrote: > danvet asked me a while ago to try generating documentation with the > new RST-based infrastructure. I had a couple of hours to do some > editing, so here it is. > > So far I'm not including any kerneldoc for functions. I don't

Re: [mm/kasan] 80a9201a59 BUG: kernel reboot-without-warning in early-boot stage, last printk: Booting the kernel.

2017-02-28 Thread Dmitry Vyukov
On Tue, Feb 28, 2017 at 4:12 AM, Fengguang Wu wrote: > Hi Alexander, > > FYI, we find an old bug that's still alive in linux-next. The attached > reproduce-* script may help debug the problem. Hi Fengguang, KASAN works fine for us all that time in qemu and on real

Re: [PATCH 1/4] v4l2: device_register_subdev_nodes: allow calling multiple times

2017-02-28 Thread Pavel Machek
Hi! > Please find my comments below. Thanks for quick review, will fix. > > switch (vfwn.base.port) { > > case ISP_OF_PHY_CSIPHY1: > > - buscfg->interface = ISP_INTERFACE_CSI2C_PHY1; > > + if (csi1) > > You could compare vfwn.bus_type

Re: [PATCH] [media] tw5864: handle unknown video std gracefully

2017-02-28 Thread Andrey Utkin
On Tue, Feb 28, 2017 at 09:20:53AM +0100, Arnd Bergmann wrote: > On Tue, Feb 28, 2017 at 2:08 AM, Andrey Utkin > wrote: > > Retcode checking takes place everywhere, but currently it overwrites > > supplied structs with potentially-uninitialized values. To make it

Re: [PATCH] target/user: Add daynmic growing data area featuresupport

2017-02-28 Thread Xiubo Li
On 02/17/2017 01:24 AM, lixi...@cmss.chinamobile.com wrote: From: Xiubo Li Currently for the TCMU, the ring buffer size is fixed to 64K cmd area + 1M data area, and this will be bottlenecks for high iops. Hi Xiubo, thanks for your work. daynmic -> dynamic Have

Re: [PATCH v2 2/3] spi: allocate spi_board_info entries one by one

2017-02-28 Thread Mark Brown
On Mon, Feb 27, 2017 at 08:18:56PM -0800, Dmitry Torokhov wrote: > Lists of spi_board_info entries registered with spi_register_board_info() > can be quite long; instead of forcing memory allocator find contagious Do you have numbers on that? signature.asc Description: PGP signature

Re: [PATCH 0/2] key payload access with just rcu_read_lock()

2017-02-28 Thread Jan Stancek
- Original Message - > Jan Stancek wrote: > > > Looks like there are still couple users that need updating, > > I'm hitting following compilation error: > > Aargh - I remembered to grep for rcu_dereference_key() but not > user_key_payload(). > > How about the

Re: [PATCH] locking/ww_mutex: Replace cpu_relax with cond_resched for tests

2017-02-28 Thread Chris Wilson
On Tue, Feb 28, 2017 at 10:48:53AM +0100, Peter Zijlstra wrote: > On Tue, Feb 28, 2017 at 09:40:11AM +, Chris Wilson wrote: > > When busy-spinning on a ww_mutex_trylock(), we depend upon the other > > thread advancing and releasing the lock. This can not happen on a single > > CPU unless we

Re: [PATCH] kbuild: avoid unrecognized option error for external DTC

2017-02-28 Thread Michael Ellerman
Ben Hutchings writes: > [ Unknown signature status ] > On Mon, 2017-02-27 at 14:40 +0900, Masahiro Yamada wrote: >> Since commit 6b22b3d1614a ("kbuild: Allow using host dtc instead of >> kernel's copy"), it is possible to use an external dtc.  In this >> case, we do not

Re: [PATCH 0/2] key payload access with just rcu_read_lock()

2017-02-28 Thread David Howells
Here's an updated patch with fixed user_key_payload_locked() and user_read(). David --- commit f57350ca3480c418dbc20bf73a7678a7f8e3e4ab Author: David Howells Date: Tue Feb 28 10:08:01 2017 + KEYS: Differentiate uses of rcu_dereference_key() and user_key_payload()

Re: [WARNING: A/V UNSCANNABLE][Merge tag 'media/v4.11-1' of git] ff58d005cd: BUG: unable to handle kernel NULL pointer dereference at 0000039c

2017-02-28 Thread Ingo Molnar
* Linus Torvalds wrote: > In other words: what will happen is that distros start getting bootup problem > reports six months or a year after we've done it, and *if* they figure out > it's > the irq enabling, they'll disable it, because they have no way to solve

Re: [PATCH] arm64: dump: hide kernel pointers

2017-02-28 Thread Mark Rutland
On Tue, Feb 28, 2017 at 08:42:51AM +, Ard Biesheuvel wrote: > (+ Mark) (+ Laura) > On 28 February 2017 at 07:05, Miles Chen wrote: > > Mask kernel pointers of /sys/kernel/debug/kernel_page_tables entry like > > /proc/vmallocinfo does. > > > > With sysctl

[PATCH] PCI: altera: Fix TLP_CFG_DW0 for TLP write

2017-02-28 Thread Ley Foon Tan
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation and this cause writing to configuration space will fail. This patch fix it by using correct FMTTYPE for write operation. Signed-off-by: Ley Foon Tan --- drivers/pci/host/pcie-altera.c | 10

Re: [NAND Question] When oob_required is used?

2017-02-28 Thread Boris Brezillon
On Tue, 28 Feb 2017 16:21:50 +0900 Masahiro Yamada wrote: > Hi. > > > I am seeing the reference implementations for the callback > in drivers/mtd/nand/nand_base.c > > > I see only some of them use the argument "oob_required". > > > - oob_required is used >

[GIT PULL] scheduler fixes

2017-02-28 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 96b777452d8881480fd5be50112f791c17db4b6b sched/cgroup: Move sched_online_group() back into css_online() to fix crash Two rq-clock

Re: tip.today - scheduler bam boom crash (cpu hotplug)

2017-02-28 Thread Wanpeng Li
2017-02-28 16:08 GMT+08:00 Peter Zijlstra : > On Tue, Feb 28, 2017 at 09:51:07AM +0800, Wanpeng Li wrote: >> diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c >> index 4e95b2e..ed8eda4 100644 >> --- a/arch/x86/kernel/cpu/amd.c >> +++

Re: [PATCH] [media] tw5864: handle unknown video std gracefully

2017-02-28 Thread Arnd Bergmann
On Tue, Feb 28, 2017 at 2:08 AM, Andrey Utkin wrote: > Hi Arnd, > > Thanks for sending this patch. > > On Mon, Feb 27, 2017 at 09:32:34PM +0100, Arnd Bergmann wrote: >> tw5864_frameinterval_get() only initializes its output when it successfully >> identifies the

Re: [PATCH 2/4] clk: sunxi-ng: Add sun7i-a20 CCU driver

2017-02-28 Thread Maxime Ripard
Hi, On Mon, Feb 27, 2017 at 11:09:12PM +0200, Priit Laes wrote: > Introduce a clock controller driver for sun7i A20 SoC. > > Signed-off-by: Priit Laes > --- > drivers/clk/sunxi-ng/Kconfig | 11 + > drivers/clk/sunxi-ng/Makefile|1 + >

[RESEND PATCH v2 1/5] drm/exynos: dsi: Fix the parse_dt function

2017-02-28 Thread Hoegeun Kwon
The dsi + panel is a parental relationship, so OF grpah is not needed. Therefore, the current dsi_parse_dt function will throw an error, because there is no linked OF graph for case such as fimd + dsi + panel. So this patch parse the Pll, burst and esc clock frequency properties in dsi_parse_dt

[RESEND PATCH v2 0/5] Fix the parse_dt of exynos dsi and remove the OF graph

2017-02-28 Thread Hoegeun Kwon
Hi All, [Resend this v2 patches, because i have missing TO and CC.] The dsi + panel is a parental relationship, so OF grpah is not needed. Therefore, the current dsi_parse_dt function will throw an error, because there is no linked OF graph for case such as fimd + dsi + panel. So the 1/5 patch

Re: [locking/ww_mutex] f2a5fec173 EIP: __mutex_trylock

2017-02-28 Thread Chris Wilson
On Tue, Feb 28, 2017 at 11:59:24AM +0800, Fengguang Wu wrote: > Hello, > > Here is another bisect result with a different call trace. Is this a single processor VM without pre-emption? It's a busy spin loop, so relies on the other thread being run to break the loop. That cpu_relax() should

Re: [PATCH SPEAKUP v2 3/3] use spkeaup_allocate as per required context

2017-02-28 Thread Samuel Thibault
Pranay Kr. Srivastava, on mar. 28 févr. 2017 13:57:55 +0530, wrote: > speakup_allocate used GFP_ATOMIC for allocations > even while during initialization due to it's use > in notifier call. > > Pass GFP_ flags as well to speakup_allocate depending > on the context it is called in. > >

Re: [PATCH SPEAKUP v2 1/3] return same error value from spk_set_key_info

2017-02-28 Thread Samuel Thibault
Pranay Kr. Srivastava, on mar. 28 févr. 2017 13:57:53 +0530, wrote: > This patch makes spk_set_key_info return -EINVAL > in case of failure instead of returning 4 different > values for the type of error that occurred. > > Print the offending values instead as debug message. > > Signed-off-by:

Re: [RFC][PATCH 1/2] drm/probe-helper: Add mode_valid check to drm_crtc_helper_funcs

2017-02-28 Thread Daniel Vetter
On Mon, Feb 27, 2017 at 10:03:20PM -0800, John Stultz wrote: > On Mon, Feb 20, 2017 at 2:32 PM, Daniel Vetter wrote: > > I thought about this some more, I think what we need to fix this mess > > properly is: > > - mode_valid helper callbacks for crtc, encoder, bridges, with the >

Re: [RFT 0/4] mfd: regulator: max14577: Remove support for platform data

2017-02-28 Thread Mark Brown
On Mon, Feb 27, 2017 at 04:52:36PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Monday, February 27, 2017 05:32:37 PM Krzysztof Kozlowski wrote: > > The driver supports two chipsets: max14577 and max77836. As you noted, > > the first one is for Gear 1. The second one is present on Gear2 which > >

[PATCH 2/2] regulator: lm363x: Use generic DT property name for external control pins

2017-02-28 Thread Milo Kim
Vpos and Vneg LDOs can be enabled or disabled by external GPIOs. Use general DT property 'enable-gpios' for this usage. Two enable pins are differentiable by selecting the index number. Signed-off-by: Milo Kim --- drivers/regulator/lm363x-regulator.c | 4 ++-- 1 file changed, 2

[PATCH 0/2] switch to atomic PWM

2017-02-28 Thread Claudiu Beznea
Switch atmel-pwm driver to atomic PWM and enable it for sama5d2 Claudiu Beznea (2): drivers: pwm: pwm-atmel: switch to atomic PWM drivers: pwm: pwm-atmel: enable pwm on sama5d2 .../devicetree/bindings/pwm/atmel-pwm.txt | 1 + drivers/pwm/pwm-atmel.c|

Re: [PATCH 3/6] x86/cpu: proc - remove "wp" status line in cpuinfo

2017-02-28 Thread Mathias Krause
On 14 February 2017 at 22:42, Mathias Krause wrote: > On 14 February 2017 at 19:13, H. Peter Anvin wrote: >> On 02/12/17 13:12, Mathias Krause wrote: >>> As of commit a5c2a893dbd4 ("x86, 386 removal: Remove >>> CONFIG_X86_WP_WORKS_OK") the kernel won't

[RESEND PATCH v2 4/5] arm: dts: Remove the OF graph from DSI node for exynos4412 dts

2017-02-28 Thread Hoegeun Kwon
The OF graph is not needed because the panel is a child of dsi. So Remove the ports node and move burst and esc clock frequency properties to the parent (DSI node). Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda ---

  1   2   3   4   5   6   7   8   9   10   >