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 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: [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 p

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; >> >>> @@ -104

[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 identit

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 m

[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 th

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 space.

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 > --- > drivers/pwm/pwm

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] 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 adjustin

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. > > Signed-o

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 support

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 > > > signal-kill-the-obsolete-signal_unkillable-check-in-compl

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: 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 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 > funct

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: > >Fr

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: [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

[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 Elfr

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 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 ar

[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 resul

[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 c

[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 mes

[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 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 accordingl

[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 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' fi

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 > --- > drivers/staging/comedi

[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 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 chan

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); > > + /* > + * Migratin

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 > >

[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 mes

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, hwtraci

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 adj

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 if

[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 --- drivers/gpu/

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 bpf_object_

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 defi

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 > > +++ b/arch/x86/kernel/setup.

[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 b

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 > ha

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 interf

[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 a/drivers/staging/comedi/driver

[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

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 m

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: [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(), c

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 a

[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] http://www.spinics.net

[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 i

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

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 d

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 mess

[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 ---

[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 ++

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

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. Olliver

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(-) Appli

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 th

[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 --- drivers/staging/lustre/lnet/klnds/sock

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 http://thread.gmane.org/gm

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, KERNEL_PGD_BOUNDARY

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 no

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, e.g.:

[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 Co

[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 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 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 7

[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 ---

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 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 b/drivers/input/touchscreen/a

[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: Documentation/devicetree/bindings/input/touchscreen/touchscreen.

[PATCH 2/7] drivers:input:tsc2007: send pendown and penup only once like ads7846(+tsc2046) driver does

2015-11-06 Thread H. Nikolaus Schaller
this should reduce unnecessary input events. Signed-off-by: H. Nikolaus Schaller --- drivers/input/touchscreen/tsc2007.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c index e0c7173.

[PATCH 3/7] drivers:input:tsc2007: add iio interface to read external ADC input, temperature and raw conversion values

2015-11-06 Thread H. Nikolaus Schaller
The tsc2007 chip not only has a resistive touch screen controller but also an external AUX adc imput which can be used for an ambient light sensor, battery voltage monitoring or any general purpose. Additionally it can measure the chip temperature. This driver provides an iio interface for these

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > Some hardware PWM's have the possibility to only send out one (or more) > pulses. This can be quite a useful feature in case one wants or needs > only a single pulse, but at the exact width. > > Additi

[PATCH 2/3] staging: rtl8188eu: if/else replaced by min_t

2015-11-06 Thread Ivan Safonov
Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index c0fff77..80c602e 100644 --- a/drive

[PATCH 1/3] staging: rtl8188eu: goto replaced by 'else' branch

2015-11-06 Thread Ivan Safonov
goto is not needed here. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index 1d03727..c0

[PATCH 3/3] staging: rtl8188eu: goto removed

2015-11-06 Thread Ivan Safonov
malloc error handling moved into one place. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 67 +++- 1 file changed, 13 insertions(+), 54 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/r

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

2015-11-06 Thread Philipp Zabel
Am Freitag, den 06.11.2015, 22:42 +0800 schrieb 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 m

Re: [PATCH] mm: add page_check_address_transhuge helper

2015-11-06 Thread Kirill A. Shutemov
On Fri, Nov 06, 2015 at 05:37:07PM +0300, Vladimir Davydov wrote: > diff --git a/mm/rmap.c b/mm/rmap.c > index 0837487d3737..7ac775e41820 100644 > --- a/mm/rmap.c > +++ b/mm/rmap.c > @@ -796,48 +796,43 @@ int page_mapped_in_vma(struct page *page, struct > vm_area_struct *vma) > return 1; >

RE: [PATCH v2 1/1] staging: rdma: hfi1 : Prefer using the BIT macro

2015-11-06 Thread Marciniszyn, Mike
> Cc: Sunny Kumar > Subject: [PATCH v2 1/1] staging: rdma: hfi1 : Prefer using the BIT macro > > This patch replaces bit shifting on 1 with the BIT(x) macro > > Signed-off-by: Sunny Kumar > --- Thanks for the patch! Acked-by: Mike Marciniszyn -- To unsubscribe from this list: send the line "u

RE: [GIT] Networking

2015-11-06 Thread David Laight
> From: Linus Torvalds > Sent: 03 November 2015 20:45 > On Tue, Nov 3, 2015 at 12:05 PM, Linus Torvalds > wrote: > > result = add_overflow( > > mul_overflow(sec, SEC_CONVERSION, &overflow), > > mul_overflow(nsec, NSEC_CONVERSION, &overflow), > > &overflow); > > > >

Re: [PATCH 5/7] crypto: picoxcell: check return value of sg_nents_for_len

2015-11-06 Thread Jamie Iles
On Wed, Nov 04, 2015 at 09:13:37PM +0100, LABBE Corentin wrote: > The sg_nents_for_len() function could fail, this patch add a check for > its return value. > In the same time, we remove sg_count() as it is used as an alias of > sg_nents_for_len. > > Signed-off-by: LABBE Corentin Acked-by: Jamie

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

2015-11-06 Thread Jiang Liu
On 2015/11/6 22:45, Lorenzo Pieralisi wrote: > 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, ARM

RE: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend

2015-11-06 Thread Doug Smythies
On 2015.11.01 08:50 Chen, Yu C wrote: >> On 2015.10.10 19:27 Chen, Yu C wrote: >>> On 2105.10.10 02:56 Doug Smythies wrote: >>> > The current version of the intel_pstate driver is incompatible with > any use of Clock Modulation, always resulting in driving the target > pstate to the mi

Re: [PATCH 2/3] usb: dwc2: host: Giveback URB in tasklet context

2015-11-06 Thread Alan Stern
On Thu, 5 Nov 2015, Doug Anderson wrote: > Alan, > > On Thu, Nov 5, 2015 at 7:19 AM, Alan Stern wrote: > > On Wed, 4 Nov 2015, Doug Anderson wrote: > > > >> In the ChromeOS gerrit > >> Julius Werner > >> points out that for EHCI it was good

Re: [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB

2015-11-06 Thread Alan Stern
On Fri, 6 Nov 2015, Georgi Djakov wrote: > On 11/06/2015 08:04 AM, Andy Gross wrote: > > This patch sets the AHBMODE to allow for posted data writes. This > > results in higher performance. > > > > Signed-off-by: Andy Gross > > With these patches I see significant improvement in throughput > o

Re: Deadlock between bind and splice

2015-11-06 Thread Eric Dumazet
On Fri, 2015-11-06 at 13:58 +0100, Dmitry Vyukov wrote: > Hello, > > I am on revision d1e41ff11941784f469f17795a4d9425c2eb4b7a (Nov 5) and > seeing the following lockdep reports. I don't have exact reproducer > program as it is caused by several independent programs (state > accumulated in kernel

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

2015-11-06 Thread Will Deacon
On Fri, Nov 06, 2015 at 12:50:02PM +, Mark Rutland wrote: > 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

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

2015-11-06 Thread Jiang Liu
On 2015/11/6 23:32, Jiang Liu wrote: > On 2015/11/6 22:45, Lorenzo Pieralisi wrote: >> 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.

Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-11-06 Thread Olliver Schinagl
Hey Thierry, On 06-11-15 16:18, Thierry Reding wrote: On Mon, Oct 26, 2015 at 10:32:39PM +0100, Olliver Schinagl wrote: From: Olliver Schinagl Some hardware PWM's have the possibility to only send out one (or more) pulses. This can be quite a useful feature in case one wants or needs only a s

[PATCH v6 3/3] arm64: dts: mt8173: Add nor flash node

2015-11-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..f5f08eb 100644 --- a/arch/a

[PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-06 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mt

[PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-06 Thread Bayi Cheng
This series is based on v4.3-rc1 and l2-mtd.git [0] and erase_sector implementation patch [1] [0]: git://git.infradead.org/l2-mtd.git [1]: http://lists.infradead.org/pipermail/linux-mtd/2015-October//062959.html Change in v6: 1: delete mt8173_nor_do_rx 2: delete mt8173_nor_do_rx 3: add mt8173_nor

[PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-06 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 475 ++ 3 files changed, 483 insertions(+) create mode 100

<    1   2   3   4   5   6   7   8   9   10   >