[PATCH 6/7] drivers:input:ads7846(+tsc2046): fix spi module table

2015-11-06 Thread H. Nikolaus Schaller
Fix module table so that the driver is loaded if compiled as module and requested by DT. Signed-off-by: H. Nikolaus Schaller --- drivers/input/touchscreen/ads7846.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/input/touchscreen/ads7846.c

[PATCH 0/7] drivers: touchscreen: tsc2007 and ads7846/tsc2046 improvements (use common touchscreen bindings, pre-calibration, spi fix and provide iio raw values)

2015-11-06 Thread H. Nikolaus Schaller
This patch series improves the drivers for the tsc2007 and ads7846/tsc2046 touchscreen controllers which are e.g. used by the GTA04, OpenPandora and Pyra devices. New common bindings have been defined by commit b98abe52fa8e:

Re: Use-after-free in ep_remove_wait_queue

2015-11-06 Thread Rainer Weikusat
Jason Baron writes: > On 11/06/2015 08:06 AM, Dmitry Vyukov wrote: >> On Mon, Oct 12, 2015 at 2:17 PM, Dmitry Vyukov wrote: >>> On Mon, Oct 12, 2015 at 2:14 PM, Eric Dumazet >>> wrote: On Mon, 2015-10-12 at 14:02 +0200, Michal Kubecek wrote: > Probably the issue discussed in

[PATCH 7/7] DT:omap3+ads7846: use new common touchscreen bindings

2015-11-06 Thread H. Nikolaus Schaller
The standard touch screen bindings [1] replace the private ti,swap-xy with touchscreen-swaped-x-y. And for the Openpandora we use touchscreen-size etc. to match the LCD screen size. [1]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt Signed-off-by: H. Nikolaus Schaller ---

[PATCH 4/7] DT:omap3+tsc2007: use new common touchscreen bindings

2015-11-06 Thread H. Nikolaus Schaller
Tested on: GTA04A4 (Letux2804), Letux3704, Letux7004 Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 5/7] drivers:input:ads7846(+tsc2046): add new common binding names, pre-calibration and flipping

2015-11-06 Thread H. Nikolaus Schaller
commit b98abe52fa8e ("Input: add common DT binding for touchscreens") introduced common DT bindings for touchscreens [1] and a helper function to parse the DT. This has been integrated and interpretation of the inversion (flipping) properties for the x and y axis has been added to accommodate any

[PATCH 1/7] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2015-11-06 Thread H. Nikolaus Schaller
commit b98abe52fa8e ("Input: add common DT binding for touchscreens") introduced common DT bindings for touchscreens [1] and a helper function to parse the DT. This has been integrated and interpretation of the inversion (flipping) properties for the x and y axis has been added to accommodate any

[PATCH] GPU-DRM-vc4: Delete unnecessary checks before two function calls

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 16:04:22 +0100 The following functions test whether their argument is NULL and then return immediately. * drm_fbdev_cma_hotplug_event * drm_fbdev_cma_restore_mode Thus the tests around their calls are not needed. This issue was detected by using the

Re: [PATCH 3/3] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Ian Abbott
On 06/11/15 13:54, Ranjith T wrote: Is this patch is fine?..Because I didn't get any reply for this patch Your patch numbering sucks. Isolated patches should just use [PATCH], not [PATCH 3/3], [PATCH 4/4], etc. Also, could you mention the name of the COMEDI driver in the patch title,

Re: [PATCH tip/locking/core v9 6/6] locking/pvqspinlock: Queue node adaptive spinning

2015-11-06 Thread Peter Zijlstra
On Fri, Oct 30, 2015 at 07:26:37PM -0400, Waiman Long wrote: > +++ b/kernel/locking/qspinlock_paravirt.h > @@ -23,6 +23,19 @@ > #define _Q_SLOW_VAL (3U << _Q_LOCKED_OFFSET) > > /* > + * Queue Node Adaptive Spinning > + * > + * A queue node vCPU will stop spinning if the vCPU in the previous

Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-06 Thread Paolo Bonzini
On 06/11/2015 15:11, Krzysztof Mazur wrote: >> > >> > http://git.kernel.org/tip/1c5dac914794f0170e1582d8ffdee52d30e0e4dd >> > > Thanks and sorry. Yes, it has been already fixed. I've rechecked only > mainline. > > However, I think that there should be > min(KERNEL_PGD_PTRS,

Re: Use-after-free in ep_remove_wait_queue

2015-11-06 Thread Jason Baron
On 11/06/2015 08:06 AM, Dmitry Vyukov wrote: > On Mon, Oct 12, 2015 at 2:17 PM, Dmitry Vyukov wrote: >> On Mon, Oct 12, 2015 at 2:14 PM, Eric Dumazet wrote: >>> On Mon, 2015-10-12 at 14:02 +0200, Michal Kubecek wrote: >>> Probably the issue discussed in

[PATCH] staging: lustre: lnet: klnds: socklnd: Move extern declarations to header

2015-11-06 Thread Amitoj Kaur Chawla
This patch moves extern declarations in socklnd_lib.c to the respective header file, 'socklnd.h'. This patch also removes extern keyword from function declarations since functions have the extern specifier by default. Signed-off-by: Amitoj Kaur Chawla ---

Re: [PATCH 06/10] pwm: sysfs: make use of the DEVICE_ATTR_[RW][WO] macro's

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:37PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > For the npwm property the pwm sysfs interface already made use of the > DEVICE_ATTR_RO macro. This patch expands this to the other sysfs > properties so that the code base is concise and makes use of

Re: [PATCH 05/10] pwm: sysfs: do not unnecessarily store result in var

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:36PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > Use the result of pwm_is_enabled directly instead of storing it first. > > Signed-off-by: Olliver Schinagl > --- > drivers/pwm/sysfs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH tip/locking/core v9 5/6] locking/pvqspinlock: Allow 1 lock stealing attempt

2015-11-06 Thread Peter Zijlstra
On Fri, Oct 30, 2015 at 07:26:36PM -0400, Waiman Long wrote: > @@ -431,35 +432,44 @@ queue: >* sequentiality; this is because the set_locked() function below >* does not imply a full barrier. >* > + * The PV pv_wait_head_lock function, if active, will acquire the lock

Re: [PATCH 04/10] pwm: core: use bitops

2015-11-06 Thread Olliver Schinagl
Hey Thierry, but why have the bit macro at all then :) But that choice I guess I leave to you, as it's your section, I know some submaintainers prefer it and want it to be used, so I guess it's something in general kernel wide that should be desided on, BIT() macro preferred or not.

Re: [PATCH 04/10] pwm: core: use bitops

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:35PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > The pwm header defines bits manually while there is a nice bitops.h with > a BIT() macro. Use the BIT() macro to set bits in pwm.h > > Signed-off-by: Olliver Schinagl > --- > include/linux/pwm.h | 7

[PATCH] uapi elf: delete unused macros

2015-11-06 Thread mudongliang
>From 13f516acc709d88d3162e92bc891c8e39cc9fc1a Mon Sep 17 00:00:00 2001 From: mudongliang Date: Fri, 6 Nov 2015 14:35:19 +0800 Subject: [PATCH] unify the comment form and delete unused macros Signed-off-by: mudongliang --- arch/powerpc/boot/elf.h | 6 ++ include/uapi/linux/elf.h | 6

[PATCH] load_elf_binary: change code style

2015-11-06 Thread mudongliang
>From 3d17cc86be5d44bcd9ed37840b81fc739594 Mon Sep 17 00:00:00 2001 From: mudongliang Date: Wed, 4 Nov 2015 22:47:47 +0800 Subject: [PATCH] this writing is a little easier to understand. Signed-off-by: mudongliang --- fs/binfmt_elf.c | 100

GOOD MR/MRS

2015-11-06 Thread
Are You In Financial Crisis? Need a Loan Contact Us At 2% Interest Rate. (1) NAME: (2) COUNTRY: (3) ADDRESS: (4) LOAN AMOUNT: (5) LOAN DURATION: (6) PURPOSE OF LOAN: (7) PHONE NUMBER: Mr. Suman Raghu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [GIT PULL] char/misc driver patches for 4.4-rc1

2015-11-06 Thread Geert Uytterhoeven
Hi Alex, On Fri, Nov 6, 2015 at 3:31 PM, Alexander Shishkin wrote: > Geert Uytterhoeven writes: That seems a bit disingenuous, no? >> >> And if you say Y to the latter, it's not even compiled if STM=n... >> >>> Yeah, that's not good, I only tested it with it enabled. I'll go add >>> some

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Lorenzo Pieralisi
On Fri, Nov 06, 2015 at 09:22:46PM +0800, Jiang Liu wrote: > On 2015/11/6 20:40, Tomasz Nowicki wrote: > > On 06.11.2015 12:46, Jiang Liu wrote: > >> On 2015/11/6 18:37, Tomasz Nowicki wrote: > >>> On 06.11.2015 09:52, Jiang Liu wrote: > >>> Sure, ARM64 (0-16M IO space) QEMU example: > >>> DWordIO

[PATCH] mm: add page_check_address_transhuge helper

2015-11-06 Thread Vladimir Davydov
page_referenced_one() and page_idle_clear_pte_refs_one() duplicate the code for looking up pte of a (possibly transhuge) page. Move this code to a new helper function, page_check_address_transhuge(), and make the above mentioned functions use it. This is just a cleanup, no functional changes are

[PATCH v2] drm/imx: ipuv3-crtc: Return error if ipu_plane_init() fails for primary plane

2015-11-06 Thread Liu Ying
For primary plane initialization failure cases, ipu_plane_init() may return a pointer encoded by ERR_PTR(). So, we should bailout instead of using that pointer blindly. Signed-off-by: Liu Ying --- v1->v2: * Trivial commit message fix. * Rebase onto Phillip's patch[1]. [1]

Re: [PATCH] unicore32: nb0916: Use PWM lookup table

2015-11-06 Thread Thierry Reding
On Mon, Oct 05, 2015 at 08:08:43AM +0200, Thierry Reding wrote: > Use a PWM lookup table to provide the PWM to the pwm-backlight device. > The driver has a legacy code path that is required only because boards > still use the legacy method of requesting PWMs by global ID. Replacing > these usages

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread pi3orama
发自我的 iPhone > 在 2015年11月6日,下午10:03,Arnaldo Carvalho de Melo 写道: > > Em Fri, Nov 06, 2015 at 09:34:55PM +0800, Wangnan (F) escreveu: >> On 2015/11/6 21:19, Arnaldo Carvalho de Melo wrote: >>> Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: In dso__split_kallsyms_for_kcore(),

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread pi3orama
发自我的 iPhone > 在 2015年11月6日,下午9:59,Adrian Hunter 写道: > >> On 06/11/15 15:19, Arnaldo Carvalho de Melo wrote: >> Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: >>> In dso__split_kallsyms_for_kcore(), current code adjusts symbol's >>> address but only reinsert it into rbtree if the

Re: [GIT PULL] char/misc driver patches for 4.4-rc1

2015-11-06 Thread Alexander Shishkin
Geert Uytterhoeven writes: >>> That seems a bit disingenuous, no? > > And if you say Y to the latter, it's not even compiled if STM=n... > >> Yeah, that's not good, I only tested it with it enabled. I'll go add >> some dependancies to the Kconfig file, as there are none for those >> options, I

[PATCH net] net/qlcnic: fix mac address restore in bond mode 5/6

2015-11-06 Thread Jarod Wilson
The bonding driver saves a copy of slaves' original mac address and then assigns whatever mac as needed to the slave, depending on mode. In at least modes 5 and 6 (balance-tlb, balance-alb), it often ends up being the mac address of another slave. On release from the bond, the original mac address

[PATCH 5/5] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Ranjith
BIT macro is used for defining bit location instead of shifting operator - coding style issue Signed-off-by: Ranjith T --- drivers/staging/comedi/drivers/ii_pci20kc.c | 70 +-- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git

Re: [PATCH] thinkpad_acpi: don't yell on unsupported brightness interfaces

2015-11-06 Thread David Herrmann
Hi Darren! On Wed, Oct 21, 2015 at 4:44 PM, Darren Hart wrote: > On Wed, Oct 21, 2015 at 12:33:52PM -0200, Henrique de Moraes Holschuh wrote: >> On Wed, Oct 21, 2015, at 08:46, David Herrmann wrote: >> > The thinkpad_acpi driver currently emits error messages on unsupported >> > brightness

Re: [PATCH 02/25] perf stat record: Add record command

2015-11-06 Thread Jiri Olsa
On Fri, Nov 06, 2015 at 10:33:03AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > Humm, no, there are several things we should strive for, and > bisectability is one of the first, it requires smaller, self contained > patches, sure, but it also requires that at after applying each patch we >

[PATCH 4/4] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Ranjith
BIT macro is used for defining bit location instead of shifting operator - coding style issue Signed-off-by: Ranjith T --- drivers/staging/comedi/drivers/comedi_parport.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/comedi_parport.c

Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-06 Thread Krzysztof Mazur
On Fri, Nov 06, 2015 at 02:27:33PM +0100, Borislav Petkov wrote: > On Fri, Nov 06, 2015 at 02:18:36PM +0100, Krzysztof Mazur wrote: > > diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c > > index a3cccbf..37c8ea8 100644 > > --- a/arch/x86/kernel/setup.c > > +++

Re: [GIT PULL] parisc architecture updates for v4.3

2015-11-06 Thread Geert Uytterhoeven
On Wed, Nov 4, 2015 at 12:03 AM, Helge Deller wrote: >> Also, just looking at other things, we currently do have openrisc that has >> >> #define L1_CACHE_BYTES 16 >> >> so presumably openrisc would have had an issue with that XPS thing, > > and mn10300. And several other architectures that

Re: [PATCH v2 1/7] bpf tools: Improve libbpf error reporting

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 01:49:37PM +, Wang Nan escreveu: > In this patch, a series libbpf specific error numbers and > libbpf_strerror() are created to help reporting error to caller. > Functions are updated to pass correct error number through macro > CHECK_ERR(). > > All users of

[PATCH] HDMI-HDCP: Delete an unnecessary check before the function call "kfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 15:00:22 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 09:34:55PM +0800, Wangnan (F) escreveu: > On 2015/11/6 21:19, Arnaldo Carvalho de Melo wrote: > >Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: > >>In dso__split_kallsyms_for_kcore(), current code adjusts symbol's > >>address but only reinsert it into rbtree

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Adrian Hunter
On 06/11/15 15:19, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: >> In dso__split_kallsyms_for_kcore(), current code adjusts symbol's >> address but only reinsert it into rbtree if the symbol belongs to >> another map. However, the expression for

Re: [GIT PULL] char/misc driver patches for 4.4-rc1

2015-11-06 Thread Geert Uytterhoeven
Hi Greg, On Thu, Nov 5, 2015 at 5:44 PM, Greg KH wrote: > On Wed, Nov 04, 2015 at 10:43:10PM -0800, Linus Torvalds wrote: >> On Wed, Nov 4, 2015 at 2:19 PM, Greg KH wrote: >> > >> > Here is the big char/misc driver update for 4.4-rc1. Lots of different >> > driver and subsystem updates,

[PATCH v2 4/7 fix] perf tools: Improve BPF related error messages output

2015-11-06 Thread Wang Nan
A series of bpf loader related error code is introduced to help error delivering. Functions are improved to return those new error code. Functions which return pointers are adjusted to encode error code into return value using "ERR_PTR". bpf_loader_strerror() is improved to convert those error

Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-06 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Do den 5. Nov 2015 um 23:08 schrieb Serge E. Hallyn: > On Thu, Nov 05, 2015 at 11:01:07AM -0800, Andy Lutomirski wrote: > > On Thu, Nov 5, 2015 at 9:48 AM, Klaus Ethgen wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA512 > >

Re: [PATCH v4] sched: fix incorrect wait time and wait count statistics

2015-11-06 Thread Peter Zijlstra
On Tue, Oct 27, 2015 at 09:46:53PM -0700, Joonwoo Park wrote: > @@ -1272,6 +1272,15 @@ void set_task_cpu(struct task_struct *p, unsigned int > new_cpu) > WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING && > !p->on_rq); > > + /* > + *

Re: [PATCH v2] Documentation/SubmittingPatches: discuss In-Reply-To

2015-11-06 Thread Frederic Weisbecker
On Thu, Nov 05, 2015 at 03:21:47PM -0500, Chris Metcalf wrote: > Add a paragraph suggesting best practices for when to link patches > to previous LKML messages via In-Reply-To. > > Signed-off-by: Chris Metcalf ACK! Thanks! > --- > Documentation/SubmittingPatches | 10 ++ > 1 file

[PATCH v2 3/7 fix] perf tools: Make fetch_kernel_version() public available

2015-11-06 Thread Wang Nan
There are 2 places in llvm-utils.c which find kernel version information through uname. This patch extracts uname related code into one fetch_kernel_version() function and put it into util.h so other part of code can use it. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim

Re: [PATCH 3/3] comedi: driver: Fix - BIT macro used coding style issue

2015-11-06 Thread Ranjith T
Is this patch is fine?..Because I didn't get any reply for this patch Thanks, Ranjith.T. On Thu, Nov 5, 2015 at 9:27 PM, Ranjith wrote: > BIT macro is used for defining bit location instead of shifting > operator - coding style issue > > Signed-off-by: Ranjith T > --- >

[PATCH v2 6/7] perf test: Enforce LLVM test: add kbuild test

2015-11-06 Thread Wang Nan
This patch adds a kbuild testcase to check whether kernel headers can be correctly found. For example: # mv /lib/modules/4.3.0-rc5{,.bak} # perf test LLVM 38: Test LLVM searching and compiling: Skip # perf test -v LLVM ... :11:10: fatal error: 'uapi/linux/fs.h'

[PATCH v2 2/7] bpf tools: Add new API bpf_object__get_kversion()

2015-11-06 Thread Wang Nan
bpf_object__get_kversion() can be used to fetch value of object's 'version' section. Following patch will use it for error reporting. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim --- tools/lib/bpf/libbpf.c | 8 tools/lib/bpf/libbpf.h | 1 + 2 files changed, 9

[PATCH v2 1/7] bpf tools: Improve libbpf error reporting

2015-11-06 Thread Wang Nan
In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through macro CHECK_ERR(). All users of bpf_object__open{_buffer}() and bpf_program__title() in perf are modified

[PATCH v2 3/7] perf tools: Make fetch_kernel_version() public available

2015-11-06 Thread Wang Nan
There are 2 places in llvm-utils.c which find kernel version information through uname. This patch extracts uname related code into one fetch_kernel_version() function and put it into util.h so other part of code can use it. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim

[PATCH v2 4/7] perf tools: Improve BPF related error messages output

2015-11-06 Thread Wang Nan
A series of bpf loader related error code is introduced to help error delivering. Functions are improved to return those new error code. Functions which return pointers are adjusted to encode error code into return value using "ERR_PTR". bpf_loader_strerror() is improved to convert those error

[PATCH v2 7/7] perf test: Add 'perf test BPF'

2015-11-06 Thread Wang Nan
This patch adds BPF testcase for testing BPF event filtering. By utilizing the result of 'perf test LLVM', this patch compiles the eBPF sample program then test it ability. The BPF script in 'perf test LLVM' let only 50% samples generated by epoll_pwait() be captured. This patch runs that system

[PATCH v2 5/7] perf test: Enforce LLVM test: update basic BPF test program

2015-11-06 Thread Wang Nan
This patch replaces the original toy BPF program with previous introduced bpf-script-example.c. Dynamically embedded it into 'llvm-src-base.c'. The newly introduced BPF program attaches a BPF program to 'sys_epoll_pwait()'. perf itself never use that syscall, so further test can verify their

[PATCH v2 0/7] perf tools: improve BPF related error delivering and testing

2015-11-06 Thread Wang Nan
This patchset is based on Arnaldo's perf/core. Previous version can be found from [1]. Patch 1/7 - 4/7 are error message related patches. Patch 5/7 - 7/7 are testing related patches. v1 -> v2: - Use enum for error code. - Eliminate for-loop, directly get error message from array using

Re: [PATCH v10 1/1] pwm: core: Set enable state properly on failed call to enable

2015-11-06 Thread Thierry Reding
On Fri, Oct 16, 2015 at 05:40:58PM -0700, Jonathan Richardson wrote: > The pwm_enable function didn't clear the enabled bit if a call to a > clients enable function returned an error. The result was that the state > of the pwm core was wrong. Clearing the bit when enable returns an error > ensures

[PATCH] GPU-DRM-ps8622: Delete an unnecessary check before backlight_device_unregister()

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 14:38:34 +0100 The backlight_device_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus

Re: [tpmdd-devel] [BUG, bisect, PATCH 04/10] tpm: move the PPI attributes to character device directory.

2015-11-06 Thread Jarkko Sakkinen
On Thu, Nov 05, 2015 at 10:17:55AM -0800, Jeremiah Mahler wrote: > Jarkko, > > On Thu, Nov 05, 2015 at 07:46:30PM +0200, Jarkko Sakkinen wrote: > > On Thu, Nov 05, 2015 at 08:47:58AM -0800, Jeremiah Mahler wrote: > > > Jarkko, > > > > > > On Thu, Nov 05, 2015 at 01:05:45PM +0200, Jarkko Sakkinen

Re: [PATCH v2 3/3] livepatch: Cleanup module page permission changes

2015-11-06 Thread Petr Mladek
On Fri 2015-11-06 06:12:47, Josh Poimboeuf wrote: > On Fri, Nov 06, 2015 at 11:40:55AM +0100, Petr Mladek wrote: > > On Thu 2015-11-05 15:18:05, Josh Poimboeuf wrote: > > > Calling set_memory_rw() and set_memory_ro() for every iteration of the > > > loop in klp_write_object_relocations() is messy,

Re: [PATCH 2/2] perf tools: Fix find_perf_probe_point_from_map() which incorrectly returns success

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 05:27:06PM +0800, Wangnan (F) escreveu: > On 2015/11/6 16:30, Wangnan (F) wrote: > >On 2015/11/6 15:12, 平松雅巳 / HIRAMATU,MASAMI wrote: > >>From: a...@kernel.org [mailto:a...@kernel.org] > Em Thu, Nov 05, 2015 at 02:08:48PM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: >

Re: [PATCH v5 3/6] ftrace: allow arch-specific stack tracer

2015-11-06 Thread Steven Rostedt
On Fri, 6 Nov 2015 15:44:42 +0900 AKASHI Takahiro wrote: > A stack frame may be used in a different way depending on cpu architecture. > Thus it is not always appropriate to slurp the stack contents, as current > check_stack() does, in order to calcurate a stack index (height) at a given >

Re: What's TRACE_IRQS_OFF_DEBUG for?

2015-11-06 Thread Steven Rostedt
On Thu, 5 Nov 2015 23:24:22 -0800 Andy Lutomirski wrote: > The comment says: > > /* > * When dynamic function tracer is enabled it will add a breakpoint > * to all locations that it is about to modify, sync CPUs, update > * all the code, sync CPUs, then remove the breakpoints. In this time >

Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs

2015-11-06 Thread Mika Westerberg
On Fri, Nov 06, 2015 at 02:29:53PM +0100, Thierry Reding wrote: > On Tue, Oct 20, 2015 at 04:53:05PM +0300, Mika Westerberg wrote: > > New Intel SoCs such as Broxton will have four PWMs per PCI (or ACPI) > > device. Each PWM has 1k of register space allocated from the parent device. > > Add

Re: [PATCH 0/3] signal: kill the obsolete SIGNAL_UNKILLABLE check in complete_signal()

2015-11-06 Thread Oleg Nesterov
On 11/05, Andrew Morton wrote: > > On Thu, 5 Nov 2015 21:17:20 +0100 Oleg Nesterov wrote: > > > On 11/05, Oleg Nesterov wrote: > > > > > > Cough... and on the second thought this patch needs v2. Sorry Andrew, > > > please > > > drop > > >

Re: [PATCH] MAINTAINERS: update DT binding doc locations

2015-11-06 Thread Thierry Reding
On Thu, Nov 05, 2015 at 01:41:15PM -0600, Rob Herring wrote: > After the recent moving of DT binding documents, some maintainers entries > are stale. Update them to the new locations. > > In bindings/fb/, there were only 2 files and I'm assuming the FB > maintainers don't want to be copied on all

Re: [PATCH v3] pwm: lpss: Add support for runtime PM

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 12:58:27PM +0200, Mika Westerberg wrote: > From: Qipeng Zha > > To be able to save some power when PWM is not in use, add support for > runtime PM for this driver. This also allows the platform to transition to > low power S0ix states when the system is idle. > >

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Wangnan (F)
On 2015/11/6 21:19, Arnaldo Carvalho de Melo wrote: Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: In dso__split_kallsyms_for_kcore(), current code adjusts symbol's address but only reinsert it into rbtree if the symbol belongs to another map. However, the expression for

Re: [PATCH 02/25] perf stat record: Add record command

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 09:24:00AM +0100, Jiri Olsa escreveu: > On Thu, Nov 05, 2015 at 05:51:01PM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > In the second case it almost works, modulo that warning. > > > > I think that what we need to achieve is for older tools to be able to, with

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Fri 06-11-15 12:05:55, Vladimir Davydov wrote: [...] > If there are no objections, I'll prepare a patch switching to the > white-list approach. Let's start from obvious things like fs_struct, > mm_struct, task_struct, signal_struct, dentry, inode, which can be > easily allocated from user

Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs

2015-11-06 Thread Thierry Reding
On Tue, Oct 20, 2015 at 04:53:05PM +0300, Mika Westerberg wrote: > New Intel SoCs such as Broxton will have four PWMs per PCI (or ACPI) > device. Each PWM has 1k of register space allocated from the parent device. > Add support for this. > > Signed-off-by: Mika Westerberg > --- >

[GIT PULL] DeviceTree for 4.4

2015-11-06 Thread Rob Herring
Hi Linus, Please pull for 4.4. A fairly large (by DT standards) pull request this time with the majority being some overdue moving DT binding docs around to consolidate similar bindings. Binding docs rarely change and I've not seen any conflicts in -next as a result of the move. Also note that

Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 02:18:36PM +0100, Krzysztof Mazur wrote: > The commit f5f3497cad8c8416a74b9aaceb127908755d020a (x86/setup: Extend > low identity map to cover whole kernel range) extended the low identity > mapping. However, if the kernel uses more than 2 GB (VMSPLIT_2G_OPT or > VMSPLIT_1G

[PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-06 Thread Krzysztof Mazur
The commit f5f3497cad8c8416a74b9aaceb127908755d020a (x86/setup: Extend low identity map to cover whole kernel range) extended the low identity mapping. However, if the kernel uses more than 2 GB (VMSPLIT_2G_OPT or VMSPLIT_1G memory split), the normal memory mapping is overwritten by the low

Re: [PATCH v11 5/5] xen/arm: account for stolen ticks

2015-11-06 Thread Vitaly Kuznetsov
Mark Rutland writes: > On Fri, Nov 06, 2015 at 11:41:49AM +, David Vrabel wrote: >> On 06/11/15 11:39, Stefano Stabellini wrote: >> > On Thu, 5 Nov 2015, Mark Rutland wrote: >> >>> static void xen_percpu_init(void) >> >>> { >> >>> struct vcpu_register_vcpu_info info; >> >>> @@

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 01:09:48PM +, Matt Fleming wrote: > On Thu, 05 Nov, at 11:05:35PM, Andy Lutomirski wrote: > > > > Admittedly, we might need to use a certain amount of care to avoid > > interesting conflicts with the vmap mechanism. We might need to vmap > > all of the EFI stuff, and

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 20:40, Tomasz Nowicki wrote: > On 06.11.2015 12:46, Jiang Liu wrote: >> On 2015/11/6 18:37, Tomasz Nowicki wrote: >>> On 06.11.2015 09:52, Jiang Liu wrote: >>> Sure, ARM64 (0-16M IO space) QEMU example: >>> DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, >>>

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 15:55:22, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: > > On Wed 04-11-15 14:50:37, Johannes Weiner wrote: [...] > > This would be true if they moved on to the new cgroup API intentionally. > > The reality is more complicated though. AFAIK

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: > In dso__split_kallsyms_for_kcore(), current code adjusts symbol's > address but only reinsert it into rbtree if the symbol belongs to > another map. However, the expression for adjusting symbol (pos->start -= > curr_map->start -

Re: [PATCH v11 5/5] xen/arm: account for stolen ticks

2015-11-06 Thread Vitaly Kuznetsov
David Vrabel writes: > On 06/11/15 11:39, Stefano Stabellini wrote: >> On Thu, 5 Nov 2015, Mark Rutland wrote: static void xen_percpu_init(void) { struct vcpu_register_vcpu_info info; @@ -104,6 +120,8 @@ static void xen_percpu_init(void) BUG_ON(err);

RE: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-06 Thread Opensource [Adam Thomson]
On November 6, 2015 11:55, Mark Brown wrote: > > > > I can envisage in a system you may want to choose which capture > > > > channels can > > > > trigger level detection (if any), and this may change depending on the > > > > use-case > > > > at the time, so having it as a control makes sense to

Re: [PATCH] perf, tools: Add better errors to annotate

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 05, 2015 at 07:06:07PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > When the browser fails to annotate it is difficult for users to find > out what went wrong. > > Add some errors for objdump failures that are displayed in the UI. > > Note it would be event better to handle

Re: GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: >>> The pwm_put() function tests whether its argument is NULL and then >>> returns immediately. Thus the test around the call is not needed. >> >> The compiler doesn't need it, but IMO it's useful documentation for humans. > > How do you think about

Re: [PATCH v5 3/5] gadget: Support for the usb charger framework

2015-11-06 Thread kbuild test robot
Hi Baolin, [auto build test WARNING on v4.3-rc7] [also build test WARNING on next-20151106] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20151106-194008 reproduce: make htmldocs All warnings (new ones

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Matt Fleming
On Thu, 05 Nov, at 11:05:35PM, Andy Lutomirski wrote: > > Admittedly, we might need to use a certain amount of care to avoid > interesting conflicts with the vmap mechanism. We might need to vmap > all of the EFI stuff, and possibly even all the top-level entries that > contain EFI stuff (i.e.

Re: Use-after-free in ep_remove_wait_queue

2015-11-06 Thread Dmitry Vyukov
On Mon, Oct 12, 2015 at 2:17 PM, Dmitry Vyukov wrote: > On Mon, Oct 12, 2015 at 2:14 PM, Eric Dumazet wrote: >> On Mon, 2015-10-12 at 14:02 +0200, Michal Kubecek wrote: >> >>> Probably the issue discussed in >>> >>> http://thread.gmane.org/gmane.linux.kernel/2057497/ >>> >>> and previous

Re: [PATCH 07/13] hperf_hmp: migration auxiliary functions.

2015-11-06 Thread kbuild test robot
Hi Arseniy, [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Arseniy-Krasnov/High-performance-balancing-logic-for-big-LITTLE/20151106-200901 reproduce: make htmldocs All warnings (new ones prefixed

Re: [PATCH] mm: slab: Only move management objects off-slab for sizes larger than KMALLOC_MIN_SIZE

2015-11-06 Thread Geert Uytterhoeven
On Thu, Nov 5, 2015 at 5:08 PM, Catalin Marinas wrote: > From fda8f306b6941f4ddbefcbcfaa59fedef4a679a3 Mon Sep 17 00:00:00 2001 > From: Catalin Marinas > Date: Thu, 5 Nov 2015 11:14:48 + > Subject: [PATCH] mm: slab: Only move management objects off-slab for sizes > larger than

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-11-06 Thread Maxime Coquelin
2015-10-22 14:35 GMT+02:00 Linus Walleij : > On Tue, Oct 20, 2015 at 6:32 PM, Maxime Coquelin > wrote: >> 2015-10-20 12:06 GMT+02:00 Daniel Thompson : >>> On 17/10/15 18:23, Maxime Coquelin wrote: > >>> I suggesting that, like with the clock driver, there is no need to the >>>

Re: [patch 3/3] vmstat: Create our own workqueue

2015-11-06 Thread Christoph Lameter
On Fri, 6 Nov 2015, Tetsuo Handa wrote: > So, if you refer to the blocking of the execution of vmstat updates, > description for patch 3/3 sould be updated to something like below? Ok that is much better. > -- > Since __GFP_WAIT memory allocations do not call schedule() > when there is

Re: GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread SF Markus Elfring
>> The pwm_put() function tests whether its argument is NULL and then >> returns immediately. Thus the test around the call is not needed. > > The compiler doesn't need it, but IMO it's useful documentation for humans. How do you think about to extend the explicit documentation for the affected

Re: [PATCH 3/8] block/floppy.c: handle blk_register_region() return value

2015-11-06 Thread kbuild test robot
Hi Vishnu, [auto build test ERROR on ide/master] [also build test ERROR on v4.3] [cannot apply to block/for-next next-20151106] url: https://github.com/0day-ci/linux/commits/Vishnu-Pratap-Singh/block-genhd-c-Add-error-handling/20151106-204249 base: https://git.kernel.org/pub/scm/linux

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 17:32:51, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 05:28:03PM +0100, Michal Hocko wrote: [...] > > Yes, that part is clear and Johannes made it clear that the kmem tcp > > part is disabled by default. Or are you considering also all the slab > > usage by the networking code

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Lorenzo Pieralisi
On Fri, Nov 06, 2015 at 04:52:47PM +0800, Jiang Liu wrote: [...] > >>> +int acpi_pci_probe_root_resources(struct acpi_pci_root_info *info) > >>> +{ > >>> + int ret; > >>> + struct list_head *list = >resources; > >>> + struct acpi_device *device = info->bridge; > >>> + struct resource_entry

Re: [PATCH] arm64: remove redundant FRAME_POINTER kconfig option

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 12:30:09PM +, Will Deacon wrote: > On Wed, Nov 04, 2015 at 09:37:51AM -0800, Yang Shi wrote: > > FRAME_POINTER is defined in lib/Kconfig.debug, it is unnecessary to redefine > > it in arch/arm64/Kconfig.debug. > > It might be worth noting that this adds a dependency on

Re: [PATCH] GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 13:38:22 +0100 > > The pwm_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. The compiler doesn't need it, but IMO it's

Re: linux-next: Tree for Nov 6

2015-11-06 Thread Christian Borntraeger
Am 06.11.2015 um 04:24 schrieb Stephen Rothwell: > Merging access_once/linux-next (fc7f9754db6c s390/dma: Allow per device dma > ops) Stephen, can you rename that branch to borntraeger/linux-next ? It used to carry the access_once reworks, but it will in general hold things that I work on.

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-06 Thread Pavel Machek
On Fri 2015-11-06 11:25:09, Michel Dänzer wrote: > On 06.11.2015 05:23, Pavel Machek wrote: > > Hi! > > > The flickering would vanish completely if that's the reason for the issue > you are seeing. > >>> > Try setting ref_div_min and ref_div_max to 2 in >

[PATCH] GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 13:38:22 +0100 The pwm_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-11-06 Thread Haozhong Zhang
On 11/06/15 11:49, Paolo Bonzini wrote: > > > On 20/10/2015 09:39, Haozhong Zhang wrote: > > This patchset adds support for VMX TSC scaling feature which is > > available on Intel Skylake CPU. The specification of VMX TSC scaling > > can be found at > >

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Tomasz Nowicki
On 06.11.2015 12:46, Jiang Liu wrote: On 2015/11/6 18:37, Tomasz Nowicki wrote: On 06.11.2015 09:52, Jiang Liu wrote: On 2015/11/6 2:19, Lorenzo Pieralisi wrote: On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: On 14.10.2015 08:29, Jiang Liu wrote: [...] +static void

<    3   4   5   6   7   8   9   10   11   12   >