[PATCH 09/12] mm, page_alloc: Delete the zonelist_cache

2015-08-24 Thread Mel Gorman
The zonelist cache (zlc) was introduced to skip over zones that were recently known to be full. This avoided expensive operations such as the cpuset checks, watermark calculations and zone_reclaim. The situation today is different and the complexity of zlc is harder to justify. 1) The cpuset

[PATCH 01/12] mm, page_alloc: Remove unnecessary parameter from zone_watermark_ok_safe

2015-08-24 Thread Mel Gorman
No user of zone_watermark_ok_safe() specifies alloc_flags. This patch removes the unnecessary parameter. Signed-off-by: Mel Gorman mgor...@techsingularity.net Acked-by: David Rientjes rient...@google.com Acked-by: Vlastimil Babka vba...@suse.cz Acked-by: Michal Hocko mho...@suse.com Reviewed-by:

[PATCH 08/12] mm, page_alloc: Rename __GFP_WAIT to __GFP_RECLAIM

2015-08-24 Thread Mel Gorman
__GFP_WAIT was used to signal that the caller was in atomic context and could not sleep. Now it is possible to distinguish between true atomic context and callers that are not willing to sleep. The latter should clear __GFP_DIRECT_RECLAIM so kswapd will still wake. As clearing __GFP_WAIT behaves

[PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-24 Thread Mel Gorman
This patch redefines which GFP bits are used for specifying mobility and the order of the migrate types. Once redefined it's possible to convert GFP flags to a migrate type with a simple mask and shift. The only downside is that readers of OOM kill messages and allocation failures may have been

[PATCH] gpio: gpiolib: use devm_* API to simplify driver code

2015-08-24 Thread Peng Fan
Use devm_* API to simplify driver code. Signed-off-by: Peng Fan van.free...@gmail.com Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com --- drivers/gpio/gpiolib.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 5/6] i2c: Replace I2C_CROS_EC_TUNNEL dependency

2015-08-24 Thread Wolfram Sang
On Wed, Aug 19, 2015 at 01:19:57PM +0200, Javier Martinez Canillas wrote: The ChromeOS EC tunnel I2C bus driver depend on CROS_EC_PROTO but MFD_CROS_EC select CROS_EC_PROTO instead. Mixing select and depends on is bad practice as it may lead to circular Kconfig dependencies. Since the

Re: [PATCH] kernel/sysctl.c: If count including the terminating byte '\0' the write system call should retrun success.

2015-08-24 Thread Eric W. Biederman
On August 24, 2015 1:56:13 AM PDT, Sean Fu fxinr...@gmail.com wrote: when the input argument count including the terminating byte \0, The write system call return EINVAL on proc file. But it return success on regular file. Nonsense. It will write the '\0' to a regular file because it is just

[char-misc 1/2] mei: Fix debugfs filename in error output

2015-08-24 Thread Tomas Winkler
From: Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 04/12] mm, page_alloc: Only check cpusets when one exists that can be mem-controlled

2015-08-24 Thread Vlastimil Babka
On 08/24/2015 02:09 PM, Mel Gorman wrote: David Rientjes correctly pointed out that the root cpuset may not exclude mems on the system so, even if mounted, there's no need to check or be worried about concurrent change when there is only one cpuset. The three checks for cpusets_enabled() care

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Thomas Gleixner
On Mon, 24 Aug 2015, Qais Yousef wrote: Some drivers might require to send ipi to other cores. So export it. Which IPIs do you need to send from a driver which are not exposed by the SMP functions already? This will be used later by AXD driver. That smells fishy and it wants a proper

Re: [PATCH linux-next v4 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-08-24 Thread Russell King - ARM Linux
On Mon, Aug 24, 2015 at 01:03:51PM +0200, Marek Vasut wrote: These are functions, not macros :) btw is there any reason for these ? I'd say, just put the read*() and write*() functions directly into the code and be done with it, it is much less confusing. Also, why do you use the

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Russell King - ARM Linux
On Sun, Aug 23, 2015 at 06:23:14PM -0500, Rob Herring wrote: On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang y...@rock-chips.com wrote: + -analogix,color-depth: + number of bits per colour component. + COLOR_6 = 0, COLOR_8 = 1, COLOR_10 = 2, COLOR_12 =

Re: [PATCH RESEND] sched/nohz: Affine unpinned timers to housekeepers

2015-08-24 Thread Frederic Weisbecker
On Mon, Aug 24, 2015 at 08:44:12AM +0200, Ingo Molnar wrote: 2) What happens if the boot CPU is offlined? (under CONFIG_BOOTPARAM_HOTPLUG_CPU0=y) I don't see CPU hotplug callbacks fixing up the housekeeping_mask if the boot CPU is offlined. We have tick_nohz_cpu_down_callback() which

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Linus Walleij
On Mon, Aug 24, 2015 at 3:15 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jul 21, 2015 at 11:27:56PM +0200, Linus Walleij wrote: On Tue, Jul 21, 2015 at 4:27 PM, Andrey Ryabinin a.ryabi...@samsung.com wrote: I used vexpress. Anyway, it doesn't matter now, since I have

Re: [PATCH 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-08-24 Thread Rob Herring
On Mon, Aug 17, 2015 at 1:30 PM, Eric Anholt e...@anholt.net wrote: Stephen Warren swar...@wwwdotorg.org writes: On 08/12/2015 06:56 PM, Eric Anholt wrote: Signed-off-by: Eric Anholt e...@anholt.net This one definitely needs a patch description, since someone might not know what a VC4 is,

Re: [PATCH 1/3] Docs: dt: add generic MSI bindings

2015-08-24 Thread Mark Rutland
On Mon, Aug 24, 2015 at 02:37:59PM +0100, Rob Herring wrote: On Mon, Aug 24, 2015 at 5:17 AM, Mark Rutland mark.rutl...@arm.com wrote: On Wed, Aug 05, 2015 at 05:51:20PM +0100, Mark Rutland wrote: Rob, Do you have any objections to this, or are you happy to take this patch? There's a

Re: [PATCH RESEND] sched/nohz: Affine unpinned timers to housekeepers

2015-08-24 Thread Paul E. McKenney
On Mon, Aug 24, 2015 at 08:44:12AM +0200, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: here it's fully set - triggering the bug I'm worried about. So what am I missing, what prevents CONFIG_NO_HZ_FULL_ALL from crashing? The boot CPU is excluded from

Re: [RFC 4/8] jbd, jbd2: Do not fail journal because of frozen_buffer allocation failure

2015-08-24 Thread Michal Hocko
Hi Ted, On Sat 15-08-15 09:54:22, Theodore Ts'o wrote: On Wed, Aug 12, 2015 at 11:14:11AM +0200, Michal Hocko wrote: Is this if (!committed_data) { check now dead code? I also see other similar suspected dead sites in the rest of the series. You are absolutely right. I have

Re: [PATCH v3 1/1] USB:option:add ZTE PIDs

2015-08-24 Thread Johan Hovold
On Mon, Aug 24, 2015 at 09:51:33AM +0200, Bjørn Mork wrote: Johan Hovold jo...@kernel.org writes: On Wed, Aug 19, 2015 at 08:51:17AM -0700, Liu.Zhao wrote: #define BENQ_VENDOR_ID0x04a5 #define BENQ_PRODUCT_H10 0x4068 @@ -544,6 +548,14 @@

Re: [PATCH v2] i2c: allow specifying separate wakeup interrupt in device tree

2015-08-24 Thread Wolfram Sang
On Mon, Aug 17, 2015 at 11:52:51PM -0700, Dmitry Torokhov wrote: Instead of having each i2c driver individually parse device tree data in case it or platform supports separate wakeup interrupt, and handle enabling and disabling wakeup interrupts in their power management routines, let's have

[GIT PULL] Move cert handling to certs/ directory

2015-08-24 Thread David Howells
Hi James, Sorry for the late request, but can you pull this please? It's a set of commits that puts a bit of polish on the previous module signing patches. It moves the certificate handling to its own directory rather than sharing in the kernel/ directory. It then moves key generation into the

[PATCH RESEND 1/2] ovl: free stack of paths in ovl_fill_super

2015-08-24 Thread Konstantin Khlebnikov
This fixes small memory leak after mount. Kmemleak report: unreferenced object 0x88003683fe00 (size 16): comm mount, pid 2029, jiffies 4294909563 (age 33.380s) hex dump (first 16 bytes): 20 27 1f bb 00 88 ff ff 40 4b 0f 36 02 88 ff ff '..@K.6 backtrace:

[PATCH RESEND 2/2] ovl: free lower_mnt array in ovl_put_super

2015-08-24 Thread Konstantin Khlebnikov
This fixes memory leak after umount. Kmemleak report: unreferenced object 0x8800ba791010 (size 8): comm mount, pid 2394, jiffies 4294996294 (age 53.920s) hex dump (first 8 bytes): 20 1c 13 02 00 88 ff ff ... backtrace: [811f8cd4]

Re: [PATCH-v3 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Vaibhav Hiremath wrote: 88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree binding with DT property to enable dual-phase mode

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-24 Thread Marcelo Tosatti
On Sun, Aug 23, 2015 at 11:47:49AM -0700, Vikas Shivappa wrote: On Fri, 21 Aug 2015, Marcelo Tosatti wrote: On Thu, Aug 20, 2015 at 05:06:51PM -0700, Vikas Shivappa wrote: On Mon, 17 Aug 2015, Marcelo Tosatti wrote: Vikas, Tejun, This is an updated interface. It addresses all

Re: [PATCH] nfs:Fix error handling in the function nfs_vm_page_mkwrite

2015-08-24 Thread Trond Myklebust
On Sat, Aug 22, 2015 at 6:34 PM, Nicholas Krause xerofo...@gmail.com wrote: This fixes error handling in the function nfs_vm_page_mkwrite to properly check if the function wait_on_bit_action returned something other then zero as if so return to the caller of nfs_vm_page_mkwrite to signal that

Re: [RFC PATCH 1/7] DMA: tegra-apb: Correct runtime-pm usage

2015-08-24 Thread Jon Hunter
On 24/08/15 10:22, Vinod Koul wrote: On Mon, Aug 24, 2015 at 09:47:13AM +0100, Jon Hunter wrote: On 23/08/15 15:17, Vinod Koul wrote: On Tue, Aug 18, 2015 at 02:49:09PM +0100, Jon Hunter wrote: @@ -1543,7 +1531,7 @@ static int tegra_dma_pm_suspend(struct device *dev) int ret; /*

[PATCH v4 07/13] usb: otg: add OTG core

2015-08-24 Thread Roger Quadros
The OTG core instantiates the OTG Finite State Machine per OTG controller and manages starting/stopping the host and gadget controllers based on the bus state. It provides APIs for the following tasks - Registering an OTG capable controller - Registering Host and Gadget controllers to OTG core -

RE: [PATCH v4 3/6] power: Add support for DA9150 Fuel-Gauge

2015-08-24 Thread Opensource [Adam Thomson]
On August 04, 2015 17:17, Adam Thomson wrote: This adds power supply driver support for the Fuel-Gauge part of the DA9150 combined Charger and Fuel-Gauge device. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Hi Sebastian, Just wondered when you might be able to

[PATCH v4 13/13] usb: otg: Add dual-role device (DRD) support

2015-08-24 Thread Roger Quadros
DRD mode is a reduced functionality OTG mode. In this mode we don't support SRP, HNP and dynamic role-swap. In DRD operation, the controller mode (Host or Peripheral) is decided based on the ID pin status. Once a cable plug (Type-A or Type-B) is attached the controller selects the state and

[PATCH v4 06/13] usb: gadget.h: Add OTG to gadget interface

2015-08-24 Thread Roger Quadros
The OTG core will use struct otg_gadget_ops to start/stop the gadget controller. The main purpose of this interface is to avoid directly calling usb_gadget_start/stop() from the OTG core as they wouldn't be defined in the built-in symbol table if CONFIG_USB_GADGET is m. Signed-off-by: Roger

[PATCH] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-08-24 Thread Daniel Lezcano
After analysis done by Yingjoe Chen, the timer appears to have a pending interrupt when it is enabled. Fix this by acknowledging the pending interrupt when enabling the timer interrupt. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/clocksource/mtk_timer.c | 13

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Vlastimil Babka
On 08/24/2015 12:17 PM, Konstantin Khlebnikov wrote: I am in the middle of implementing lock on fault this way, but I cannot see how we will hanlde mremap of a lock on fault region. Say we have the following: addr = mmap(len, MAP_ANONYMOUS, ...); mlock(addr, len, MLOCK_ONFAULT);

Re: [RFC] fbdev/riva:change to use generice function to implement reverse_order()

2015-08-24 Thread Afzal Mohammed
Hi, On Mon, Aug 24, 2015 at 04:31:13PM +0800, yalin wang wrote: i only submit the bit reverse patch for arm / arm64 arch, yes, saw later git blaming it on you :) Not for this case, but once measured on ARM, iirc, a 32-bit asm bit reversal as compared to doing it in C was taking 1 cycle

Re: [PATCH] DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd

2015-08-24 Thread Jerome Glisse
On Fri, Aug 21, 2015 at 02:16:12PM -0400, cp...@redhat.com wrote: From: Stephen Chandler Paul cp...@redhat.com Most of the time this isn't an issue since hotplugging an adaptor will trigger a crtc mode change which in turn, causes the driver to probe every DisplayPort for a dpcd. However, in

Re: [PATCH v4 1/2] Documentation: dt: Add Xilinx zynqmp dma device tree binding documentation

2015-08-24 Thread Lars-Peter Clausen
On 08/06/2015 05:19 AM, Punnaiah Choudary Kalluri wrote: [...] +Optional properties: +- xlnx,include-sg: Indicates the controller to operate in simple or scatter +gather dma mode +- xlnx,ratectrl: Scheduling interval in terms of clock cycles for + source AXI

[PATCH 10/12] mm, page_alloc: Remove MIGRATE_RESERVE

2015-08-24 Thread Mel Gorman
MIGRATE_RESERVE preserves an old property of the buddy allocator that existed prior to fragmentation avoidance -- min_free_kbytes worth of pages tended to remain contiguous until the only alternative was to fail the allocation. At the time it was discovered that high-order atomic allocations

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
Hi Marc, thanks for the review comments. On Mon, Aug 24, 2015 at 3:47 PM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Robert, Just came back from the Seattle madness, so picking up patches in reverse order... ;-) On 22/08/15 14:10, Robert Richter wrote: The patch below adds a workaround

[PATCH 11/12] mm, page_alloc: Reserve pageblocks for high-order atomic allocations on demand

2015-08-24 Thread Mel Gorman
High-order watermark checking exists for two reasons -- kswapd high-order awareness and protection for high-order atomic requests. Historically the kernel depended on MIGRATE_RESERVE to preserve min_free_kbytes as high-order free pages for as long as possible. This patch introduces

[PATCH 12/12] mm, page_alloc: Only enforce watermarks for order-0 allocations

2015-08-24 Thread Mel Gorman
The primary purpose of watermarks is to ensure that reclaim can always make forward progress in PF_MEMALLOC context (kswapd and direct reclaim). These assume that order-0 allocations are all that is necessary for forward progress. High-order watermarks serve a different purpose. Kswapd had no

[char-misc 2/2] mei: fix debugfs files leak on error path

2015-08-24 Thread Tomas Winkler
if dbgfs_dir is not set then debugfs_remove_recursive is not called on the error path Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/debugfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/debugfs.c b/drivers/misc/mei/debugfs.c

[PATCH-v3 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-08-24 Thread Vaibhav Hiremath
88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree binding with DT property to enable dual-phase mode on BUCK1. Signed-off-by: Vaibhav Hiremath

Re: [PATCH v2] mm: use only per-device readahead limit

2015-08-24 Thread Konstantin Khlebnikov
On 24.08.2015 14:57, Roman Gushchin wrote: Maximal readahead size is limited now by two values: 1) by global 2Mb constant (MAX_READAHEAD in max_sane_readahead()) 2) by configurable per-device value* (bdi-ra_pages) There are devices, which require custom readahead limit. For instance, for RAIDs

[PATCH 06/10] ALSA: axd: add basic files for sending/receiving axd cmds

2015-08-24 Thread Qais Yousef
These files do the important part of talking with AXD to send and receive data buffers. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi Iwai ti...@suse.com Cc:

[PATCH-v3 0/2] regulator: 88pm800: Add dual phase mode support on BUCK1

2015-08-24 Thread Vaibhav Hiremath
88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A capacity. This patch series is subset of earlier patch-series Link to earlier series -

[PATCH-v3 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-24 Thread Vaibhav Hiremath
88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing 6A capacity. This patch updates the regulator driver to read the respective DT property and enable dual-phase

[PATCH 10/10] ALSA: axd: add Makefile

2015-08-24 Thread Qais Yousef
Now all necessary files are added, allow axd to be selected through Kconfig and compiled. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi Iwai ti...@suse.com Cc:

kernel 3.13-61/62 /cpu1/cpufreq/stats

2015-08-24 Thread Ludwig Petrosyan
Hello we have problem boot kernel 3.13-61/62 on the MTCA crate, some time it boots some time no. In the kernel log we found this problem: [ 16.168871] [ cut here ] [ 16.173513] WARNING: CPU: 0 PID: 4 at

[PATCH 1/3] KVM: make halt_poll_ns per-VCPU

2015-08-24 Thread Wanpeng Li
Change halt_poll_ns into per-VCPU variable, seeded from module parameter, to allow greater flexibility. Signed-off-by: Wanpeng Li wanpeng...@hotmail.com --- include/linux/kvm_host.h | 1 + virt/kvm/kvm_main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/linux/kvm_host.h

[PATCH 3/3] KVM: trace kvm_halt_poll_ns grow/shrink

2015-08-24 Thread Wanpeng Li
Tracepoint for dynamic halt_pool_ns, fired on every potential change. Signed-off-by: Wanpeng Li wanpeng...@hotmail.com --- include/trace/events/kvm.h | 30 ++ virt/kvm/kvm_main.c| 8 2 files changed, 38 insertions(+) diff --git

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Heiko Stuebner
Hi Yakir, Am Montag, 24. August 2015, 20:48:01 schrieb Yakir Yang: 在 08/24/2015 12:20 PM, Krzysztof Kozlowski 写道: On 24.08.2015 11:42, Yakir Yang wrote: Hi Krzysztof, 在 08/23/2015 07:43 PM, Krzysztof Kozlowski 写道: 2015-08-24 8:23 GMT+09:00 Rob Herring robherri...@gmail.com: On Wed,

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Linus Walleij
On Wed, Aug 19, 2015 at 4:51 PM, Andrey Ryabinin ryabinin@gmail.com wrote: On 08/19/2015 03:14 PM, Linus Walleij wrote: Integrator/AP (ARMv5): This one mounted with an ARMv5 ARM926 tile. It boots nicely (but takes forever) with KASan and run all test cases (!) just like for the other

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Qais Yousef
On 08/24/2015 01:49 PM, Thomas Gleixner wrote: On Mon, 24 Aug 2015, Qais Yousef wrote: Some drivers might require to send ipi to other cores. So export it. Which IPIs do you need to send from a driver which are not exposed by the SMP functions already? It's not an SMP IPI. We use GIC to

Re: [PATCH 0/6] fix drivers/staging/android some coding style issues

2015-08-24 Thread Sudip Mukherjee
On Fri, Aug 21, 2015 at 02:13:51PM +0800, Peng Sun wrote: patches based on commit f0359ead9129821e4b3b5486e7837d3001a95574 linux-next next-20150820 you have almost similar subject for all patches in the series and please mention which coding style you have changed. regards sudip -- To

Re: [PATCH] usbnet: Fix two races between usbnet_stop() and the BH

2015-08-24 Thread Bjørn Mork
Eugene Shatokhin eugene.shatok...@rosalab.ru writes: 19.08.2015 15:31, Bjørn Mork пишет: Eugene Shatokhin eugene.shatok...@rosalab.ru writes: The problem is not in the reordering but rather in the fact that dev-flags = 0 is not necessarily atomic w.r.t. clear_bit(EVENT_RX_KILL, dev-flags),

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Marc Zyngier
On 24/08/15 14:02, Qais Yousef wrote: On 08/24/2015 01:49 PM, Thomas Gleixner wrote: On Mon, 24 Aug 2015, Qais Yousef wrote: Some drivers might require to send ipi to other cores. So export it. Which IPIs do you need to send from a driver which are not exposed by the SMP functions already?

Re: [PATCH RFC] serial: 8250: Handle invalid UART state

2015-08-24 Thread Peter Hurley
On 08/19/2015 04:12 PM, california.l.sulli...@intel.com wrote: From: California Sullivan california.l.sulli...@intel.com The debug UART on the Bay Trail is buggy and will sometimes enter a state where there is a Character Timeout interrupt, but the Data Ready bit in the Line Status Register

Re: [RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI

2015-08-24 Thread Franklin S Cooper Jr.
Hi Santosh, All the patches except this one are in linux-next. On 07/22/2015 11:17 AM, santosh shilimkar wrote: On 7/22/2015 5:32 AM, Franklin S Cooper Jr wrote: Add ti,keystone-spi to the compatible field for the SPI node. This new entry insures that the proper prescaler limit is used for

Re: [PATCH RFC v1 0/4] perf: Introduce extended syscall error reporting

2015-08-24 Thread Alexander Shishkin
Ingo Molnar mi...@kernel.org writes: * Peter Zijlstra pet...@infradead.org wrote: On Fri, Jul 24, 2015 at 02:45:55PM +0300, Alexander Shishkin wrote: Hi Peter and Ingo and everybody, Here's my second stab at improving perf's error reporting by attaching arbitrary strings to the

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka vba...@suse.cz wrote: On 08/24/2015 12:17 PM, Konstantin Khlebnikov wrote: I am in the middle of implementing lock on fault this way, but I cannot see how we will hanlde mremap of a lock on fault region. Say we have the following: addr

[PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c

2015-08-24 Thread Masanari Iida
This patch fix following warnings. .//net/core/skbuff.c:407: warning: No description found for parameter 'len' .//net/core/skbuff.c:407: warning: Excess function parameter 'length' description in '__netdev_alloc_skb' .//net/core/skbuff.c:476: warning: No description found for parameter 'len'

Re: [PATCH 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-08-24 Thread Rob Herring
On Wed, Aug 12, 2015 at 7:56 PM, Eric Anholt e...@anholt.net wrote: Signed-off-by: Eric Anholt e...@anholt.net --- .../devicetree/bindings/gpu/brcm,bcm-vc4.txt | 83 ++ 1 file changed, 83 insertions(+) create mode 100644

Re: [PATCH 09/18] mfd: cros_ec: spi: Add OF match table

2015-08-24 Thread Lee Jones
On Thu, 20 Aug 2015, Javier Martinez Canillas wrote: The Documentation/devicetree/bindings/mfd/cros-ec.txt DT binding doc lists google,cros-ec-spi as a compatible string but the corresponding driver does not have an OF match table. Add the table to the driver so the SPI core can do an OF

Re: [PATCH 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-24 Thread Cornelia Huck
On Mon, 24 Aug 2015 11:29:29 +0800 Jason Wang jasow...@redhat.com wrote: On 08/21/2015 05:29 PM, Cornelia Huck wrote: On Fri, 21 Aug 2015 16:03:52 +0800 Jason Wang jasow...@redhat.com wrote: @@ -850,9 +845,15 @@ kvm_assign_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args)

Re: [PATCH] HID: quirks: add QUIRK_NOGET for an other TPV touchscreen

2015-08-24 Thread Jiri Kosina
On Fri, 21 Aug 2015, Benjamin Tissoires wrote: Looks like 0x8882 needs the same quirk than 0x8883. Given that both devices claim they are TPV OpticalTouchScreen rename the 0x8883 to add its PID in the #define. Reported-by: Blaine Lee blaine.j@medtronic.com Signed-off-by: Benjamin

Re: [x86] copy_from{to}_user question

2015-08-24 Thread Jeff Epler
On Mon, Aug 24, 2015 at 03:52:11PM +0800, yalin wang wrote: i am not clear about what is STAC / SMAP ? could you give me a link for understanding ? the first item I found by googling was https://lwn.net/Articles/517251/ Jeff -- To unsubscribe from this list: send the line unsubscribe

[PATCH 02/12] mm, page_alloc: Remove unnecessary recalculations for dirty zone balancing

2015-08-24 Thread Mel Gorman
File-backed pages that will be immediately written are balanced between zones. This heuristic tries to avoid having a single zone filled with recently dirtied pages but the checks are unnecessarily expensive. Move consider_zone_balanced into the alloc_context instead of checking bitmaps multiple

[PATCH 00/12] Remove zonelist cache and high-order watermark checking v3

2015-08-24 Thread Mel Gorman
Changelog since V3 o Covered cases where __GFP_KSWAPD_RECLAIM is needed(vbabka) o Cleaned up trailing references to zlc (vbabka) o Fixed a subtle problem with GFP_TRANSHUGE checks (vbabka) o Split out an unrelated change to its own patch

[PATCH 07/12] mm, page_alloc: Distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd

2015-08-24 Thread Mel Gorman
__GFP_WAIT has been used to identify atomic context in callers that hold spinlocks or are in interrupts. They are expected to be high priority and have access one of two watermarks lower than min which can be referred to as the atomic reserve. __GFP_HIGH users get access to the first lower

[PATCH 04/12] mm, page_alloc: Only check cpusets when one exists that can be mem-controlled

2015-08-24 Thread Mel Gorman
David Rientjes correctly pointed out that the root cpuset may not exclude mems on the system so, even if mounted, there's no need to check or be worried about concurrent change when there is only one cpuset. The three checks for cpusets_enabled() care whether a cpuset exists that can limit

[PATCH 05/12] mm, page_alloc: Remove unecessary recheck of nodemask

2015-08-24 Thread Mel Gorman
An allocation request will either use the given nodemask or the cpuset current tasks mems_allowed. A cpuset retry will recheck the callers nodemask and while it's trivial overhead during an extremely rare operation, also unnecessary. This patch fixes it. Signed-off-by: Mel Gorman

[PATCH 00/10] Add support for img AXD audio hardware decoder

2015-08-24 Thread Qais Yousef
This patch series adds AXD Alsa Compress Offload SoC driver. AXD is an audio hardware based on MIPS architecture that supports decoding, encoding, GEQ, resampling, mixing and synchronisation. At the moment only decoding support is added in hope to add the rest of the functionality on top of that

[PATCH 02/10] dt: add img,axd.txt device tree binding document

2015-08-24 Thread Qais Yousef
Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga...@codeaurora.org Cc: devicet...@vger.kernel.org Cc:

[PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Qais Yousef
Some drivers might require to send ipi to other cores. So export it. This will be used later by AXD driver. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Thomas Gleixner t...@linutronix.de Cc: Jason Cooper ja...@lakedaemon.net Cc: Marc Zyngier marc.zyng...@arm.com Cc:

Re: [PATCH v2] watchdog: sunxi: fix activation of system reset

2015-08-24 Thread Guenter Roeck
On 08/24/2015 02:25 AM, Chen-Yu Tsai wrote: Hi, On Mon, Jul 27, 2015 at 3:32 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sat, Jul 25, 2015 at 08:25:18AM +0200, Francesco Lavra wrote: Commit f2147de33470 (watchdog: sunxi: support parameterized compatible strings) introduced a

Re: [PATCH] staging: fbtft: Removed a space before comma

2015-08-24 Thread Sudip Mukherjee
On Thu, Aug 20, 2015 at 08:57:57PM +0530, Aparna Karuthodi wrote: Removed a space before coma to remove a coding style error detected by checkpatch. The error is given below: drivers/staging/fbtft/fb_ili9340.c:47: ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Aparna

[PATCH v4 05/13] usb: hcd.h: Add OTG to HCD interface

2015-08-24 Thread Roger Quadros
The OTG core will use struct otg_hcd_ops to add/remove the HCD controller. The main purpose of this interface is to avoid directly calling usb_add/remove_hcd() from the OTG core as they wouldn't be defined in the built-in symbol table if CONFIG_USB is m. Signed-off-by: Roger Quadros

[PATCH v4 02/13] usb: otg-fsm: support multiple instances

2015-08-24 Thread Roger Quadros
Move the state_changed variable into struct otg_fsm so that we can support multiple instances. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/common/usb-otg-fsm.c | 10 -- include/linux/usb/otg-fsm.h | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH v4 04/13] otg-fsm: move usb_bus_start_enum into otg-fsm-ops

2015-08-24 Thread Roger Quadros
This is to prevent missing symbol build error if OTG is enabled (built-in) and HCD core (CONFIG_USB) is module. Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Peter Chen peter.c...@freescale.com --- drivers/usb/common/usb-otg-fsm.c | 6 -- drivers/usb/phy/phy-fsl-usb.c| 2 ++

[PATCH v4 03/13] usb: otg-fsm: Prevent build warning VDBG redefined

2015-08-24 Thread Roger Quadros
If usb/otg-fsm.h and usb/composite.h are included together then it results in the build warning [1]. Prevent that by using dev_vdbg() instead. Also get rid of MPC_LOC which doesn't seem to be used by anyone. [1] - warning fixed by this patch: In file included from

[PATCH v4 00/13] USB: OTG/DRD Core functionality

2015-08-24 Thread Roger Quadros
Hi, This series centralizes OTG/Dual-role functionality in the kernel. As of now I've got Dual-role functionality working pretty reliably on dra7-evm and am437x-gp-evm. DWC3 controller and platform related patches will be sent separately. Series is based on Greg's usb-next tree. Changelog:

[PATCH v4 01/13] usb: otg-fsm: Add documentation for struct otg_fsm

2015-08-24 Thread Roger Quadros
struct otg_fsm is the interface to the OTG state machine. Document the input, output and internal state variables. Definations are taken from Table 7-2 and Table 7-4 of the USB OTG EH Specification Rev.2.0 Re-arrange some of the members as per use case for more clarity. Signed-off-by: Roger

Re: [PATCH 1/1] of: to support binding numa node to root subnode(non-bus)

2015-08-24 Thread Rob Herring
+benh On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei thunder.leiz...@huawei.com wrote: If use of_platform_populate to scan dt-nodes and add devices, the subnode of root(such as /smmu), when being scanned and invoke You should have a bus as the sub-node of root rather than devices directly off of

Re: [PATCH 3/3 v4] mm/vmalloc: Cache the vmalloc memory info

2015-08-24 Thread John Stoffel
Ingo == Ingo Molnar mi...@kernel.org writes: Ingo * George Spelvin li...@horizon.com wrote: First, an actual, albeit minor, bug: initializing both vmap_info_gen and vmap_info_cache_gen to 0 marks the cache as valid, which it's not. Ingo Ha! :-) Fixed. vmap_info_gen should be initialized to

Re: [RESEND PATCH] clk: rockchip: disable init state before mmc card initialization

2015-08-24 Thread Shawn Lin
On 2015/8/24 18:01, Heiko Stuebner wrote: Hi Shawn, Am Montag, 24. August 2015, 16:27:43 schrieb Shawn Lin: mmc host controller's IO input/output timing is unpredictable if bootloader execute tuning for HS200 mode. It might make kernel failed to initialize mmc card in identification mode. The

[PATCH] arm: Handle starting up in secure mode

2015-08-24 Thread Christopher Covington
ARM Linux appears to have never been made aware of the ARMv7 security extensions. When CONFIG_ARM_SEC_EXT=y, have it probe for its security state by checking whether CNTFRQ is writeable and potentially make mode changes based on the information. The most features are available from hypervisor

[PATCH 03/12] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-24 Thread Mel Gorman
There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset exists. Signed-off-by: Mel Gorman mgor...@techsingularity.net Acked-by: Christoph Lameter c...@linux.com

[PATCH 1/1] of: to support binding numa node to root subnode(non-bus)

2015-08-24 Thread Zhen Lei
If use of_platform_populate to scan dt-nodes and add devices, the subnode of root(such as /smmu), when being scanned and invoke of_device_add, the ofdev-dev.parent is always equal platform_bus. So that, function set_dev_node will not be called. And in device_add, dev_to_node(parent) always return

Re: [PATCH] i2c: allow specifying separate wakeup interrupt in device tree

2015-08-24 Thread Wolfram Sang
When reviewing V2, I wasn't comfortable with just guessing what the old code means. So, I did some digging and found: https://lkml.org/lkml/2008/8/10/204 Quoting the interesting paragraph from David Brownell: === Better would be to preserve any existing settings:

[PATCH 03/10] ALSA: add AXD Audio Processing IP alsa driver

2015-08-24 Thread Qais Yousef
AXD is Audio Processing IP by Imagination Technologies that can decode multiple file formats and play them back. We use alsa compress offload API to represent our audio driver. This patch adds defs and initialisation files. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood

[PATCH 09/10] ALSA: axd: add alsa compress offload operations

2015-08-24 Thread Qais Yousef
Add implementation of alsa compress offload operations. At the moment we only support playback only. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi Iwai ti...@suse.com Cc:

[PATCH 04/10] ALSA: axd: add fw binary header manipulation files

2015-08-24 Thread Qais Yousef
These files provide functions to get information from the fw binary header. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi Iwai ti...@suse.com Cc: linux-kernel@vger.kernel.org

[PATCH 08/10] ALSA: axd: add low level AXD platform setup files

2015-08-24 Thread Qais Yousef
At the moment AXD runs on MIPS cores only. These files provide basic functionality to prepare AXD f/w to bootstrap itself and do low level interrupt/kick when being initialised from a mips core. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown

[PATCH 05/10] ALSA: axd: add buffers manipulation files

2015-08-24 Thread Qais Yousef
These files support initilising and managing access to the shared buffers area in memory that is used to exchange data between AXD and linux. Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Jaroslav Kysela

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Yakir Yang
Hi Jingoo, 在 08/24/2015 03:40 PM, Jingoo Han 写道: On 2015. 8. 24., at AM 9:43, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: 2015-08-24 8:23 GMT+09:00 Rob Herring robherri...@gmail.com: On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang y...@rock-chips.com wrote: Analogix dp driver is split

Re: [PATCH 3/3 v5] mm/vmalloc: Cache the vmalloc memory info

2015-08-24 Thread George Spelvin
(I hope I'm not annoying you by bikeshedding this too much, although I think this is improving.) You've sort of re-invented spinlocks, but after thinking a bit, it all works. Rather than using a single word, which is incremented to an odd number at the start of an update and an even number at

Re: [PATCH 02/10] dt: add img,axd.txt device tree binding document

2015-08-24 Thread Mark Rutland
On Mon, Aug 24, 2015 at 01:39:11PM +0100, Qais Yousef wrote: Signed-off-by: Qais Yousef qais.you...@imgtec.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
On Mon, Aug 24, 2015 at 6:15 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 24/08/15 13:30, Ganapatrao Kulkarni wrote: Hi Marc, thanks for the review comments. On Mon, Aug 24, 2015 at 3:47 PM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Robert, Just came back from the Seattle madness, so

Re: [PATCH] mm: mmap: Check all failures before set values

2015-08-24 Thread Chen Gang
On 8/24/15 19:32, Michal Hocko wrote: On Mon 24-08-15 00:59:39, gang.chen.5...@qq.com wrote: From: Chen Gang gang.chen.5...@gmail.com When failure occurs and return, vma-vm_pgoff is already set, which is not a good idea. Why? The vma is not inserted anywhere and the failure path is supposed

Re: [PATCH 1/3] Docs: dt: add generic MSI bindings

2015-08-24 Thread Rob Herring
On Mon, Aug 24, 2015 at 5:17 AM, Mark Rutland mark.rutl...@arm.com wrote: On Wed, Aug 05, 2015 at 05:51:20PM +0100, Mark Rutland wrote: Rob, Do you have any objections to this, or are you happy to take this patch? There's a user of this binding (the GICv3 ITS) queued for v4.3 already in the

  1   2   3   4   5   6   7   8   9   10   >