[PATCH RESEND v5 2/5] powerpc/8xx: Handle CR out of exception PROLOG/EPILOG

2015-04-19 Thread Christophe Leroy
In order to be able to reduce scope during which CR is saved, we take CR saving/restoring out of exception PROLOG and EPILOG Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- arch/powerpc/kernel/head_8xx.S | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH 00/11] Convert the posix_clock_operations and k_clock structure to ready for 2038

2015-04-19 Thread Baolin Wang
This patch series changes the 32-bit time type (timespec/itimerspec) to the 64-bit one (timespec64/itimerspec64), since 32-bit time types will break in the year 2038. This patch series introduces new methods with timespec64/itimerspec64 type, and removes the old ones with timespec/itimerspec

Re: Device mapper failed to open temporary keystore device

2015-04-19 Thread Murilo Opsfelder Araújo
On Fri, Apr 17, 2015 at 11:00 PM, Herbert Xu herb...@gondor.apana.org.au wrote: On Fri, Apr 17, 2015 at 06:38:49PM -0400, Mike Snitzer wrote: There are also some crypto changes that could very easily be the cause of your problem (cc'ing Herbert), e.g.: $ git diff

[PATCH 1/2] iommu-common: fix x86_64 compiler warnings

2015-04-19 Thread Sowmini Varadhan
Declare iommu_large_alloc as static. Remove extern definition for iommu_tbl_pool_init(). Signed-off-by: Sowmini Varadhan sowmini.varad...@oracle.com --- lib/iommu-common.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/iommu-common.c

[PATCH 2/2] iommu-common: rename iommu_pool_hash to iommu_hash_common

2015-04-19 Thread Sowmini Varadhan
When CONFIG_DEBUG_FORCE_WEAK_PER_CPU is set, the DEFINE_PER_CPU_SECTION macro will define an extern __pcpu_unique_##name variable that could conflict with the same definition in powerpc at this time. Avoid that conflict by renaming iommu_pool_hash in iommu-common.c Thanks to Guenter Roeck for

Re: [PATCH v5] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin hanipouspi...@gmail.com

Re: [PATCH 1/2] clk: change clk_ops' -round_rate() prototype

2015-04-19 Thread Boris Brezillon
Hi Heiko, On Sun, 19 Apr 2015 14:13:04 +0200 Heiko Stübner he...@sntech.de wrote: Hi Boris, Am Freitag, 17. April 2015, 09:29:28 schrieb Boris Brezillon: Clock rates are stored in an unsigned long field, but -round_rate() (which returns a rounded rate from a requested one) returns a long

[PATCH 1/2] blk-mq: fix race between timeout and CPU hotplug

2015-04-19 Thread Ming Lei
Firstly during CPU hotplug, even queue is freezed, timeout handler still may come and access hctx-tags, which may cause use after free, so this patch deactivates timeout handler inside CPU hotplug notifier. Secondly, tags can be shared by more than one queues, so we have to check if the hctx has

[PATCH 2/2] blk-mq: fix CPU hotplug handling

2015-04-19 Thread Ming Lei
Firstly the hctx-tags have to be set as NULL if it is to be disabled no matter if set-tags[i] is NULL or not in blk_mq_map_swqueue() because shared tags can be freed already from another request queue. The same situation has to be considered in blk_mq_hctx_cpu_online() too. Cc:

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-19 Thread Dorian Gray
I think the case is closed. Now that I know it's not USB, but wireless driver, I looked through the new k3.19.5's changelog and saw this: commit b943e69d33fac1e5f6db57868e061096b0aae67a Author: Larry Finger larry.fin...@lwfinger.net Date: Sat Mar 21 15:16:05 2015 -0500 rtlwifi: Fix IOMMU

Re: Device mapper failed to open temporary keystore device

2015-04-19 Thread Murilo Opsfelder Araújo
On Fri, Apr 17, 2015 at 7:38 PM, Mike Snitzer snit...@redhat.com wrote: On Fri, Apr 17 2015 at 4:11pm -0400, Murilo Opsfelder Araújo mopsfel...@gmail.com wrote: Hello, everyone. Right after I enter my passphrase to unlock my cryptsetup partition, it displays the following error and asks

[PATCH 0/2] iommu-common build warning fixes.

2015-04-19 Thread Sowmini Varadhan
This patchset has fixes for 2 architectures - Part 1: x86_64 warnings generated by sparse - Part 2: allmodconfig build error for powerpc, identified by Guenter Roeck. Sowmini Varadhan (2): fix x86_64 sparse warnings rename iommu_pool_hash to iommu_hash_common lib/iommu-common.c | 20

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-19 Thread Ming Lei
On Sat, Apr 18, 2015 at 4:30 PM, Jens Axboe ax...@kernel.dk wrote: On 04/17/2015 10:23 PM, Ming Lei wrote: Hi Dongsu, On Fri, Apr 17, 2015 at 5:41 AM, Dongsu Park dongsu.p...@profitbricks.com wrote: Hi, there's a critical bug regarding CPU hotplug, blk-mq, and scsi-mq. Every time when a

[PATCH v2 11/12] of: Add vendor prefix for TP-Link Technologies Co. Ltd

2015-04-19 Thread Alban Bedel
Signed-off-by: Alban Bedel al...@free.fr --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index b13aa55..9e965b6 100644 ---

Re: [PATCH v2 09/12] devicetree: Add bindings for the ATH79 GPIO controllers

2015-04-19 Thread Jonas Gorski
On Sun, Apr 19, 2015 at 3:42 PM, Alban Bedel al...@free.fr wrote: These bindings support the GPIO controllers found on the Qualcomm Atheros AR7xxx/AR9XXX SoC. Signed-off-by: Alban Bedel al...@free.fr --- v2: * Add the ngpios property to have fewer fallbacks and simpler code ---

[PATCH v2 12/12] MIPS: Add basic support for the TL-WR1043ND version 1

2015-04-19 Thread Alban Bedel
Add a DTS for TL-WR1043ND version 1 and allow to have it built in the kernel to circumvent the broken u-boot found on these boards. Currently only the UART, LEDs and buttons are supported. Signed-off-by: Alban Bedel al...@free.fr --- v2: * Rebased for the new vendor directory structure *

<    1   2   3   4   5