Re: [PATCH V2] dmenginer: dmatest: exclude compare and fill time during perf report

2016-07-18 Thread Sinan Kaya
Sorry for the typo at the commit summary. Fat fingers... On 7/18/2016 9:52 AM, Sinan Kaya wrote: > Dmatest is currently including compare and fill time into the > calculated performance numbers. This does not reflect the HW > capability and the results vary based on the transfer sizes used. > >

[PATCH 1/1] iio: vcnl4000: Add IR current adjust support

2016-07-18 Thread Pratik Prajapati
Signed-off-by: Pratik Prajapati --- drivers/iio/light/vcnl4000.c | 119 +-- 1 file changed, 116 insertions(+), 3 deletions(-) diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index c9d85bb..6b8b223 100644 --- a/drivers/iio/light/vcn

Re: [RFC PATCH V2] s390/perf: fix 'start' address of module's map

2016-07-18 Thread Jiri Olsa
On Fri, Jul 15, 2016 at 06:15:11PM +0800, Song Shan Gong wrote: > At preset, when creating module's map, perf gets 'start' address by parsing > '/proc/modules', but it's module base address, isn't the start address of > '.text' section. In most archs, it's OK. But for s390, it places 'GOT' and > 'P

[PATCH v2] powerpc/numa: Convert to hotplug state machine

2016-07-18 Thread Sebastian Andrzej Siewior
Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. v1…v2: manual callback invocation on boot-CPU (cpuhp is not up yet and we need them all before additional CPUs are up). Signed-off-by: Sebastian Andrzej Siewior Cc: Andrew Morton

Re: [PATCH v4 0/4] pwm: add support for ChromeOS EC PWM

2016-07-18 Thread Thierry Reding
On Mon, Jul 18, 2016 at 02:24:26PM +0100, Lee Jones wrote: > On Mon, 18 Jul 2016, Thierry Reding wrote: > > > On Mon, Jul 18, 2016 at 09:49:28AM +0100, Lee Jones wrote: > > > On Fri, 15 Jul 2016, Brian Norris wrote: > > > > This is the 4th (and final?) version of my series to support the new > >

[PATCH v2] virtio_blk: Fix a slient kernel panic

2016-07-18 Thread Minfei Huang
We do a lot of memory allocation in function init_vq, and don't handle the allocation failure properly. Then this function will return 0, although initialization fails due to lacking memory. At that moment, kernel will panic in guest machine, if virtio is used to drive disk. To fix this bug, we sh

Re: bug in memcg oom-killer results in a hung syscall in another process in the same cgroup

2016-07-18 Thread Oleg Nesterov
On 07/15, Shayan Pooya wrote: > > >> --- x/kernel/sched/core.c > >> +++ x/kernel/sched/core.c > >> @@ -2793,8 +2793,11 @@ asmlinkage __visible void schedule_tail(struct > >> task_struct *prev) > >> balance_callback(rq); > >> preempt_enable(); > >> > >> - if (current->set_chil

[PATCH 1/2] iio: stx104: Add IIO support for the ADC channels

2016-07-18 Thread William Breathitt Gray
The Apex Embedded Systems STX104 features 16 channels of single-ended (8 channels of true differential) 16-bit analog input. Differential input configuration may be selected via a physical jumper on the device. Similarly, input polarity (unipolar/bipolar) is configured via a physical jumper on the

[PATCH 2/2] iio: stx104: Move the STX104 IIO driver to the ADC directory

2016-07-18 Thread William Breathitt Gray
The Apex Embedded Systems STX104 is primarily an analog-to-digital converter device. The STX104 IIO driver was initially placed in the DAC directory because only the DAC portion of the STX104 was supported at the time. Now that ADC support has been added to the STX104 IIO driver, the driver should

Re: [PATCH net-next] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-18 Thread Oliver Neukum
On Mon, 2016-07-18 at 15:23 +0200, Kristian Evensen wrote: > Hi, > > On Mon, Jul 18, 2016 at 3:01 PM, Oliver Neukum wrote: > > On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote: > >> The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to > >> determine which type of d

[PATCH V2] dmenginer: dmatest: exclude compare and fill time during perf report

2016-07-18 Thread Sinan Kaya
Dmatest is currently including compare and fill time into the calculated performance numbers. This does not reflect the HW capability and the results vary based on the transfer sizes used. Signed-off-by: Sinan Kaya --- drivers/dma/dmatest.c | 17 +++-- 1 file changed, 15 insertions(+

Re: [PATCH v2 00/10] Exynos IOMMU: proper runtime PM support (use device dependencies)

2016-07-18 Thread Marek Szyprowski
Dear Tobias On 2016-07-18 13:00, Tobias Jakobi wrote: Marek Szyprowski wrote: On 2016-07-15 15:21, Tobias Jakobi wrote: Tobias Jakobi wrote: Hello Marek, I've tested the patchset on 4.7-rc7 and noticed that it breaks reboot on my ODROID-X2. Going to check where exactly things break. Sadly

Cgroup: iops throttle problem

2016-07-18 Thread 张真
Hello My name is Zhen Zhang , me and Jiale Li recently test and analyze the cgroup blkio functions. We tested the buffered read a file using bio when the blkio.throttle.read_iops_device is set 1000. The fio result file displays the iops is 13720 larger than 1000 when blocksize is 4K in fio. We s

Re: [PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-07-18 Thread Oleg Nesterov
On 07/18, Peter Zijlstra wrote: > > I think I ended up with this: > > .> GP_IDLE <--. > | || > | | __rcu_sync_enter() | / rcu_sync_exit() > | v| > |GP_ENTER --' > | | > || > |v >

Re: [PATCH 2/3] mmc: mmc: do not use CMD13 to get status after speed mode switch

2016-07-18 Thread Georgi Djakov
On 07/18/2016 03:50 PM, Ulf Hansson wrote: > On 16 July 2016 at 00:10, Bjorn Andersson wrote: >> On Thu, May 19, 2016 at 1:47 AM, Chaotian Jing >> wrote: >>> Per JEDEC spec, it is not recommended to use CMD13 to get card status >>> after speed mode switch. below are two reason about this: >>> 1.

Re: [PATCH 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-07-18 Thread Bob Copeland
On Wed, Jul 13, 2016 at 02:45:40PM +0300, Yaniv Machani wrote: > The HT capab info field inside the HT capab IE of the mesh beacon > is incorrect (in the case of 20MHz channel width). > To fix this driver will check configuration from cfg and > will build it accordingly. > +/* determine capabi

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-07-18 Thread Theodore Ts'o
On Mon, Jul 18, 2016 at 12:57:07PM +0200, Johannes Stezenbach wrote: > > I'm running 4.7.0-rc7 with ext4 on lvm on dm-crypt on SSD > and out of the blue on idle machine the following error > message appeared: > > [373851.683131] EXT4-fs (dm-3): error count since last fsck: 1 > [373851.683151] EXT

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-18 Thread Vivek Goyal
On Mon, Jul 18, 2016 at 09:26:29AM -0400, Vivek Goyal wrote: > On Mon, Jul 18, 2016 at 10:46:04PM +1000, Balbir Singh wrote: > > On Wed, 2016-07-13 at 14:22 -0400, Vivek Goyal wrote: > > > On Wed, Jul 13, 2016 at 06:40:10PM +0100, Russell King - ARM Linux wrote: > > > >  > > > > On Wed, Jul 13, 201

Re: [PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-18 Thread Christian König
Am 16.07.2016 um 13:30 schrieb Bhaktipriya Shridhar: alloc_workqueue replaces deprecated create_singlethread_workqueue(). Each hardware CRTC has a single flip work queue. When a radeon_flip_work_func item is queued, it needs to be executed ASAP because even a slight delay may cause the flip to b

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-18 Thread Xunlei Pang
On 2016/07/18 at 21:04, Juri Lelli wrote: > On 15/07/16 18:39, Xunlei Pang wrote: >> On 2016/07/13 at 18:58, Juri Lelli wrote: > [...] > >> Since this is only called for queued cases now, there is no need to >> check boosted stuff here. As enqueue_task(ENQUEUE_REPLENISH) >> is called before check_c

Re: [PATCH 18/34] mm: rename NR_ANON_PAGES to NR_ANON_MAPPED

2016-07-18 Thread Johannes Weiner
On Fri, Jul 15, 2016 at 03:35:54PM -0700, Andrew Morton wrote: > Well I dunno. We can leave the series as-is for now and we can merge > the rename-it-back patch sometime during the next -rc cycle if we find > that people are running around in confusion and tumbling out of high > windows. Sounds g

Re: Kernel stability on baytrail machines

2016-07-18 Thread One Thousand Gnomes
On Tue, 12 Jul 2016 16:41:58 -0300 Ezequiel Garcia wrote: > Hi Alan, > > (Adding interested people to this thread) > > On 09 Apr 08:14 PM, One Thousand Gnomes wrote: > > > > I do feel that the importance of the mentioned bug is currently > > > > underestimated. Can anyone here give a note, how

Re: [PATCH] [media] vb2: map dmabuf for planes on driver queue instead of vidioc_qbuf

2016-07-18 Thread Nicolas Dufresne
Le lundi 18 juillet 2016 à 10:34 +0200, Hans Verkuil a écrit : > On 07/15/2016 06:26 PM, Javier Martinez Canillas wrote: > > The buffer planes' dma-buf are currently mapped when buffers are queued > > from userspace but it's more appropriate to do the mapping when buffers > > are queued in the driv

Re: [v2,1/4] hwmon: iio_hwmon: defer probe when no channel is found

2016-07-18 Thread Guenter Roeck
On 07/18/2016 03:02 AM, Maxime Ripard wrote: Hi Guenter, On Sat, Jul 16, 2016 at 10:00:13AM -0700, Guenter Roeck wrote: On Fri, Jul 15, 2016 at 11:59:11AM +0200, Quentin Schulz wrote: iio_channel_get_all returns -ENODEV when it cannot find either phandles and properties in the Device Tree or c

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-18 Thread Vivek Goyal
On Mon, Jul 18, 2016 at 10:46:04PM +1000, Balbir Singh wrote: > On Wed, 2016-07-13 at 14:22 -0400, Vivek Goyal wrote: > > On Wed, Jul 13, 2016 at 06:40:10PM +0100, Russell King - ARM Linux wrote: > > >  > > > On Wed, Jul 13, 2016 at 09:03:38AM -0400, Vivek Goyal wrote: > > > >  > > > > On Wed, Jul

[PATCH] ftrace/jprobes/s390: Fix conflict between jprobes and function graph tracing

2016-07-18 Thread Jiri Olsa
This fixes the same issue Steven already fixed for x86 in following commit: 237d28db036e ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing It fixes the crash, that happens when function graph tracing and jprobes are used simultaneously. Please refer to above commit fo

Re: [PATCH 1/3] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-07-18 Thread Lee Jones
On Fri, 15 Jul 2016, Laxman Dewangan wrote: > > On Wednesday 13 July 2016 04:56 PM, Lee Jones wrote: > > Cc: Laxman Dewangan > > Signed-off-by: Lee Jones > > --- > > include/linux/mfd/core.h | 29 + > > 1 file changed, 29 insertions(+) > > > > diff --git a/includ

Re: [PATCH v4 0/4] pwm: add support for ChromeOS EC PWM

2016-07-18 Thread Lee Jones
On Mon, 18 Jul 2016, Thierry Reding wrote: > On Mon, Jul 18, 2016 at 09:49:28AM +0100, Lee Jones wrote: > > On Fri, 15 Jul 2016, Brian Norris wrote: > > > This is the 4th (and final?) version of my series to support the new > > > ChromeOS > > > EC PWM API, so we can control, e.g., a PWM backlight

Re: [PATCH net-next] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-18 Thread Kristian Evensen
Hi, On Mon, Jul 18, 2016 at 3:01 PM, Oliver Neukum wrote: > On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote: >> The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to >> determine which type of device to export. In addition, these devices export >> a REST API which

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Ricardo Ribalda Delgado
Hi Philipp On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote: > Since the constant expressions are evaluated at compile time, you are > not actually removing shifts. The code generated for precalculate_color > by gcc 5.4 even grows by one asr instruction with this patch. > I dont think that I

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Philipp Zabel
Hi Ricardo, Am Montag, den 18.07.2016, 14:42 +0200 schrieb Ricardo Ribalda Delgado: > Avoid duplicated data shifts when possible. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-

Re: [PATCH v3 1/2] drm/dsi: Implement dcs set/get display brightness

2016-07-18 Thread Emil Velikov
On 18 July 2016 at 09:28, Vinay Simha BN wrote: > Provide a small convenience wrapper that set/get the > display brightness value > > Cc: John Stultz > Cc: Sumit Semwal > Cc: Archit Taneja > Cc: Rob Clark > Cc: Jani Nikula > Cc: Thierry Reding > Cc: Emil Velikov > Signed-off-by: Vinay Simha

Re: [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace

2016-07-18 Thread Josh Poimboeuf
On Mon, Jul 18, 2016 at 12:14:22PM +0900, Byungchul Park wrote: > On Fri, Jul 08, 2016 at 10:22:46AM -0500, Josh Poimboeuf wrote: > > > > > Also, could you please rename the _norm names to _fast or so, to > > > > > signal that this > > > > > is a faster but less reliable method to get a stack dum

Re: [PATCH net-next] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-18 Thread Oliver Neukum
On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote: > The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to > determine which type of device to export. In addition, these devices export > a REST API which can also be used to control the type of device. So far, on > Linu

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-18 Thread Juri Lelli
On 15/07/16 18:39, Xunlei Pang wrote: > On 2016/07/13 at 18:58, Juri Lelli wrote: [...] > > Since this is only called for queued cases now, there is no need to > check boosted stuff here. As enqueue_task(ENQUEUE_REPLENISH) > is called before check_class_changed() in rt_mutex_setprio(). > But w

Re: [PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

2016-07-18 Thread Maxime Ripard
On Fri, Jul 15, 2016 at 11:59:13AM +0200, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. For now, only the ADC and the thermal > sensor drivers are probed by the MFD, the touchscreen controller support > will be added

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-18 Thread Austin S. Hemmelgarn
On 2016-07-15 16:54, H. Peter Anvin wrote: On July 15, 2016 6:59:56 AM PDT, Peter Zijlstra wrote: On Fri, Jul 15, 2016 at 01:52:48PM +, Topi Miettinen wrote: On 07/15/16 12:43, Peter Zijlstra wrote: On Fri, Jul 15, 2016 at 01:35:47PM +0300, Topi Miettinen wrote: Hello, There are many ba

Re: running "make dtbs" for test builds

2016-07-18 Thread Fengguang Wu
On Mon, Jul 18, 2016 at 02:52:32PM +0200, Arnd Bergmann wrote: On Monday, July 18, 2016 8:41:22 PM CEST Fengguang Wu wrote: Hi Arnd, On Mon, Jul 18, 2016 at 02:01:17PM +0200, Arnd Bergmann wrote: >Hi Fengguang, > >I've recently run into a number of cases in which I pulled a branch that >was bui

Re: [PATCH v2 2/4] iio: adc: add support for Allwinner SoCs ADC

2016-07-18 Thread Maxime Ripard
On Fri, Jul 15, 2016 at 11:59:12AM +0200, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. This patch adds the ADC driver which is > based on the MFD for the same SoCs ADC. > > This also registers the thermal adc chann

Re: running "make dtbs" for test builds

2016-07-18 Thread Arnd Bergmann
On Monday, July 18, 2016 8:41:22 PM CEST Fengguang Wu wrote: > Hi Arnd, > > On Mon, Jul 18, 2016 at 02:01:17PM +0200, Arnd Bergmann wrote: > >Hi Fengguang, > > > >I've recently run into a number of cases in which I pulled a branch that > >was building fine with "make vmlinux", but that failed for

Re: [RCF 2/3] hwmon: Document bindings for ads1118 adc driver

2016-07-18 Thread Joshua Clayton
On Sunday, July 17, 2016 03:34:25 PM Rob Herring wrote: > On Fri, Jul 15, 2016 at 05:18:22PM -0700, Joshua Clayton wrote: > > ads1118 is a 4 input 16 bit adc with a buit-in temperature gauge > > > > Signed-off-by: Joshua Clayton > > --- > > .../devicetree/bindings/hwmon/ads1118.txt | 81

Re: [PATCH 2/3] mmc: mmc: do not use CMD13 to get status after speed mode switch

2016-07-18 Thread Ulf Hansson
On 16 July 2016 at 00:10, Bjorn Andersson wrote: > On Thu, May 19, 2016 at 1:47 AM, Chaotian Jing > wrote: >> Per JEDEC spec, it is not recommended to use CMD13 to get card status >> after speed mode switch. below are two reason about this: >> 1. CMD13 cannot be guaranteed due to the asynchronous

Re: running "make dtbs" for test builds

2016-07-18 Thread Arnd Bergmann
On Monday, July 18, 2016 8:29:47 PM CEST Fengguang Wu wrote: > >- setting CONFIG_OF_ALL_DTBS will catch all files, not just the > > ones that are built by default for the set of configurations you > > have. It's possible to simply override this on the command line, > > using "make CONFIG_OF_ALL_

Re: [PATCH v2 06/13] sched: Store maximum per-cpu capacity in root domain

2016-07-18 Thread Vincent Guittot
On 15 July 2016 at 18:02, Morten Rasmussen wrote: > On Fri, Jul 15, 2016 at 03:39:05PM +0200, Vincent Guittot wrote: >> On 15 July 2016 at 13:46, Morten Rasmussen wrote: >> > On Thu, Jul 14, 2016 at 04:15:20PM +0100, Morten Rasmussen wrote: >> >> On Thu, Jul 14, 2016 at 03:25:36PM +0200, Vincent

[PATCH 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-07-18 Thread Aleksei Mamlin
Add vendor-prefix for Domintech Co., Ltd. Signed-off-by: Aleksei Mamlin --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt ind

[PATCH 0/2] Add driver for Domintech DMARD06 accelerometer

2016-07-18 Thread Aleksei Mamlin
This patch series adds driver for Domintech DMARD06 Low-G Tri-Axial digital accelerometer and vendor prefix for Domintech Co., Ltd. Aleksei Mamlin (2): devicetree: bindings: Add vendor prefix for Domintech Co., Ltd. input: misc: Add support for Domintech DMARD06 accelerometer .../devicetree/

[PATCH 2/2] input: misc: Add support for Domintech DMARD06 accelerometer

2016-07-18 Thread Aleksei Mamlin
This patch add support for Domintech DMARD06 accelerometer. Domintech DMARD06 is a low-g tri-axial digital accelerometer with special power saving modes suitable for consumer mobile application. Signed-off-by: Aleksei Mamlin --- .../devicetree/bindings/input/dmard06.txt | 24 ++ drive

[PATCH v4 04/12] [media] vivid: Code refactor for color encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Replace is_yuv with color_enc Which can be used by other color encodings such us HSV. This change should ease the review of the following patches. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 49 +++ drivers/media/platform/vivi

Applied "regulator: mt6323: Add support for MT6323 regulator" to the regulator tree

2016-07-18 Thread Mark Brown
The patch regulator: mt6323: Add support for MT6323 regulator has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

[PATCH v4 01/12] [media] videodev2.h Add HSV formats

2016-07-18 Thread Ricardo Ribalda Delgado
These formats store the color information of the image in a geometrical representation. The colors are mapped into a cylinder, where the angle is the HUE, the height is the VALUE and the distance to the center is the SATURATION. This is a very useful format for image segmentation algorithms. Signe

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-18 Thread Balbir Singh
On Wed, 2016-07-13 at 14:22 -0400, Vivek Goyal wrote: > On Wed, Jul 13, 2016 at 06:40:10PM +0100, Russell King - ARM Linux wrote: > >  > > On Wed, Jul 13, 2016 at 09:03:38AM -0400, Vivek Goyal wrote: > > >  > > > On Wed, Jul 13, 2016 at 09:26:39AM +0100, Russell King - ARM Linux wrote: > > > >  > >

Applied "regulator: Add document for MT6323 regulator" to the regulator tree

2016-07-18 Thread Mark Brown
The patch regulator: Add document for MT6323 regulator has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

[PATCH v4 05/12] [media] vivid: Add support for HSV formats

2016-07-18 Thread Ricardo Ribalda Delgado
This patch adds support for V4L2_PIX_FMT_HSV24 and V4L2_PIX_FMT_HSV32. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 93 +++-- drivers/media/platform/vivid/vivid-vid-common.c | 14 include/media/v4l2-tpg.h

Re: [PATCH] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-07-18 Thread Hans Verkuil
On 07/18/2016 02:28 PM, tiffany lin wrote: > Understood now. > > Now I am trying to figure out how to make this function right. > Our encoder only support crop range from (0, 0) to (width, height), so > if s->r.top and s->r.left not 0, I will return -EINVAL. > > > Another thing is that in v4l2-c

[PATCH v4 02/12] [media] Documentation: Add HSV format

2016-07-18 Thread Ricardo Ribalda Delgado
Describe the HSV formats Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/hsv-formats.rst | 19 +++ Documentation/media/uapi/v4l/pixfmt-packed-hsv.rst | 158 + Documentation/media/uapi/v4l/pixfmt.rst| 1 + Documentation/media/uapi/v

[PATCH v4 08/12] [media] vivid: Fix YUV555 and YUV565 handling

2016-07-18 Thread Ricardo Ribalda Delgado
precalculate_color() had a optimization that avoided duplicated conversion for YUV formats. This optimization did not take into consideration YUV444, YUV555, YUV565 or limited range quantization. This patch keeps the optimization, but fixes the wrong handling. Signed-off-by: Ricardo Ribalda Delga

[PATCH v4 06/12] [media] vivid: Rename variable

2016-07-18 Thread Ricardo Ribalda Delgado
r_y and g_u now also contain the H and V components on the HSV formats. Rename the variables to reflect this. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 209 +- 1 file changed, 105 insertions(+), 104 deletions(-) diff --git

[PATCH v4 11/12] [media] Documentation: Add HSV encodings

2016-07-18 Thread Ricardo Ribalda Delgado
Describe the hsv_enc field and its use. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/pixfmt-002.rst| 12 ++- Documentation/media/uapi/v4l/pixfmt-003.rst| 14 ++-- Documentation/media/uapi/v4l/pixfmt-006.rst| 38 ++ Do

[PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Ricardo Ribalda Delgado
Avoid duplicated data shifts when possible. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c b/drivers/media/common/v4l2-tpg/v4

[PATCH v4 10/12] [media] videodev2.h Add HSV encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Some hardware maps the Hue between 0 and 255 instead of 0-179. Support this format with a new field hsv_enc. Signed-off-by: Ricardo Ribalda Delgado --- include/uapi/linux/videodev2.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/vid

[PATCH v4 00/12] Add HSV format

2016-07-18 Thread Ricardo Ribalda Delgado
HSV formats are extremely useful for image segmentation. This set of patches makes v4l2 aware of this kind of formats. Vivid changes have been divided to ease the reviewing process. We are working on patches for Gstreamer and OpenCV that will make use of these formats. We still need to decide if

[PATCH v4 07/12] [media] vivid: Introduce TPG_COLOR_ENC_LUMA

2016-07-18 Thread Ricardo Ribalda Delgado
Simplifies handling of Gray formats. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 26 +++-- drivers/media/platform/vivid/vivid-vid-common.c | 6 +++--- include/media/v4l2-tpg.h| 1 + 3 files changed, 24

[PATCH v4 12/12] [media] vivid: Add support for HSV encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Support HSV encoding. Most of the logic is replicated from ycbcr_enc. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 25 + drivers/media/platform/vivid/vivid-core.h | 1 + drivers/media/platform/vivid/vivid-ctrls.c

[PATCH v4 03/12] [media] Documentation: Add Ricardo Ribalda

2016-07-18 Thread Ricardo Ribalda Delgado
My initials were on the Changelog, but there was no link to my name. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/v4l2.rst | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/media/uapi/v4l/v4l2.rst b/Documentation/media/uapi/v4l/v4l2.rst index 6d23b

[PATCH V10 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-07-18 Thread John Crispin
From: Chen Zhong The MT6323 is a regulator found on boards based on MediaTek MT7623 and probably other SoCs. It is a so called pmic and connects as a slave to SoC using SPI, wrapped inside the pmic-wrapper. Signed-off-by: Chen Zhong Signed-off-by: John Crispin --- This series was dropped from

Re: running "make dtbs" for test builds

2016-07-18 Thread Fengguang Wu
Hi Arnd, On Mon, Jul 18, 2016 at 02:01:17PM +0200, Arnd Bergmann wrote: Hi Fengguang, I've recently run into a number of cases in which I pulled a branch that was building fine with "make vmlinux", but that failed for "make dtbs", and I wonder if this is something that could be checked by the k

Re: [PATCH] iscsi-target: fix panic when add the second TCP connection to iSCSI session

2016-07-18 Thread Sumit Rai
Hi Feng, As per my previous comment: >> Thanks for the patch Feng, I have tested this patch and below panic has also >> disappeared. patch applied successfully and the panic has disappeared, so your fix works. Regards, Sumit Rai > On Jul 18, 2016, at 7:49 AM, Feng Li wrote: > > Hi Sumit, > >

[PATCH V10 1/2] regulator: Add document for MT6323 regulator

2016-07-18 Thread John Crispin
Signed-off-by: John Crispin Cc: devicet...@vger.kernel.org Acked-by: Rob Herring --- Changes in V10 * use correct SoB * drop compatible string from devicetree binding Changes in V7 * remove another compatible string * small wording changes Changes in V6 * remove the compatible string Changes i

Re: [PATCH 1/1] irqdomain: Export __irq_domain_alloc_irqs() and irq_domain_free_irqs()

2016-07-18 Thread Alexander Popov
On 16.07.2016 11:22, Marc Zyngier wrote: > On Sat, 16 Jul 2016 04:33:59 +0300 > Alexander Popov wrote: > >> On 08.07.2016 11:34, Alexander Popov wrote: >>> On 06.07.2016 14:17, Thomas Gleixner wrote: On Fri, 1 Jul 2016, Alexander Popov wrote: > Export __irq_domain_alloc_irqs() a

Re: [PATCH 0/7] dmaengine:omap-dma: Linked List transfer for slave_sg

2016-07-18 Thread Peter Ujfalusi
On 07/18/16 15:21, Russell King - ARM Linux wrote: > On Mon, Jul 18, 2016 at 03:07:57PM +0300, Peter Ujfalusi wrote: >> I was not aware of any position on this from TI - as I mentioned I was not >> involved with DMA. It could be that the position from 'TI' is still what it >> was. Or changed. But a

Re: running "make dtbs" for test builds

2016-07-18 Thread Fengguang Wu
Hi Arnd, On Mon, Jul 18, 2016 at 02:01:17PM +0200, Arnd Bergmann wrote: Hi Fengguang, I've recently run into a number of cases in which I pulled a branch that was building fine with "make vmlinux", but that failed for "make dtbs", and I wonder if this is something that could be checked by the k

drivers/usb/usbip/vudc_rx.c:145: possible bad bitmask ?

2016-07-18 Thread David Binderman
Hello there, drivers/usb/usbip/vudc_rx.c:145:27: warning: result of ‘11 << 30’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] Source code is urb_p->urb->pipe &= ~(11 << 30); Maybe better code urb_p->urb->pipe &= ~(11UL << 30); Regards David Binderman

Re: [PATCH] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-07-18 Thread tiffany lin
On Fri, 2016-07-15 at 19:50 +0200, Hans Verkuil wrote: > On 07/14/2016 08:27 AM, tiffany lin wrote: > > Hi Hans, > > > > > > On Mon, 2016-07-11 at 06:32 +0200, Hans Verkuil wrote: > >> Hi Tiffany, > >> > >> My apologies for the delay, but here is my review at last: > >> > >> On 05/30/2016 09:52 A

[PATCH net-next] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-18 Thread Kristian Evensen
The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to determine which type of device to export. In addition, these devices export a REST API which can also be used to control the type of device. So far, on Linux, the devices have been seen as RNDIS or CDC Ether. When CDC Ethe

Re: [PATCH 0/7] dmaengine:omap-dma: Linked List transfer for slave_sg

2016-07-18 Thread Russell King - ARM Linux
On Mon, Jul 18, 2016 at 03:07:57PM +0300, Peter Ujfalusi wrote: > I was not aware of any position on this from TI - as I mentioned I was not > involved with DMA. It could be that the position from 'TI' is still what it > was. Or changed. But as I have been asked to look after TI DMA drivers > upstr

Re: [PATCH v3 12/17] mm, compaction: more reliably increase direct compaction priority

2016-07-18 Thread Vlastimil Babka
On 07/18/2016 06:41 AM, Joonsoo Kim wrote: On Fri, Jul 15, 2016 at 03:37:52PM +0200, Vlastimil Babka wrote: On 07/06/2016 07:39 AM, Joonsoo Kim wrote: On Fri, Jun 24, 2016 at 11:54:32AM +0200, Vlastimil Babka wrote: During reclaim/compaction loop, compaction priority can be increased by the sh

Re: [PATCH V9 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-07-18 Thread John Crispin
On 18/07/2016 14:16, Mark Brown wrote: > On Mon, Jul 18, 2016 at 02:09:01PM +0200, John Crispin wrote: > >> Changes in V9 >> * drop compatible string from devicetree > > Are you sure? > >> +static const struct of_device_id mt6323_of_match[] = { >> +{ .compatible = "mediatek,mt6323-regulato

Re: linux-next: manual merge of the kspp tree with the powerpc tree

2016-07-18 Thread Stephen Rothwell
Hi Michael, On Mon, 18 Jul 2016 21:00:05 +1000 Michael Ellerman wrote: > > Stephen Rothwell writes: > > > from the powerpc tree and commit: > > Actually that's in Scott's tree. Oops, sorry. > > Michael: time to sort these selects? > > Yeah I was thinking that the other day. Not sure whe

Re: [PATCH 3/4] media: Add Mediatek MDP Driver

2016-07-18 Thread Hans Verkuil
On 07/14/2016 02:18 PM, Minghsiu Tsai wrote: > Add MDP driver for MT8173 > > Signed-off-by: Minghsiu Tsai > --- > drivers/media/platform/Kconfig| 16 + > drivers/media/platform/Makefile |2 + > drivers/media/platform/mtk-mdp/Makefile |9 + > drivers/

Re: [PATCH 1/3] perf script python: Fix string vs byte array resolving

2016-07-18 Thread Jiri Pirko
Sat, Jul 16, 2016 at 06:11:18PM CEST, jo...@kernel.org wrote: >Jirka reported that python code returns all arrays as strings. >This makes impossible to get all items for byte array tracepoint >field containing 0x00 value item. > >Fixing this by scanning full length of the array and returning >it as

Re: [PATCH V9 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-07-18 Thread Mark Brown
On Mon, Jul 18, 2016 at 02:09:01PM +0200, John Crispin wrote: > Changes in V9 > * drop compatible string from devicetree Are you sure? > +static const struct of_device_id mt6323_of_match[] = { > + { .compatible = "mediatek,mt6323-regulator", }, > + { /* sentinel */ }, > +}; > +MODULE_DEV

Re: [PATCH/RFC 4/6] spi: slave: Add SPI slave handler reporting boot up time

2016-07-18 Thread Mark Brown
On Wed, Jun 22, 2016 at 03:42:07PM +0200, Geert Uytterhoeven wrote: > Add an SPI slave handler responding with the time of reception of the > last SPI message. > > This can be used by an external microcontroller as a dead man's switch. The subject says boot up time, this says time of reception of

Re: [PATCH 3/3] perf tests: Add is_printable_array test

2016-07-18 Thread Jiri Olsa
On Mon, Jul 18, 2016 at 01:46:02PM +0200, Jiri Pirko wrote: SNIP > >diff --git a/tools/perf/tests/is_printable_array.c > >b/tools/perf/tests/is_printable_array.c > >new file mode 100644 > >index ..42e13393e502 > >--- /dev/null > >+++ b/tools/perf/tests/is_printable_array.c > >@@ -0,0

Re: [PATCH V9 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-07-18 Thread John Crispin
ignore this one please, my script used the wrong SoB line will send V10 in a sec ... sorry for the noise On 18/07/2016 14:09, John Crispin wrote: > From: Chen Zhong > > The MT6323 is a regulator found on boards based on MediaTek MT7623 and > probably other SoCs. It is a so called pmic and connec

Re: [PATCH V9 1/2] regulator: Add document for MT6323 regulator

2016-07-18 Thread John Crispin
ignore this one please, my script used the wrong SoB line will send V10 in a sec ... sorry for the noise On 18/07/2016 14:09, John Crispin wrote: > From: John Crispin > > Signed-off-by: John Crispin > Cc: devicet...@vger.kernel.org > Acked-by: Rob Herring > --- > Changes in V9 > * drop compati

Re: [PATCH 04/31] mm, vmscan: begin reclaiming pages on a per-node basis

2016-07-18 Thread Mel Gorman
On Thu, Jul 14, 2016 at 03:28:37PM +0900, Joonsoo Kim wrote: > > That would be appreciated. > > I make an artificial test case and test this series by using next tree > (next-20160713) and found a regression. > > My test setup is: > > memory: 2048 mb > movablecore: 1500 mb (imitates highmem syst

Re: [PATCH] Staging: ks7010: michael_mic: fixed macros coding style issue

2016-07-18 Thread Greg KH
On Mon, Jul 18, 2016 at 12:35:44PM +0800, Sunbing wrote: > Fixed coding style issue: > Enclose multiple statements macros definition in a do while loop. > Use one space around binary operators. > > Signed-off-by: Sunbing Is that the legal name you use to sign documents? If not, please resend wi

Re: [STABLE] kernel oops which can be fixed by peterz's patches

2016-07-18 Thread Greg KH
On Mon, Jul 18, 2016 at 03:31:46PM +0900, Byungchul Park wrote: > On Tue, Mar 01, 2016 at 08:15:55AM +, Greg KH wrote: > > On Tue, Jan 05, 2016 at 05:52:11PM +0900, Byungchul Park wrote: > > > > > > Upstream commits to be applied > > > == > > > > > > e3fca9e: sched

[PATCH V9 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-07-18 Thread John Crispin
From: Chen Zhong The MT6323 is a regulator found on boards based on MediaTek MT7623 and probably other SoCs. It is a so called pmic and connects as a slave to SoC using SPI, wrapped inside the pmic-wrapper. Signed-off-by: Chen Zhong Signed-off-by: John Crispin --- This series was dropped from

[PATCH V9 1/2] regulator: Add document for MT6323 regulator

2016-07-18 Thread John Crispin
From: John Crispin Signed-off-by: John Crispin Cc: devicet...@vger.kernel.org Acked-by: Rob Herring --- Changes in V9 * drop compatible string from devicetree Changes in V7 * remove another compatible string * small wording changes Changes in V6 * remove the compatible string Changes in V5 *

Re: [PATCH 0/7] dmaengine:omap-dma: Linked List transfer for slave_sg

2016-07-18 Thread Peter Ujfalusi
On 07/18/16 13:31, Russell King - ARM Linux wrote: > On Thu, Jul 14, 2016 at 03:42:35PM +0300, Peter Ujfalusi wrote: >> Hi, >> >> The following series with the final patch will add support for sDMA Linked >> List >> transfer support. >> Linked List is supported by sDMA in OMAP3630+ (OMAP4/5, dra7

Re: [PATCH 2/2] dax: remote unused fault wrappers

2016-07-18 Thread Jan Kara
On Thu 14-07-16 15:40:49, Ross Zwisler wrote: > Remove the unused wrappers dax_fault() and dax_pmd_fault(). After this > removal, rename __dax_fault() and __dax_pmd_fault() to dax_fault() and > dax_pmd_fault() respectively, and update all callers. > > The dax_fault() and dax_pmd_fault() wrappers

running "make dtbs" for test builds

2016-07-18 Thread Arnd Bergmann
Hi Fengguang, I've recently run into a number of cases in which I pulled a branch that was building fine with "make vmlinux", but that failed for "make dtbs", and I wonder if this is something that could be checked by the kbuild test robot so we catch it earlier. There are parts of this: - runni

Re: [PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-07-18 Thread Peter Zijlstra
On Sat, Jul 16, 2016 at 07:10:07PM +0200, Oleg Nesterov wrote: > Peter, Paul, could you review? Do you see any hole? > > Why. Firstly, note that the state machine was greatly simplified, and > rsp->cb_state has gone, we have a single "state" variable, gp_state. > Note also the ->sync() op has gone

Re: side-effect when enabling CONFIG_MODULES

2016-07-18 Thread Arnd Bergmann
On Monday, July 18, 2016 12:44:45 PM CEST Arend Van Spriel wrote: > A question for whoever can provide the answer. I have a kernel defconfig > with everything built-in. However, I want to compile a driver module > against it for testing. So I enabled CONFING_MODULES, but as a > side-effect several

Re: [PATCH v3 17/17] mm, vmscan: make compaction_ready() more accurate and readable

2016-07-18 Thread Vlastimil Babka
On 07/06/2016 07:55 AM, Joonsoo Kim wrote: On Fri, Jun 24, 2016 at 11:54:37AM +0200, Vlastimil Babka wrote: The compaction_ready() is used during direct reclaim for costly order allocations to skip reclaim for zones where compaction should be attempted instead. It's combining the standard compac

Re: [PATCH RFC 0/2] rtc-cmos: Workaround unwanted interrupt generation

2016-07-18 Thread Pratyush Anand
Hi RTC-Maintainers, On Mon, Jul 4, 2016 at 9:49 PM, Pratyush Anand wrote: > On 27/06/2016:10:19:07 AM, Pratyush Anand wrote: >> On 21/06/2016:10:25:34 AM, Pratyush Anand wrote: >> > We have observed on few machines with rtc-cmos device that >> > hpet_rtc_interrupt() is called before cmos_do_prob

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread One Thousand Gnomes
On Sun, 17 Jul 2016 23:31:56 -0400 Nicolas Pitre wrote: > Let's take the simple and obvious approach by decompressing the binary > into a kernel buffer and then copying it to user space. Those who are > looking for more performance on a MMU system are unlikely to choose this > executable format

Re: [PATCH 2/3] perf tools: Make is_printable_array global

2016-07-18 Thread Jiri Pirko
Sat, Jul 16, 2016 at 06:11:19PM CEST, jo...@kernel.org wrote: >It's used from 2 objects in perf, so it's better >to keep just one copy. > >Link: http://lkml.kernel.org/n/tip-dss4lxnywysgpyjd8p7pa...@git.kernel.org >Signed-off-by: Jiri Olsa Tested-by: Jiri Pirko

Re: [Query] Preemption (hogging) of the work handler

2016-07-18 Thread Rafael J. Wysocki
On Monday, July 18, 2016 01:01:34 PM Jan Kara wrote: > On Thu 14-07-16 15:12:51, Viresh Kumar wrote: > > On 14-07-16, 16:12, Jan Kara wrote: > > > Exactly. Calling printk() from certain parts of the kernel (like scheduler > > > code or timer code) has been always unsafe because printk itself uses

<    2   3   4   5   6   7   8   9   >