Re: [PATCH v3 4/6] crypto: drbg - add async seeding operation

2015-05-01 Thread Stephan Mueller
Am Freitag, 1. Mai 2015, 11:13:31 schrieb Herbert Xu: Hi Herbert, On Tue, Apr 28, 2015 at 05:00:03AM +0200, Stephan Mueller wrote: @@ -1081,6 +1115,11 @@ static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, return -EINVAL; } +/* cancel any

Re: [PATCH 1/2] UV: NMI: insert per_cpu accessor function on uv_hub_nmi.

2015-05-01 Thread Ingo Molnar
* George Beshers gbesh...@sgi.com wrote: UV: NMI: insert this_cpu_read accessor function on uv_hub_nmi. UV NMI was accidently broken by this patch. Broken in what way? commit e16321709c8270f9803bbfdb51e5e02235078c7f Author: Christoph Lameter c...@linux.com Date: Sun Aug 17

Re: [PATCH v6 4/4] clk: dt: Introduce binding for always-on clock support

2015-05-01 Thread Lee Jones
On Fri, 01 May 2015, Sascha Hauer wrote: On Thu, Apr 30, 2015 at 10:57:22AM +0100, Lee Jones wrote: On Wed, 29 Apr 2015, Maxime Ripard wrote: On Wed, Apr 29, 2015 at 03:17:51PM +0100, Lee Jones wrote: On Wed, 22 Apr 2015, Maxime Ripard wrote: On Wed, Apr 08, 2015 at

Re: [PATCH v2] scripts/gdb: Add command to check list consistency

2015-05-01 Thread Jan Kiszka
On 2015-04-24 03:57, Thiébaud Weksteen wrote: Add a gdb script to verify the consistency of lists. Signed-off-by: Thiébaud Weksteen thieb...@weksteen.fr --- Implement suggestions from Jan. Changes in v2: - Add copyright line - Rename check_list to list_check - Remove casting and

[PATCH v2 2/2] arm64: dts: mt8173: Fixup pinctrl nodes

2015-05-01 Thread Yingjoe Chen
The 8173 pinctrl node doesn't follow dts convention. Fix them. Also add a comment to explain pinctrl register usage to make it more clear. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22

Re: perf: WARNING perfevents: irq loop stuck!

2015-05-01 Thread Ingo Molnar
* Vince Weaver vincent.wea...@maine.edu wrote: So this is just a warning, and I've reported it before, but the perf_fuzzer triggers this fairly regularly on my Haswell system. It looks like fixed counter 0 (retired instructions) being set to fffe occasionally causes an irq

Re: [RFC PATCH 00/22] perf tools: introduce 'perf bpf' command to load eBPF programs.

2015-05-01 Thread Ingo Molnar
* Wang Nan wangn...@huawei.com wrote: This series of patches is an approach to integrate eBPF with perf. Very promising! After applying these patches, users are allowed to use following command to load eBPF program compiled by LLVM into kernel: $ perf bpf sample_bpf.o Please keep space

Re: [PATCH RFC 1/2] crypto: add PKE API

2015-05-01 Thread Stephan Mueller
Am Donnerstag, 30. April 2015, 15:36:52 schrieb Tadeusz Struk: Hi Tadeusz, Add Public Key Encryption API. Signed-off-by: Tadeusz Struk tadeusz.st...@intel.com --- crypto/Kconfig |6 + crypto/Makefile|1 crypto/crypto_user.c | 23 + crypto/pke.c

Re: [GIT PULL 0/7] perf/urgent fixes

2015-05-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, this is on top of my previous 'perf-urgent-for-mingo' pull request. - Arnaldo The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d: tools lib api: Undefine

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Ingo Molnar
* r...@redhat.com r...@redhat.com wrote: From: Rik van Riel r...@redhat.com On syscall entry with nohz_full on, we enable interrupts, call user_exit, disable interrupts, do something, re-enable interrupts, and go on our merry way. Profiling shows that a large amount of the nohz_full

[BUG] Jiffies not incrementing, tick_handover_do_timer strictly tied to hotplug

2015-05-01 Thread pawandeep oza
Hi, Linux version 3.10.17 Problem Statement: The timekeeping/do_timer seems to be stopped and the core (in this case it is core0) which is aborting is stuck in the loop which relies on jiffies. The root cause/Reason: we have tickless kernel, so cpu goes to deep idle state, and stop sched

[PATCH 1/5] m68k: use for_each_sg()

2015-05-01 Thread Akinobu Mita
Since m68k doesn't select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in order to loop over each sg element. But this can help find problems with drivers that do not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled. Signed-off-by: Akinobu Mita

Re: [PATCH kernel v9 27/32] powerpc/iommu/ioda2: Add get_table_size() to calculate the size of future table

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 03:12 PM, David Gibson wrote: On Fri, May 01, 2015 at 02:10:58PM +1000, Alexey Kardashevskiy wrote: On 04/29/2015 04:40 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:51PM +1000, Alexey Kardashevskiy wrote: This adds a way for the IOMMU user to know how much a new table

[RFC][PATCH 0/4] perf: Enable symbolic event names

2015-05-01 Thread Sukadev Bhattiprolu
Implement ability to specify Power PMU events by their symbolic event names rather than raw codes. This approach pulls tables of the Power7 and Power8 PMU events into the perf source tree and uses these tables to create aliases for the PMU events. With these aliases users can run: perf

[RFC][PATCH 1/4] perf: Create a table of Power7 PMU events

2015-05-01 Thread Sukadev Bhattiprolu
This table will be used in a follow-on patch to allow specifying Power7 events by name rather than by their raw codes. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- tools/perf/arch/powerpc/util/power7-events.h | 3315 ++ 1 file changed, 3315

[RFC][PATCH 3/4] perf/powerpc: Move mfspr and friends to header file

2015-05-01 Thread Sukadev Bhattiprolu
mfspr() and related macros will be needed in two separate files. Move these defintions to a common header file. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- tools/perf/arch/powerpc/util/header.c |9 + tools/perf/arch/powerpc/util/header.h |9 + 2

[RFC][PATCH 4/4] perf: Create aliases for PMU events

2015-05-01 Thread Sukadev Bhattiprolu
Using the tables of Power7 and Power8 events, create aliases for the Power PMU events. This would allow us to specify all Power events by name rather than by raw code: $ /tmp/perf stat -e PM_1PLUS_PPC_CMPL sleep 1 Performance counter stats for 'sleep 1':

Re: [PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

2015-05-01 Thread Michal Suchanek
On 1 May 2015 at 01:13, Marek Vasut ma...@denx.de wrote: On Thursday, April 30, 2015 at 11:13:12 PM, Michal Suchanek wrote: The sector size of the flash memory is unclear from datasheet or may possibly vary between chips so add a flag to always use 4k blocks. Currently 4k blocks are always

Re: [PATCH kernel v9 26/32] powerpc/iommu: Add userspace view of TCE table

2015-05-01 Thread Alexey Kardashevskiy
On 05/01/2015 02:23 PM, David Gibson wrote: On Fri, May 01, 2015 at 02:01:17PM +1000, Alexey Kardashevskiy wrote: On 04/29/2015 04:31 PM, David Gibson wrote: On Sat, Apr 25, 2015 at 10:14:50PM +1000, Alexey Kardashevskiy wrote: In order to support memory pre-registration, we need a way to

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-05-01 Thread Dan Carpenter
On Thu, Apr 30, 2015 at 10:05:00PM +0530, hari prasath wrote: Greg I am not sure if this needs to go into next release. I send this patch as checkpatch was complaining about it. May be the owners of this driver can only decide upon it. Alan cox also mentioned the same point that its

Re: [PATCH 0/4] Enable deferred error interrupts

2015-05-01 Thread Ingo Molnar
* Aravind Gopalakrishnan aravind.gopalakrish...@amd.com wrote: Newer AMD processors can generate deferred errors and can be configured to generate APIC interrupts on such events. What's the wider context of this? What is it good for? I suspect it's MCE related, but only from the diffstat:

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Ingo Molnar
* George Beshers gbesh...@sgi.com wrote: UV: NMI: simple dump failover if kdump fails The ability to trigger a kdump using the system NMI command was added by commit 12ba6c990fab50fe568f3ad8715e81e356552428 Author: Mike Travis tra...@sgi.com Date: Mon Sep 23 16:25:03

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-05-01 Thread Dan Carpenter
On Fri, May 01, 2015 at 10:18:14AM +0300, Dan Carpenter wrote: On Thu, Apr 30, 2015 at 10:05:00PM +0530, hari prasath wrote: Greg I am not sure if this needs to go into next release. I send this patch as checkpatch was complaining about it. May be the owners of this driver can only

Re: [PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Peter Zijlstra
On Fri, May 01, 2015 at 09:03:32AM -0700, Linus Torvalds wrote: On Fri, May 1, 2015 at 8:16 AM, Peter Zijlstra pet...@infradead.org wrote: Since test_bit() doesn't actually have any output variables, we can use asm goto without having to add a memory clobber. This reduces the code to

Re: context tracking vs. syscall_trace_leave do_notify_resume loop

2015-05-01 Thread Andy Lutomirski
On Fri, May 1, 2015 at 9:14 AM, Rik van Riel r...@redhat.com wrote: On 05/01/2015 12:05 PM, Andy Lutomirski wrote: On Fri, May 1, 2015 at 9:00 AM, Rik van Riel r...@redhat.com wrote: I suspect we probably only need two possible function calls at syscall exit time: 1) A function that is

Re: [PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Jakub Jelinek
On Fri, May 01, 2015 at 09:03:32AM -0700, Linus Torvalds wrote: PPS. Jakub, I see gcc5.1 still hasn't got output operands for asm goto; is this something we can get 'fixed' ? CCing Richard as author of asm goto and Vlad as register allocator maintainer. There are a few enhancement

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Mike Travis
On 5/1/2015 12:27 AM, Ingo Molnar wrote: * George Beshers gbesh...@sgi.com wrote: UV: NMI: simple dump failover if kdump fails The ability to trigger a kdump using the system NMI command was added by commit 12ba6c990fab50fe568f3ad8715e81e356552428 Author: Mike Travis

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: 2. To suppress the timing tick, we need to get some timing for, um, the scheduler? I wasn't really sure about this one. So we have variable timeslice timers for the scheduler implemented, they are off by default but they worked last someone tried

Re: [PATCH 1/4] spi: imx: Constify platform_device_id

2015-05-01 Thread Mark Brown
On Sat, May 02, 2015 at 12:44:04AM +0900, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 2/4] spi: rspi: Constify platform_device_id

2015-05-01 Thread Mark Brown
On Sat, May 02, 2015 at 12:44:05AM +0900, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Applied, thanks. signature.asc Description: Digital signature

[PATCH RFC] hwspinlock: Don't take software spinlock before hwspinlock

2015-05-01 Thread Lina Iyer
Some uses of the hwspinlock could be that one entity acquires the lock and the other entity releases the lock. This allows for a serialized traversal path from the locking entity to the other. For example, the cpuidle entry from Linux to the firmware to power down the core, can be serialized

Re: [PATCH 3/5] blk-mq: fix plugging in blk_sq_make_request

2015-05-01 Thread Christoph Hellwig
- if (use_plug !blk_queue_nomerges(q) + if (likely(!is_flush_fua) !blk_queue_nomerges(q) Please don't sprinkle likely annotations for no go reason. Especially on metadata write heavy workloads (e.g. an NFS server) it might be very likely. -- To unsubscribe from this list: send the

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Rik van Riel
On 05/01/2015 01:12 PM, Ingo Molnar wrote: * Rik van Riel r...@redhat.com wrote: On 05/01/2015 12:45 PM, Ingo Molnar wrote: * Rik van Riel r...@redhat.com wrote: On 05/01/2015 12:37 PM, Ingo Molnar wrote: Also note that this bit in context_tracking_enter(): if

Re: [PATCH v3 4/4] PM: submit bio in a sane way in cases without bio_chain

2015-05-01 Thread Christoph Hellwig
On Thu, Apr 30, 2015 at 07:34:41PM +0200, Pavel Machek wrote: Signed-off-by: Christoph Hellwig h...@lst.de Tested-by: Pavel Machek pa...@ucw.cz Acked-by: Pavel Machek pa...@ucw.cz (thinkpad x60 in shutdown mode, platform mode has some problems, but they are probably not related).

Re: [PATCH] hwspinlock: qcom: Lock #7 is special lock, uses dynamic proc_id

2015-05-01 Thread Jeffrey Hugo
On 5/1/2015 11:06 AM, Lina Iyer wrote: diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c index 93b62e0..043c62c 100644 --- a/drivers/hwspinlock/qcom_hwspinlock.c +++ b/drivers/hwspinlock/qcom_hwspinlock.c @@ -25,16 +25,26 @@ #include

Re: [PATCH] hw_random: bcm63xx-rng: fix bugs introduced in commit 6229c16060fee9a015bf476f21e40c6f08609d6e.

2015-05-01 Thread Florian Fainelli
On 01/05/15 07:37, Álvaro Fernández Rojas wrote: s/clk_didsable_unprepare/clk_disable_unprepare s/prov/priv s/error/ret in bcm63xx_rng_probe Thanks for fixing that! Could you resubmit with a Fixes tag like this and remove the long commit id from the subject? Fixes: 6229c16060fe (hwrng:

Re: [PATCH RFC 1/2] crypto: add PKE API

2015-05-01 Thread Tadeusz Struk
Hi Stephan, On 05/01/2015 12:24 AM, Stephan Mueller wrote: +struct public_key; +struct public_key_signature; Wouldn't it make sense to move the struct definitions here and have them documented? I'm not sure if they belong here. I think we can add some documentation without moving them.

Re: [PATCH v2 2/5] sched, numa: Document usages of mm-numa_scan_seq

2015-05-01 Thread Jason Low
On Fri, 2015-05-01 at 08:21 -0700, Paul E. McKenney wrote: On Thu, Apr 30, 2015 at 02:13:07PM -0700, Jason Low wrote: On Thu, 2015-04-30 at 14:42 -0400, Waiman Long wrote: I do have a question of what kind of tearing you are talking about. Do you mean the tearing due to mm being

[PATCH] Allow TCP connections to cache SYN packet for userspace inspection

2015-05-01 Thread Eric B Munson
In order to enable policy decisions in userspace, the data contained in the SYN packet would be useful for tracking or identifying connections. Only parts of this data are available to userspace after the hand shake is completed. This patch exposes a new setsockopt() option that will, when used

[GIT PULL] USB fixes for v4.1-rc1

2015-05-01 Thread Felipe Balbi
Hi Greg, Here's first pull request for this -rc series. Patches have been tested with platforms I have access to and have also been cooking in linux-next for a couple days. cheers The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10

[PATCH 1/4] i2c: imx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/i2c/busses/i2c-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-imx.c

[PATCH 2/4] i2c: mxs: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/i2c/busses/i2c-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mxs.c

Re: [PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Peter Zijlstra
On Fri, May 01, 2015 at 09:03:32AM -0700, Linus Torvalds wrote: On Fri, May 1, 2015 at 8:16 AM, Peter Zijlstra pet...@infradead.org wrote: PPS. Jakub, I see gcc5.1 still hasn't got output operands for asm goto; is this something we can get 'fixed' ? I suspect the problem is that now

Re: context tracking vs. syscall_trace_leave do_notify_resume loop

2015-05-01 Thread Rik van Riel
On 05/01/2015 12:16 PM, Andy Lutomirski wrote: On Fri, May 1, 2015 at 9:14 AM, Rik van Riel r...@redhat.com wrote: On 05/01/2015 12:05 PM, Andy Lutomirski wrote: On Fri, May 1, 2015 at 9:00 AM, Rik van Riel r...@redhat.com wrote: I suspect we probably only need two possible function calls at

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Rik van Riel
On 05/01/2015 12:21 PM, Ingo Molnar wrote: * Andy Lutomirski l...@amacapital.net wrote: So what's the point? Why not remove this big source of overhead altogether? The last time I asked, the impression I got was that we needed two things: 1. We can't pluck things from the RCU list

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Rik van Riel
On 05/01/2015 12:37 PM, Ingo Molnar wrote: Also note that this bit in context_tracking_enter(): if (state == CONTEXT_USER) { trace_user_enter(0); vtime_user_enter(current); }

[PATCH V2 1/1] scsi: storvsc: Set the SRB flags correctly when no data transfer is needed

2015-05-01 Thread K. Y. Srinivasan
Set the SRB flags correctly when there is no data transfer. Without this change some IHV drivers will fail valid commands such as TEST_UNIT_READY. Cc: sta...@vger.kernel.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Long Li lon...@microsoft.com --- V2: Added

Re: [PATCH 1/4] ASoC: au1x: Constify platform_device_id

2015-05-01 Thread Mark Brown
On Sat, May 02, 2015 at 01:00:11AM +0900, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Applied, thanks. signature.asc Description: Digital signature

[PATCH] blk-mq: fix FUA request hang

2015-05-01 Thread Shaohua Li
When a FUA request enters its DATA stage of flush pipeline, the request is added to mq requeue list, the request will then be added to ctx-rq_list. blk_mq_attempt_merge() might merge the request with a bio. Later when the request is finished the flush pipeline, the request-__data_len is 0. Then I

Re: [PATCH 4/4] cpufreq: arm_big_little: add SCPI interface driver

2015-05-01 Thread Jon Medhurst (Tixy)
On Fri, 2015-05-01 at 15:15 +0100, Sudeep Holla wrote: No issues, it's better to have remainders like this :). I plan to post something in the next version. Will that also include the other piece of the puzzle to get the big.LITTLE cpufreq driver running? ;-) ...

Re: [PATCH 4/4] cpufreq: arm_big_little: add SCPI interface driver

2015-05-01 Thread Sudeep Holla
On 01/05/15 18:10, Jon Medhurst (Tixy) wrote: On Fri, 2015-05-01 at 15:15 +0100, Sudeep Holla wrote: No issues, it's better to have remainders like this :). I plan to post something in the next version. Will that also include the other piece of the puzzle to get the big.LITTLE cpufreq

Re: perf: WARNING perfevents: irq loop stuck!

2015-05-01 Thread Vince Weaver
On Fri, 1 May 2015, Ingo Molnar wrote: * Vince Weaver vincent.wea...@maine.edu wrote: So this is just a warning, and I've reported it before, but the perf_fuzzer triggers this fairly regularly on my Haswell system. It looks like fixed counter 0 (retired instructions) being set to

[PATCH 3/11] staging: lustre: lclient: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@

Re: [PATCH RFC 1/2] crypto: add PKE API

2015-05-01 Thread David Howells
Tadeusz Struk tadeusz.st...@intel.com wrote: +config CRYPTO_PKE I would prefer CRYPTO_PKEY and pkey rather than pke generally and algo rather than alg where possible - this will have more consistency with what we have now. I understand, however, that in core crypto code, 'alg' is used. +

[PATCH 10/11] staging: lustre: osc: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@

Re: [Xen-devel] [PATCH v2 1/4] xen/events: Clear cpu_evtchn_mask before resuming

2015-05-01 Thread Boris Ostrovsky
On 05/01/2015 11:25 AM, David Vrabel wrote: On 01/05/15 14:39, Boris Ostrovsky wrote: On 05/01/2015 06:46 AM, David Vrabel wrote: On 29/04/15 22:10, Boris Ostrovsky wrote: When a guest is resumed, the hypervisor may change event channel assignments. If this happens and the guest uses 2-level

[PATCH 5/11] staging: lustre: lmv: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@

Re: context tracking vs. syscall_trace_leave do_notify_resume loop

2015-05-01 Thread Andy Lutomirski
On Fri, May 1, 2015 at 9:00 AM, Rik van Riel r...@redhat.com wrote: On 05/01/2015 11:55 AM, Andy Lutomirski wrote: On Thu, Apr 30, 2015 at 6:30 PM, Rik van Riel r...@redhat.com wrote: I suspect it would be possible to stick a call to a new function (return_to_user ?) right after the

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Ingo Molnar
* Andy Lutomirski l...@amacapital.net wrote: So what's the point? Why not remove this big source of overhead altogether? The last time I asked, the impression I got was that we needed two things: 1. We can't pluck things from the RCU list without knowing whether the CPU is in an

Re: [PATCH RFC 2/2] crypto: RSA: KEYS: convert rsa and public key to new PKE API

2015-05-01 Thread David Howells
Tadeusz Struk tadeusz.st...@intel.com wrote: +Additionally public key algorithm names are defined: +#define PKEY_ALGO_DSA dsa +#define PKEY_ALGO_RSA rsa +These will be used to allocate public key tfm instances. These should be a blank line either side of the two #defines and the #defines

[PATCH v3 3/3] printk: implement support for extended console drivers

2015-05-01 Thread Tejun Heo
From a69336f8df52f9ccdf33dfb5410108eec4d27742 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Fri, 1 May 2015 12:21:01 -0400 printk log_buf keeps various metadata for each message including its sequence number and timestamp. The metadata is currently available only through

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable enable from context tracking on syscall entry

2015-05-01 Thread Rik van Riel
On 05/01/2015 12:03 PM, Andy Lutomirski wrote: The last time I asked, the impression I got was that we needed two things: 1. We can't pluck things from the RCU list without knowing whether the CPU is in an RCU read-side critical section, and we can't know that unless we have regular grade

Re: [PATCH arm 1/2] arm64: Use common outgoing-CPU-notification code

2015-05-01 Thread Catalin Marinas
On Fri, May 01, 2015 at 08:08:48AM -0700, Paul E. McKenney wrote: On Thu, Apr 30, 2015 at 10:50:55AM +0100, Catalin Marinas wrote: On Thu, Apr 23, 2015 at 01:07:33PM -0700, Paul E. McKenney wrote: diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Ingo Molnar
* Mike Travis tra...@sgi.com wrote: On 5/1/2015 12:27 AM, Ingo Molnar wrote: * George Beshers gbesh...@sgi.com wrote: UV: NMI: simple dump failover if kdump fails The ability to trigger a kdump using the system NMI command was added by commit

Re: [PATCH v2] arm arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-05-01 Thread Will Deacon
On Thu, Apr 30, 2015 at 02:58:52PM +0100, Hou Pengyang wrote: For ARM ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf ls

Re: [PATCH 3/4] ASoC: fsl: Constify platform_device_id

2015-05-01 Thread Mark Brown
On Sat, May 02, 2015 at 01:00:13AM +0900, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Peter Zijlstra
On Fri, May 01, 2015 at 06:33:29PM +0200, Jakub Jelinek wrote: On Fri, May 01, 2015 at 09:03:32AM -0700, Linus Torvalds wrote: PPS. Jakub, I see gcc5.1 still hasn't got output operands for asm goto; is this something we can get 'fixed' ? CCing Richard as author of asm goto and Vlad

Re: [RFC PATCH 00/22] perf tools: introduce 'perf bpf' command to load eBPF programs.

2015-05-01 Thread Alexei Starovoitov
On 5/1/15 4:49 AM, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 30, 2015 at 09:37:04PM -0700, Alexei Starovoitov wrote: We're also working in parallel on creating a new tracing language that together with llvm backend can be used as a single shared library that

[PATCH 3/8] staging: comedi: mite.c: remove commented out USE_KMALLOC

2015-05-01 Thread Ian Abbott
The definition of the macro `USE_KMALLOC` is commented out, and nothing refers to it. Remove the commented out macro. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/mite.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/mite.c

[PATCH 8/8] staging: comedi: mite: use a better MODULE_DESCRIPTION()

2015-05-01 Thread Ian Abbott
Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/mite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/mite.c b/drivers/staging/comedi/drivers/mite.c index b514ad1..fa7ae2c 100644 ---

[PATCH] ACPI/PNP: add two IDs to list for PNPACPI device enumeration

2015-05-01 Thread Witold Szczeponik
Commit eec15edbb0e14485998635ea7c62e30911b465f0 (ACPI / PNP: use device ID list for PNPACPI device enumeration) changed the way how ACPI devices are enumerated and when they are added to the PNP bus. However, it broke the sound card support on (at least) a vintage IBM ThinkPad 600E: with said

[PATCH 7/8] staging: comedi: mite.h: whitespace changes in function declarations

2015-05-01 Thread Ian Abbott
Reformat some function declarations to avoid bunching up near column 80. Also add a blank line after a `struct` definition. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/mite.h | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git

[PATCH 5/8] staging: comedi: mite.h: reformat some comments

2015-05-01 Thread Ian Abbott
Use the usual style for block comments. Squash double spaces after comment opening sequences. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/mite.h | 59 ++- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git

[PATCH 6/8] staging: comedi: mite.c: reformat comments

2015-05-01 Thread Ian Abbott
Use the usual style for block comments. Squash double spaces after comment opening sequences. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/mite.c | 105 +- 1 file changed, 54 insertions(+), 51 deletions(-) diff --git

[PATCH 0/8] staging: comedi: mite: some clean-ups

2015-05-01 Thread Ian Abbott
1) staging: comedi: mite: move #include linux/slab.h 2) staging: comedi: mite.h: remove PCIMIO_COMPAT 3) staging: comedi: mite.c: remove commented out USE_KMALLOC 4) staging: comedi: mite.h: remove ../comedi_pci.h and make self-reliant 5) staging: comedi: mite.h: reformat some comments 6)

Re: [PATCH 1/5] blk: clean up plug

2015-05-01 Thread Christoph Hellwig
On Thu, Apr 30, 2015 at 10:45:14AM -0700, Shaohua Li wrote: Current code looks like inner plug gets flushed with a blk_finish_plug(). Actually it's a nop. All requests/callbacks are added to current-plug, while only outmost plug is assigned to current-plug. So inner plug always has empty

Re: regression in ktime.h circa 3.16.0-rc5+ breaks lirc irsend, bad commit 166afb64511

2015-05-01 Thread John Stultz
On Fri, May 1, 2015 at 3:02 AM, Trevor Cordes tre...@tecnopolis.ca wrote: May 1 04:46:12 piles kernel: [ 356.838029] JDB: ktime_to_us: -20157485 - divns 18446744073689394 != old method: -20158 The last 2-3 or 3 groups of output I could produce on demand by stopping mythbackend and

Re: [PATCH] hwspinlock: qcom: Lock #7 is special lock, uses dynamic proc_id

2015-05-01 Thread Lina Iyer
On Fri, May 01 2015 at 11:27 -0600, Jeffrey Hugo wrote: On 5/1/2015 11:06 AM, Lina Iyer wrote: diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c index 93b62e0..043c62c 100644 --- a/drivers/hwspinlock/qcom_hwspinlock.c +++

Re: [PATCH 4/4] ARM: net fix emit_udiv() for BPF_ALU | BPF_DIV | BPF_K intruction.

2015-05-01 Thread Russell King - ARM Linux
On Wed, Apr 29, 2015 at 03:37:37PM +0200, Nicolas Schichan wrote: In that case, emit_udiv() will be called with rn == ARM_R0 (r_scratch) and loading rm first into ARM_R0 will result in jit_udiv() function being called the same dividend and divisor. Fix that by loading rn first into ARM_R1 and

Re: [PATCH 2/5] sched: always use blk_schedule_flush_plug in io_schedule_out

2015-05-01 Thread Jeff Moyer
Shaohua Li s...@fb.com writes: block plug callback could sleep, so we introduce a parameter 'from_schedule' and corresponding drivers can use it to destinguish a schedule plug flush or a plug finish. Unfortunately io_schedule_out still uses blk_flush_plug(). This causes below output (Note, I

Re: [PATCH 3/5] blk-mq: fix plugging in blk_sq_make_request

2015-05-01 Thread Jeff Moyer
Christoph Hellwig h...@lst.de writes: -if (use_plug !blk_queue_nomerges(q) +if (likely(!is_flush_fua) !blk_queue_nomerges(q) Please don't sprinkle likely annotations for no go reason. Especially on metadata write heavy workloads (e.g. an NFS server) it might be very likely. I

[PATCH 2/2] clk: s3c2410: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/clk/samsung/clk-s3c2410-dclk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-s3c2410-dclk.c

[PATCH 1/2] clk: s3c2410: Staticize local symbols

2015-05-01 Thread Krzysztof Kozlowski
Staticize symbols not exported and not used outside of file. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/clk/samsung/clk-s3c2410-dclk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-s3c2410-dclk.c

[PATCH 4/9] iio: light: hid-sensor-als: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/iio/light/hid-sensor-als.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/hid-sensor-als.c

[PATCH 3/9] iio: hid-sensor-gyro-3d: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/iio/gyro/hid-sensor-gyro-3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/hid-sensor-gyro-3d.c

[PATCH 3/4] i2c: rcar: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/i2c/busses/i2c-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-rcar.c

[PATCH 2/9] iio: adc: axp288: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- drivers/iio/adc/axp288_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/axp288_adc.c

Re: [PATCH] iio: acpi: Add ACPI0008 Ambient Light Sensor

2015-05-01 Thread Gabriele Mazzotta
Hi, probably this is not completely related to this driver, but I noticed something while testing it. When I load acpi-als, /sys/bus/iio/devices/iio:device0/buffer/enable is 0. If I try to set it to 1, I get the following error: Buffer not started: buffer parameter update failed (-22) After I

Re: context tracking vs. syscall_trace_leave do_notify_resume loop

2015-05-01 Thread Rik van Riel
On 05/01/2015 12:05 PM, Andy Lutomirski wrote: On Fri, May 1, 2015 at 9:00 AM, Rik van Riel r...@redhat.com wrote: I suspect we probably only need two possible function calls at syscall exit time: 1) A function that is called with interrupts still enabled, testing flags that could be set

Re: [PATCH v2 02/20] libnd, nd_acpi: initial libnd infrastructure and NFIT support

2015-05-01 Thread Dan Williams
On Thu, Apr 30, 2015 at 6:21 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, April 30, 2015 05:39:06 PM Dan Williams wrote: On Thu, Apr 30, 2015 at 4:23 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: [..] +if ND_DEVICES + +config LIBND + tristate LIBND: libnd device

RE: [PATCH v7 00/23] IB/Verbs: IB Management Helpers

2015-05-01 Thread Hefty, Sean
Does anyone have a link to the emails which proposed bitmasks? I can't find them right now. I think converting the caps functions into bits is a good place to start. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 3/4] spi: s3c64xx: Constify platform_device_id

2015-05-01 Thread Mark Brown
On Sat, May 02, 2015 at 12:44:06AM +0900, Krzysztof Kozlowski wrote: The platform_device_id is not modified by the driver and core uses it as const. Applied, thanks. signature.asc Description: Digital signature

[PATCH] hwspinlock: qcom: Lock #7 is special lock, uses dynamic proc_id

2015-05-01 Thread Lina Iyer
Hwspinlocks are widely used between processors in an SoC, and also between elevation levels within in the same processor. QCOM SoC's use hwspinlock to serialize entry into a low power mode when the context switches from Linux to secure monitor. Lock #7 has been assigned for this purpose. In

Re: [PATCH 2/5] sched: always use blk_schedule_flush_plug in io_schedule_out

2015-05-01 Thread Christoph Hellwig
On Thu, Apr 30, 2015 at 10:45:15AM -0700, Shaohua Li wrote: long __sched io_schedule_timeout(long timeout) { - int old_iowait = current-in_iowait; struct rq *rq; long ret; current-in_iowait = 1; - if (old_iowait) -

Re: [PATCH RFC 0/2] crypto: Introduce Public Key Encryption API

2015-05-01 Thread Tadeusz Struk
On 05/01/2015 01:47 AM, Jean Delvare wrote: I have nothing to do with this, please drop me from Cc. Sorry, your name was reported by scripts/get_maintainer.pl -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

RE: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-01 Thread Simmons, James A.
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. Nak: James Simmons jsimm...@infradead.org A simple replace will not work. The OBD_ALLOC and OBD_FREE functions allocate

RE: [HPDD-discuss] [PATCH 2/11] Staging: lustre: fld: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
On Fri, 1 May 2015, Simmons, James A. wrote: From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. Nak: James Simmons jsimm...@infradead.org A simple replace will not

[PATCH 8/11] staging: lustre: obdclass: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@

[PATCH 0/11] Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. The complete semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,e1,e2; @@ - OBD_ALLOC(ptr,sizeof e1 *

[PATCH 6/11] staging: lustre: mdc: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // smpl @@

<    5   6   7   8   9   10   11   12   13   14   >