[RESEND PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. Replace the posix_clock ops interfaces to use struct timespec64. The patch also changes struct itimerspec interfaces to struct itimerspec64 as itimerspec internally uses timespec and itimerspec64 uses timespec64. PTP clocks is the only module that sets up t

[RESEND PATCH 3/7] Change k_clock clock_get() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 4 ++--

[RESEND PATCH 4/7] Change k_clock clock_getres() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 2 +-

[RESEND PATCH 6/7] Change k_clock timer_set() and timer_get() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 20

[RESEND PATCH 5/7] Change k_clock clock_set() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 2 +-

[PATCH tip:x86/mm] x86/tls: Forcibly set the accessed bit in TLS segments

2017-03-18 Thread Andy Lutomirski
For mysterious historical reasons, struct user_desc doesn't indicate whether segments are accessed. set_thread_area() has always programmed segments as non-accessed, so the first write will set the accessed bit. This will fault if the GDT is read-only. Fix it by making TLS segments start out acc

[RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces will be changed in a separate series. Call to do_sys_setimeofday() is superfluous as all the necessary checks and functions ar

[RESEND PATCH 7/7] Change k_clock nsleep() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- include/linux/hrtimer.h| 2 +-

[RESEND PATCH 0/7] Change k_clock interfaces to use timespec64

2017-03-18 Thread Deepa Dinamani
Resending to update author id in patch 7/7. The series is aimed at replacing struct timespec which is not y2038 safe with y2038 safe struct timespec64 for k_clock interfaces. The series does not change the syscall interface. This will be done in a follow up series. A few existing checkpatch-note

[PATCH v2 3/3] staging: speakup: Simplify "NULL" comparisons

2017-03-18 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. Signed-off-by: Arushi Singhal --- changes in v2 - no change drivers/staging/speakup/selection.c | 2 +- drivers/st

[PATCH v2 0/3] staging: speakup: Multiple checkpatch issues

2017-03-18 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in speakup driver. Arushi Singhal (3): staging: speakup: Moved logical to previous line. staging: speakup: Remove multiple assignments staging: speakup: Simplify "NULL" comparisons drivers/staging/speakup/main.c| 30 ++

[PATCH v2 1/3] staging: speakup: Moved logical to previous line.

2017-03-18 Thread Arushi Singhal
Moved logical AND operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- changes in v2 - Change the commit message. drivers/staging/speakup/main.c | 12 ++-- 1 file changed, 6 inse

[PATCH v2 2/3] staging: speakup: Remove multiple assignments

2017-03-18 Thread Arushi Singhal
This patch fixes the checkpatch.pl warning "multiple assignments should be avoided." Signed-off-by: Arushi Singhal --- changes in v2 - no change. drivers/staging/speakup/main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/speakup/main.

[PATCH] ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings

2017-03-18 Thread Florian Fainelli
The CPU port of the BCM53125 is configured with RGMII (no delays) but this should actually be RGMII with transmit delay (rgmii-txid) because STMMAC takes care of inserting the transmitter delay. This fixes occasional packet loss encountered. Fixes: d7b9eaff5f0c ("ARM: dts: sun7i: Add BCM53125 swit

Re: [PATCH/RFC] staging/lustre: Rework class_process_proc_param

2017-03-18 Thread Oleg Drokin
On Mar 19, 2017, at 12:41 AM, Greg Kroah-Hartman wrote: > On Sat, Mar 18, 2017 at 02:24:08AM -0400, Oleg Drokin wrote: >> Ever since sysfs migration, class_process_proc_param stopped working >> correctly as all the useful params were no longer present as lvars. >> Replace all the nasty fake proc

[PATCH] ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings

2017-03-18 Thread Florian Fainelli
The CPU port of the BCM53125 is configured with RGMII (no delays) but this should actually be RGMII with transmit delay (rgmii-txid) because STMMAC takes care of inserting the transmitter delay. This fixes occasional packet loss encountered. Fixes: d7b9eaff5f0c ("ARM: dts: sun7i: Add BCM53125 swit

[PATCH] staging: speakup: fix: braces {} should used on all arms of statement

2017-03-18 Thread Arushi Singhal
This patch fixes the checks reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 35 +++- drivers/staging/speakup/speakup_decext.c | 6 +++--- drivers/stagin

Re: [PATCH/RFC] staging/lustre: Rework class_process_proc_param

2017-03-18 Thread Greg Kroah-Hartman
On Sun, Mar 19, 2017 at 12:41:20AM -0400, Oleg Drokin wrote: > > On Mar 19, 2017, at 12:29 AM, Greg Kroah-Hartman wrote: > > > On Sat, Mar 18, 2017 at 11:17:55AM -0400, Oleg Drokin wrote: > >> > >> On Mar 18, 2017, at 6:34 AM, Greg Kroah-Hartman wrote: > >> > >>> On Sat, Mar 18, 2017 at 02:24:0

[PATCH] staging: speakup: Remove multiple assignments

2017-03-18 Thread Arushi Singhal
This patch fixes the checkpatch.pl warning "multiple assignments should be avoided." Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 21e76b

Re: [PATCH/RFC] staging/lustre: Rework class_process_proc_param

2017-03-18 Thread Oleg Drokin
On Mar 19, 2017, at 12:29 AM, Greg Kroah-Hartman wrote: > On Sat, Mar 18, 2017 at 11:17:55AM -0400, Oleg Drokin wrote: >> >> On Mar 18, 2017, at 6:34 AM, Greg Kroah-Hartman wrote: >> >>> On Sat, Mar 18, 2017 at 02:24:08AM -0400, Oleg Drokin wrote: Ever since sysfs migration, class_process_

Re: [PATCH/RFC] staging/lustre: Rework class_process_proc_param

2017-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 18, 2017 at 02:24:08AM -0400, Oleg Drokin wrote: > Ever since sysfs migration, class_process_proc_param stopped working > correctly as all the useful params were no longer present as lvars. > Replace all the nasty fake proc writes with hopefully less nasty > kobject attribute search and

Re: [PATCH/RFC] staging/lustre: Rework class_process_proc_param

2017-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 18, 2017 at 11:17:55AM -0400, Oleg Drokin wrote: > > On Mar 18, 2017, at 6:34 AM, Greg Kroah-Hartman wrote: > > > On Sat, Mar 18, 2017 at 02:24:08AM -0400, Oleg Drokin wrote: > >> Ever since sysfs migration, class_process_proc_param stopped working > >> correctly as all the useful par

Re: [GIT PULL] target fixes for v4.11-rc3

2017-03-18 Thread Nicholas A. Bellinger
On Sat, 2017-03-18 at 19:08 -0700, Nicholas A. Bellinger wrote: > Hello Linus, > > Here are the target-pending fixes for v4.11-rc3 code. Please go ahead > and pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master > > The bulk of the changes are in qla2xxx

[PATCH 5/7] Change k_clock clock_set() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 2 +-

[PATCH 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. Replace the posix_clock ops interfaces to use struct timespec64. The patch also changes struct itimerspec interfaces to struct itimerspec64 as itimerspec internally uses timespec and itimerspec64 uses timespec64. PTP clocks is the only module that sets up t

[PATCH 7/7] Change k_clock nsleep() to use timespec64

2017-03-18 Thread Deepa Dinamani
From: Deepa Dinamani struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- include/linux/hrt

[PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces will be changed in a separate series. Call to do_sys_setimeofday() is superfluous as all the necessary checks and functions ar

[PATCH 4/7] Change k_clock clock_getres() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 2 +-

[PATCH 3/7] Change k_clock clock_get() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 4 ++--

[PATCH 6/7] Change k_clock timer_set() and timer_get() to use timespec64

2017-03-18 Thread Deepa Dinamani
struct timespec is not y2038 safe. The plan is to get rid of all uses of timespec internally in the kernel. Replace uses of timespec with timespec64. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 20

[PATCH 0/7] Change k_clock interfaces to use timespec64

2017-03-18 Thread Deepa Dinamani
The series is aimed at replacing struct timespec which is not y2038 safe with y2038 safe struct timespec64 for k_clock interfaces. The series does not change the syscall interface. This will be done in a follow up series. A few existing checkpatch-noted style issues, such as the 80 line character

Re: [PATCH 4/4] mfd: cpcap: Fix bad use of IRQ sense register

2017-03-18 Thread Sebastian Reichel
On Thu, Mar 16, 2017 at 05:36:33PM -0700, Tony Lindgren wrote: > The cpcap INTS registers are for getting the value of the line, > not for configuring the type. > > Cc: Lee Jones > Cc: Marcel Partap > Cc: Michael Scott > Cc: Sebastian Reichel Reviewed-By: Sebastian Reichel > Signed-off-by:

Re: [sched/core] 8a8c69c327: WARNING: CPU: 0 PID: 8 at kernel/locking/lockdep.c:3548 lock_release

2017-03-18 Thread Wanpeng Li
2017-03-17 22:13 GMT+08:00 Peter Zijlstra : > On Fri, Mar 17, 2017 at 03:09:09PM +0100, Peter Zijlstra wrote: >> On Fri, Mar 17, 2017 at 09:24:11PM +0800, Wanpeng Li wrote: >> > I have another version of patch which utilizes raw_spin_lock_irqsave() >> > instead of rq_lock_irqsave() in __balance_cal

[GIT PULL] target fixes for v4.11-rc3

2017-03-18 Thread Nicholas A. Bellinger
Hello Linus, Here are the target-pending fixes for v4.11-rc3 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master The bulk of the changes are in qla2xxx target driver code to address various issues found during Cavium/QLogic's intern

[PATCH] drm/nouveau/mpeg: mthd returns true on success now

2017-03-18 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin Fixes: 590801c1a3 ("drm/nouveau/mpeg: remove dependence on namedb/engctx lookup") Cc: sta...@vger.kernel.org # v4.3+ --- This is just a nice-to-have, as it only affects an error print afterwards. drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c | 2 +- drivers/gpu/drm

Re: [PATCH 07/17] net: convert sock.sk_refcnt from atomic_t to refcount_t

2017-03-18 Thread David Miller
From: Herbert Xu Date: Sun, 19 Mar 2017 00:47:59 +0800 > Eric Dumazet wrote: >> On Fri, 2017-03-17 at 07:42 +, Reshetova, Elena wrote: >> >>> Should we then first measure the actual numbers to understand what we >>> are talking here about? >>> I would be glad to do it if you suggest what i

[PATCH V1] mmc: core: fix still flush cache when eMMC cache off

2017-03-18 Thread Bean Huo (beanhuo)
This patch fixes the issue that mmc_blk_issue_rq still flushes cache when eMMC cache has already been off through user space tool, such as mmc-utils. The reason is that card->ext_csd.cache_ctrl isn't reset. Signed-off-by: beanhuo --- drivers/mmc/core/block.c | 9 + 1 file changed, 9 inse

[PATCH] Staging: rtl8192e - fixed style of block comments

2017-03-18 Thread Derek Robson
Fixed style of block comment across whole driver Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192e/rtl8192e/r8190P_def.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h | 2 +- drivers/stag

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Russell King - ARM Linux
On Sat, Mar 18, 2017 at 08:41:14PM -0400, Nicolas Dufresne wrote: > Le samedi 18 mars 2017 à 20:43 +, Russell King - ARM Linux a > écrit : > > On Sat, Mar 18, 2017 at 12:58:27PM -0700, Steve Longerbeam wrote: > > > Can you share your gstreamer pipeline? For now, until > > > VIDIOC_ENUM_FRAMESIZ

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Nicolas Dufresne
Le samedi 18 mars 2017 à 20:43 +, Russell King - ARM Linux a écrit : > On Sat, Mar 18, 2017 at 12:58:27PM -0700, Steve Longerbeam wrote: > > Can you share your gstreamer pipeline? For now, until > > VIDIOC_ENUM_FRAMESIZES is implemented, try a pipeline that > > does not attempt to specify a fra

Re: Passionate Partner

2017-03-18 Thread Castano Giovanni
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Castano Giovanni

[PATCH] Staging: ks7010 - fixed style block comments

2017-03-18 Thread Derek Robson
Fixed style of all block comments across whole driver Found by checkpatch Signed-off-by: Derek Robson --- drivers/staging/ks7010/ks7010_sdio.c | 3 ++- drivers/staging/ks7010/ks_hostif.h | 35 +- drivers/staging/ks7010/ks_wlan.h | 3 ++- drivers/staging/ks7010

[GIT PULL] Openrisc fixes for 4.11

2017-03-18 Thread Stafford Horne
Hi Linus Please consider for pull, OpenRISC fixes for build issues that were exposed by kbuild robots after 4.11 merge. All from allmodconfig builds. This includes: - bug handling 8 byte get_user calls - module build failure due to multile missing symbol exports Also, FYI, there is a build war

[PATCH] perf report: enable sorting by srcline as key

2017-03-18 Thread Milian Wolff
Often it is interesting to know how costly a given source line is in total. Previously, one had to build these sums manually based on all addresses that pointed to the same source line. This patch introduces srcline as a sort key, which will do the aggregation for us. Paired with the recent additi

Attention please;

2017-03-18 Thread Mrs Bazaira Zurmati
Attention please; Please forgive my intrusion into your privacy, I am Mrs Bazira Zurmati, and I am a banker. It is true that we have not meet each other in person, but I strongly believe that no trust, no friendship in every business. I have the deceased customer’s abandoned fund, which I am

[PATCH] staging: speakup: fixes braces {} used on all arms of this statement

2017-03-18 Thread Arushi Singhal
This patch fixes the checks reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 35 +++- drivers/staging/speakup/speakup_decext.c | 6 +++--- drivers/stagin

[tip:WIP.x86/boot 35/62] WARNING: vmlinux.o(.text.unlikely+0x2f69): Section mismatch in reference from the function can_free_region() to the function .init.text:e820__mapped_all()

2017-03-18 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/boot head: 687d77a5f7b2aae4ea0507888648823f7c24e974 commit: 3bce64f019a801f526cc38523c77ffda4e846155 [35/62] x86/boot/e820: Rename e820_any_mapped()/e820_all_mapped() to e820__mapped_any()/e820__mapped_all() config: x86_

[PATCH 0/6 v3] [GIT PULL] ftrace/x86: Ftrace cleanup and add support for -mfentry on x86_32

2017-03-18 Thread Steven Rostedt
[ Ingo, Thomas or Peter, I believe this is all set to go now. I updated those patches that Linus commented on and I don't believe there are any more issues. I ran this through several tests (although some of my tests are failing due to bugs introduced by others in 4.11-rc2). You can take thi

[PATCH 5/6 v3] ftrace/x86_32: Add -mfentry support to x86_32 with DYNAMIC_FTRACE set

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" x86_64 has had fentry support for some time. I did not add support to x86_32 as I was unsure if it will be used much in the future. It is still very much used, and there's issues with function graph tracing with gcc playing around with the mcount frames, causing fu

[PATCH 2/6 v3] ftrace/x86_32: Move the ftrace specific code out of entry_32.S

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The function tracing hook code for ftrace is not an entry point from userspace and does not belong in the entry_*.S files. It has already been moved out of entry_64.S. This moves it out of entry_32.S into its own ftrace_32.S file. Signed-off-by: Steven Rostedt (VM

[PATCH 6/6 v3] ftrace/x86: Use Makefile logic instead of #ifdef of compling ftrace_*.o

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Currently ftrace_32.S and ftrace_64.S are compiled even when CONFIG_FUNCTION_TRACER is not set. This means there's an unnecessary #ifdef to protect the code. Instead of using preprocessor directives, only compile those files when FUNCTION_TRACER is defined. Link:

[PATCH 3/6 v3] ftrace/x86_32: Add stack frame pointer to ftrace_caller

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The function hook ftrace_caller does not create its own stack frame, and this causes the ftrace stack trace to miss the first function when doing stack traces. # echo schedule:stacktrace > /sys/kernel/tracing/set_ftrace_filter Before: -0 [002] .N..

[PATCH 1/6 v3] ftrace/x86_64: Rename mcount_64.S to ftrace_64.S

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" With the advent of -mfentry that uses the new "fentry" hook over mcount, the mcount name is obsolete. Having the code file that ftrace hooks into called "mcount*.S" is rather misleading. Rename it to ftrace_64.S Signed-off-by: Steven Rostedt (VMware) --- arch/x8

[PATCH 4/6 v3] ftrace/x86_32: Clean up ftrace_regs_caller

2017-03-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When ftrace_regs_caller was created, it was designed to preserve flags as much as possible as it needed to act just like a breakpoint triggered on the same location. But the design is over complicated as it treated all operations as modifying flags. But push, mov a

Re: [PATCH v2 1/2] doc: bindings: Add bindings documentation for mtd nvmem

2017-03-18 Thread Rob Herring
On Wed, Mar 15, 2017 at 2:41 PM, Alban wrote: > On Wed, 15 Mar 2017 12:24:01 -0500 > Rob Herring wrote: > >> On Tue, Mar 07, 2017 at 09:26:03AM +0100, Alban wrote: >> > Config data for drivers, like MAC addresses, is often stored in MTD. >> > Add a binding that define how such data storage can be

[PATCH 1/3] staging: speakup: Moved logical to previous line.

2017-03-18 Thread Arushi Singhal
Moved logical OR operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/driver

Re: [PATCH RFC 00/14] Add the BFQ I/O Scheduler to blk-mq

2017-03-18 Thread Linus Walleij
On Sat, Mar 18, 2017 at 6:46 PM, Bart Van Assche wrote: > On Sat, 2017-03-18 at 18:09 +0100, Linus Walleij wrote: >> On Sat, Mar 18, 2017 at 11:52 AM, Paolo Valente >> wrote: >> > > Il giorno 14 mar 2017, alle ore 16:32, Bart Van Assche >> > > ha scritto: >> > > (...) what should >> > > a devel

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Russell King - ARM Linux
On Sat, Mar 18, 2017 at 12:58:27PM -0700, Steve Longerbeam wrote: > Can you share your gstreamer pipeline? For now, until > VIDIOC_ENUM_FRAMESIZES is implemented, try a pipeline that > does not attempt to specify a frame rate. I use the attached > script for testing, which works for me. It's nothi

Re: [PATCH v5 3/5] dt-bindings: Add TI SCI PM Domains

2017-03-18 Thread Rob Herring
On Thu, Mar 16, 2017 at 1:27 PM, Dave Gerlach wrote: > Add a generic power domain implementation, TI SCI PM Domains, that > will hook into the genpd framework and allow the TI SCI protocol to > control device power states. > > Also, provide macros representing each device index as understood > by

[PATCH 2/3] staging: speakup: Remove multiple assignments

2017-03-18 Thread Arushi Singhal
This patch fixes the checkpatch.pl warning "multiple assignments should be avoided." Signed-off-by: Arushi Singhal --- drivers/staging/speakup/main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/m

[PATCH 3/3] staging: speakup: Simplify "NULL" comparisons

2017-03-18 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/selection.c | 2 +- drivers/staging/speakup/varhandlers.c

Re: [Outreachy kernel] [PATCH 1/3] staging: speakup: Moved logical to previous line.

2017-03-18 Thread Julia Lawall
The subject appears to be missing some words. logical what? On Sun, 19 Mar 2017, Arushi Singhal wrote: > Moved logical OR operator to previous line to fix the following > checkpatch issue: All the instances appear to be && not || julia > CHECK: Logical continuations should be on the previous

[PATCH 0/3] staging: speakup: Multiple checkpatch issues

2017-03-18 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in speakup driver. Arushi Singhal (3): staging: speakup: Moved logical to previous line. staging: speakup: Remove multiple assignments staging: speakup: Simplify "NULL" comparisons drivers/staging/speakup/main.c| 30 ++

[PATCH] drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one

2017-03-18 Thread Ilia Mirkin
The NV4A (aka NV44A) is an oddity in the family. It only comes in AGP and PCI varieties, rather than a core PCIE chip with a bridge for AGP/PCI as necessary. As a result, it appears that the MMU is also non-functional. For AGP cards, the vast majority of the NV4A lineup, this worked out since we fo

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Steve Longerbeam
Hi Russell, On 03/14/2017 10:29 AM, Steve Longerbeam wrote: On 03/12/2017 02:09 PM, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 08:40:37PM +, Russell King - ARM Linux wrote: On Sun, Mar 12, 2017 at 01:36:32PM -0700, Steve Longerbeam wrote: But hold on, if my logic is correc

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Steve Longerbeam
On 03/18/2017 12:22 PM, Russell King - ARM Linux wrote: Hi Steve, I've just been trying to get gstreamer to capture and h264 encode video from my camera at various frame rates, and what I've discovered does not look good. 1) when setting frame rates, media-ctl _always_ calls VIDIOC_SUBDEV

[patch] mmap.2: Add link to commit which broke MAP_POPULATE | MAP_NONBLOCK to be noop

2017-03-18 Thread Kirill Smelkov
Signed-off-by: Kirill Smelkov --- man2/mmap.2 | 1 + 1 file changed, 1 insertion(+) diff --git a/man2/mmap.2 b/man2/mmap.2 index 96875e486..f6fd56523 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -300,6 +300,7 @@ Don't perform read-ahead: create page tables entries only for pages that are alre

Re: [PATCH 1/3] mm: page_alloc: Reduce object size by neatening printks

2017-03-18 Thread Joe Perches
(adding Petr and Steven to cc's) On Fri, 2017-03-17 at 10:56 +0900, Sergey Senozhatsky wrote: > On (03/16/17 11:37), Joe Perches wrote: > > On Thu, 2017-03-16 at 20:30 +0900, Sergey Senozhatsky wrote: > > > On (03/15/17 18:43), Joe Perches wrote: > > > [..] > > > > - printk("active_anon:%lu

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-18 Thread Russell King - ARM Linux
Hi Steve, I've just been trying to get gstreamer to capture and h264 encode video from my camera at various frame rates, and what I've discovered does not look good. 1) when setting frame rates, media-ctl _always_ calls VIDIOC_SUBDEV_S_FRAME_INTERVAL with pad=0. 2) media-ctl never retrieves t

Re: [Outreachy kernel] [PATCH v2] staging: iio: ade7753: replace mlock with driver private lock

2017-03-18 Thread SIMRAN SINGHAL
On Sat, Mar 18, 2017 at 11:51 PM, Jonathan Cameron wrote: > On 18/03/17 17:34, SIMRAN SINGHAL wrote: >> On Thu, Mar 16, 2017 at 3:23 AM, Jonathan Cameron wrote: >>> On 13/03/17 19:53, Alison Schofield wrote: On Mon, Mar 13, 2017 at 10:01:07PM +0530, simran singhal wrote: > The IIO subsys

Re: [PATCH v5 2/4] fpga pr ip: Core driver support for Altera Partial Reconfiguration IP.

2017-03-18 Thread Anatolij Gustschin
Hi Matthew, thanks for the patches. Please see some comments below. On Fri, 10 Mar 2017 11:40:25 -0800 matthew.gerl...@linux.intel.com matthew.gerl...@linux.intel.com wrote: ... >+ if (!(info->flags & FPGA_MGR_PARTIAL_RECONFIG)) { >+ pr_err("%s Partial Reconfiguration flag not

[PATCH v2 1/4] cdc-acm: reassemble fragmented notifications

2017-03-18 Thread Tobias Herzog
USB devices may have very limitited endpoint packet sizes, so that notifications can not be transferred within one single usb packet. Reassembling of multiple packages may be necessary. Signed-off-by: Tobias Herzog --- drivers/usb/class/cdc-acm.c | 106 ---

[PATCH v2 4/4] cdc-acm: remove unused element of struct acm

2017-03-18 Thread Tobias Herzog
write_used was introduced with commit 884b600f63dc ("[PATCH] USB: fix acm trouble with terminals") but never used since. Signed-off-by: Tobias Herzog --- drivers/usb/class/cdc-acm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index

[PATCH v2 3/4] cdc-acm: log message for serial state notification

2017-03-18 Thread Tobias Herzog
Adds a similar log message to USB_CDC_NOTIFY_SERIAL_STATE as it is already done with USB_CDC_NOTIFY_NETWORK_CONNECTION. Signed-off-by: Tobias Herzog --- drivers/usb/class/cdc-acm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c ind

Re: [PATCH v5 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP.

2017-03-18 Thread Anatolij Gustschin
Hi Matthew, On Fri, 10 Mar 2017 11:40:27 -0800 matthew.gerl...@linux.intel.com matthew.gerl...@linux.intel.com wrote: ... >+#include "altera-pr-ip-core.h" Shouldn't we put this header to include/linux? Compiling the out-of-tree modules using alt_pr_register/alt_pr_unregister will not work if thi

[PATCH v2 0/4] cdc-acm: reassemble fragmented notifications

2017-03-18 Thread Tobias Herzog
USB devices may have very limitited endpoint packet sizes, so that notifications can not be transferred within one single usb packet. This patchset adds the ability to reassemble notifications that are transmitted fragmented. v2: * reuse an allocated buffer for further notifications * fixed issu

[PATCH v2 2/4] cdc-acm: fix possible invalid access when processing notification

2017-03-18 Thread Tobias Herzog
Notifications may only be 8 bytes so long. Accessing the 9th and 10th byte of unimplemented/unknown notifications may be insecure. Also check the length of known notifications before accessing anything behind the 8th byte. Signed-off-by: Tobias Herzog --- drivers/usb/class/cdc-acm.c | 11 +++

Re: [PATCH 1/4] cdc-acm: reassemble fragmented notifications

2017-03-18 Thread Tobias Herzog
Hi, thank you for your feedback. I tried to fix all issues with v2. I was just unsure with one point (see comment). /tobias > Am Dienstag, den 14.03.2017, 21:14 +0100 schrieb Tobias Herzog: > > > > USB devices may have very limitited endpoint packet sizes, so that > > notifications can not be

[PATCH v4] staging: Use buf_lock instead of mlock and Refactor code

2017-03-18 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with buf_lock in the devices

Re: [PATCH] arm: ftrace: fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER

2017-03-18 Thread Rabin Vincent
On Wed, Mar 15, 2017 at 06:07:39PM +, Abel Vesa wrote: > The support for dynamic ftrace with CONFIG_DEBUG_RODATA involves > overriding the weak arch_ftrace_update_code() with a variant which makes > the kernel text writable around the patching. > > This override was however added under the CON

Re: [Outreachy kernel] [PATCH v2] staging: iio: ade7753: replace mlock with driver private lock

2017-03-18 Thread Jonathan Cameron
On 18/03/17 17:34, SIMRAN SINGHAL wrote: > On Thu, Mar 16, 2017 at 3:23 AM, Jonathan Cameron wrote: >> On 13/03/17 19:53, Alison Schofield wrote: >>> On Mon, Mar 13, 2017 at 10:01:07PM +0530, simran singhal wrote: The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core

[PATCH] nfc: ia64: fix redefinition of 'put_unaligned_be64'

2017-03-18 Thread Sergei Trofimovich
ia64 allmodconfig build failed as: In file included from /home/slyfox/linux-2.6/drivers/nfc/nxp-nci/i2c.c:39:0: linux/include/linux/unaligned/access_ok.h:62:29: error: redefinition of 'put_unaligned_be64' static __always_inline void put_unaligned_be64(u64 val, void *p)

Re: [PATCH] kexec: Update vmcoreinfo after crash happened

2017-03-18 Thread Petr Tesarik
On Thu, 16 Mar 2017 21:40:58 +0800 Xunlei Pang wrote: > On 03/16/2017 at 09:18 PM, Baoquan He wrote: > > On 03/16/17 at 08:36pm, Xunlei Pang wrote: > >> On 03/16/2017 at 08:27 PM, Baoquan He wrote: > >>> Hi Xunlei, > >>> > >>> Did you really see this ever happened? Because the vmcore size estimat

Re: [PATCH v2 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-18 Thread Sergei Shtylyov
Hello! On 3/14/2017 7:36 PM, Bartlomiej Zolnierkiewicz wrote: Add Palmchip BK3710 PATA controller driver. Signed-off-by: Bartlomiej Zolnierkiewicz [...] diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c new file mode 100644 index 000..6d77217 --- /dev/null +++ b/drivers

kernel BUG at mm/swap_slots.c:270

2017-03-18 Thread Linus Torvalds
Tim at al, I got this on my desktop at shutdown: [ cut here ] kernel BUG at mm/swap_slots.c:270! invalid opcode: [#1] SMP CPU: 5 PID: 1745 Comm: (sd-pam) Not tainted 4.11.0-rc1-00243-g24c534bb161b #1 Hardware name: System manufacturer System Product Name/Z17

Re: [PATCH RFC 00/14] Add the BFQ I/O Scheduler to blk-mq

2017-03-18 Thread Bart Van Assche
On Sat, 2017-03-18 at 18:09 +0100, Linus Walleij wrote: > On Sat, Mar 18, 2017 at 11:52 AM, Paolo Valente > wrote: > > > Il giorno 14 mar 2017, alle ore 16:32, Bart Van Assche > > > ha scritto: > > > (...) what should > > > a developer do who only has access to a small subset of all the storage

[PATCH 2/2] EDAC, pnd2_edac: Fix !EDAC_DEBUG build

2017-03-18 Thread Borislav Petkov
Provide debugfs function stubs when EDAC_DEBUG is not enabled so that we don't fail the build: drivers/edac/pnd2_edac.c: In function ‘pnd2_init’: drivers/edac/pnd2_edac.c:1521:2: error: implicit declaration of function ‘setup_pnd2_debug’ [-Werror=implicit-function-declaration] setup_pnd2_

[PATCH] ASoC: mediatek: constify snd_soc_ops structures

2017-03-18 Thread Bhumika Goyal
Declare snd_soc_ops structures as const as they are only stored in the ops field of a snd_soc_dai_link structure. This field is of type const, so snd_soc_ops structures having this property can be made const too. Signed-off-by: Bhumika Goyal --- sound/soc/mediatek/mt2701/mt2701-cs42448.c |

Cash Donation

2017-03-18 Thread Adrian Gillian Bayford
£1.5 Million Has Been Granted To You As A Donation Visit www.bbc.co.uk/news/uk-england-19254228 Sendname Address Phone for more info

[PATCH 1/2] EDAC: Select DEBUG_FS

2017-03-18 Thread Borislav Petkov
The debugfs.c functionality relies on DEBUG_FS so select it. Signed-off-by: Borislav Petkov --- drivers/edac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index be3eac6ad54d..4773f2867234 100644 --- a/drivers/edac/Kconfig +++ b/drivers/ed

Re: [PATCH v4 1/1] EDAC, pnd2_edac: Add new EDAC driver for Intel SoC platforms

2017-03-18 Thread Borislav Petkov
Btw, just broke the build with pnd2 due to EDAC_DEBUG + DEBUG_FS dependencies missing. I'm replying to this mail with potential fixes but would like to hammer on them more when I get back just to be sure I haven't missed anything. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when

Re: [PATCH v5 0/5] perf report: Show inline stack

2017-03-18 Thread Milian Wolff
On Donnerstag, 16. März 2017 22:42:22 CET Jin Yao wrote: > v5: Update according to Milian Wolff's comments. It groups by address > (then display file/ line), or by function (then display function name). Thank you Jin, that is really good. I tested it and it works really well for me. Arnaldo,

Re: [Outreachy kernel] [PATCH v2] staging: iio: ade7753: replace mlock with driver private lock

2017-03-18 Thread SIMRAN SINGHAL
On Thu, Mar 16, 2017 at 3:23 AM, Jonathan Cameron wrote: > On 13/03/17 19:53, Alison Schofield wrote: >> On Mon, Mar 13, 2017 at 10:01:07PM +0530, simran singhal wrote: >>> The IIO subsystem is redefining iio_dev->mlock to be used by >>> the IIO core only for protecting device operating mode chang

Re: [PATCH] net: convert sk_filter.refcnt from atomic_t to refcount_t

2017-03-18 Thread Sergei Shtylyov
Hello! On 3/18/2017 3:58 PM, Elena Reshetova wrote: refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena

Re: [PATCH 0/5] mm subsystem refcounter conversions

2017-03-18 Thread Herbert Xu
Andrew Morton wrote: > > The performance implications of this proposal are terrifying. > > I suggest adding a set of non-debug inlined refcount functions which > just fall back to the simple atomic.h operations. > > And add a new CONFIG_DEBUG_REFCOUNT. So the performance (and code > size!) with

Re: [PATCH RFC 00/14] Add the BFQ I/O Scheduler to blk-mq

2017-03-18 Thread Linus Walleij
On Sat, Mar 18, 2017 at 11:52 AM, Paolo Valente wrote: >> Il giorno 14 mar 2017, alle ore 16:32, Bart Van Assche >> ha scritto: >> (...) what should >> a developer do who only has access to a small subset of all the storage >> devices that are supported by the Linux kernel and hence who can not

Re: [PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 1

2017-03-18 Thread Kirill A. Shutemov
On Tue, Mar 14, 2017 at 10:48:51AM -0700, Linus Torvalds wrote: > On Tue, Mar 14, 2017 at 12:47 AM, Ingo Molnar wrote: > > > > I've also applied the GUP patch, with the assumption that you'll address > > Linus's > > request to switch x86 over to the generic version. > > Note that switching over

Re: [PATCH 26/26] x86/mm: allow to have userspace mappings above 47-bits

2017-03-18 Thread Kirill A. Shutemov
On Fri, Mar 17, 2017 at 11:23:54PM +0530, Aneesh Kumar K.V wrote: > "Kirill A. Shutemov" writes: > > > On x86, 5-level paging enables 56-bit userspace virtual address space. > > Not all user space is ready to handle wide addresses. It's known that > > at least some JIT compilers use higher bits i

Re: [PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 1

2017-03-18 Thread Kirill A. Shutemov
On Tue, Mar 14, 2017 at 10:48:51AM -0700, Linus Torvalds wrote: > On Tue, Mar 14, 2017 at 12:47 AM, Ingo Molnar wrote: > > > > I've also applied the GUP patch, with the assumption that you'll address > > Linus's > > request to switch x86 over to the generic version. > > Note that switching over

Re: Kernel crash at boot time or reboot on ARM64/Hikey

2017-03-18 Thread Kirill A. Shutemov
On Thu, Mar 16, 2017 at 02:33:40PM +0100, Daniel Lezcano wrote: > On Wed, Mar 15, 2017 at 02:42:50PM -0700, Linus Torvalds wrote: > > Should be fixed in current Git already.. > > > > The v4.11-rc2 still has the issue. Have you tried actual master? There's fix after -rc2. -- Kirill A. Shutemov

  1   2   >