Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs

2016-06-10 Thread Ming Lei
On Fri, Jun 10, 2016 at 7:37 PM, Hannes Reinecke wrote: > On 06/10/2016 01:07 PM, Ming Lei wrote: >> After arbitrary bio size is supported, the incoming bio may >> be very big. We have to split the bio into small bios so that >> each holds at most BIO_MAX_PAGES bvecs for safety reason, such >> as

[docs-next PATCH 5/9] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-10 Thread Jani Nikula
If the kernel-doc comments for functions are not in the same file as the EXPORT_SYMBOL statements, the -export and -internal output selections do not work as expected. This is typically the case when the kernel-doc comments are in header files next to the function declarations and the EXPORT_SYMBOL

[docs-next PATCH 2/9] kernel-doc: do not warn about duplicate default section names

2016-06-10 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default section name "Description": include

[docs-next PATCH 0/9] Documentation/sphinx follow-up

2016-06-10 Thread Jani Nikula
Hi Jon - Thanks for merging the main Sphinx series! I greet you with another set of patches on top. ;) The main things here are reducing the noise on duplicate sections and adding better support for extracting exported symbols when EXPORT_SYMBOLs and kernel-doc are in separate files. And then the

[docs-next PATCH 3/9] kernel-doc: add missing semi-colons in option parsing

2016-06-10 Thread Jani Nikula
Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m/^-

[docs-next PATCH 6/9] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-10 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel

[docs-next PATCH 1/9] kernel-doc: remove old debug cruft from dump_section()

2016-06-10 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -529,21 +529,18 @@ sub dump_section

[docs-next PATCH 7/9] Documentation/sphinx: remove unnecessary temporary variable

2016-06-10 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0e91ecc..2856376cc62c 100644 --- a/Do

Re: [PATCH 0/3] ARM: OMAP: DRA7: Update to latest TRM and cleanup

2016-06-10 Thread Nishanth Menon
On Fri, Jun 10, 2016 at 4:34 AM, Tony Lindgren wrote: > Hi, > > * Nishanth Menon [160524 06:37]: >> Hi, >> >> Here are the final(hopefully) pending patches for DRA7 based on recent >> TRM updates. Updates include removing retention support on L3init and >> L4per as per latest SoC updates. >> >> T

[docs-next PATCH 9/9] Documentation/sphinx: add support for specifying extra export files

2016-06-10 Thread Jani Nikula
Let the user specify file patterns where to look for the EXPORT_SYMBOLs in addition to the file with kernel-doc comments. This is directly based on the -export-file FILE option added to kernel-doc in "kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs", but we extend that with gl

[docs-next PATCH 8/9] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-10 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py i

[docs-next PATCH 4/9] kernel-doc: abstract filename mapping

2016-06-10 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c812c15..516d95fcefb7 100755 --- a/sc

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Ricard Wanderlof
On Thu, 9 Jun 2016, Boris Brezillon wrote: > > > > > > By supporting only a subset of what NAND chips actually support, and > > > preventing any raw access, you just limit the compatibility of the NAND > > > controller with rather old NAND chips. For example, your controller > > > cannot deal wit

mm, oom_reaper: How to handle race with oom_killer_disable() ?

2016-06-10 Thread Tetsuo Handa
I got a question about commit e26796066fdf929c ("oom: make oom_reaper freezable"). static int enter_state(suspend_state_t state) { pr_debug("PM: Preparing system for sleep (%s)\n", pm_states[state]); error = suspend_prepare(state) { error = suspend_freeze_processes() { error = freez

Re: [PATCH 1/2] drm: Add drm driver for OpenCores VGA/LCD display controller

2016-06-10 Thread Daniel Vetter
On Thu, Jun 09, 2016 at 03:32:55PM +0200, Andrea Merello wrote: > This driver supports the VGA/LCD core available from OpenCores: > http://opencores.org/project,vga_lcd > > It's intended as a replacement for the "ocfb" framebuffer driver > > Signed-off-by: Andrea Merello > Cc: Stefan Kristiansso

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-10 Thread Bastien Nocera
On Fri, 2016-06-10 at 06:55 -0700, Srinivas Pandruvada wrote: > On Fri, 2016-06-10 at 10:44 +0100, Grant Likely wrote: > [...] > > > > Yes, I do see the in_*_raw_* files in sysfs, and I'm able to get > > data > > out of them. Gnome also seems to recognize that the accelerometers > > are > > there

[PATCH 3/3] ARC: [nsimosci] Enable ARC PGU on nSIM OSCI virtual platforms

2016-06-10 Thread Alexey Brodkin
With required ARC PGU updates that allow it to be used on simulation platforms we may finally utilize ARC PGU in nSIM OSCI virtual platforms with modern Linux kernels. Signed-off-by: Alexey Brodkin --- No changes in v2. arch/arc/boot/dts/nsimosci.dts | 14 +++--- arch/arc/b

[PATCH 2/3 v2] ARCv2: [vdk] Enable ARC PGU on HS38 VDK

2016-06-10 Thread Alexey Brodkin
With required ARC PGU updates that allow it to be used on simulation platforms we may finally utilize ARC PGU in HS38 VDK with modern Linux kernels. Signed-off-by: Alexey Brodkin --- No changes in v2. arch/arc/boot/dts/vdk_axs10x_mb.dtsi| 13 + arch/arc/boot/dts/vdk_hs38_smp.dt

[PATCH 0/3 v2] Make ARC PGU usable on sim platforms

2016-06-10 Thread Alexey Brodkin
Initially ARC PGU required real encoder/trnasmitter to exist. That was fine for real HW such as ARC SDP boards. But on some simulaiton platroms like ARC VDK or nSIM OSCI we have model of the same ARC PGU and ability to output video data in a virtual LCD. To make ARC PGU driver usable in those vir

Re: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-10 Thread Kalle Valo
Javier Martinez Canillas writes: > From: Shengzhen Li > > Most cfg80211 operations are just a wrappers to functions defined in the > sta_ioctl.c file, so for consistency move the .get_tx_power logic there. > > Signed-off-by: Shengzhen Li > Signed-off-by: Amitkumar Karwar > [javier: update the

[PATCH 3/3 v2] ARC: [nsimosci] Enable ARC PGU on nSIM OSCI virtual platforms

2016-06-10 Thread Alexey Brodkin
With required ARC PGU updates that allow it to be used on simulation platforms we may finally utilize ARC PGU in nSIM OSCI virtual platforms with modern Linux kernels. Signed-off-by: Alexey Brodkin --- No changes in v2. arch/arc/boot/dts/nsimosci.dts | 14 +++--- arch/arc/b

[PATCH 1/3 v2] drm/arcpgu: Make ARC PGU usable on simulation platforms

2016-06-10 Thread Alexey Brodkin
From: Ruud Derwig In case of simulation there's no real encoder/transmitter device because in the model's virtual LCD we're rendering whatever appears in frame-buffer memory. Signed-off-by: Ruud Derwig Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Got rid of dummy arcpgu_drm_encoder

Re: [PATCH] drm/rockchip: fix compile warnings for 64-bit

2016-06-10 Thread Daniel Vetter
On Thu, Jun 09, 2016 at 01:57:54PM -0700, Doug Anderson wrote: > Brian, > > On Thu, Jun 9, 2016 at 10:46 AM, Brian Norris > wrote: > > Rockchip DRM does not yet build properly for ARM64, but we might as well > > get the printf formatting correct now, to avoid the following warnings: > > > > driv

[RFC PATCHv3] usb: USB Type-C Connector Class

2016-06-10 Thread Heikki Krogerus
The purpose of this class is to provide unified interface for user space to get the status and basic information about USB Type-C Connectors in the system, control data role swapping, and when USB PD is available, also power role swapping and Alternate Modes. Signed-off-by: Heikki Krogerus --- d

Re: [PATCH v3 10/20] pwm: sysfs: Add PWM Capture support

2016-06-10 Thread Lee Jones
On Fri, 10 Jun 2016, Thierry Reding wrote: > On Wed, Jun 08, 2016 at 10:21:25AM +0100, Lee Jones wrote: > > Allow a user to read PWM Capture results from /sysfs. > > > > To start a capture and read the result, simply read the file: > > > > $ cat $PWMCHIP/capture > > > > The output format is "

Re: [PATCH v2 2/3] mwifiex: move .get_tx_power logic to station ioctl file

2016-06-10 Thread Javier Martinez Canillas
Hello Kalle, On 06/10/2016 10:30 AM, Kalle Valo wrote: > Javier Martinez Canillas writes: > >> From: Shengzhen Li >> >> Most cfg80211 operations are just a wrappers to functions defined in the >> sta_ioctl.c file, so for consistency move the .get_tx_power logic there. >> >> Signed-off-by: Sheng

Re: [PATCH v3 08/20] pwm: Add PWM Capture support

2016-06-10 Thread Lee Jones
On Fri, 10 Jun 2016, Thierry Reding wrote: > On Wed, Jun 08, 2016 at 10:21:23AM +0100, Lee Jones wrote: > > Supply a PWM Capture call-back Op in order to pass back > > information obtained by running analysis on PWM a signal. > > This would normally (at least during testing) be called from > > the

Re: [PATCH v3 2/3] drm/arm: Add support for Mali Display Processors

2016-06-10 Thread Daniel Vetter
On Fri, Jun 10, 2016 at 09:52:59AM +0100, Liviu Dudau wrote: > On Thu, Jun 09, 2016 at 08:56:29PM +0200, Daniel Vetter wrote: > I'm seeing ->disable being called at HPD event time, which is soon after > ->probe. > > > This is the case when enabling a crtc when it is fully > > disabled. Just menti

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Naveen N. Rao
On 2016/06/10 10:36AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > > Convert ins__find() to a __weak function for generic functionality, > > while adding a powerpc-specific variant. We look at the function name > > for branch instructions an

Re: [PATCH] events/uprobes: move smp_read_barrier_depends() where needed

2016-06-10 Thread Oleg Nesterov
On 06/10, Oleg Nesterov wrote: > > On 06/10, Andrea Parri wrote: > > > > More simply/clean, as you said, maybe; one advantage of keeping > > the "raw" smp_read_barrier_depends() in get_trampoline_vaddr() is > > that we can avoid it when area is NULL; > > Do you really think it makes sense to optimi

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Ricard Wanderlof
On Thu, 9 Jun 2016, Boris Brezillon wrote: > > > > drivers/mtd/nand/Kconfig |6 + > > > > drivers/mtd/nand/Makefile |1 + > > > > drivers/mtd/nand/evatronix_nand.c | 1909 > > > > + > > > > 3 files changed, 1916 insertions(+) > > > >

Re: [PATCH v3 1/1] crypto: engine: permit to enqueue ashash_request

2016-06-10 Thread LABBE Corentin
On Tue, Jun 07, 2016 at 06:31:39PM +0800, Herbert Xu wrote: > On Thu, Jun 02, 2016 at 03:13:32PM +0200, LABBE Corentin wrote: > > > > static int omap_aes_prepare_req(struct crypto_engine *engine, > > - struct ablkcipher_request *req) > > + struct

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-10 Thread Tadeusz Struk
On 06/09/2016 11:36 AM, Stephan Mueller wrote: > Am Donnerstag, 9. Juni 2016, 11:27:13 schrieb Mat Martineau: > > Hi Mat, Tadeusz, > >> On Thu, 9 Jun 2016, Stephan Mueller wrote: >>> Am Donnerstag, 9. Juni 2016, 11:18:04 schrieb Mat Martineau: >>> >>> Hi Mat, >>> > Or is your concern that the

[GIT PULL] x86 fixes

2016-06-10 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: 9d98bcec731756b8688b59ec998707924d716d7b x86/ioapic: Fix incorrect pointers in ioapic_setup_resources() Misc fixes from all around the

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-10 Thread Srinivas Pandruvada
On Fri, 2016-06-10 at 16:26 +0200, Bastien Nocera wrote: > On Fri, 2016-06-10 at 06:55 -0700, Srinivas Pandruvada wrote: > > On Fri, 2016-06-10 at 10:44 +0100, Grant Likely wrote: > > [...] > > > > > > Yes, I do see the in_*_raw_* files in sysfs, and I'm able to get > > > data > > > out of them. G

Re: [PATCH] ARM: dts: at91: ma5d4: properly define crystals frequencies

2016-06-10 Thread Alexandre Belloni
On 08/06/2016 at 01:31:19 +0200, Alexandre Belloni wrote : > The Denx MA5D4 dts doesn't properly define the slow_xtal and main_xtal > frequencies, the PMC then has to fallback to using the RC oscillators whose > precision is not really good. > > As both crystals are populated, define their frequen

Re: [PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Luis R. Rodriguez
On Fri, Jun 10, 2016 at 12:11:18PM +0200, Krzysztof Kozlowski wrote: > The dma-mapping core and the implementations do not change the > DMA attributes passed by pointer. Thus the pointer can point to const > data. However the attributes do not have to be a bitfield. Instead > unsigned long will d

Re: [PATCH v3 20/20] dt-bindings: pwm: sti: Update DT bindings with recent changes

2016-06-10 Thread Thierry Reding
On Fri, Jun 10, 2016 at 03:06:35PM +0100, Lee Jones wrote: > On Fri, 10 Jun 2016, Thierry Reding wrote: > > > On Thu, Jun 09, 2016 at 12:41:07PM +0100, Lee Jones wrote: > > > On Wed, 08 Jun 2016, Rob Herring wrote: > > > > > > > On Wed, Jun 08, 2016 at 10:21:35AM +0100, Lee Jones wrote: > > > > >

Re: [PATCHv2] backlight: pwm_bl: disable PWM when 'duty_cycle' is zero

2016-06-10 Thread Lee Jones
On Fri, 10 Jun 2016, Lothar Waßmann wrote: > On Fri, 10 Jun 2016 08:44:49 +0100 Lee Jones wrote: > > On Fri, 10 Jun 2016, Lothar Waßmann wrote: > > > > > Hi, > > > > > > On Thu, 9 Jun 2016 14:51:25 +0100 Lee Jones wrote: > > > > On Tue, 07 Jun 2016, Lothar Waßmann wrote: > > > > > > > > > 'brigh

Re: [PATCH V4] irq: Track the interrupt timings

2016-06-10 Thread Thomas Gleixner
Thanks, On Wed, 13 Apr 2016, Daniel Lezcano wrote: > +static inline void setup_timings(struct irq_desc *desc, struct irqaction > *act) > +{ > + /* > + * Timers are deterministic, so no need to do any measurement Deterministic is a confusing wording here. We don't need the measurement be

Re: [PATCH v13 02/10] arm64: Add more test functions to insn.c

2016-06-10 Thread David Long
On 06/07/2016 09:14 PM, Masami Hiramatsu wrote: On Thu, 2 Jun 2016 23:26:16 -0400 David Long wrote: @@ -367,6 +402,7 @@ bool aarch32_insn_is_wide(u32 insn); #define A32_RT_OFFSET 12 #define A32_RT2_OFFSET 0 +u32 aarch64_extract_system_register(u32 insn); This exported symbol is

Re: Using DT overlays for adding virtual hardware

2016-06-10 Thread Jan Kiszka
On 2016-06-09 09:22, Arnd Bergmann wrote: > On Wednesday, June 8, 2016 6:39:08 PM CEST Jan Kiszka wrote: >>> >>> I just don’t see how an ACPI based hypervisor can ever be certified for >>> safety critical applications. It might be possible but it should be >>> an enormous undertaking; perhaps

Re: [PATCH V2 2/2] mfd: max77620: Mask/unmask interrupt before/after servicing it

2016-06-10 Thread Lee Jones
On Thu, 09 Jun 2016, Laxman Dewangan wrote: > The programming guidelines of the MAX77620 for servicing interrupt is: > 1. When interrupt occurs from PMIC, mask the PMIC interrupt by >setting GLBLM. > 2. Read IRQTOP and service the interrupt. > 3. Once all interrupts has been checked and servic

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

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

[PATCH] task_work: use READ_ONCE/lockless_dereference, avoid pi_lock if !task_works

2016-06-10 Thread Oleg Nesterov
Change task_work_cancel() to use lockless_dereference(), this is what the code really wants but we didn't have this helper when it was written. Also add the fast-path task->task_works == NULL check, in the likely case this task has no pending works and we can avoid spin_lock(task->pi_lock). While

[PATCH] drm: Fix comment making reference to non-existing function

2016-06-10 Thread Liviu Dudau
Documentation for drm_atomic_crtc_for_each_plane() makes reference to a function called drm_crtc_for_each_pending_plane(). I've guessed that the actual function name is drm_atomic_crtc_state_for_each_plane() as that matches best the intent of the comment. Signed-off-by: Liviu Dudau --- include/d

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-10 Thread Bastien Nocera
On Fri, 2016-06-10 at 07:45 -0700, Srinivas Pandruvada wrote: > On Fri, 2016-06-10 at 16:26 +0200, Bastien Nocera wrote: > > On Fri, 2016-06-10 at 06:55 -0700, Srinivas Pandruvada wrote: > > > On Fri, 2016-06-10 at 10:44 +0100, Grant Likely wrote: > > > [...] > > > > > > > > Yes, I do see the in_*

Re: [PATCH v2 02/20] drm: arc: Rely on the default ->best_encoder() behavior

2016-06-10 Thread Alexey Brodkin
Hi Boris, On Tue, 2016-06-07 at 13:47 +0200, Boris Brezillon wrote: > We have a 1:1 relationship between connectors and encoders and the > driver is relying on the atomic helpers: we can drop the custom > ->best_encoder(), and let the core call drm_atomic_helper_best_encoder() > for us. > > Signe

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread Bin Liu
Hi, On Thu, Jun 09, 2016 at 11:25:57PM +0200, joerg Reisenweber wrote: > On Thu 09 June 2016 15:58:56 Bin Liu wrote: > > But I am not sure how this will fix n900 host mode problem, since > > testmode is not used in normal operation. > > Please see http://talk.maemo.org/showthread.php?p=685367 and

[PATCH v5] drm: Add helper for simple display pipeline

2016-06-10 Thread Noralf Trønnes
Provides helper functions for drivers that have a simple display pipeline. Plane, crtc and encoder are collapsed into one entity. Cc: jsa...@ti.com Signed-off-by: Noralf Trønnes --- Changes since v4: - Remove drm_connector_register() call - Forgot to assign pipe->connector Changes since v3: - (

Re: [PATCH] ARM: at91: debug: add default DEBUG_LL addresses

2016-06-10 Thread Alexandre Belloni
On 08/06/2016 at 13:49:08 +0200, Alexandre Belloni wrote : > Add configuration options for the most commonly used UART physical and > virtual addresses to ease the use of DEBUG_LL and earlyprintk. > > Signed-off-by: Alexandre Belloni > --- > arch/arm/Kconfig.debug | 58 > +++

Re: [PATCH V4] irq: Track the interrupt timings

2016-06-10 Thread Nicolas Pitre
On Fri, 10 Jun 2016, Thomas Gleixner wrote: > Thanks, > > On Wed, 13 Apr 2016, Daniel Lezcano wrote: > > + timings = this_cpu_ptr(desc->timings); > > + now = local_clock(); > > + prev = timings->timestamp; > > + timings->timestamp = now; > > + > > + /* > > +* If it is the first inte

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-10 Thread Lorenzo Pieralisi
Hi Bjorn, Tomasz, On Tue, Jun 07, 2016 at 07:15:59PM -0500, Bjorn Helgaas wrote: [...] > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > > index eb431b5..2b52178 100644 > > --- a/drivers/pci/pci.c > > +++ b/drivers/pci/pci.c > > @@ -7,6 +7,7 @@ > > * Copyright 1997 -- 2000 Martin Mares

Re: [PATCH v3 20/20] dt-bindings: pwm: sti: Update DT bindings with recent changes

2016-06-10 Thread Lee Jones
On Fri, 10 Jun 2016, Thierry Reding wrote: > On Fri, Jun 10, 2016 at 03:06:35PM +0100, Lee Jones wrote: > > On Fri, 10 Jun 2016, Thierry Reding wrote: > > > > > On Thu, Jun 09, 2016 at 12:41:07PM +0100, Lee Jones wrote: > > > > On Wed, 08 Jun 2016, Rob Herring wrote: > > > > > > > > > On Wed, Jun

Re: [PATCH] drm: Fix comment making reference to non-existing function

2016-06-10 Thread Daniel Vetter
On Fri, Jun 10, 2016 at 04:03:25PM +0100, Liviu Dudau wrote: > Documentation for drm_atomic_crtc_for_each_plane() makes reference to > a function called drm_crtc_for_each_pending_plane(). I've guessed that > the actual function name is drm_atomic_crtc_state_for_each_plane() as > that matches best t

[PATCH] arm64: cpuinfo: Expose MIDR_EL1 and REVIDR_EL1 to sysfs

2016-06-10 Thread Suzuki K Poulose
From: Steve Capper It can be useful for JIT software to be aware of MIDR_EL1 and REVIDR_EL1 to ascertain the presence of any core errata that could affect codegen. This patch exposes these registers through sysfs: /sys/devices/system/cpu/cpu$ID/identification/midr /sys/devices/system/cpu/cpu$ID

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

2016-06-10 Thread Thierry Reding
On Wed, Jun 08, 2016 at 06:34:36PM +0200, Boris Brezillon wrote: > The pwm_prepare_new_state() helper prepares a new state object > containing the current PWM state except for the polarity and period > fields which are set to the reference values. > This is particurly useful for PWM users who want

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-10 Thread Srinivas Pandruvada
On Fri, 2016-06-10 at 17:04 +0200, Bastien Nocera wrote: > > [...] > Are there any errors when setting the triggers? > Is there any debug option in this service to give more verbose output? > The code there is probably a bit naive, but I'd rather fix that > rather > than postpone the start of

Re: [PATCH V4] irq: Track the interrupt timings

2016-06-10 Thread Thomas Gleixner
On Fri, 10 Jun 2016, Nicolas Pitre wrote: > On Fri, 10 Jun 2016, Thomas Gleixner wrote: > > > + diff = now - prev; > > > + > > > + /* > > > + * microsec (actually 1024th of a milisec) precision is good > > > + * enough for our purpose. > > > + */ > > > + diff >>= 10; > > > > And that shift inst

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:08:08 Bin Liu wrote: > Hi, > > On Thu, Jun 09, 2016 at 11:25:57PM +0200, joerg Reisenweber wrote: > > On Thu 09 June 2016 15:58:56 Bin Liu wrote: > > > But I am not sure how this will fix n900 host mode problem, since > > > testmode is not used in normal operation. > > > >

Re: [PATCH v2 06/20] drm: i915: Rely on the default ->best_encoder() behavior where appropriate

2016-06-10 Thread Daniel Vetter
On Tue, Jun 07, 2016 at 01:48:01PM +0200, Boris Brezillon wrote: > For all outputs except dp_mst, we have a 1:1 relationship between > connectors and encoders and the driver is relying on the atomic helpers: > we can drop the custom ->best_encoder() implementation and let the core > call drm_atomic

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-10 Thread Markus Heiser
Am 08.06.2016 um 21:49 schrieb Jonathan Corbet : > So I've finally gotten a chance to make another pass over this stuff. > > Markus, your enthusiasm is great; I'm hoping you'll do great things > helping us to improve the kernel's documentation toolchain. With 7 years DocBook and 8 years reST

Re: [PATCH 2/3] staging: lustre: lnet: Allocate MEs and small MDs in own kmem_caches

2016-06-10 Thread Faccini, Bruno
Hello, The intent of this patch is not to solve the corruptions for sure, but only to avoid the concerned MEs/small-MDs LNet structs to be quite frequently impacted due to their high allocation/free rate. This may also possibly help to save cycles due to high usage and contention when using a ge

Re: [PATCH v2 00/20] drm/atomic: Provide default ->best_encoder() behavior

2016-06-10 Thread Daniel Vetter
On Tue, Jun 07, 2016 at 01:47:55PM +0200, Boris Brezillon wrote: > Hello, > > This patch series aims at replacing all dummy ->best_encoder() > implementations where we have a 1:1 relationship between encoders > and connectors. > The core already provides the drm_atomic_helper_best_encoder() > func

Re: [PATCH] ARM: at91: debug: use DEBUG_UART_VIRT

2016-06-10 Thread Alexandre Belloni
On 07/06/2016 at 17:24:39 +0200, Alexandre Belloni wrote : > AT91 still uses an offset (0x0100 ) from the physical address to map > the debug UART. This is unfortunate as for some platforms (sama5d3 and > earlier), it ends up in the PCI zone and PCI is enabled in multi_v7. > Switch to DEBUG_UAR

Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

2016-06-10 Thread Bastien Nocera
On Fri, 2016-06-10 at 08:23 -0700, Srinivas Pandruvada wrote: > On Fri, 2016-06-10 at 17:04 +0200, Bastien Nocera wrote: > > > > > [...] > > > Are there any errors when setting the triggers? > > > Is there any debug option in this service to give more verbose > output? Add: Environment="G_MESS

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2016-05-26 19:56:41 [-0400]: >For example: > > > > napi_schedule_prep() >test_and_set_bit(NAPI_STATE_SCHED, &n->state) > > > > sk_busy_loop() > > do { > rc = busy_poll() > ret = napi_schedule_prep() >return !test

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-06-10 Thread Jason Baron
On 06/10/2016 05:54 AM, Arnd Bergmann wrote: > On Friday, May 20, 2016 5:16:36 PM CEST Jason Baron wrote: >> Although dynamic debug is often only used for debug builds, sometimes its >> enabled for production builds as well. Minimize its impact by using jump >> labels. This reduces the text secti

[PATCH v5 1/1] hwmon: Add support for INA3221 Triple Current/Voltage Monitors

2016-06-10 Thread Andrew F. Davis
Add support for the the INA3221 26v capable, Triple channel, Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor with I2C interface. Signed-off-by: Andrew F. Davis --- Documentation/hwmon/ina3221 | 35 drivers/hwmon/Kconfig | 11 ++ drivers/hwmon/Makefile | 1

[PATCH v5 0/1] Add support for INA3221 Triple Current/Voltage Monitors

2016-06-10 Thread Andrew F. Davis
Hello all, This series adds support for the INA3221 Triple Current/Voltage Monitor. Changes from v4: - Drop DT support, will be added by Laxman in followup patches Changes from v3: - minor fixups from comments - rebased on v4.7-rc1 Changes from v2: - changed alarms to work on current - add

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 16:40:39 +0200 Ricard Wanderlof wrote: > > > > > > +/* Information common to all chips, including the NANDFLASH-CTRL IP > > > > > */ > > > > > +struct nfc_info { > > > > > > > > Should inherit from nand_hw_ctrl (see the sunxi_nand driver)... > > > > > > > > > +

Re: [PATCH v5] drm: Add helper for simple display pipeline

2016-06-10 Thread Daniel Vetter
On Fri, Jun 10, 2016 at 04:55:59PM +0200, Noralf Trønnes wrote: > Provides helper functions for drivers that have a simple display > pipeline. Plane, crtc and encoder are collapsed into one entity. > > Cc: jsa...@ti.com > Signed-off-by: Noralf Trønnes > --- > > Changes since v4: > - Remove drm_c

Re: [PATCH V4] irq: Track the interrupt timings

2016-06-10 Thread Nicolas Pitre
On Fri, 10 Jun 2016, Thomas Gleixner wrote: > On Fri, 10 Jun 2016, Nicolas Pitre wrote: > > On Fri, 10 Jun 2016, Thomas Gleixner wrote: > > > > + diff = now - prev; > > > > + > > > > + /* > > > > +* microsec (actually 1024th of a milisec) precision is good > > > > +* en

Using irq-crossbar.c

2016-06-10 Thread Sebastian Frias
Hi, We are trying to write a driver for an interrupt controller (actually more of a crossbar) for an ARM-based SoC. This IRQ crossbar has 128 inputs and 24 outputs, the outputs are connected directly to the GIC. The idea is that the GIC handles everything, and just request a mapping from an IRQ

PCIe EndPoint DMA driver with DMA Framework

2016-06-10 Thread Bharat Kumar Gogada
Hi, We are planning to write a PCIe EndPoint DMA driver with DMA Framework targeting x86 machine. ( "https://www.kernel.org/doc/Documentation/dmaengine/provider.txt";) Our DMA controller is part of PCIe End Point. We are targeting to measure PCIe performance with this Framework driver. But whe

Re: [PATCH 4/6] arm64: errata: Calling enable functions for CPU errata too

2016-06-10 Thread Suzuki K Poulose
On 09/05/16 17:49, Andre Przywara wrote: Currently we call the (optional) enable function for CPU _features_ only. As CPU _errata_ descriptions share the same data structure and having an enable function is useful for errata as well (for instance to set bits in SCTLR), lets call it when enumerati

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-10 Thread Ricard Wanderlof
On Wed, 8 Jun 2016, Boris Brezillon wrote: > > > > +Optional properties: > > > > +- nand-on-flash-bbt: See nand.txt. > > > > +- #address-cells, #size-cells: See partition.txt. > > > > +- evatronix,use-bank-select : Use controller bank select function to > > > > access > > > > +

Re: [PATCH 0/2] PCI: hv: fix a couple of issues in hv_pci_onchannelcallback()

2016-06-10 Thread Bjorn Helgaas
On Fri, Jun 10, 2016 at 02:05:33PM +0200, Vitaly Kuznetsov wrote: > Vitaly Kuznetsov writes: > > > kmemleak helped me to identify a memory leak in hv_pci_onchannelcallback() > > and while fixing it I stumbled upon an unrelated issue(s) there. > > > > Vitaly Kuznetsov (2): > > PCI: hv: don't lea

Re: [tip:perf/core] perf/x86/rapl: Add Skylake server model detection

2016-06-10 Thread Dave Hansen
On 06/10/2016 05:35 AM, Jacob Pan wrote: >> > code does not match git commit message. The code says that skylake >> > server matches the haswell server. (Yes I know broadwell server >> > apparently matches haswell server too, but you might want to say that >> > in the git commit to avoid confusio

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-10 Thread Lorenzo Pieralisi
On Fri, Jun 10, 2016 at 04:14:58PM +0100, Lorenzo Pieralisi wrote: > Hi Bjorn, Tomasz, > > On Tue, Jun 07, 2016 at 07:15:59PM -0500, Bjorn Helgaas wrote: > > [...] > > > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > > > index eb431b5..2b52178 100644 > > > --- a/drivers/pci/pci.c > > > +

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.7-3 tag

2016-06-10 Thread Linus Torvalds
On Fri, Jun 10, 2016 at 4:51 AM, Michael Ellerman wrote: > > powerpc fixes for 4.7 #2 This is actually #3 - and some of the things you describe came in already through #2. Do you mind double-checking your descriptions? Which of these are actually new? I'd like to get my merge message correct, an

Re: [PATCH] irqchip/tegra: fix fix sparse warnings on __iomem

2016-06-10 Thread Thierry Reding
On Tue, Jun 07, 2016 at 01:24:52PM +0100, Ben Dooks wrote: > Fix the following warnings from sparse due to casting to/from __iomem > annotated variables: > > drivers/irqchip/irq-tegra.c:93:31: warning: incorrect type in initializer > (different address spaces) > drivers/irqchip/irq-tegra.c:93:31:

[PATCH 1/2] clocksource: Kconfig: fix tabs vs space

2016-06-10 Thread Alexandre Belloni
Some options are indented with spaces, properly use tabs instead Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 47352d25c15

[PATCH 2/2] clocksource: samsung_pwm: fix typo

2016-06-10 Thread Alexandre Belloni
Correct the typo in "driver" Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 314d1bc4e34d..b468353cf0e1 100644 --- a/drivers/clocksource/Kconfig ++

Re: [PATCH 1/4] of: Add device tree bindings for Evatronix

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 17:35:24 +0200 Ricard Wanderlof wrote: > On Wed, 8 Jun 2016, Boris Brezillon wrote: > > > > > > +Optional properties: > > > > > +- nand-on-flash-bbt: See nand.txt. > > > > > +- #address-cells, #size-cells: See partition.txt. > > > > > +- evatronix,use-bank-select : Use contro

Re: [PATCH v5] drm: Add helper for simple display pipeline

2016-06-10 Thread Noralf Trønnes
Den 10.06.2016 17:34, skrev Daniel Vetter: On Fri, Jun 10, 2016 at 04:55:59PM +0200, Noralf Trønnes wrote: Provides helper functions for drivers that have a simple display pipeline. Plane, crtc and encoder are collapsed into one entity. Cc: jsa...@ti.com Signed-off-by: Noralf Trønnes --- Cha

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2016-06-04 07:11:31 [-0400]: >From: Steven Rostedt >Date: Tue, 5 Jan 2016 14:53:09 -0500 >Subject: [PATCH] softirq: Perform softirqs in local_bh_enable() for a limited > amount of time > >To prevent starvation of tasks like ksoftirqd, if the task that is >processing its softirq

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Crestez Dan Leonard
On 06/10/2016 09:32 AM, Mika Westerberg wrote: > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: >> When devices are instatiated through devicetree the i2c_client->name is >> set to the compatible string with company name stripped out. This is >> then matched to the i2c_device_

[GIT PULL] add reST/sphinx-doc to linux documentation

2016-06-10 Thread Markus Heiser
Hi all, this is my suggestion for a DocBook to reST movement. It includes the doc build tools and a migration [3] of all DocBook-XML books to the reST markup. The kernel-doc HOWTO [1], the Template Book [2] and make books-help are your friends. Any comments are welcome. -- Markus

Re: [PATCH 3/7] kernel-doc-HOWTO: add kernel-doc specification

2016-06-10 Thread Markus Heiser
Hi Randy, thanks for your amendments / has been fixed [1] [1] https://github.com/return42/linux/commit/98a9fc42cbd0c23b266ac28494dafe20d7920d05 Am 09.06.2016 um 20:05 schrieb Randy Dunlap : > Hi, > > Some spellos and a few questions... >> + b/Documentation/books/kernel-doc-HOWTO/vintage-kern

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread Bin Liu
Hi, On Fri, Jun 10, 2016 at 05:23:11PM +0200, joerg Reisenweber wrote: > On Fri 10 June 2016 10:08:08 Bin Liu wrote: > > Hi, > > > > On Thu, Jun 09, 2016 at 11:25:57PM +0200, joerg Reisenweber wrote: > > > On Thu 09 June 2016 15:58:56 Bin Liu wrote: > > > > But I am not sure how this will fix n90

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Ricard Wanderlof
On Fri, 10 Jun 2016, Boris Brezillon wrote: > The goal here is to retrieve the controller attached to a given chip in > order to avoid the global nfc_info variable (and abusing > nand_get/set_controller_data() to store a pointer to the controller is > not a good idea either: it's supposed to be u

Re: [PATCH 2/2] perf annotate: add powerpc support

2016-06-10 Thread Naveen N. Rao
On 2016/06/10 08:08PM, Naveen N. Rao wrote: > On 2016/06/10 10:36AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jun 10, 2016 at 06:32:51PM +0530, Naveen N. Rao escreveu: > > > Convert ins__find() to a __weak function for generic functionality, > > > while adding a powerpc-specific variant. We look

Re: [PATCH v7] input: tablet: add Pegasus Notetaker tablet driver

2016-06-10 Thread Oliver Neukum
On Fri, 2016-06-10 at 15:27 +0200, Martin Kepplinger wrote: > >> +input_set_abs_params(input_dev, ABS_X, -1500, 1500, 8, 0); > >> +input_set_abs_params(input_dev, ABS_Y, 1600, 3000, 8, 0); > >> + > >> +pegasus_set_mode(pegasus, PEN_MODE_XY, NOTETAKER_LED_MOUSE); > > > > If you need to

Re: [PATCH 3/7] kernel-doc-HOWTO: add kernel-doc specification

2016-06-10 Thread Randy Dunlap
On 06/10/16 09:00, Markus Heiser wrote: > Hi Randy, > > thanks for your amendments / has been fixed [1] > > [1] > https://github.com/return42/linux/commit/98a9fc42cbd0c23b266ac28494dafe20d7920d05 > > Am 09.06.2016 um 20:05 schrieb Randy Dunlap : > >> Hi, >> >> Some spellos and a few questions.

Re: Using irq-crossbar.c

2016-06-10 Thread Marc Zyngier
On 10/06/16 16:37, Sebastian Frias wrote: > Hi, > > We are trying to write a driver for an interrupt controller (actually > more of a crossbar) for an ARM-based SoC. This IRQ crossbar has 128 > inputs and 24 outputs, the outputs are connected directly to the > GIC. The idea is that the GIC handles

Re: [PATCH 3/4] mtd: nand: Add support for Evatronix NANDFLASH-CTRL

2016-06-10 Thread Boris Brezillon
On Fri, 10 Jun 2016 16:22:38 +0200 Ricard Wanderlof wrote: > On Thu, 9 Jun 2016, Boris Brezillon wrote: > > > > > > > > > By supporting only a subset of what NAND chips actually support, and > > > > preventing any raw access, you just limit the compatibility of the NAND > > > > controller with r

Re: [BUG] Page allocation failures with newest kernels

2016-06-10 Thread Marcin Wojtas
Hi Mel, Thanks for posting patch. I tested it on LKv4.4.8. Despite "mode:0x2284020" shows that __GFP_ATOMIC is now not stripped, the issue remains: http://pastebin.com/DmezUJSc Best regards, Marcin 2016-06-09 20:13 GMT+02:00 Marcin Wojtas : > Hi Mel, > > My last email got cut in half. > > 2016-0

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

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

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-10 Thread Steven Rostedt
On Fri, 10 Jun 2016 17:57:17 +0200 Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2016-06-04 07:11:31 [-0400]: > > >From: Steven Rostedt > >Date: Tue, 5 Jan 2016 14:53:09 -0500 > >Subject: [PATCH] softirq: Perform softirqs in local_bh_enable() for a limited > > amount of time > > > >To p

<    1   2   3   4   5   6   7   8   9   >