Re: [PATCH v11 5/9] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-09-18 Thread Tony Lindgren
* Daniel Thompson daniel.thomp...@linaro.org [140916 16:58]: The omap1's debug-macro.S is similar to the generic 8250 code. Compared to the 8520 code the omap1 macro automatically determines what UART to use based on breadcrumbs left by the bootloader and automatically copes with the eccentric

Re: [RFC] ARM: edma: unconditionally ack the error interrupt

2014-09-18 Thread Sebastian Andrzej Siewior
* Peter Ujfalusi | 2014-09-18 12:42:24 [+0300]: My hunch on what could be causing this that we might have unhandled dma event and another comes. This will flag the EDMA_EMR register. Any change in this register will assert error interrupt which can only be cleared by writing to EDMA_EMRC

Re: [PATCH] i2c designware add support of I2C standard mode

2014-09-18 Thread atull
On Wed, 20 Aug 2014, Romain Baeriswyl wrote: From: Romain Baeriswyl romain.baeris...@abilis.com Some legacy devices support ony I2C standard mode at 100kHz. This patch allows to select the standard mode through the DTS with the use of the existing clock-frequency parameter. When

Re: [PATCH] cgroup: fix unbalanced locking

2014-09-18 Thread Cong Wang
On Thu, Sep 18, 2014 at 2:28 AM, Zefan Li lize...@huawei.com wrote: cgroup_pidlist_start() holds cgrp-pidlist_mutex and then calls pidlist_array_load(), and cgroup_pidlist_stop() releases the mutex. It is wrong that we release the mutex in the failure path in pidlist_array_load(), because

Re: [PATCH v2 4/4] usb: hub: rename khubd to hub_wq in documentation and comments

2014-09-18 Thread Petr Mládek
On Thu 18-09-14 10:24:23, Alan Stern wrote: On Thu, 18 Sep 2014, Tejun Heo wrote: Hello, Alan, Petr. On Wed, Sep 17, 2014 at 01:36:26PM -0400, Alan Stern wrote: - /* If khubd ever becomes multithreaded, this will need a lock */ + /* If hub_wq ever becomes

[PATCH] IIO: add si701x driver

2014-09-18 Thread David Barksdale
This patch adds support to the Industrial IO subsystem for the Silicon Labs Si701x/2x Relative Humidity and Temperature Sensors. Website: http://www.silabs.com/products/sensors/humidity-sensors/Pages/si7013-20-21.aspx These are i2c devices which measure relative humidity and temperature and all

Re: [PATCH] ARM: at91/dt: at91sam9m10g45ek add rtc node

2014-09-18 Thread Nicolas Ferre
On 02/09/2014 12:52, Erik van Luijk : Signed-off-by: Erik van Luijk evanlu...@interact.nl Acked-by: Nicolas Ferre nicolas.fe...@atmel.com and added to the at91-3.18-dt3 branch. I also sent your remarks to the Documentation department in Atmel: thanks a lot for your help. ---

Re: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages

2014-09-18 Thread Olaf Hering
On Tue, Sep 02, K. Y. Srinivasan wrote: Get rid of the warning messages since they will clutter up various system logs and are of questionable value to the end user. For debugging purposes, this information can be gotten by setting the scsi log level appropriately. Signed-off-by: K. Y.

Re: [PATCH 2/2] blk-mq: remove unnecessary blk_clear_rq_complete()

2014-09-18 Thread Christoph Hellwig
On Thu, Sep 18, 2014 at 09:33:35AM +0800, Ming Lei wrote: Why yo you think it's not nessecary? The request is not in the drivers The COMPLETED flag will be cleared in blk_mq_start_request(), so it needn't to be cleared here, and it is a bit early and might cause a tiny race window.

Re: [PATCH v2 4/4] usb: hub: rename khubd to hub_wq in documentation and comments

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 06:15:02PM +0200, Petr Mládek wrote: The easiest solution would be to allocate the work queue with the flag WQ_UNBOUND and max_active = 1. It will force serialization of all work items. Please use alloc_ordered_workqueue() for that purpose. WQ_UNBOUND + max_active == 1

Re: [PATCH] cgroup: fix unbalanced locking

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 05:28:46PM +0800, Zefan Li wrote: cgroup_pidlist_start() holds cgrp-pidlist_mutex and then calls pidlist_array_load(), and cgroup_pidlist_stop() releases the mutex. It is wrong that we release the mutex in the failure path in pidlist_array_load(), because

Re: [PATCH] scsi-mq: fix hw queue hang caused by timeout

2014-09-18 Thread Christoph Hellwig
On Thu, Sep 18, 2014 at 11:59:10PM +0800, Ming Lei wrote: If there are two requests or more timed out, the dispatch queue is put into stopped state and never be recoverd, and there is no such problem in non-mq mode. This patch trys to recover the stopped queue when the queue becomes unbusy,

Re: [PATCH] mmc: don't request CD IRQ until mmc_start_host()

2014-09-18 Thread Stephen Warren
On 09/17/2014 11:25 PM, Adrian Hunter wrote: On 09/17/2014 10:57 PM, Stephen Warren wrote: On 09/17/2014 01:55 PM, Ulf Hansson wrote: On 12 September 2014 19:18, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com As soon as the CD IRQ is requested, it can

[PATCH v3 1/2] KVM: x86: count actual tlb flushes

2014-09-18 Thread Liang Chen
From: Radim Krčmář rkrc...@redhat.com - we count KVM_REQ_TLB_FLUSH requests, not actual flushes (KVM can have multiple requests for one flush) - flushes from kvm_flush_remote_tlbs aren't counted - it's easy to make a direct request by mistake Solve these by postponing the counting to

[PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-18 Thread Liang Chen
A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen liangchen.li...@gmail.com --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/mmu.c |

[PATCH v3 0/2] KVM: count actual tlb flushes

2014-09-18 Thread Liang Chen
* Instead of counting the number of coalesced flush requests, we count the actual tlb flushes. * Flushes from kvm_flush_remote_tlbs will also be counted. * Freeing the namespace a bit by replaces kvm_mmu_flush_tlb() with kvm_make_request() again. --- v2 - v3: * split the patch into a series

Re: [PATCH] x86: update memory map about hypervisor-reserved area

2014-09-18 Thread Andrey Ryabinin
2014-09-18 19:46 GMT+04:00 Dave Hansen d...@sr71.net: From: Dave Hansen dave.han...@linux.intel.com Peter Anvin says: 0x8800 is the lowest usable address because we have agreed to leave 0x8000-0x8800 for the hypervisor or other non-OS uses. Let's call

Re: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages

2014-09-18 Thread Christoph Hellwig
On Thu, Sep 18, 2014 at 01:50:17PM +0200, Olaf Hering wrote: On Wed, Sep 17, Christoph Hellwig wrote: Also the two patches at http://thread.gmane.org/gmane.linux.drivers.driver-project.devel/56242/ Wasnt the outcome that this was a bad idea? Or at least doing it globally is bad. In any

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread leroy christophe
Le 18/09/2014 17:15, Joakim Tjernlund a écrit : Christophe Leroy christophe.le...@c-s.fr wrote on 2014/09/17 18:36:57: Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere else. Handling can be done directly in InstructionTLBError Exception.

Re: [PATCH] mmc: don't request CD IRQ until mmc_start_host()

2014-09-18 Thread Stephen Warren
On 09/18/2014 12:49 AM, Adrian Hunter wrote: On 09/18/2014 08:25 AM, Adrian Hunter wrote: On 09/17/2014 10:57 PM, Stephen Warren wrote: On 09/17/2014 01:55 PM, Ulf Hansson wrote: On 12 September 2014 19:18, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com

[PATCH] net/netfilter/x_tables.c: use __seq_open_private()

2014-09-18 Thread Rob Jones
Reduce boilerplate code by using __seq_open_private() instead of seq_open() in xt_match_open() and xt_target_open(). Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- This patch uses an existing variant of seq_open() to reduce the kernel code size. The only significant variation from the

Re: [PATCH 5/8] arm: mach-omap2: Convert pr_warning to pr_warn

2014-09-18 Thread Tony Lindgren
* Joe Perches j...@perches.com [140913 11:32]: Use the more common pr_warn. Other miscellanea: o Realign arguments Thanks I'll apply this into omap-for-v3.18/cleanup. Regards, Tony -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2/7] test: add firmware_class loader test

2014-09-18 Thread Kees Cook
On Wed, Sep 17, 2014 at 6:51 PM, Sasha Levin sasha.le...@oracle.com wrote: On 07/14/2014 05:38 PM, Kees Cook wrote: This provides a simple interface to trigger the firmware_class loader to test built-in, filesystem, and user helper modes. Additionally adds tests via the new interface to the

Re: [PATCH v2] Input: joystick - Use ktime for measuring timing

2014-09-18 Thread Dmitry Torokhov
On Thu, Sep 18, 2014 at 09:15:44AM +0200, Takashi Iwai wrote: At Wed, 17 Sep 2014 21:23:37 +0200, Andreas Mohr wrote: Hi, On Wed, Sep 10, 2014 at 05:57:17PM +0200, Takashi Iwai wrote: The current codes in gameport and analog joystick drivers for the time accounting have a

Re: [PATCH] ARM: dts: DRA7: Add PMU nodes

2014-09-18 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140917 07:26]: On 08:39-20140903, Nishanth Menon wrote: On 08/19/2014 08:54 AM, Nishanth Menon wrote: From: Lucas Weaver l-wea...@ti.com DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for

RE: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages

2014-09-18 Thread KY Srinivasan
-Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Thursday, September 18, 2014 9:43 AM To: Olaf Hering Cc: KY Srinivasan; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; jbottom...@parallels.com; linux- s...@vger.kernel.org Subject: Re:

Re: [RFC/PATCH v2 02/10] x86_64: add KASan support

2014-09-18 Thread Sasha Levin
On 09/11/2014 07:51 AM, Andrey Ryabinin wrote: On 09/11/2014 08:29 AM, Sasha Levin wrote: On 09/11/2014 12:26 AM, H. Peter Anvin wrote: Except you just broke PVop kernels. So is this why v2 refuses to boot on my KVM guest? (was digging into that before I send a mail out). Maybe

Re: [PATCH v5 1/4] thermal: rockchip: add driver for Thermal

2014-09-18 Thread Dmitry Torokhov
Hi Caesar, On Thu, Sep 18, 2014 at 04:31:24PM +0800, Caesar Wang wrote: Dear Dmitry, 在 2014年09月18日 01:02, Dmitry Torokhov 写道: Hi Caesar, On Wed, Sep 17, 2014 at 11:59:10AM +0800, Caesar Wang wrote: +{ + int i; + + for (i = 0; i ARRAY_SIZE(v2_code_table) - 1; i++) { +

Re: [PATCH] scsi-mq: fix hw queue hang caused by timeout

2014-09-18 Thread Jens Axboe
On 2014-09-18 10:35, Christoph Hellwig wrote: On Thu, Sep 18, 2014 at 11:59:10PM +0800, Ming Lei wrote: If there are two requests or more timed out, the dispatch queue is put into stopped state and never be recoverd, and there is no such problem in non-mq mode. This patch trys to recover the

[PATCH 0/2] perf kvm stat live: Copy events

2014-09-18 Thread Alexander Yarygin
Hello, This is a second attempt to fix 'perf kvm stat live' crash when it tries to parse events that have been already overwritten by the kernel. Previous thread: https://lkml.org/lkml/2014/9/12/450 Patches - 1/2 is patch by David Ahern (https://lkml.org/lkml/2013/9/6/388) rebased to the

[PATCH 2/2] perf kvm stat live: Enable events copying

2014-09-18 Thread Alexander Yarygin
Process of analyzing events caused by 2 functions: mmap_read() and finished_round(). During mmap_read(), perf receives events from shared memory, queues their pointers for further processing in finished_round() and notifies the kernel that the events have been processed. By the time when

Re: [PATCH v2 3/6] hw_random: use reference counts on each struct hwrng.

2014-09-18 Thread Amos Kong
On Thu, Sep 18, 2014 at 08:37:44PM +0800, Amos Kong wrote: From: Rusty Russell ru...@rustcorp.com.au current_rng holds one reference, and we bump it every time we want to do a read from it. This means we only hold the rng_mutex to grab or drop a reference, so accessing

[PATCH 1/2] perf session: Add option to copy events when queueing

2014-09-18 Thread Alexander Yarygin
From: David Ahern dsah...@gmail.com When processing events the session code has an ordered samples queue which is used to time-sort events coming in across multiple mmaps. At a later point in time samples on the queue are flushed up to some timestamp at which point the event is actually

Re: match_token weird behavior

2014-09-18 Thread Steve French
On Wed, Sep 17, 2014 at 2:05 PM, Steve French smfre...@gmail.com wrote: Looking at more examples, some of which are much larger match tables maybe it has to do with how the final entry is defined. In this example the NULL match is explicitly stated. static const match_table_t

Re: linux-next: manual merge of the usb-gadget tree with the vfs tree

2014-09-18 Thread Felipe Balbi
Hi, On Wed, Sep 17, 2014 at 10:34:00AM -0500, Felipe Balbi wrote: On Wed, Sep 17, 2014 at 04:16:58PM +1000, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/gadget/function/f_fs.c between commit 8322215aa91c (f_fs: I

Re: [PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-18 Thread Dmitry Torokhov
On Thu, Sep 18, 2014 at 04:19:26PM +0200, Tomeu Vizoso wrote: On 18 September 2014 15:25, Caesar Wang caesar.w...@rock-chips.com wrote: Tomeu, 在 2014年09月18日 17:27, Tomeu Vizoso 写道: On 17 September 2014 05:59, Caesar Wang caesar.w...@rock-chips.com wrote: This add the necessary

[GIT PULL] at91: dt for 3.18 #3

2014-09-18 Thread Nicolas Ferre
Arnd, Olof, Kevin, A third DT update for AT91 during this 3.18 dev. phase. Interesting updates and also new features used: the NFC clock and the changes in pinctrl new the driver updates that are already queued in mtd and pinctrl trees. No build dependency but the NFC clock need the modification

Re: sched: NULL ptr deref in update_blocked_averages

2014-09-18 Thread bsegall
Sasha Levin sasha.le...@oracle.com writes: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 688.177091] BUG: unable to handle kernel NULL pointer dereference at 00e0 [ 688.184049] IP:

Re: [RFC] arm: Handle starting up in secure mode

2014-09-18 Thread Catalin Marinas
On Tue, Sep 16, 2014 at 10:09:16PM +0100, Christopher Covington wrote: diff --git a/arch/arm/kernel/hyp-stub.S b/arch/arm/kernel/hyp-stub.S index 2a55373..36d1a9c 100644 --- a/arch/arm/kernel/hyp-stub.S +++ b/arch/arm/kernel/hyp-stub.S @@ -20,6 +20,7 @@ #include linux/linkage.h #include

Re: [PATCH v2] cgroup: use a per-cgroup work for release agent

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 04:06:19PM +0800, Zefan Li wrote: Instead of using a global work to schedule release agent on removable cgroups, we change to use a per-cgroup work to do this, which makes the code much simpler. v2: use a dedicated work instead of reusing css-destroy_work. (Tejun)

Re: [PATCH v2 4/4] usb: hub: rename khubd to hub_wq in documentation and comments

2014-09-18 Thread Alan Stern
On Thu, 18 Sep 2014, Petr [iso-8859-1] Ml�dek wrote: This routine can be called from multiple work_structs, because a USB bus can have multiple hubs. The easiest solution would be to allocate the work queue with the flag WQ_UNBOUND and max_active = 1. It will force serialization of all

Re: [PATCH 2/2] cpuset: simplify proc_cpuset_show()

2014-09-18 Thread Tejun Heo
On Thu, Sep 18, 2014 at 04:03:36PM +0800, Zefan Li wrote: Use the ONE macro instead of REG, and we can simplify proc_cpuset_show(). Signed-off-by: Zefan Li lize...@huawei.com Applied 1-2 to cgroup/for-3.18. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe

Re: [v2 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-18 Thread Oleg Nesterov
On 09/18, Roman Peniaev wrote: If my final understanding is right (please, correct me if I am still wrong), following reordering can happen, but we are fine with it: wake_up_rootfs wait_event LOCK check the list, but empty set CONDITION reordered UNLOCK Yes,

Re: [PATCH V2 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Lee Jones
On Thu, 18 Sep 2014, Nishanth Menon wrote: On 09/08/2014 10:41 AM, Nishanth Menon wrote: On 23:13-20140905, Thomas Gleixner wrote: On Fri, 5 Sep 2014, Nishanth Menon wrote: + if (!palmas-wakeirq) + goto no_wake_irq; + + ret = devm_request_irq(palmas-dev, palmas-wakeirq, +

Re: [PATCH v2 1/2] sched: let the scheduler see CPU idle states

2014-09-18 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 11:32:09AM -0400, Nicolas Pitre wrote: From: Daniel Lezcano daniel.lezc...@linaro.org When the cpu enters idle, it stores the cpuidle state pointer in its struct rq instance which in turn could be used to make a better decision when balancing tasks. As soon as the

[PATCH 1/1] fs/cachefiles: fix sparse context imbalance warning

2014-09-18 Thread Fabian Frederick
Annotate cachefiles_uncache_page to avoid the following sparse warning: fs/cachefiles/rdwr.c:972:20: warning: context imbalance in 'cachefiles_uncache_page' - unexpected unlock Signed-off-by: Fabian Frederick f...@skynet.be --- fs/cachefiles/rdwr.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v2 1/2] sched: let the scheduler see CPU idle states

2014-09-18 Thread Paul E. McKenney
On Thu, Sep 18, 2014 at 10:37:33AM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 11:32:09AM -0400, Nicolas Pitre wrote: From: Daniel Lezcano daniel.lezc...@linaro.org When the cpu enters idle, it stores the cpuidle state pointer in its struct rq instance which in turn could be

Re: [PATCH] IIO: add si701x driver

2014-09-18 Thread Peter Meerwald
This patch adds support to the Industrial IO subsystem for the Silicon Labs Si701x/2x Relative Humidity and Temperature Sensors. the name si701x is problematic; the si7015 for example is supported by the si7005 driver how about calling the driver si7020 and stating that it also supports

Re: [v3 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-18 Thread Oleg Nesterov
On 09/18, Roman Pen wrote: +void wait_for_rootfs(void) +{ + /* Avoid waiting for ourselves */ + if (WARN_ON(is_global_init(current))) + return; + else + wait_event(rootfs_waitq, rootfs_mounted); +} Ah, wait, the is_global_init() check doesn't look

Re: [PATCH] ARM: dts: Add initial DTS file for Sony Xperia Z1 phone

2014-09-18 Thread Bjorn Andersson
On Tue 16 Sep 16:14 PDT 2014, Tim Bird wrote: On 09/16/2014 04:08 PM, Kumar Gala wrote: On Sep 16, 2014, at 4:03 PM, Tim Bird tim.b...@sonymobile.com wrote: [..] + qcom,msm-id = 126 8 0, 185 8 0, 186 8 0; We don’t have qcom,msm-id upstream at this time. Do I just leave this

Re: [PATCH v3 2/3] power: reset: imx-snvs-poweroff: add power off driver for i.mx6

2014-09-18 Thread Mark Rutland
On Thu, Sep 18, 2014 at 03:21:27AM +0100, Robin Gong wrote: On Wed, Sep 17, 2014 at 06:52:44PM +0100, Mark Rutland wrote: On Wed, Sep 17, 2014 at 10:57:59AM +0100, Robin Gong wrote: This driver register pm_power_off with snvs power off function. If your boards NOT use PMIC_ON_REQ to turn

Re: [PATCH] regmap: fix NULL pointer dereference in regmap_get_val_endian

2014-09-18 Thread Mark Brown
On Thu, Sep 18, 2014 at 03:12:20PM +0530, Pankaj Dubey wrote: Recents commits for getting reg endianness causing NULL pointer dereference if dev is passed NULL in regmap_init_mmio. This patch fixes this issue, and allows to parse reg endianness only if dev and dev-of_node exist. Applied,

Re: linux-next: manual merge of the usb-gadget tree with the vfs tree

2014-09-18 Thread Al Viro
On Thu, Sep 18, 2014 at 12:12:26PM -0500, Felipe Balbi wrote: Hi, On Wed, Sep 17, 2014 at 10:34:00AM -0500, Felipe Balbi wrote: On Wed, Sep 17, 2014 at 04:16:58PM +1000, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in

Re: [PATCH 1/2] regulator: fan53555: Fixup report wrong vendor message

2014-09-18 Thread Mark Brown
On Thu, Sep 18, 2014 at 09:48:48PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Applied both, thanks. signature.asc Description: Digital signature

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread Joakim Tjernlund
leroy christophe christophe.le...@c-s.fr wrote on 2014/09/18 18:42:14: Le 18/09/2014 17:15, Joakim Tjernlund a écrit : Christophe Leroy christophe.le...@c-s.fr wrote on 2014/09/17 18:36:57: Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere

[PATCH 1/1] fs/reiserfs/journal.c: fix sparse context imbalance warning

2014-09-18 Thread Fabian Frederick
Merge conditional unlock/lock in the same condition to avoid sparse warning: fs/reiserfs/journal.c:703:36: warning: context imbalance in 'add_to_chunk' - unexpected unlock Cc: reiserfs-de...@vger.kernel.org Cc: Jeff Mahoney je...@suse.com Cc: Andrew Morton a...@linux-foundation.org

Re: [PATCH v3 2/2] KVM: x86: directly use kvm_make_request again

2014-09-18 Thread Radim Krčmář
2014-09-18 12:38-0400, Liang Chen: A one-line wrapper around kvm_make_request does not seem particularly useful. Replace kvm_mmu_flush_tlb() with kvm_make_request() again to free the namespace a bit. Signed-off-by: Liang Chen liangchen.li...@gmail.com --- Reviewed-by: Radim Krčmář

Re: [PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Mark Brown
On Thu, Sep 18, 2014 at 12:57:47PM +0530, Kiran Padwal wrote: Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Applied, thanks. signature.asc Description: Digital signature

Re: linux-next: manual merge of the usb-gadget tree with the vfs tree

2014-09-18 Thread Felipe Balbi
Hi, On Thu, Sep 18, 2014 at 07:09:21PM +0100, Al Viro wrote: Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/gadget/function/f_fs.c between commit 8322215aa91c (f_fs: I can't find this commit on linux-usb. In fact, googling for it the only reference

Re: [PATCH v13 net-next 07/11] bpf: verifier (add ability to receive verification log)

2014-09-18 Thread Daniel Borkmann
On 09/18/2014 05:24 PM, Alexei Starovoitov wrote: ... solve or not. If we decide to solve it, we need to have a plan to solve it all the way. Partial fix for size of bpf_attr is not a plan. It's something that is not addressing the problem completely. Little bit of help is not useful for

Re: BUG in ext4_setattr

2014-09-18 Thread Theodore Ts'o
On Thu, Sep 18, 2014 at 12:01:00PM -0400, Pranith Kumar wrote: The following splat occurs in the latest rc5+ kernel. I am not sure this is enough information. Please let me know what options to enable to get more meaningful info. This is a PowerMac, apparently. I don't know why we can get

[PATCH] firmware_class: make sure fw requests contain a name

2014-09-18 Thread Kees Cook
An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejected. The warning was visible via the test_firmware.ko module interface: echo -ne \x00 /sys/devices/virtual/misc/test_firmware/trigger_request Reported-by: Sasha Levin

[PATCH 1/1 linux-next] jbd2: Fix sparse context imbalance warning

2014-09-18 Thread Fabian Frederick
spin_unlock after spin_lock only. This fixes the following sparse warning: fs/jbd2/transaction.c:1102:20: warning: context imbalance in 'jbd2_journal_get_create_access' - different lock contexts for basic block Signed-off-by: Fabian Frederick f...@skynet.be --- fs/jbd2/transaction.c | 3 ++- 1

[PATCH 0/5] MN10300: Remove dead code depending on DEPRECATED

2014-09-18 Thread Paul Bolle
0) Raised before in https://www.redhat.com/archives/linux-am33-list/2011-November/msg7.html . 1) Discussed, at length, in https://lkml.org/lkml/2014/2/9/164 . 2) Compile tested only (on top of next-20140918, using arch/mn10300/configs/asb2303_defconfig). 3) Logically this should be one

[PATCH 1/5] MN10300: Remove Kconfig symbol GDBSTUB

2014-09-18 Thread Paul Bolle
Commit 1a8d59e529d0 (MN10300: Deprecate gdbstub) made the Kconfig symbol GDBSTUB depend on DEPRECATED. Since that Kconfig symbol doesn't exist, this Kconfig entry has been dead since v2.6.39. Remove it. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- arch/mn10300/Kconfig.debug | 15

[PATCH 2/5] MN10300: Remove Kconfig symbols depending on GDBSTUB

2014-09-18 Thread Paul Bolle
The Kconfig symbol GDBSTUB was removed. Remove all symbols (indirectly) depending on it. And remove it as an (optional) dependency for the symbol KERNEL_DEBUGGER. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- arch/mn10300/Kconfig.debug | 105 + 1

Re: [PATCH v2 1/2] sched: let the scheduler see CPU idle states

2014-09-18 Thread Nicolas Pitre
On Thu, 18 Sep 2014, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 11:32:09AM -0400, Nicolas Pitre wrote: From: Daniel Lezcano daniel.lezc...@linaro.org When the cpu enters idle, it stores the cpuidle state pointer in its struct rq instance which in turn could be used to make a better

[PATCH 3/5] MN10300: Remove all checks for CONFIG_GDBSTUB

2014-09-18 Thread Paul Bolle
The Kconfig symbol GDBSTUB was removed. Now remove the checks for its macro and all dead code hidden behind them. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- arch/mn10300/kernel/Makefile |1 - arch/mn10300/kernel/entry.S| 21 - arch/mn10300/kernel/gdb-low.S

[PATCH 4/5] MN10300: Remove checks for GDBSTUB related Kconfig macros

2014-09-18 Thread Paul Bolle
All Kconfig symbols (indirectly) depending on GDBSTUB were removed. Now remove the checks for their macros and all dead code hidden behind them. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- arch/mn10300/boot/compressed/misc.c | 9 - arch/mn10300/include/asm/gdb-stub.h

[PATCH 5/5] MN10300: Remove remnants of gdbstub

2014-09-18 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- arch/mn10300/Kconfig | 6 +- arch/mn10300/include/asm/exceptions.h | 7 -- arch/mn10300/include/asm/gdb-stub.h| 161 - arch/mn10300/kernel/mn10300-serial.c | 19 +---

Re: [PATCH 1/2] devicetree: cadence_ttc: Document binding for timer width

2014-09-18 Thread Mark Rutland
On Thu, Sep 18, 2014 at 06:07:40AM +0100, Michal Simek wrote: On 09/17/2014 06:17 PM, Mark Rutland wrote: On Wed, Sep 17, 2014 at 03:30:49PM +0100, Michal Simek wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Modern TTC implementations can extend the timer width to 32 bit.

[PATCH 1/1] jffs2: fix sparse warning: unexpected unlock

2014-09-18 Thread Fabian Frederick
fs/jffs2/summary.c:846:5: warning: context imbalance in 'jffs2_sum_write_sumnode' - unexpected unlock Signed-off-by: Fabian Frederick f...@skynet.be --- fs/jffs2/summary.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c index c522d09..a0bac7b 100644

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread christophe leroy
Le 18/09/2014 18:42, leroy christophe a écrit : Le 18/09/2014 17:15, Joakim Tjernlund a écrit : Christophe Leroy christophe.le...@c-s.fr wrote on 2014/09/17 18:36:57: Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere else. Handling can be done

Re: [PATCH 1/2] perf session: Add option to copy events when queueing

2014-09-18 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 18, 2014 at 09:07:38PM +0400, Alexander Yarygin escreveu: From: David Ahern dsah...@gmail.com When processing events the session code has an ordered samples queue which is used to time-sort events coming in across multiple mmaps. At a later point in time samples on the queue are

Re: [PATCH] IIO: add si701x driver

2014-09-18 Thread David Barksdale
On 09/18/2014 12:43 PM, Peter Meerwald wrote: This patch adds support to the Industrial IO subsystem for the Silicon Labs Si701x/2x Relative Humidity and Temperature Sensors. the name si701x is problematic; the si7015 for example is supported by the si7005 driver how about calling the

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread Scott Wood
On Thu, 2014-09-18 at 20:52 +0200, christophe leroy wrote: Le 18/09/2014 18:42, leroy christophe a écrit : Le 18/09/2014 17:15, Joakim Tjernlund a écrit : Christophe Leroy christophe.le...@c-s.fr wrote on 2014/09/17 18:36:57: Exception InstructionAccess does not exist on MPC8xx. No need

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-18 Thread Darrick J. Wong
On Wed, Sep 17, 2014 at 10:20:47PM +, Milosz Tanski wrote: New syscalls with an extra flag argument. For now all flags except for 0 are not supported. Signed-off-by: Milosz Tanski mil...@adfin.com --- fs/read_write.c | 80 +--

Re: [PATCH v2 0/5] clk: dt: bindings for mux, divider gate clocks

2014-09-18 Thread Mike Turquette
Quoting Florian Fainelli (2014-08-15 07:55:11) Mike Turquette mturquette at linaro.org writes: Testing was done on OMAP4460 Panda ES using the experimental out-of-tree OMAP CCF conversion patches posted recently. Heiko, enough changed here such that I did not keep your Acked-by's and

Re: [PATCH] IIO: add si701x driver

2014-09-18 Thread Peter Meerwald
This patch adds support to the Industrial IO subsystem for the Silicon Labs Si701x/2x Relative Humidity and Temperature Sensors. the name si701x is problematic; the si7015 for example is supported by the si7005 driver how about calling the driver si7020 and stating that it

[PATCH V3 1/3] Documentation: dt-bindings: mfd: palmas: Fix example style of i2c peripheral

2014-09-18 Thread Nishanth Menon
Use device@address as name for device nodes. Suggested-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Nishanth Menon n...@ti.com --- V3: no change V2: http://marc.info/?l=linux-kernelm=140995036518562w=2 Documentation/devicetree/bindings/mfd/palmas.txt |2 +- 1 file changed, 1

[PATCH V3 2/3] Documentation: dt-bindings: mfd: palmas: document optional wakeup IRQ

2014-09-18 Thread Nishanth Menon
With the recent pinctrl-single changes, SoCs such as OMAP family can treat wake-up events from deeper low power states as interrupts. This is usable when the wakeup from deeper low power states is triggered by a different hardware mechanism tied to pinctrl compared to the routine interrupt

[PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
With the recent pinctrl-single changes, omaps can treat wake-up events from deeper power states as interrupts. This is to handle the case where the system needs two interrupt sources when SoC is in deep sleep(1 to exit from deep power mode such as sleep, and other from the module handling the

[PATCH V3 0/3] mfd: palmas: add optional wakeup irq

2014-09-18 Thread Nishanth Menon
Hi, V3 update for the previous series: Changes in V3 (from review updates): - Allow driver to function even if wakeirq fails - Fix irq flags V2: http://marc.info/?l=linux-kernelm=140995041418575w=2 v1: https://patchwork.kernel.org/patch/4743321/ Nishanth Menon (3):

Re: [PATCH v3 03/21] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-09-18 Thread christophe leroy
Le 18/09/2014 20:12, Joakim Tjernlund a écrit : leroy christophe christophe.le...@c-s.fr wrote on 2014/09/18 18:42:14: Le 18/09/2014 17:15, Joakim Tjernlund a écrit : Christophe Leroy christophe.le...@c-s.fr wrote on 2014/09/17 18:36:57: Exception InstructionAccess does not exist on

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-18 Thread Andy Lutomirski
On 09/18/2014 06:52 AM, Henrique de Moraes Holschuh wrote: The new Haswell microcode update[1] removes the hle (hardware lock elision) processor capability. And it is not cosmetic, either: Intel TSX opcodes will cause an illegal opcode trap after the microcode update[2]. This means

Re: [PATCH] nilfs2: fix data loss with mmap()

2014-09-18 Thread Andrew Morton
On Thu, 18 Sep 2014 23:56:25 +0900 Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp wrote: From: Andreas Rohner andreas.roh...@gmx.net This bug leads to reproducible silent data loss, despite the use of msync(), sync() and a clean unmount of the file system. It is easily reproducible with the

[PATCH v6 2/8] ARM: expand fixmap region to 3MB

2014-09-18 Thread Kees Cook
From: Rob Herring r...@kernel.org With commit a05e54c103b0 (ARM: 8031/2: change fixmap mapping region to support 32 CPUs), the fixmap region was expanded to 2MB, but it precluded any other uses of the fixmap region. In order to support other uses the fixmap region needs to be expanded beyond 2MB.

[PATCH v6 6/8] arm: kgdb: Handle read-only text / modules

2014-09-18 Thread Kees Cook
From: Doug Anderson diand...@chromium.org Handle the case where someone has set the text segment of the kernel as read-only by using the newly introduced patch mechanism. Signed-off-by: Doug Anderson diand...@chromium.org [kees: switched structure size check to BUILD_BUG_ON (sboyd)]

[PATCH v6 1/8] arm: use generic fixmap.h

2014-09-18 Thread Kees Cook
From: Mark Salter msal...@redhat.com ARM is different from other architectures in that fixmap pages are indexed with a positive offset from FIXADDR_START. Other architectures index with a negative offset from FIXADDR_TOP. In order to use the generic fixmap.h definitions, this patch redefines

[PATCH v6 0/8] arm: support CONFIG_RODATA

2014-09-18 Thread Kees Cook
This is a series of patches to support CONFIG_RODATA on ARM, so that the kernel text is RO, and non-text sections default to NX. To support on-the-fly kernel text patching (via ftrace, kprobes, etc), fixmap support has been finalized based on several versions of various patches that are floating

[PATCH v6 5/8] ARM: kexec: Make .text R/W in machine_kexec

2014-09-18 Thread Kees Cook
From: Nikolay Borisov nikolay.bori...@arm.com With the introduction of Kees Cook's patch to make the kernel .text read-only the existing method by which kexec works got broken since it directly pokes some values in the template code, which resides in the .text section. The current patch changes

[PATCH v6 3/8] arm: fixmap: implement __set_fixmap()

2014-09-18 Thread Kees Cook
This is used from set_fixmap() and clear_fixmap() via asm-generic/fixmap.h. Also makes sure that the fixmap allocation fits into the expected range. Based on patch by Rabin Vincent. Signed-off-by: Kees Cook keesc...@chromium.org Cc: Rabin Vincent ra...@rab.in Acked-by: Nicolas Pitre

[PATCH v6 8/8] ARM: mm: allow text and rodata sections to be read-only

2014-09-18 Thread Kees Cook
This introduces CONFIG_DEBUG_RODATA, making kernel text and rodata read-only. Additionally, this splits rodata from text so that rodata can also be NX, which may lead to wasted memory when aligning to SECTION_SIZE. The read-only areas are made writable during ftrace updates and kexec.

[PATCH v6 4/8] arm: use fixmap for text patching when text is RO

2014-09-18 Thread Kees Cook
From: Rabin Vincent ra...@rab.in Use fixmaps for text patching when the kernel text is read-only, inspired by x86. This makes jump labels and kprobes work with the currently available CONFIG_DEBUG_SET_MODULE_RONX and the upcoming CONFIG_DEBUG_RODATA options. Signed-off-by: Rabin Vincent

Re: [PATCH 18/19] ARM: SAMSUNG: Remove remaining legacy code

2014-09-18 Thread Paul Bolle
. No one objected, as far as I know. Exactly the same references are still to be found in v3.17-rc3 and next-20140903. Perhaps someone actually familiar with this matter (ie, not me) could submit one or more patches that implement Tomasz' proposal. We're now at v3.17-rc5 and next-20140918

Re: [PATCH 18/19] ARM: SAMSUNG: Remove remaining legacy code

2014-09-18 Thread Tomasz Figa
now at v3.17-rc5 and next-20140918 and nothing has changed. I raised this issue the day it hit linux-next. After two months it's still not fixed. Could anyone familiar with ARCH_S5PV210 please jump in? Basically, it turned out that no respin was necessary and I didn't post those two patches. Now

[PATCH] x86: new topology for multi-NUMA-node CPUs

2014-09-18 Thread Dave Hansen
This is my third attempt to fix this. It's definitely simpler than the previous set. This takes Peter Z's suggestion to just create and use a different topology when we see these Cluster-on-Die systems. -- From: Dave Hansen dave.han...@linux.intel.com I'm getting the spew below when booting

Re: [PATCH] gpio: samsung: Remove remaining check for CONFIG_S5P_GPIO_DRVSTR

2014-09-18 Thread Tomasz Figa
it (and the dead code it hides)? Yes, I think this one is an obvious candidate for removal. Still there in v3.17-rc5 and next-20140918. So I submit yet another trivial cleanup. Done on top of next-20140918. Only tested by grepping the tree. Please note that, obviously, nothing uses

[PATCH 0/4] Add Fam15h Model60h support

2014-09-18 Thread Aravind Gopalakrishnan
This patch series is based on top of V5 patch regarding Modify usage of amd64_read_dct_pci_cfg(). Link: http://marc.info/?l=linux-kernelm=141079846507232w=2 I had started work on above one earlier and could not test this patch series before, so ended up sending it separately. I can meld it

[PATCH 1/4] pci_ids: Add PCI device IDs for F15h M60h

2014-09-18 Thread Aravind Gopalakrishnan
Add F3, F4 device IDs to be used in amd_nb.c and amd64_edac.c Signed-off-by: Aravind Gopalakrishnan aravind.gopalakrish...@amd.com --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index aa0d390..6a2a72a 100644 ---

<    7   8   9   10   11   12   13   >