[PATCH 1/3] pinctrl: mvebu: make bool drivers explicitly non-modular

2017-02-06 Thread Paul Gortmaker
None of the Kconfigs for any of these drivers are tristate, meaning that they currently are not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the drivers there is no doubt they are builtin-only. All drivers get the exact same cha

[PATCH 3/3] pinctrl: berlin: make bool drivers explicitly non-modular

2017-02-06 Thread Paul Gortmaker
None of the Kconfigs for any of these drivers are tristate, meaning that they currently are not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there is no doubt it is builtin-only. Since module_platform_driver() uses t

[PATCH 2/3] pinctrl: spear: make bool drivers explicitly non-modular

2017-02-06 Thread Paul Gortmaker
None of the Kconfigs for any of these drivers are tristate, meaning that they currently are not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the drivers there is no doubt they are builtin-only. All drivers get the exact same ch

[PATCH 0/3] pinctrl: berlin/mvebu/spear: make bool code non-modular

2017-02-06 Thread Paul Gortmaker
Nothing really new here -- if the Kconfig and/or the Makefile does not allow building the code as modular, then we don't need to be using module_xyz() functions and/or MODULE_XYZ macros. Here we audit and remove such instances in three subdirectories of the pinctrl subsystem: berlin, mvebu, and sp

Re: [PATCH 3.10 282/319] ipc/sem.c: fix complex_count vs. simple op race

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:44PM +0100, Willy Tarreau wrote: > From: Manfred Spraul > > commit 5864a2fd3088db73d47942370d0f7210a807b9bc upstream. > > Commit 6d07b68ce16a ("ipc/sem.c: optimize sem_lock()") introduced a > race: Finally dropped in favor of a revert of the patch above as it broke

Re: [PATCH 3.10 278/319] kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:40PM +0100, Willy Tarreau wrote: > From: Christian Borntraeger > > commit 43239cbe79fc369f5d2160bd7f69e28b5c50a58c upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH 3.10 281/319] compiler: Allow 1- and 2-byte smp_load_acquire() and smp_store_release()

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:43PM +0100, Willy Tarreau wrote: > From: "Paul E. McKenney" > > commit 536fa402221f09633e7c5801b327055ab716a363 upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH 3.10 277/319] kernel: Provide READ_ONCE and ASSIGN_ONCE

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:39PM +0100, Willy Tarreau wrote: > From: Christian Borntraeger > > commit 230fa253df6352af12ad0a16128760b5cb3f92df upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH 3.10 280/319] locking: Remove atomicy checks from {READ,WRITE}_ONCE

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:42PM +0100, Willy Tarreau wrote: > From: Peter Zijlstra > > commit 7bd3e239d6c6d1cad276e8f130b386df4234dcd7 upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH 3.10 279/319] kernel: make READ_ONCE() valid on const arguments

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:41PM +0100, Willy Tarreau wrote: > From: Linus Torvalds > > commit dd36929720f40f17685e841ae0d4c581c165ea60 upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH 3.10 275/319] ipc: remove use of seq_printf return value

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:37PM +0100, Willy Tarreau wrote: > From: Joe Perches > > commit 7f032d6ef6154868a2a5d5f6b2c3f8587292196c upstream. Dropped as not needed anymore by the ipc/sem fix. Willy

Re: [PATCH] sched/fair: Fix the nohz.next_balance update mess

2017-02-06 Thread Vincent Guittot
Hi Wanpeng On 5 February 2017 at 10:57, Wanpeng Li wrote: > From: Wanpeng Li > > The commit: > c5afb6a87f2 ("sched/fair: Fix nohz.next_balance update") > > intends to update nohz.next_balance in two steps. > > 1) The ILB CPU utilizes next_balance variable in nohz_idle_balance() >to gather

Re: [PATCH 2/3] mm, vmscan: consider eligible zones in get_scan_count

2017-02-06 Thread Michal Hocko
Hi Andrew, it turned out that this is not a theoretical issue after all. Trevor (added to the CC) was seeing pre-mature OOM killer triggering [1] bisected to b2e18757f2c9 ("mm, vmscan: begin reclaiming pages on a per-node basis"). After some going back and forth it turned out that b4536f0c829c ("mm

Re: [lkp-robot] [mm, vmscan] 5e56dfbd83: fsmark.files_per_sec -11.1% regression

2017-02-06 Thread Michal Hocko
On Sat 04-02-17 16:16:04, Ye Xiaolong wrote: > On 01/26, Michal Hocko wrote: > >On Wed 25-01-17 12:27:06, Ye Xiaolong wrote: > >> On 01/24, Michal Hocko wrote: [...] > >> >perf profiles before and after the patch. > >> > >> Here is the perf profiles, > > > >I do not see any reclaim path in the pr

Re: [PATCH 4/5] atomic: Introduce atomic_try_cmpxchg()

2017-02-06 Thread Peter Zijlstra
On Mon, Feb 06, 2017 at 12:24:28PM +0800, Boqun Feng wrote: > On Fri, Feb 03, 2017 at 02:26:02PM +0100, Peter Zijlstra wrote: > > > > for (;;) { > > new = val $op $imm; > > if (try_cmpxchg(ptr, &val, new)) > > break; > > } > > > > while also ge

Re: [PATCH 3.10 000/319] 3.10.105-stable review

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:09:04PM +0100, Willy Tarreau wrote: > This is the start of the stable review cycle for the 3.10.105 release. > > NOTE! This series is quite large as I've caught up with many pending fixes > that were submitted for -stable long ago and that I had been holding on > since 3

Re: Linux 4.10-rc7

2017-02-06 Thread Christoph Hellwig
On Mon, Feb 06, 2017 at 01:00:32AM -0500, Dave Jones wrote: > This one smells funny to me. Double mnt_want_write, no idea why lockdep isn't reporting that for me. Fix below: diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index ca13236dbb1f..a974368026a1 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c

Re: [PATCH v3 7/7] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-02-06 Thread Thierry Reding
On Tue, Jan 31, 2017 at 05:03:19PM +0100, Noralf Trønnes wrote: > Add driver to support the Multi-Inno MI0283QT display panel. > It has an ILI9341 MIPI DBI compatible display controller. So what exactly does this entail? What if we ever see a second panel that has one of these controllers? Would i

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Greg Kroah-Hartman
On Sun, Feb 05, 2017 at 10:15:21PM +, Dave Stevenson wrote: > Newbie question: if this has already been merged to staging, where am I > looking for the relevant tree to add patches on top of? > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git branch > staging-next? Yes, that is

Re: [PATCH 3/5] drm: convert drivers to use of_graph_get_remote_node

2017-02-06 Thread Jyri Sarha
Thanks Rob, for nice cleanup, but ... On 02/04/17 05:36, Rob Herring wrote: > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > index 6dfdb145f3bb..e74cc236a79b 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_crt

Re: [PATCH] sched/fair: Fix the nohz.next_balance update mess

2017-02-06 Thread Wanpeng Li
Hi Vincent, 2017-02-06 16:07 GMT+08:00 Vincent Guittot : > Hi Wanpeng > > On 5 February 2017 at 10:57, Wanpeng Li wrote: >> From: Wanpeng Li >> >> The commit: >> c5afb6a87f2 ("sched/fair: Fix nohz.next_balance update") >> >> intends to update nohz.next_balance in two steps. >> >> 1) The ILB CPU

Re: [PATCH 1/8] include: dt-bindings: Add STM32H7 pinctrl DT bindings

2017-02-06 Thread Linus Walleij
On Tue, Jan 31, 2017 at 2:14 PM, Alexandre TORGUE wrote: > Adds common pinctrl device tree bindings for STM32H743 and STM32H753 MCU. > > Signed-off-by: Alexandre TORGUE Patch applied, renamed "bindings" to "definitions" in this commit because it is not bindings. Yours, Linus Walleij

Re: linux-next: manual merge of the staging tree with the v4l-dvb tree

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 03:31:51PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/media/lirc/lirc_parallel.c > > between commit: > > 2933974cbb03 ("[media] staging: lirc_parallel: remove") > > from the v4l-d

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-06 Thread Miklos Szeredi
On Sun, Feb 5, 2017 at 11:04 PM, Al Viro wrote: > On Sun, Feb 05, 2017 at 10:19:20PM +0100, Miklos Szeredi wrote: > >> Then we can't break out of that deadlock: we wait until >> fuse_dev_do_write() is done until calling request_end() which >> ultimately results in unlocking page. But fuse_dev_do_

Re: [PATCH 2/8] pinctrl: stm32: Add STM32H743 MCU support

2017-02-06 Thread Linus Walleij
On Tue, Jan 31, 2017 at 2:14 PM, Alexandre TORGUE wrote: > This patch adds STM32H743 pinctrl and GPIO support, relies on the > generic STM32 pinctrl driver. > > Signed-off-by: Alexandre TORGUE Patch applied. Yours, Linus Walleij

Re: [PATCH 3/8] Documentation: dt-bindings: Add STM32 pinctrl driver DT bindings

2017-02-06 Thread Linus Walleij
On Tue, Jan 31, 2017 at 2:14 PM, Alexandre TORGUE wrote: > Add compatible sting for stm32h743 MCU. > > Signed-off-by: Alexandre TORGUE Patch applied, incorporating the changes suggested by Rob, amending subject and dropping (a,b,c). Yours, Linus Walleij

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-02-06 Thread Daniel Vetter
On Fri, Feb 03, 2017 at 12:25:24PM +, Emil Velikov wrote: > On 3 February 2017 at 08:00, Daniel Vetter wrote: > > On Thu, Feb 02, 2017 at 12:37:21PM +, Emil Velikov wrote: > >> - Daniel, gents - is drm-misc aimed at devs with limited (no?) > >> review/commit history in the area and/or the

Re: [PATCH 3/8] Documentation: dt: Add bindings for STM32 pinctrl

2017-02-06 Thread Linus Walleij
On Fri, Jan 27, 2017 at 5:15 PM, Alexandre TORGUE wrote: > Adds "ngpios" and "gpio-ranges" bindings definition. > > Signed-off-by: Alexandre TORGUE Patch applied with Rob's ACK, amending subject as well. Yours, Linus Walleij

Re: [PATCH 6/8] Documentation: dt: Add new compatible to STM32 pinctrl driver bindings

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 4:58 PM, Alexandre Torgue wrote: > On 02/01/2017 04:06 PM, Rob Herring wrote: >> >> On Fri, Jan 27, 2017 at 05:15:19PM +0100, Alexandre TORGUE wrote: >>> >>> Add new compatible for stm32f469 MCU. >>> >>> Signed-off-by: Alexandre TORGUE >>> >>> diff --git >>> a/Documentation

Re: linux-next: build failure after merge of the tty tree

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 03:22:09PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > ERROR: "of_device_uevent_modalias" [drivers/tty/serdev/serdev.ko] undefined! > ERROR: "of_device_get_modalias" [drive

Re: [PATCH] pinctrl: rockchip: Add rk3328 pinctrl support

2017-02-06 Thread David.Wu
Hi Heiko, Sorry for late reply because of the holiday. @@ -355,6 +359,24 @@ struct rockchip_pinctrl { unsigned intnfunctions; }; +/** + * struct rockchip_mux_recalced_data: represent a pin iomux data. + * @num: bank num. + * @bit: index at register or used to calc

Re: [PATCH] MIPS: Allow compressed images to be loaded at the usual address

2017-02-06 Thread Sergei Shtylyov
Hello! On 2/5/2017 11:21 PM, Alban wrote: From: Alban Bedel Normally compressed images have to be loaded at a different address to allow the decompressor to run. This add an option to let vmlinuz copy itself to the correct address from the normal vmlinux address. Signed-off-by: Alban Bedel

Re: linux-next: build warning after merge of the tty tree

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 03:16:38PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build > (arm_multi_v7_defconfig) produced this warning: > > drivers/tty/serial/sh-sci.c:977:12: warning: 'scif_set_rtrg' defined but not > used [-Wunused-function] > s

Re: [PATCH 1/5] of: introduce of_graph_get_remote_node

2017-02-06 Thread Daniel Vetter
On Fri, Feb 03, 2017 at 09:36:31PM -0600, Rob Herring wrote: > The OF graph API leaves too much of the graph walking to clients when > in many cases the driver doesn't care about accessing the port or > endpoint nodes. The drivers typically just want the device connected via > a particular graph co

Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-06 Thread Thierry Reding
On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote: > Add support for MIPI DBI compatible controllers. > Interface type C option 1 and 3 are supported (SPI). > > Signed-off-by: Noralf Trønnes > --- > Documentation/gpu/tinydrm.rst | 12 + > drivers/gpu/drm/tinydrm/Kconfig|

Re: [PATCH 2/4] md: introduce bio_clone_slow_mddev_partial()

2017-02-06 Thread Christoph Hellwig
> +struct bio *bio_clone_slow_mddev_partial(struct bio *bio, gfp_t gfp_mask, > + struct mddev *mddev, int offset, > + int size) > +{ > + struct bio_set *bs; > + > + if (!mddev || !mddev->bio_set) > + bs =

Re: [PATCH v3 1/3] nvmem: sunxi-sid: read NVMEM size from device compatible

2017-02-06 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 09:13:36PM +0800, Icenowy Zheng wrote: > Sometimes the SID device have more memory address space than the real > NVMEM size (for the registers used to read/write the SID). > > Fetch the NVMEM size from device compatible, rather than the memory > address space's length, in o

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Thierry Reding
On Tue, Jan 31, 2017 at 05:03:14PM +0100, Noralf Trønnes wrote: > Add common functionality needed by many tinydrm drivers. > > Signed-off-by: Noralf Trønnes > Acked-by: Daniel Vetter > --- > Documentation/gpu/tinydrm.rst | 9 + > drivers/gpu/drm/tinydrm/core/Makefile

Re: [PATCH 08/11] [media] s5p-mfc: Add VP9 decoder support

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:39 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for VP9 decoder. > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h

Re: [PATCH 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:30 +0100, Andrzej Hajda wrote: > Hi Smitha, > > Ups, I have missed this patch, I hope it wont influence the review :) > > > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > > >

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:20 +0100, Andrzej Hajda wrote: > On 02.02.2017 08:58, Andrzej Hajda wrote: > > On 18.01.2017 11:02, Smitha T Murthy wrote: > >> Add support for codec definition and corresponding buffer > >> requirements for HEVC decoder. > >> > >> Signed-off-by: Smitha T Murthy > >> ---

Re: [PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-02-06 Thread Smitha T Murthy
On Sat, 2017-01-21 at 14:28 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 03:32:00PM +0530, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > CC: Rob Herring > > CC: devicet...@

Re: [PATCH 06/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:34 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > Beside small nitpick. > > Reviewed-by: Andrzej Hajda > > > --- > > include/uapi/linux/videodev2.h |

Re: [PATCH 4/4] refcount: Report failures through CHECK_DATA_CORRUPTION

2017-02-06 Thread Peter Zijlstra
On Sun, Feb 05, 2017 at 03:33:36PM -0800, Kees Cook wrote: > On Sun, Feb 5, 2017 at 7:40 AM, Peter Zijlstra wrote: > > On Fri, Feb 03, 2017 at 03:26:52PM -0800, Kees Cook wrote: > >> This converts from WARN_ON() to CHECK_DATA_CORRUPTION() in the > >> CONFIG_DEBUG_REFCOUNT case. Additionally moves

Re: [PATCH 09/11] [media] s5p-mfc: Add support for HEVC encoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:55 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h

Re: [PATCH 03/11] [media] s5p-mfc: Use min scratch buffer size

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 08:16 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > After MFC v8.0, mfc f/w lets the driver know how much scratch buffer > > size is required for decoder. If mfc f/w has the functionality, > > E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 08:58 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for HEVC decoder. > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h

[tip:WIP.sched/core 117/162] arch/mips/netlogic/xlp/cop2-ex.c:97:8: error: implicit declaration of function 'capable'

2017-02-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1 commit: 2a0a69844cd3beeb27830659a18397ef05e4f266 [117/162] sched/headers: Remove inclusion from config: mips-nlm_xlp_defconfig (attached as .config) compiler: mips

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

2017-02-06 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 09:13:37PM +0800, Icenowy Zheng wrote: > The H3 SoC have a bigger SID controller, which has its direct read > address at 0x200 position in the SID block, not 0x0. > > Also, H3 SID controller has some silicon bug that makes the direct read > value wrong at cold boot, add cod

Re: [PATCH v2 2/2] mtd: nand: Update dependency of IFC for LS1021A

2017-02-06 Thread Boris Brezillon
Hi Alison, On Thu, 5 Jan 2017 02:02:30 + Alison Wang wrote: > > On 01/04/2017 02:46 AM, Alison Wang wrote: > > >> On 01/03/2017 03:41 AM, Alison Wang wrote: > > >>> As NAND support for Freescale/NXP IFC controller is available on > > >>> LS1021A, the dependency for LS1021A is added. >

Re: linux-next: build warnings after merge of the crypto tree

2017-02-06 Thread Herbert Xu
Hi Stephen: On Mon, Feb 06, 2017 at 12:28:37PM +1100, Stephen Rothwell wrote: > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > warning: (CRYPTO_DEV_ATMEL_AUTHENC) selects CRYPTO_DEV_ATMEL_SHA which has > unmet direct dependencies (

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-06 Thread Miklos Szeredi
On Mon, Feb 6, 2017 at 4:05 AM, Al Viro wrote: > Some observations regarding the arguments: > * stack footprint is atrocious. Consider e.g. fuse_mknod() - you > get 16 bytes of fuse_mknod_in + 120 bytes of struct fuse_args + 128 bytes > of fuse_entry_out. All on stack, and that's on top

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. On 01/27/2017 10:54 PM, Eric Anholt wrote: > - Supports raw YUV capture, preview, JPEG and H264. > - Uses videobuf2 for data transfer, using dma_buf. > - Uses 3.

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Daniel Vetter
On Mon, Feb 06, 2017 at 09:56:29AM +0100, Thierry Reding wrote: > On Tue, Jan 31, 2017 at 05:03:14PM +0100, Noralf Trønnes wrote: > > Add common functionality needed by many tinydrm drivers. > > > > Signed-off-by: Noralf Trønnes > > Acked-by: Daniel Vetter > > --- > > Documentation/gpu/tinydrm.

Re: [PATCH 3.10 276/319] arch: Introduce smp_load_acquire(), smp_store_release()

2017-02-06 Thread Willy Tarreau
On Sun, Feb 05, 2017 at 08:21:38PM +0100, Willy Tarreau wrote: > From: Peter Zijlstra > > commit 47933ad41a86a4a9b50bed7c9b9bd2ba242aac63 upstream Dropped as not needed anymore by the ipc/sem fix. Willy

[PATCH] iommu: fix static checker warning in iommu_insert_device_resv_regions

2017-02-06 Thread Eric Auger
In case the device reserved region list is void, the returned value of iommu_insert_device_resv_regions is uninitialized. Let's return 0 in that case. This fixes commit 6c65fb318e8b ("iommu: iommu_get_group_resv_regions"). Reported-by: Dan Carpenter Signed-off-by: Eric Auger --- Applies on to

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-02-06 Thread Andrzej Hajda
On 03.02.2017 09:58, Daniel Vetter wrote: > On Fri, Feb 03, 2017 at 09:54:42AM +0100, Andrzej Hajda wrote: >> Hi Thierry, >> >> Finally something technical :) > Please read Thierry's other response, I think a time-out on this thread > would be good for everyone. > > Also I'm not sure you're introdu

[PATCH v12 1/9] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2017-02-06 Thread Peter Chen
Add binding doc for generic power sequence library. Signed-off-by: Peter Chen Acked-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/power/pwrseq/pwrseq-generic.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v12 2/9] power: add power sequence library

2017-02-06 Thread Peter Chen
We have an well-known problem that the device needs to do some power sequence before it can be recognized by related host, the typical example like hard-wired mmc devices and usb devices. This power sequence is hard to be described at device tree and handled by related host driver, so we have crea

[PATCH v12 4/9] usb: chipidea: use bus->sysdev for DMA configuration

2017-02-06 Thread Peter Chen
From: Arnd Bergmann Set the dma for chipidea from sysdev. This is inherited from its parent node. Also, do not set dma mask for child as it is not required now. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Acked-by: Peter Chen Signed-off-by: Mathias Nyman --- drivers/usb/chipidea

[PATCH v12 6/9] usb: xhci: use bus->sysdev for DMA configuration

2017-02-06 Thread Peter Chen
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. So, set the dma for xhci from sysdev. sysdev is pointing to device that is known to the system firmware or hardware. Signed-off-by: Arnd Bergmann Signed-off-by

[PATCH v12 7/9] usb: ehci: use bus->sysdev for DMA configuration

2017-02-06 Thread Peter Chen
Set the dma for ehci from sysdev. The sysdev is pointing to device that is known to the system firmware or hardware. Cc: Arnd Bergmann Cc: Sriram Dash Signed-off-by: Peter Chen --- drivers/usb/host/ehci-mem.c | 38 +++--- 1 file changed, 19 insertions(+), 19 del

[PATCH v12 3/9] usb: separate out sysdev pointer from usb_bus

2017-02-06 Thread Peter Chen
From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The differenc

[PATCH v12 9/9] usb: core: add power sequence handling for USB devices

2017-02-06 Thread Peter Chen
Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be recogniz

[PATCH v12 8/9] binding-doc: usb: usb-device: add optional properties for power sequence

2017-02-06 Thread Peter Chen
Add optional properties for power sequence. Signed-off-by: Peter Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentatio

[PATCH v12 5/9] usb: ehci: fsl: use bus->sysdev for DMA configuration

2017-02-06 Thread Peter Chen
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Signed-off-by: Mathias Nyman --- drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/h

Re: [PATCH 4/4] md: fast clone bio in bio_clone_mddev()

2017-02-06 Thread Christoph Hellwig
On Sun, Feb 05, 2017 at 02:22:13PM +0800, Ming Lei wrote: > Firstly bio_clone_mddev() is used in raid normal I/O and isn't > in resync I/O path. > > Secondly all the direct access to bvec table in raid happens on > resync I/O except for write behind of raid1, in which we still > use bio_clone() fo

[PATCH v12 0/9] power: add power sequence library

2017-02-06 Thread Peter Chen
Hi all, This is a follow-up for my last power sequence framework patch set [1]. According to Rob Herring and Ulf Hansson's comments[2]. The kinds of power sequence instances will be added at postcore_initcall, the match criteria is compatible string first, if the compatible string is not matched b

Re: [PATCH v3 1/7] drm: Add DRM support for tiny LCD displays

2017-02-06 Thread Thierry Reding
On Tue, Jan 31, 2017 at 05:03:13PM +0100, Noralf Trønnes wrote: > tinydrm provides helpers for very simple displays that can use > CMA backed framebuffers and need flushing on changes. > > Signed-off-by: Noralf Trønnes > Acked-by: Daniel Vetter > --- > > Changes since version 2: > - Remove fbde

Crypto Fixes for 4.10

2017-02-06 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Use after free in algif_aead. - Modular aesni regression when pcbc is modular but absent. - Bug causing IO page faults in ccp. - Double list add in ccp. - Null pointer dereference in qat (two patches). - Panic in chcr. - Null pointer dereference i

[PATCH v2 6/6] dt-bindings: mt8173-mtu3: add reference clock

2017-02-06 Thread Chunfeng Yun
Due to the reference clock comes from 26M oscillator directly on mt8173, and it is a fixed-clock in DTS which always turned on, we ignore it before. But on some platforms, it comes from PLL, and need be controlled, so here add it, no matter it is a fixed-clock or not. Signed-off-by: Chunfeng Yun

[PATCH v2 1/6] usb: mtu3: get resources that cause deferred probe earlier

2017-02-06 Thread Chunfeng Yun
Some resources such as regulator, clock usually cause deferred probe, get them earlier to avoid more ineffective processing. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_plat.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/usb/m

[PATCH v2 4/6] arm64: dts: mt8173: add reference clock for usb

2017-02-06 Thread Chunfeng Yun
add 26M reference clock for ssusb and xhci nodes Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 07fd2e

[PATCH v2 2/6] usb: mtu3: add reference clock

2017-02-06 Thread Chunfeng Yun
usually, the reference clock comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3.h |1 + drivers/usb/mtu3/mtu3_plat.c | 28 ++-- 2 files changed, 27 insertions(+), 2 deletion

[PATCH v2 3/6] usb: xhci-mtk: add reference clock

2017-02-06 Thread Chunfeng Yun
usually, the reference clock comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 22 ++ drivers/usb/host/xhci-mtk.h |1 + 2 files changed, 23 insertions(+) diff --git a/drive

[PATCH v2 5/6] dt-bindings: mt8173-xhci: add reference clock

2017-02-06 Thread Chunfeng Yun
Due to the reference clock comes from 26M oscillator directly on mt8173, and it is a fixed-clock in DTS which always turned on, we ignore it before. But on some platforms, it comes from PLL, and need be controlled, so here add it, no matter it is a fixed-clock or not. Signed-off-by: Chunfeng Yun

Re: [PATCH 1/2] sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT

2017-02-06 Thread Stas Sergeev
05.02.2017 21:31, Andy Lutomirski пишет: On Sun, Feb 5, 2017 at 2:12 AM, Stas Sergeev wrote: Currently SS_AUTODISARM is not supported in compatibility mode, but does not return -EINVAL either. This makes dosemu built with -m32 on x86_64 to crash. Also the kernel's sigaltstack selftest fails if

Re: [PATCH] tty/serial: atmel: ensure state is restored after suspending

2017-02-06 Thread Nicolas Ferre
Le 03/02/2017 à 23:53, Alexandre Belloni a écrit : > When going to suspend, the UART registers may be lost because the power to > VDDcore is cut. This is not an issue in the normal case but when > no_console_suspend is used, we need to restore the registers in order to > get a functional console. >

[PATCH] kbuild: export SUBARCH

2017-02-06 Thread Felix Fietkau
Fixes the following build error on x86: gcc -Wp,-MD,arch/x86/entry/vdso/.vdso2c.d -O2 -I/Users/nbd/lede/staging_dir/host/include -I/Users/nbd/lede/staging_dir/host/usr/include -Wall -Wmissing-prototypes -Wstrict-prototypes -I/Users/nbd/lede/staging_dir/host/include -I./tools/include -I./i

Re: [PATCH] IB/cma: Fix reversed test

2017-02-06 Thread Dan Carpenter
Right. The stable tag isn't needed. But the fixes tag is a different thing. Greg doesn't automatically pull patches which have a fixes tag. Fixes is also useful for collecting metrics about how long it takes to fix bugs. It's just really useful on it's own. regards, dan carpenter

Re: [PATCH] irqchip/gicv3: Fix GICR_WAKE & GICD_IGROUPR accesses from non-secure

2017-02-06 Thread Marc Zyngier
Hi Shanker, On 06/02/17 02:17, Shanker Donthineni wrote: > On systems where it supports two security states, both the register > GICR_WAKE and GICD_IGROUPR accesses are RAZ/WI from non-secure. > The function gic_enable_redist() to wake/sleep redistributor is not > harmful at all, but it is confusi

Re: [PATCH] i2c: designwear: Fix clk warning on suspend/resume

2017-02-06 Thread Jarkko Nikula
Hi On 04.02.2017 01:01, John Stultz wrote: On my HiKey board, I'm seeing clk warnings on suspend/resume, which seem to be caused by runtime pm suspending the device, then the same suspend hook being called again on suspend time. Thus this patch adds suspend state tracking to avoid runtime pm an

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Thierry Reding
On Mon, Feb 06, 2017 at 10:09:18AM +0100, Daniel Vetter wrote: > On Mon, Feb 06, 2017 at 09:56:29AM +0100, Thierry Reding wrote: > > On Tue, Jan 31, 2017 at 05:03:14PM +0100, Noralf Trønnes wrote: [...] > > > +/** > > > + * tinydrm_merge_clips - Merge clip rectangles > > > + * @dst: Destination cli

[PATCH] media: add operation to get configuration of "the other side" of the link

2017-02-06 Thread Pavel Machek
Normally, link configuration can be determined at probe time... but Nokia N900 has two cameras, and can switch between them at runtime, so that mechanism is not suitable here. Add a hook that tells us link configuration. Signed-off-by: Pavel Machek diff --git a/include/media/v4l2-subdev.h b/in

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-02-06 Thread Daniel Vetter
Hi Andrzej, On Mon, Feb 06, 2017 at 10:12:41AM +0100, Andrzej Hajda wrote: > On 03.02.2017 09:58, Daniel Vetter wrote: > > On Fri, Feb 03, 2017 at 09:54:42AM +0100, Andrzej Hajda wrote: > >> Hi Thierry, > >> > >> Finally something technical :) > > Please read Thierry's other response, I think a ti

Re: [PATCH] lockdep: Fix wrong condition to print bug msgs for MAX_LOCKDEP_CHAIN_HLOCKS

2017-02-06 Thread Byungchul Park
On Fri, Jan 13, 2017 at 11:42:04AM +0900, Byungchul Park wrote: > Bug messages and stack dump for MAX_LOCKDEP_CHAIN_HLOCKS should be > printed only at the first time. Could you tell me what you think? Am I wrong? > > Signed-off-by: Byungchul Park > --- > kernel/locking/lockdep.c | 2 +- > 1 fi

Re: [PATCH 2/3] perf diff: Add diff.order config option

2017-02-06 Thread Taeung Song
Hi, Namhyung :) On 02/06/2017 04:20 PM, Namhyung Kim wrote: In many cases, I need to look at differences between two data so I often used the -o option to sort the result base on the difference first. It'd be nice to have a config option to set it by default. The diff.order config option is to

Re: kmemleak splat on copy_process()

2017-02-06 Thread Michal Hocko
On Fri 03-02-17 13:06:04, Luis R. Rodriguez wrote: > On next-20170125 running some kselftest not yet upstream I eventually > get a kmemleak splat: > > unreferenced object 0xa7b1034b4000 (size 16384): > comm "driver_data.sh", pid 6506, jiffies 4295068366 (age 1697.272s) > hex dump (first 32

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-06 Thread Peter Zijlstra
On Thu, Feb 02, 2017 at 04:52:29PM -0500, Tejun Heo wrote: > > Why do you need to manually turn it on? That is, couldn't it be > > automatic based on what controllers are enabled? > > This came up already but it's not like some controllers are inherently > thread-only. Consider CPU, all in-cont

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Hans Verkuil
On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > Hi Steve, > > On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: >> On 01/24/2017 04:02 AM, Philipp Zabel wrote: >>> On Fri, 2017-01-20 at 15:03 +0100, Hans Verkuil wrote: > + > +int vidsw_g_mbus_config(struct v4l2_subdev *sd, struct v

[PATCH tip/master 0/2] kprobes: trivial cleanups

2017-02-06 Thread Masami Hiramatsu
Hi, Here are two trivial cleanups. Both may make no actual meaningful changes, just clarify what is needed. - [1/2] Remove unneeded dependency of CONFIG_HAVE_KRETPROBES on arm64 - [2/2] Use hlist_for_each_entry() for non-modify loop. Thank you, --- Masami Hiramatsu (2): arm64: kprobes:

Re: [PATCH v2] USB: cp210x: add new IDs for GE Bx50v3 boards

2017-02-06 Thread Johan Hovold
On Sat, Feb 04, 2017 at 04:00:24AM +0800, Ken Lin wrote: > Add new USB IDs for cp2104/5 devices on Bx50v3 boards due to the design change > > Signed-off-by: Ken Lin > --- > Change in v2: > Fix the author (From) address doesn't match the SoB issue mentioned in the > discussion thread Now applied

[PATCH tip/master 1/2] arm64: kprobes: Remove redundant dependency in Kconfig

2017-02-06 Thread Masami Hiramatsu
Remove redundant dependency of HAVE_KRETPROBES to HAVE_KPROBES in arm64 Kconfig. Since HAVE_KPROBES always selected above line, we don't have to check it at HAVE_KRETPROBES. Signed-off-by: Masami Hiramatsu CC: Sandeepa Prabhu CC: David A. Long CC: Catalin Marinas --- arch/arm64/Kconfig |2

Re: [PATCH 1/2] pinctrl: sunxi: Support A31/A31s with pinctrl variants

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:25 PM, Chen-Yu Tsai wrote: > The A31s is a trimmed down version of the A31. Some hardware blocks > are removed, thus not available for muxing on the external pins. > Some external pins were directly removed. > > This makes it easy to support the A31s pin controller with t

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-06 Thread Al Viro
On Mon, Feb 06, 2017 at 10:08:06AM +0100, Miklos Szeredi wrote: > Yes, I think only page lock can be used to deadlock inside > fuse_dev_read/write(). So requests that don't have locked pages > should be okay with just waiting until copy_to/from_user() finishes > and only then proceeding with the

[PATCH tip/master 2/2] kprobes: x86: Use hlist_for_each_entry() for first loop

2017-02-06 Thread Masami Hiramatsu
Use hlist_for_each_entry() for first loop on kretprobe trampoline_handler because it doesn't change the hlist. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kprobes/core.c b/arch/x86/kerne

Re: [PATCH 2/2] pinctrl: sunxi: Remove redundant A31s pinctrl driver

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 5:25 PM, Chen-Yu Tsai wrote: > Now that we can support the A31s pin controller with the A31 driver > using the new variants support, the independent A31s driver becomes > redundant. > > Remove it. > > Signed-off-by: Chen-Yu Tsai Patch applied. Yours, Linus Walleij

Re: [PATCH -next] drm: mxsfb: Make local symbol mxsfb_funcs static

2017-02-06 Thread Daniel Vetter
On Sun, Feb 05, 2017 at 04:05:38PM +, Wei Yongjun wrote: > From: Wei Yongjun > > Fixes the following sparse warning: > > drivers/gpu/drm/mxsfb/mxsfb_drv.c:129:38: warning: > symbol 'mxsfb_funcs' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Both of your patches ap

Re: [PATCH] gpio: Add GPIO support for the ACCES PCI-IDIO-16

2017-02-06 Thread Linus Walleij
On Wed, Feb 1, 2017 at 9:37 PM, William Breathitt Gray wrote: > The ACCES PCI-IDIO-16 device provides 32 lines of digital I/O (16 lines > of optically-isolated digital inputs for AC and DC control signals, and > 16 lines of solid state switch digital outputs). An interrupt is > generated when any

Re: [PATCH 4/5] drm: convert drivers to use drm_of_find_panel_or_bridge

2017-02-06 Thread Maxime Ripard
Hi Rob, On Fri, Feb 03, 2017 at 09:36:34PM -0600, Rob Herring wrote: > Similar to the previous commit, convert drivers open coding OF graph > parsing to use drm_of_find_panel_or_bridge instead. > > This changes some error messages to debug messages (in the graph core). > Graph connections are oft

  1   2   3   4   5   6   7   8   9   10   >