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

2015-11-06 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 10:17:29PM +0700, Ivan Safonov wrote: > 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(-) > I've applied

Re: [GIT] Sparc

2015-11-06 Thread Julian Calaby
Hi Julia, On Fri, Nov 6, 2015 at 5:44 PM, Julia Lawall wrote: > On Fri, 6 Nov 2015, Julian Calaby wrote: > >> Hi Linus, >> >> On Fri, Nov 6, 2015 at 11:56 AM, Linus Torvalds >> wrote: >> > On Thu, Nov 5, 2015 at 4:43 PM, Linus Torvalds >> >

[PATCH 2/2] rtc: efi: add efi_procfs in efi_rtc_ops

2015-11-06 Thread Geliang Tang
Add efi_procfs in efi_rtc_ops to show rtc-efi info in /proc/driver/rtc. Most of the code comes from efi_rtc_proc_show() in efirtc. Signed-off-by: Geliang Tang --- drivers/rtc/rtc-efi.c | 66 +++ 1 file changed, 62

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Madhavan Srinivasan
On Friday 06 November 2015 03:34 PM, Michael Ellerman wrote: > On Fri, 2015-11-06 at 10:24 +0100, Peter Zijlstra wrote: >> On Fri, Nov 06, 2015 at 12:57:17PM +0530, Madhavan Srinivasan wrote: >>> On Thursday 05 November 2015 06:37 PM, Peter Zijlstra wrote: On Thu, Nov 05, 2015 at 02:16:15AM

Re: [PATCH 09/13] Move bp_type_idx to kernel/event/hw_breakpoint.c

2015-11-06 Thread Palmer Dabbelt
On Wed, 04 Nov 2015 04:21:51 PST (-0800), pet...@infradead.org wrote: > On Wed, Nov 04, 2015 at 12:41:06PM +0100, Peter Zijlstra wrote: >> On Tue, Nov 03, 2015 at 11:46:30AM -0800, Palmer Dabbelt wrote: >> > This has a "#ifdef CONFIG_*" that used to be exposed to userspace. >> > >> > The names in

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

2015-11-06 Thread Ingo Molnar
* Matt Fleming wrote: > On Fri, 06 Nov, at 07:55:50AM, Ingo Molnar wrote: > > > > 3) We should fix the EFI permission problem without relying on the > > firmware: it > > appears we could just mark everything R-X optimistically, and if a > > write fault > >

[PATCH 0/9] Remove wrapper function and tidy up the code

2015-11-06 Thread Shivani Bhardwaj
This patchset removes an unnecessary wrapper function and replaces all its calls in different files with the standard function that it wrapped. Also, one patch removes its prototype. After applying this patch, code becomes cleaner. Shivani Bhardwaj (9): Staging: lustre: dir: Replace function

[PATCH 1/9] Staging: lustre: dir: Replace function calls

2015-11-06 Thread Shivani Bhardwaj
Replace the calls of the function ll_finish_md_op_data() with the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/dir.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH cgroup/for-4.4-fixes] cgroup: fix cftype->file_offset handling

2015-11-06 Thread Zefan Li
On 2015/11/5 13:12, Tejun Heo wrote: 6f60eade2433 ("cgroup: generalize obtaining the handles of and notifying cgroup files") introduced cftype->file_offset so that the handles for per-css file instances can be recorded. These handles then can be used, for example, to generate file modified

[PATCH 2/9] Staging: lustre: file: Replace function calls with standard function

2015-11-06 Thread Shivani Bhardwaj
Replace the calls of the function ll_finish_md_op_data() with the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/file.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH 3/9] Staging: lustre: namei: Replace calls with kfree

2015-11-06 Thread Shivani Bhardwaj
Replace the calls of the function ll_finish_md_op_data() with thr stndard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/namei.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 4/9] Staging: lustre: xattr_cache: Change function calls

2015-11-06 Thread Shivani Bhardwaj
Change the calls of the function ll_finish_md_op_data() to the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/xattr_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Madhavan Srinivasan
On Friday 06 November 2015 03:55 PM, Peter Zijlstra wrote: > On Fri, Nov 06, 2015 at 09:04:00PM +1100, Michael Ellerman wrote: >> It's a perrenial request from our hardware PMU folks to be able to see the >> raw >> values of the PMU registers. >> >> I think partly it's so that they can verify

[PATCH] arm64: bpf: fix JIT stack setup

2015-11-06 Thread Yang Shi
ARM64 JIT used FP (x29) as eBPF fp register, but FP is subjected to change during function call so it may cause the BPF prog stack base address change too. Whenever, it pointed to the bottom of BPF prog stack instead of the top. So, when copying data via bpf_probe_read, it will be copied to (SP -

[PATCH] arm64: bpf: fix JIT stack setup

2015-11-06 Thread Yang Shi
ARM64 JIT used FP (x29) as eBPF fp register, but FP is subjected to change during function call so it may cause the BPF prog stack base address change too. Whenever, it pointed to the bottom of BPF prog stack instead of the top. So, when copying data via bpf_probe_read, it will be copied to (SP -

Re: [PATCH] arm64: bpf: fix JIT stack setup

2015-11-06 Thread Shi, Yang
Please ignore this one, forgot to cc to linux-arm-kernel list. Sorry for the inconvenience. Yang On 11/6/2015 9:34 PM, Yang Shi wrote: ARM64 JIT used FP (x29) as eBPF fp register, but FP is subjected to change during function call so it may cause the BPF prog stack base address change too.

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-06 Thread Thomas Gleixner
On Fri, 6 Nov 2015, H. Peter Anvin wrote: > On 11/06/15 15:17, Dan Williams wrote: > >> > >> Is it really required to do that on all cpus? > > > > I believe it is, but I'll double check. > > > > It's required on all CPUs on which the DAX memory may have been dirtied. > This is similar to the

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-06 Thread Richard W.M. Jones
On Sat, Nov 07, 2015 at 01:35:36AM +0100, Richard Weinberger wrote: > Am 04.11.2015 um 15:15 schrieb Octavian Purdila: > > We could redefine the syscalls/libc symbols to call lkl_sys_ functions > > in launch-lkl, e.g.: > > > > int opendir(const char *path) > > { > >return

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

2015-11-06 Thread Ard Biesheuvel
On 7 November 2015 at 08:09, Ingo Molnar wrote: > > * Matt Fleming wrote: > >> On Fri, 06 Nov, at 07:55:50AM, Ingo Molnar wrote: >> > >> > 3) We should fix the EFI permission problem without relying on the >> > firmware: it >> > appears we could

[PATCH 1/2] rtc: fix module reference count in rtc-proc

2015-11-06 Thread Geliang Tang
rtc-proc.c is not built as a module. Thus, rather than dealing with THIS_MODULE's reference count, we should deal with rtc->owner's reference count. Signed-off-by: Geliang Tang --- drivers/rtc/rtc-proc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 4:48 PM, Andy Lutomirski wrote: > On Fri, Nov 6, 2015 at 4:16 PM, Kees Cook wrote: >> On Fri, Nov 6, 2015 at 4:11 PM, Kees Cook wrote: >>> On Fri, Nov 6, 2015 at 2:30 PM, Andy Lutomirski

[PATCH] bpf: doc: correct arch list for supported eBPF JIT

2015-11-06 Thread Yang Shi
aarch64 and s390x support eBPF JIT too, correct document to reflect this and avoid any confusion. Signed-off-by: Yang Shi --- Documentation/networking/filter.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/networking/filter.txt

Re: [PATCH] sysfs: add devm_sysfs_create_group() and friends

2015-11-06 Thread Dmitry Torokhov
On Fri, Nov 06, 2015 at 04:24:07PM -0800, Greg Kroah-Hartman wrote: > On Fri, Oct 30, 2015 at 08:13:11AM -0700, Dmitry Torokhov wrote: > > On Fri, Oct 30, 2015 at 07:40:37AM -0700, Greg Kroah-Hartman wrote: > > > On Fri, Oct 30, 2015 at 04:47:06AM -0700, Dmitry Torokhov wrote: > > > > Many drivers

[PATCH 6/9] Staging: lustre: llite_nfs: Replace with standard function

2015-11-06 Thread Shivani Bhardwaj
Replace the calls of the function ll_finish_md_op_data() with the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/llite_nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/9] Staging: lustre: symlink: Substitute standard function

2015-11-06 Thread Shivani Bhardwaj
Substitute the standard function kfree() for the function ll_finish_md_op_data(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/symlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] of: Provide static inline function for of_translate_address if needed

2015-11-06 Thread Guenter Roeck
If OF_ADDRESS is not configured, builds can fail with errors such as drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': drivers/net/ethernet/hisilicon/hns_mdio.c:411:3: error: implicit declaration of function 'of_translate_address' as currently seen when

Re: [PATCH] staging: lustre: remove IOC_LIBCFS_PING_TEST ioctl

2015-11-06 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 09:08:03PM -0500, y...@ccs.ornl.gov wrote: > From: James Simmons > > The ioctl IOC_LIBCFS_PING_TEST has not been used in > ages. The recent nidstring changes which moved all > the nidstring operations from libcfs to the LNet > layer but this ioctl code

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

2015-11-06 Thread David Miller
From: Michal Hocko Date: Fri, 6 Nov 2015 17:46:57 +0100 > On Fri 06-11-15 11:19:53, Johannes Weiner wrote: >> You might think sending these emails is helpful, but it really >> isn't. Not only is it not contributing code, insights, or solutions, >> you're now actively

[PATCH v2 0/3] pstore: resend three patches

2015-11-06 Thread Geliang Tang
I sent these patches a few weeks ago. Due to the recent changes in pstore, these patched might not apply anymore. So I refresh and resend them. --- Changes in v2: - refresh the patches. --- Geliang Tang (3): pstore: check PSTORE_FLAGS_FRAGILE in pstore_unregister efi-pstore: implement

[PATCH v2 2/3] efi-pstore: implement efivars_pstore_exit()

2015-11-06 Thread Geliang Tang
The original efivars_pstore_exit() is empty. I 1) add a bufsize check statement. 2) call pstore_unregister as it is defined now. 3) free the memory and set bufsize to 0. Signed-off-by: Geliang Tang --- drivers/firmware/efi/efi-pstore.c | 7 +++ 1 file changed, 7

Re: [GIT] Sparc

2015-11-06 Thread Julia Lawall
On Sat, 7 Nov 2015, Julian Calaby wrote: > Hi Julia, > > On Fri, Nov 6, 2015 at 5:44 PM, Julia Lawall wrote: > > On Fri, 6 Nov 2015, Julian Calaby wrote: > > > >> Hi Linus, > >> > >> On Fri, Nov 6, 2015 at 11:56 AM, Linus Torvalds > >>

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

2015-11-06 Thread Ingo Molnar
* Matt Fleming wrote: > On Thu, 05 Nov, at 01:33:10PM, Linus Torvalds wrote: > > > > And if this turns out to be due to EFI wanting those permissions, what > > should > > we do? People have talked about running the EFI callbacks in their own > > private > > page

[PATCH 7/9] Staging: lustre: llite_close: Substitute function calls

2015-11-06 Thread Shivani Bhardwaj
Substitute standard function kfree() in place of the function ll_finish_md_op_data(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/llite_close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 8/9] Staging: lustre: llite_lib: Remove wrapper function

2015-11-06 Thread Shivani Bhardwaj
Remove the function ll_finish_md_op_data() and replace all its calls with the standrd function ll_finish_md_op_data(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/llite_lib.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-)

[PATCH 9/9] Staging: lustre: llite_internal: Remove function prototype

2015-11-06 Thread Shivani Bhardwaj
Remove the prototype of the function ll_finish_md_op_data() as it is no longer needed. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/llite/llite_internal.h | 1 - 1 file changed, 1 deletion(-) diff --git

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

2015-11-06 Thread Ivan Safonov
On 11/07/2015 10:14 AM, Greg Kroah-Hartman wrote: On Fri, Nov 06, 2015 at 10:17:29PM +0700, Ivan Safonov wrote: goto is not needed here. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 25 +++-- 1 file changed, 11

Re: [ANNOUNCE]: SCST 3.1 pre-release freeze

2015-11-06 Thread Vladislav Bolkhovitin
Hi, Bike & Snow wrote on 11/06/2015 10:55 AM: > Hello Vlad > > Excellent news on all the updates. > > Regarding this: > - QLogic target driver has been significantly improved. > > Does that mean I should stop building the QLogic target driver from here? > git://git.qlogic.com/scst-qla2xxx.git

Re: [PATCH] DWC Ethernet QoS: Delete an unnecessary check before the function call "of_node_put"

2015-11-06 Thread David Miller
From: SF Markus Elfring Date: Fri, 6 Nov 2015 08:15:30 +0100 > From: Markus Elfring > Date: Fri, 6 Nov 2015 08:00:22 +0100 > > The of_node_put() function tests whether its argument is NULL and then > returns immediately. Thus the

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

2015-11-06 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Thu, Nov 5, 2015 at 10:55 PM, Ingo Molnar wrote: > > > > * Linus Torvalds wrote: > > > >> On Wed, Nov 4, 2015 at 6:17 PM, Dave Jones wrote: > >> > On Wed, Nov 04, 2015

Re: + mm-hwpoison-adjust-for-new-thp-refcounting-fix.patch added to -mm tree

2015-11-06 Thread Kirill A. Shutemov
On Fri, Nov 06, 2015 at 02:46:30PM -0800, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm-hwpoison-adjust-for-new-thp-refcounting-fix > has been added to the -mm tree. Its filename is > mm-hwpoison-adjust-for-new-thp-refcounting-fix.patch > > This patch should soon

Re: [PATCH 3/3] Staging: lustre: tracefile: Remove function prototype

2015-11-06 Thread Dilger, Andreas
On 2015/11/06, 10:19, "Shivani Bhardwaj" wrote: >Remove the prototype of function cfs_trace_free_string_buffer() as it is >no longer needed. These patches would be a lot more useful if the summary contained the name of the function being removed, rather than "remove

[GIT PULL] MFD for v4.4

2015-11-06 Thread Lee Jones
Hi Linus, The following changes since commit 049e6dde7e57f0054fdc49102e7ef4830c698b46: Linux 4.3-rc4 (2015-10-04 16:57:17 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-for-linus-4.4 for you to fetch changes up to

[PATCH] tracing: Make tracing work when debugfs is not configured in

2015-11-06 Thread Jiaxing Wang
Currently tracing_init_dentry() returns -ENODEV when debugfs is not configured in, which causes tracefs not populated with tracing files and directories, so we will get an empty directory even after we manually mount tracefs. We can make tracing_init_dentry() return NULL if debugfs is not

Re: [PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-06 Thread Dan Carpenter
This breaks userspace. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2] mm: hwpoison: adjust for new thp refcounting

2015-11-06 Thread Naoya Horiguchi
Some mm-related BUG_ON()s could trigger from hwpoison code due to recent changes in thp refcounting rule. This patch fixes them up. In the new refcounting, we no longer use tail->_mapcount to keep tail's refcount, and thereby we can simplify get/put_hwpoison_page(). And another change is that

Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups

2015-11-06 Thread Mika Westerberg
On Thu, Nov 05, 2015 at 11:38:38AM -0800, Dmitry Torokhov wrote: > We should not fall back to the legacy unnamed gpio lookup style if the > driver requests gpios with different names, because we'll give out the same > gpio twice. Let's keep track of the names that were used for the device and >

Re: [PATCHv2 3/3] perf: add helper makefile for cross compiling libs

2015-11-06 Thread Rabin Vincent
On Thu, Oct 29, 2015 at 10:46:49AM +0100, Ingo Molnar wrote: > Would it be possible to add a gcc and glibc building portion as well? That > would > make it entirely self-hosting. Yes, but: - Those that intend to run the built binary on a target would presumably already have a cross-compiler

Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Shunqian Zheng
LABBE, On 2015年11月05日 20:47, LABBE Corentin wrote: On Thu, Nov 05, 2015 at 05:53:13PM +0800, Shunqian Zheng wrote: From: ZhengShunQian RK3036 SoC integrated with an Inno audio codec. This driver implements the functions of it. There is not need a special machine

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-11-06 Thread Thomas Gleixner
On Thu, 5 Nov 2015, Dan Williams wrote: > On Wed, Oct 28, 2015 at 3:51 PM, Ross Zwisler > wrote: > > On Wed, Oct 28, 2015 at 06:24:29PM -0400, Jeff Moyer wrote: > >> Ross Zwisler writes: > >> > >> > This series implements the very slow

Re: [PATCH 1/2] usb: chipidea: msm: Use posted data writes on AHB

2015-11-06 Thread Peter Chen
On Fri, Nov 06, 2015 at 12:04:06AM -0600, Andy Gross wrote: > This patch sets the AHBMODE to allow for posted data writes. This > results in higher performance. > > Signed-off-by: Andy Gross > --- > drivers/usb/chipidea/ci_hdrc_msm.c |3 ++- > 1 file changed, 2

[PATCH v8 4/4] irqchip:implement the mbigen irq chip operation functions

2015-11-06 Thread MaJun
From: Ma Jun Add the interrupt controller chip operation functions of mbigen chip. Signed-off-by: Ma Jun --- drivers/irqchip/irq-mbigen.c | 102 +++-- 1 files changed, 97 insertions(+), 5 deletions(-) diff --git

[PATCH v8 0/4] irqchip:support mbigen interrupt controller

2015-11-06 Thread MaJun
From: Ma Jun This patch set adds the driver of mbigen and binding document for Hisilicon Mbigen chips. Compared with previous version, this version changed much. Because during the time between V3 and V4 of my patch, there are two related patches were committed by Mr.Marc

[PATCH v8 2/4] irqchip: add platform device driver for mbigen device

2015-11-06 Thread MaJun
From: Ma Jun Mbigen means Message Based Interrupt Generator(MBIGEN). Its a kind of interrupt controller that collects the interrupts from external devices and generate msi interrupt. Mbigen is applied to reduce the number of wire connected interrupts. As the peripherals

[PATCH v8 1/4] dt-binding:Documents of the mbigen bindings

2015-11-06 Thread MaJun
From: Ma Jun Add the mbigen msi interrupt controller bindings document. This patch based on Mark Rutland's patch https://lkml.org/lkml/2015/7/23/558 Signed-off-by: Ma Jun --- Documentation/devicetree/bindings/arm/mbigen.txt | 63

[PATCH v3 0/2] Audio Codec Driver of RK3036 SoC

2015-11-06 Thread Shunqian Zheng
From: ZhengShunQian This patches add the RK3036 SoC codec driver. Rockchip RK3036 SoC integrated with an Inno audio codec. It supports the following features: o. 24bit DAC o. Support 16Ω to 32Ω headphone output and speaker output o. Support Mono, Stereo channel o.

[PATCH] fjes: Delete an unnecessary check before the function call "vfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 09:30:29 +0100 The vfree() function performs also input parameter validation. 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 RESEND] tracing: Make tracing work when debugfs is not compiled or initialized.

2015-11-06 Thread Jiaxing Wang
On Thu, Nov 05, 2015 at 10:54:32AM -0500, Steven Rostedt wrote: > On Thu, 5 Nov 2015 13:23:01 +0800 > Jiaxing Wang wrote: > > > > > - /* > > > > -* As there may still be users that expect the tracing > > > > -* files to exist in debugfs/tracing, we must

[GIT PULL] Backlight for v4.4

2015-11-06 Thread Lee Jones
Hi Linus, The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde: Linux 4.3-rc2 (2015-09-20 14:32:34 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-for-linus-4.4 for you to fetch changes

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-11-06 Thread Ulf Hansson
On 6 November 2015 at 02:42, Bjorn Andersson wrote: > On Mon, Jul 6, 2015 at 4:53 AM, Ivan T. Ivanov wrote: >> Ensure SDCC is working with maximum clock otherwise card >> detection could be extremely slow, up to 7 seconds. >> >> Signed-off-by: Ivan T.

RE: [PATCH v6 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-06 Thread Pavel Fedin
Hello! > > +- samsung,srom-timing : array of 6 integers, specifying bank timings in the > > +following order: Tacp, Tcah, Tcoh, Tacc, Tcos, > > Tacs. > > +Each value is specified in cycles and has the > > following > > +

Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Shunqian Zheng
Mark, On 2015年11月06日 00:13, Mark Brown wrote: On Thu, Nov 05, 2015 at 05:53:13PM +0800, Shunqian Zheng wrote: This is basically all good, a few very minor comments below but nothing that should take any time to fix. +static const char *rk3036_codec_antipop_text[] = {"none", "work"}; +static

Re: [PATCH 03/23] usb: gadget: f_sourcesink: free requests in sourcesink_disable()

2015-11-06 Thread Peter Chen
On Tue, Nov 03, 2015 at 01:53:42PM +0100, Robert Baldyga wrote: > USB requests in SourceSink function are allocated in sourcesink_get_alt() > function, so we prefer to free them rather in sourcesink_disable() than > in source_sink_complete() when request is completed with error. It provides >

Re: [PATCH v6 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-06 Thread Krzysztof Kozlowski
On 06.11.2015 17:14, Pavel Fedin wrote: > Hello! > >>> +- samsung,srom-timing : array of 6 integers, specifying bank timings in the >>> +following order: Tacp, Tcah, Tcoh, Tacc, Tcos, >>> Tacs. >>> +Each value is specified in cycles and has the

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

2015-11-06 Thread Jiri Olsa
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 a > file produced by 'perf stat record', to show this: > > [root@zoo ~]#

Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups

2015-11-06 Thread Dmitry Torokhov
On Fri, Nov 6, 2015 at 12:08 AM, Mika Westerberg wrote: > On Thu, Nov 05, 2015 at 11:38:38AM -0800, Dmitry Torokhov wrote: >> We should not fall back to the legacy unnamed gpio lookup style if the >> driver requests gpios with different names, because we'll give

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

2015-11-06 Thread Wangnan (F)
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: From: Wang Nan [mailto:wangn...@huawei.com] It is possible that find_perf_probe_point_from_map() fails to find symbol

Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups

2015-11-06 Thread Mika Westerberg
On Fri, Nov 06, 2015 at 12:25:34AM -0800, Dmitry Torokhov wrote: > I wonder if I should move acpi_can_fallback_to_crs() into > gpiolib-acpi.c and provide a stub for it... That works too :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2] pwm-backlight: fix the panel power sequence

2015-11-06 Thread YH Huang
On Thu, 2015-11-05 at 10:40 +0100, Philipp Zabel wrote: > > > > Based on this, could we disable it initially and update in the > > backlight_update_status function? > > > > Like this, > > > > if (pb->enable_gpio) { > > if (phandle && > > gpiod_get_direction(pb->enable_gpio) ==

[PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Shunqian Zheng
From: ZhengShunQian RK3036 SoC integrated with an Inno audio codec. This driver implements the functions of it. There is not need a special machine driver, since the simple-card machine driver works perfect in this case. Signed-off-by: ZhengShunQian

[PATCH v3 2/2] ASoC: RK3036: Add binding doc of inno-rk3036 codec driver

2015-11-06 Thread Shunqian Zheng
From: ZhengShunQian This patch add the binding document of inno-rk3036 audio codec driver. Signed-off-by: ZhengShunQian --- .../devicetree/bindings/sound/inno-rk3036.txt| 20 1 file changed, 20 insertions(+) create

Re: [GIT PULL] arm64 updates for 4.4

2015-11-06 Thread Arnd Bergmann
On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote: > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus Torvalds wrote: > > On Wed, Nov 4, 2015 at 10:25 AM, Catalin Marinas > > wrote: > > It's good for single-process loads - if you do a lot of big fortran > >

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Grygorii Strashko
On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: It is unsafe [1] if probing of devices will happen during suspend or hibernation and system behavior will be unpredictable in

Re: [PATCH 03/23] usb: gadget: f_sourcesink: free requests in sourcesink_disable()

2015-11-06 Thread Krzysztof Opasiak
On 11/06/2015 10:48 AM, Peter Chen wrote: On Fri, Nov 06, 2015 at 09:50:11AM +0100, Robert Baldyga wrote: On 11/06/2015 09:15 AM, Peter Chen wrote: On Tue, Nov 03, 2015 at 01:53:42PM +0100, Robert Baldyga wrote: USB requests in SourceSink function are allocated in sourcesink_get_alt()

RE: [PATCH v2] perf probe: Verify parameters for two functions

2015-11-06 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >On kernel with only one of CONFIG_KPROBE_EVENTS and >CONFIG_UPROBE_EVENTS enabled, 'perf probe -d' causes segfault because >perf_del_probe_events() calls probe_file__get_events() with a negative >fd. > >This patch fixes it by add parameter validation

[PATCH v7 2/4] ARM: dts: Add SROMc to Exynos 5410

2015-11-06 Thread Pavel Fedin
This machine uses own SoC device tree file, add missing part. Signed-off-by: Pavel Fedin Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5410.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v7 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-06 Thread Pavel Fedin
This patch extends Exynos SROM controller driver with ability to configure controller outputs and enables SMSC9115 Ethernet chip on SMDK5410 board, which is connected via SROMc bank #3. With this patchset, support for the whole existing SMDK range can be added. Actually, only bank number is

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Michael Ellerman
On Fri, 2015-11-06 at 10:24 +0100, Peter Zijlstra wrote: > On Fri, Nov 06, 2015 at 12:57:17PM +0530, Madhavan Srinivasan wrote: > > On Thursday 05 November 2015 06:37 PM, Peter Zijlstra wrote: > > > On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: > > > > Second patch updates

[PATCH v7 3/4] drivers: exynos-srom: Add support for bank configuration

2015-11-06 Thread Pavel Fedin
Implement handling properties in subnodes and adding child devices to the system. Child devices will not be added if configuration fails. Since the driver now does more than suspend-resume support, dependency on CONFIG_PM is removed. Signed-off-by: Pavel Fedin Reviewed-by:

[PATCH v7 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-06 Thread Pavel Fedin
Add documentation for new subnode properties, allowing bank configuration. Based on u-boot implementation, but heavily reworked. Also, fix size of SROMc mapping in the example. Signed-off-by: Pavel Fedin Reviewed-by: Krzysztof Kozlowski ---

[PATCH] cxl: Delete an unnecessary check before the function call "kfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 11:00:23 +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:

Re: [PATCH 2/2] drm/imx: Remove the primary plane created by create_primary_plane()

2015-11-06 Thread Philipp Zabel
Am Mittwoch, den 04.11.2015, 18:15 +0800 schrieb Liu Ying: > Since we are using ipu_plane_init() to add one primary plane for each > IPU CRTC, it's unnecessary to create the safe one by using the helper > create_primary_plane(). > > Furthermore, the safe one is attached to crtc->primary, which

Re: [RFC] usb: dwc2: hcd: fix split schedule issue

2015-11-06 Thread Yunzhi Li
hi John , As we talked yesterday, I tried to fix the split schedule sequence. This patch will avoid scheduling SSPLIT-IN packet for another device between SSPLIT-OUT-begin and SSPLIT-OUT-end, now the keyboard and Jebra audio speaker could work together well, but I'm not sure if this is

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

2015-11-06 Thread Philipp Zabel
Hi Liu, Am Mittwoch, den 04.11.2015, 18:15 +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 use that > pointer blindly. > > Signed-off-by: Liu Ying >

Re: [PATCH 03/23] usb: gadget: f_sourcesink: free requests in sourcesink_disable()

2015-11-06 Thread Peter Chen
On Fri, Nov 06, 2015 at 09:50:11AM +0100, Robert Baldyga wrote: > On 11/06/2015 09:15 AM, Peter Chen wrote: > > On Tue, Nov 03, 2015 at 01:53:42PM +0100, Robert Baldyga wrote: > >> USB requests in SourceSink function are allocated in sourcesink_get_alt() > >> function, so we prefer to free them

[PATCH v7 4/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-11-06 Thread Pavel Fedin
The chip is smsc9115, connected via SROMc bank 3. Additionally, some GPIO initialization is required. Signed-off-by: Pavel Fedin Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5410-smdk5410.dts | 41 +++

Re: [PATCH 2/2] [media] c8sectpfe: Combine three checks into a single if block

2015-11-06 Thread walter harms
Am 05.11.2015 19:50, schrieb SF Markus Elfring: > From: Markus Elfring > Date: Thu, 5 Nov 2015 19:23:50 +0100 > > The variable "tsin" was checked three times in a loop iteration of the > c8sectpfe_tuner_unregister_frontend() function. > This implementation detail

[PATCH] perf tools: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Wang Nan
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 - curr_map->pgoff) can change the relative order between two symbols (even if

Re: [PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-06 Thread Heiko Stuebner
Am Freitag, 6. November 2015, 09:17:23 schrieb Zain Wang: > Add Crypto drivers for rk3288 including crypto controller and dma clk. > > Signed-off-by: Zain Wang > --- > > Changed in v2: > - None > > Changed in v1: > - remove the _crypto suffix > - use

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

2015-11-06 Thread Georgi Djakov
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 on my db410c board. Tested-by:

Re: [PATCH v2 1/3] livepatch: Fix crash with !CONFIG_DEBUG_SET_MODULE_RONX

2015-11-06 Thread Jiri Kosina
On Thu, 5 Nov 2015, Josh Poimboeuf wrote: > When loading a patch module on a kernel with > !CONFIG_DEBUG_SET_MODULE_RONX, the following crash occurs: > > [ 205.988776] livepatch: enabling patch 'kpatch_meminfo_string' > [ 205.989829] BUG: unable to handle kernel paging request at >

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

2015-11-06 Thread Tomasz Nowicki
On 05.11.2015 19: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 acpi_pci_root_validate_resources(struct device *dev, +struct list_head

Re: [RFC PATCH 2/7] spi: sunxi: remove redundant "depends on RESET_CONTROLLER"

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 03:00:04PM +0900, Masahiro Yamada wrote: > 2015-11-06 0:05 GMT+09:00 Mark Brown : > > Your changelog needs to say this clearly, right now what it's saying > > clearly doesn't correspond to what the change does. > OK. > This series is RFC and my main

Re: [PATCH] mm: optimize PageHighMem() check

2015-11-06 Thread Vineet Gupta
On Saturday 03 October 2015 03:49 PM, Vineet Gupta wrote: > On Saturday 03 October 2015 02:23 AM, Andrew Morton wrote: >> > On Fri, 2 Oct 2015 12:45:53 +0530 Vineet Gupta wrote: >> > >>> >> On Friday 02 October 2015 04:55 AM, Andrew Morton wrote: >>> On Tue, 29 Sep 2015

Re: [RFC PATCH 3/7] spi: tegra: remove redundant "depends on RESET_CONTROLLER"

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 03:02:57PM +0900, Masahiro Yamada wrote: > 2015-11-05 20:50 GMT+09:00 Mark Brown : > > On Thu, Nov 05, 2015 at 08:15:24PM +0900, Masahiro Yamada wrote: > >> ARCH_TEGRA selects RESET_CONTROLLER. > >> The dependency "depends on RESET_CONTROLLER" is already

Re: [PATCH] SGI-XPC: Delete unnecessary checks before unregister_sysctl_table()

2015-11-06 Thread Robin Holt
On Fri, Nov 6, 2015 at 3:15 AM, SF Markus Elfring wrote: > Signed-off-by: Markus Elfring Acked-by: Robin Holt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Peter Zijlstra
On Fri, Nov 06, 2015 at 09:04:00PM +1100, Michael Ellerman wrote: > It's a perrenial request from our hardware PMU folks to be able to see the raw > values of the PMU registers. > > I think partly it's so that they can verify that perf is doing what they want, > and some of it is that they're

Re: [PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-06 Thread Zain
On 2015年11月06日 18:12, Heiko Stuebner wrote: > Am Freitag, 6. November 2015, 09:17:23 schrieb Zain Wang: >> Add Crypto drivers for rk3288 including crypto controller and dma clk. >> >> Signed-off-by: Zain Wang >> --- >> >> Changed in v2: >> - None >> >> Changed in v1:

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

2015-11-06 Thread Liu Ying
On Fri, Nov 06, 2015 at 11:05:54AM +0100, Philipp Zabel wrote: > Hi Liu, > > Am Mittwoch, den 04.11.2015, 18:15 +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 use that > >

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-06 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 04:32:11PM -0800, Andrew Morton wrote: > On Tue, 3 Nov 2015 17:26:15 +0200 "Kirill A. Shutemov" > wrote: > > > I've missed two simlar codepath which need some preparation to work well > > with reworked THP refcounting. > > > > Both

Re: [PATCH v2 1/2] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio

2015-11-06 Thread Mark Brown
On Thu, Nov 05, 2015 at 12:01:52PM -0800, Simran Rai wrote: > On 11/4/2015 6:07 AM, Mark Brown wrote: > >On Mon, Nov 02, 2015 at 02:11:23PM -0800, Simran Rai wrote: > >>+ Interfaces grouping of serial port. In multi-channel stereo, use > >>+ "2_0", in 3.1 multi-channel grouping, use "3_1" and

<    7   8   9   10   11   12   13   14   15   16   >