Re: [PATCH 5/5] arm64: Add uprobe support

2016-09-22 Thread Pratyush Anand
On 22/09/2016:05:50:30 PM, Catalin Marinas wrote: > On Thu, Sep 22, 2016 at 08:53:28AM +0530, Pratyush Anand wrote: > > On 21/09/2016:06:04:04 PM, Catalin Marinas wrote: > > > On Wed, Sep 21, 2016 at 04:30:47PM +0530, Pratyush Anand wrote: > > > > On 20/09/2016:05:59:46 PM, Catalin Marinas wrote:

Re: taint/module: Clean up global and module taint flags handling

2016-09-22 Thread Jessica Yu
+++ Petr Mladek [21/09/16 13:47 +0200]: The commit 66cc69e34e86a231 ("Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE") updated module_taint_flags() to potentially print one more character. But it did not increase the size of the corresponding buffers in m_show() and

[tip:locking/urgent] locking/hung_task: Fix typo in CONFIG_DETECT_HUNG_TASK help text

2016-09-22 Thread tip-bot for Vivien Didelot
Commit-ID: 96b03ab86d843524ec4aed7fe0ceef412c684c68 Gitweb: http://git.kernel.org/tip/96b03ab86d843524ec4aed7fe0ceef412c684c68 Author: Vivien Didelot AuthorDate: Thu, 22 Sep 2016 16:55:13 -0400 Committer: Ingo Molnar CommitDate:

[tip:sched/core] objtool: Add do_task_dead() to global noreturn list

2016-09-22 Thread tip-bot for Josh Poimboeuf
Commit-ID: c1fad9ef7ed14aad464972e6444e7a3bd5670f26 Gitweb: http://git.kernel.org/tip/c1fad9ef7ed14aad464972e6444e7a3bd5670f26 Author: Josh Poimboeuf AuthorDate: Thu, 22 Sep 2016 16:21:25 -0500 Committer: Ingo Molnar CommitDate: Fri, 23 Sep 2016

[PATCH] Fix a issue that Alps Touchpad cursor does not work

2016-09-22 Thread Masaki Ota
fix Touchpad cursor does not work after touching Touchpad by 3 or more fingers. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c index

Re: [PATCH 3/5] mm/vmalloc.c: correct lazy_max_pages() return value

2016-09-22 Thread Nicholas Piggin
On Fri, 23 Sep 2016 00:30:20 +0800 zijun_hu wrote: > On 2016/9/22 20:37, Michal Hocko wrote: > > On Thu 22-09-16 09:13:50, zijun_hu wrote: > >> On 09/22/2016 08:35 AM, David Rientjes wrote: > > [...] > >>> The intent is as it is implemented; with your change,

[GIT PULL] configfs fix for 4.8-rc8

2016-09-22 Thread Christoph Hellwig
Hi Linus, The following changes since commit 024c7e3756d8a42fc41fe8a9488488b9b09d1dcc: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2016-09-15 15:15:41 -0700) are available in the git repository at: git://git.infradead.org/users/hch/configfs.git

[RFC PATCH 1/2] mmc: dw_mmc: add runtime PM callback

2016-09-22 Thread Shawn Lin
This patch add dw_mci_runtime_suspend/resume interfaces and expose it to dw_mci variant driver to support runtime PM. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 60 +-- drivers/mmc/host/dw_mmc.h | 4 +++- 2

[RFC PATCH 0/2] Init runtime PM support for dw_mmc

2016-09-22 Thread Shawn Lin
Hi Jaehoon and Ulf, This a patchset going to support runtime PM for dw_mmc. Basically it is a prototype design with some redundant code there. But I think it's okay to send it out for sure I am not heading in the wrong direction. Still something more need to support: (1) Support switching sd

[RFC PATCH 2/2] mmc: dw_mmc-rockchip: add runtime PM support

2016-09-22 Thread Shawn Lin
This patch adds runtime PM support for dw_mmc-rockchip. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc-rockchip.c | 57 -- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-rockchip.c

Re: [PATCH 3/5] mm/vmalloc.c: correct lazy_max_pages() return value

2016-09-22 Thread zijun_hu
On 2016/9/23 11:30, Nicholas Piggin wrote: > On Fri, 23 Sep 2016 00:30:20 +0800 > zijun_hu wrote: > >> On 2016/9/22 20:37, Michal Hocko wrote: >>> On Thu 22-09-16 09:13:50, zijun_hu wrote: On 09/22/2016 08:35 AM, David Rientjes wrote: >>> [...] > The intent is

[tip:perf/core] perf tools: Add PMU configuration to tools

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 5d8bb1ec7477e0e53dbd891733682a6583d4398e Gitweb: http://git.kernel.org/tip/5d8bb1ec7477e0e53dbd891733682a6583d4398e Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:03 -0600 Committer: Arnaldo Carvalho de Melo

[tip:perf/core] perf tools: Add coresight etm PMU record capabilities

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: a818c563ae16640e00389a39e7b0e7ae4bd3d64c Gitweb: http://git.kernel.org/tip/a818c563ae16640e00389a39e7b0e7ae4bd3d64c Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:00 -0600 Committer: Arnaldo Carvalho de Melo

[tip:perf/core] perf evsel: Remove superfluous initialization of weight

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 82deb8a242cd8aceaf553c9fb731f91dbdc1f9a6 Gitweb: http://git.kernel.org/tip/82deb8a242cd8aceaf553c9fb731f91dbdc1f9a6 Author: Jiri Olsa AuthorDate: Mon, 19 Sep 2016 15:09:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Sep

[tip:perf/core] perf tools: Confine __get_cpuid() to x86 architecture

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 08d5204adbf845fadd936aae7639fc05d4eddee1 Gitweb: http://git.kernel.org/tip/08d5204adbf845fadd936aae7639fc05d4eddee1 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:49:58 -0600 Committer: Arnaldo Carvalho de Melo

[PATCH 2/3] f2fs: support checkpoint error injection

2016-09-22 Thread Chao Yu
This patch adds to support checkpoint error injection in f2fs for testing fatal error tolerance. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 7 +++ fs/f2fs/super.c | 1 + 2 files changed, 8 insertions(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index

[tip:perf/core] perf tools: Make coresight PMU listable

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 7e21b0d579a481e2e7064c6383d5873d841777a8 Gitweb: http://git.kernel.org/tip/7e21b0d579a481e2e7064c6383d5873d841777a8 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:49:59 -0600 Committer: Arnaldo Carvalho de Melo

[tip:perf/core] perf pmu: Push configuration down to PMU driver

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 859442bd3fcbe326a9c0174c6105c938eb101438 Gitweb: http://git.kernel.org/tip/859442bd3fcbe326a9c0174c6105c938eb101438 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:02 -0600 Committer: Arnaldo Carvalho de Melo

Re: [PATCH v3 3/3] xen/pciback: support driver_override

2016-09-22 Thread Juergen Gross
On 22/09/16 23:10, Boris Ostrovsky wrote: > On 09/22/2016 04:45 AM, Juergen Gross wrote: >> Support the driver_override scheme introduced with commit 782a985d7af2 >> ("PCI: Introduce new device binding path using pci_dev.driver_override") >> >> As pcistub_probe() is called for all devices (it has

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Ian Kent
On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > Eric, Mateusz, I appreciate your spending time on this and particularly > >

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-09-22 Thread Namhyung Kim
Hi Stefan, On Thu, Sep 22, 2016 at 12:57:44PM +0100, Stefan Hajnoczi wrote: > On Sun, Sep 04, 2016 at 11:38:58PM +0900, Namhyung Kim wrote: > > The virtio pstore driver provides interface to the pstore subsystem so > > that the guest kernel's log/dump message can be saved on the host > > machine.

Re: [GIT PULL] irqchip: Core changes for v4.9

2016-09-22 Thread Thomas Gleixner
Jason, On Thu, 22 Sep 2016, Jason Cooper wrote: > Here's the non-gicv[23] irqchip changes for v4.9. They've been cooking > in -next a while. Please pull. Pulled. Thanks, tglx

[PATCH] dm: remove dummy definition of 'struct dm_table'

2016-09-22 Thread Andrey Ryabinin
There is no need for it. Signed-off-by: Andrey Ryabinin --- drivers/md/dm-ioctl.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 966eb4b..2d5594e 100644 --- a/drivers/md/dm-ioctl.c +++

Re: [PATCH v3 3/3] xen/pciback: support driver_override

2016-09-22 Thread Boris Ostrovsky
On 09/22/2016 04:45 AM, Juergen Gross wrote: > Support the driver_override scheme introduced with commit 782a985d7af2 > ("PCI: Introduce new device binding path using pci_dev.driver_override") > > As pcistub_probe() is called for all devices (it has to check for a > match based on the slot address

Re: [PATCH] kernel/cpu_pm: replace rwlock with raw_spinlock

2016-09-22 Thread Andrey Utkin
On Thu, Sep 22, 2016 at 06:24:19PM +0200, dpervus...@gmail.com wrote: > From: dmitry pervushin > > Recently I faced the BUG in cpuidle driver, "scheduling while atomic" So please show BUG text. > The reason of this BUG is that rwlock behavior gets changed by > RT patches

[PATCH 03/15] perf tools: Confine __get_cpuid() to x86 architecture

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier The __get_cpuid() test is only valid when compiling for x86. When compiling for other architectures like ARM/ARM64 the test fails event if the functionality is not required. This patch isolate the build-in feature check to x86 platform,

[PATCH 12/15] perf tools: Make several sorting functions global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

[PATCH 09/15] perf hists: Add __hist_entry__snprintf function

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add __hist_entry__snprintf() to take a perf_hpp_list as an argument instead of using he->hists->hpp_list. This way we can display arbitrary list of entries regardless of the hists setup, which will be useful in the upcoming c2c patch series. Signed-off-by:

[PATCH 05/15] perf tools: Add coresight etm PMU record capabilities

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Coresight ETMs are IP blocks used to perform HW assisted tracing on a CPU core. This patch introduce the required auxiliary API functions allowing the perf core to interact with a tracer. Signed-off-by: Mathieu Poirier

[PATCH 11/15] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

[PATCH 06/15] perf pmu: Push configuration down to PMU driver

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier This patch adds a PMU callback and the required mechanic so that drivers can process the command line configuration elements found in evsel::config_terms. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa

[PATCH 02/15] perf hists: Use bigger buffer for stdio headers

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa With node column on big CPUs servers we can run out of stdio header space quite soon. Enlarging header buffer. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus

Re: [PATCH/RFC v2 1/7] spi: Document DT bindings for SPI controllers in slave mode

2016-09-22 Thread Rob Herring
On Wed, Sep 21, 2016 at 02:47:50PM +0200, Geert Uytterhoeven wrote: > Hi Rob, > > On Tue, Sep 20, 2016 at 5:00 PM, Rob Herring wrote: > > On Mon, Sep 12, 2016 at 10:50:40PM +0200, Geert Uytterhoeven wrote: > >> Signed-off-by: Geert Uytterhoeven > >> ---

[GIT PULL 00/15] perf/core improvements and fixes

2016-09-22 Thread Arnaldo Carvalho de Melo
o perf/core (2016-09-20 23:32:02 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160922 for you to fetch changes up to 2d831454140f28fa643b78deede4511b9e2c9e5f: perf hists: Make hists__fprintf_headers fu

[PATCH 10/15] perf tools: Make reset_dimensions global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

[PATCH 04/15] perf tools: Make coresight PMU listable

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Adding the required mechanic allowing 'perf list pmu' to discover coresight ETM/PTM tracers. Signed-off-by: Mathieu Poirier Acked-by: Adrian Hunter Acked-by: Jiri Olsa Cc:

[PATCH 01/15] perf evsel: Remove superfluous initialization of weight

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Removing superfluous initialization of weight, it's already set to 0 via memset. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario

[PATCH 15/15] perf hists: Make hists__fprintf_headers function global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

[PATCH 13/15] perf tools: Make several display functions global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

[PATCH 14/15] perf hists: Make __hist_entry__snprintf function global

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Will be used from external places in the upcoming c2c patch series. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Don Zickus Cc: Joe Mario Cc:

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Waiman Long
On 09/22/2016 04:26 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Waiman Long wrote: On 09/22/2016 09:34 AM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Peter Zijlstra wrote: I'd leave out the TO part entirely (or only mention it in changelogs). That is, I'd call the futex ops: FUTEX_LOCK

Re: [PATCH] drivers: wlan-ng: fixed a coding style issue

2016-09-22 Thread Andrey Utkin
On Thu, Sep 22, 2016 at 10:52:18PM +0200, becher.jan...@gmail.com wrote: > I always wondered why I shouldn't make more than one change in a patch, > but in all talks I watched they said that it's easier for them to merge > small patches. > So you think I should make one "big" patch and resend it?

[PATCH 07/15] perf tools: Add PMU configuration to tools

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Now that the required mechanic is there to deal with PMU specific configuration, add the functionality to the tools where events can be selected. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa

Re: [PATCH 02/13] genirq/affinity: Provide smarter irq spreading infrastructure

2016-09-22 Thread Thomas Gleixner
Alexander, On Wed, 21 Sep 2016, Alexander Gordeev wrote: > On Wed, Sep 14, 2016 at 04:18:48PM +0200, Christoph Hellwig wrote: > > +/** > > + * irq_calc_affinity_vectors - Calculate to optimal number of vectors for > > a given affinity mask > > + * @affinity: The affinity mask to

[PATCH 08/15] perf tools: Add sink configuration for cs_etm PMU

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa Cc: Alexander Shishkin

Re: [PATCH] L2TP:Adjust intf MTU, add underlay L3, overlay L2

2016-09-22 Thread R. Parameswaran
On Thu, 22 Sep 2016, Derek Fawcus wrote: > On Wed, Sep 21, 2016 at 02:11:04pm -0700, R. Parameswaran wrote: > > > [snip] > > > @@ -206,6 +209,46 @@ static void l2tp_eth_show(struct seq_file *m, void > > *arg) > > } > > #endif > [snip] > > > + > > static int l2tp_eth_create(struct net

[PATCH] objtool: add do_task_dead() to global noreturn list

2016-09-22 Thread Josh Poimboeuf
objtool reports the following warning: kernel/exit.o: warning: objtool: do_exit() falls through to next function complete_and_exit() The warning is caused by do_exit()'s new call to do_task_dead(), which is a new "noreturn" function which objtool doesn't know about yet. (objtool has to know

Re: [PATCH] dm crypt: fix crash on exit

2016-09-22 Thread Mikulas Patocka
Reviewed-by: Mikulas Patocka On Wed, 21 Sep 2016, Rabin Vincent wrote: > From: Rabin Vincent > > As the documentation for kthread_stop() says, "if threadfn() may call > do_exit() itself, the caller must ensure task_struct can't go away". > dm-crypt does

Re: [RFC PATCH v2 1/5] futex: Add futex_set_timer() helper function

2016-09-22 Thread Thomas Gleixner
On Tue, 20 Sep 2016, Waiman Long wrote: Please be more careful of your subject lines. First thing I thought was that you add a helper which is used in later patches to find out that you actualy consolidate duplicated code. Something like: futex: Consolidate duplicated timer setup code would

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread J Freyensee
On Thu, 2016-09-22 at 14:43 -0600, Jens Axboe wrote: > On 09/22/2016 02:11 PM, Andy Lutomirski wrote: > > > > On Thu, Sep 22, 2016 at 7:23 AM, Jens Axboe wrote: > > > > > > > > > On 09/16/2016 12:16 PM, Andy Lutomirski wrote: > > > > > > > > > > > > Hi all- > > > > > > > >

[PATCH] ext4: Check for encryption feature before fscrypt_process_policy()

2016-09-22 Thread Richard Weinberger
...otherwise an user can enable encryption for certain files even when the filesystem is unable to support it. Such a case would be a filesystem created by mkfs.ext4's default settings, 1KiB block size. Ext4 supports encyption only when block size is equal to PAGE_SIZE. But this constraint is only

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread Jens Axboe
On 09/16/2016 12:16 PM, Andy Lutomirski wrote: Hi all- Here's v4 of the APST patch set. The biggest bikesheddable thing (I think) is the scaling factor. I currently have it hardcoded so that we wait 50x the total latency before entering a power saving state. On my Samsung 950, this means we

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Russell King - ARM Linux
On Thu, Sep 22, 2016 at 02:38:45PM +0100, Brian Starkey wrote: > However, without patching all three drivers in the same commit, there > would always be some breakage. HDLCD and Mali-DP call > drm_dev_register() before binding the components - this was needed to > work with tda998x, which needed

[v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path

2016-09-22 Thread Arvind Yadav
Free memory and memory mapping, if mxc_timer_init_dt is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
I have changed subject as per your review comment. thanks, -Arvind On Thursday 22 September 2016 07:46 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Arvind Yadav wrote: Subject: clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc These subject lines

Re: [PATCH 1/6] mtd: spi-nor: Add quad page program support

2016-09-22 Thread Jagan Teki
On Mon, Aug 29, 2016 at 6:54 PM, Jagan Teki wrote: > On Wed, Aug 10, 2016 at 2:10 AM, Jagan Teki wrote: >> Add quad page program support with the use of nor->flags >> and then controller will use 4 lines for data transmission >> which is quite faster

Re: [PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Steven Rostedt
On Thu, 22 Sep 2016 15:58:03 +0200 (CEST) Thomas Gleixner wrote: > On Thu, 22 Sep 2016, Jisheng Zhang wrote: > > > Currently ti-32k can be used as a scheduler clock. We properly marked > > omap_32k_read_sched_clock() as notrace but we then call another > > function

Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-09-22 Thread Ritesh Harjani
Hi Pramod, On 9/15/2016 7:28 PM, Pramod Gurav wrote: On 15 September 2016 at 15:49, Ulf Hansson wrote: On 15 September 2016 at 09:59, Pramod Gurav wrote: On 9 September 2016 at 15:48, Georgi Djakov wrote: On

Re: [v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Arvind Yadav wrote: Darn. Take your time and think about stuff instead of sending a new patch out 5 seconds after you got a review comment. > Subject : [v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path 1) This lacks a [PATCH v2] prefix 2) clocksrouce is

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, arvind Yadav wrote: > I have changed subject as per your review comment. I certainly need a reminder that you did this. NOT! And you nicely copied and pasted the typo which I put into that line on purpose: > > clocksrouce/timer-imz-gpt: Prevent resource leaks in

Re: [PATCH] clocksource: timer-digicolor: Unmap region obtained by of_iomap

2016-09-22 Thread Baruch Siach
Hi Arvind Yadav, On Thu, Sep 22, 2016 at 07:51:13PM +0530, Arvind Yadav wrote: > Free memory mapping, if digicolor_timer_init is not successful. Thanks for looking into that. Why not add a devm_of_iomap() variant of of_iomap() that calls devm_ioremap() instead of ioremap()? I'm not sure that

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Peter Zijlstra wrote: On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > >>This patch introduces a new futex

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 07:25:25PM -0400, Brijesh Singh wrote: > From: Tom Lendacky > > EFI data is encrypted when the kernel is run under SEV. Update the > page table references to be sure the EFI memory areas are accessed > encrypted. > > Signed-off-by: Tom Lendacky

Re: [kbuild-all] mm/slub.o:undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-22 Thread Fengguang Wu
Hi Jesper, On Thu, Sep 22, 2016 at 10:29:46AM +0200, Jesper Dangaard Brouer wrote: On Thu, 22 Sep 2016 13:50:21 +0800 kbuild test robot wrote: Hi Jesper, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
Sorry, I will take care. Thanks, -Arvind On Thursday 22 September 2016 08:06 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, arvind Yadav wrote: I have changed subject as per your review comment. I certainly need a reminder that you did this. NOT! And you nicely copied and pasted

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Paolo Bonzini
On 22/09/2016 16:35, Borislav Petkov wrote: >> > @@ -230,6 +230,10 @@ int __init efi_setup_page_tables(unsigned long >> > pa_memmap, unsigned num_pages) >> >efi_scratch.efi_pgt = (pgd_t *)__sme_pa(efi_pgd); >> >pgd = efi_pgd; >> > >> > + flags = _PAGE_NX | _PAGE_RW; >> > + if

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-22 Thread Oliver Neukum
On Wed, 2016-09-21 at 18:41 +0200, Wim Osterholt wrote: > On Wed, Sep 21, 2016 at 02:21:17PM +0200, Oliver Neukum wrote: > > in sysfs. > > Google pointed me to /sys/bus/usb/drivers/usb/* > where I find all kinds of 'bConfigurationValue'. > Now is the problem to find which one you could mean. > >

[RFC 2/2] power: bq27xxx_battery: add poll interval property query

2016-09-22 Thread Matt Ranostay
Add POWER_SUPPLY_PROP_POLL_INTERVAL property to query and set the polling interval of the fuel gauge. Signed-off-by: Matt Ranostay --- drivers/power/bq27xxx_battery.c | 37 + 1 file changed, 37 insertions(+) diff --git

[RFC 1/2] power: power_supply: add new property POWER_SUPPLY_PROP_POLL_INTERVAL

2016-09-22 Thread Matt Ranostay
Add new POWER_SUPPLY_PROP_POLL_INTERVAL property to display/set update interval in milliseconds of the device. Signed-off-by: Matt Ranostay --- Documentation/power/power_supply_class.txt | 1 + drivers/power/power_supply_sysfs.c | 1 +

[RFC 0/2] power_supply: add new POWER_SUPPLY_PROP_POLL_INTERVAL property

2016-09-22 Thread Matt Ranostay
Some drivers should report and allow changes to the device polling interval of new stats. Matt Ranostay (2): power: power_supply: add new property POWER_SUPPLY_PROP_POLL_INTERVAL power: bq27xxx_battery: add poll interval property query Documentation/power/power_supply_class.txt | 1 +

Re: [PATCH v2 0/2] make POSIX timers optional

2016-09-22 Thread David Miller
From: Nicolas Pitre Date: Tue, 20 Sep 2016 15:56:38 -0400 > Many embedded systems don't need the full POSIX timer support. > Configuring them out provides a nice kernel image size reduction. > > When POSIX timers are configured out, the PTP clock subsystem should be >

Re: [PATCH 00/14] GPU-DRM-OMAP: Fine-tuning for several function implementations

2016-09-22 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 06:35:59PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 21 Sep 2016 18:28:38 +0200 > > Several update suggestions were taken into account > from static source code analysis. For the next pile of driver patches

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-22 Thread Thomas Gleixner
B1;2802;0cOn Wed, 21 Sep 2016, Santosh Shilimkar wrote: > I requested you to include this patch but now am not sure anymore. > Looks like there are almost 30 more users which are directly > tweaking 'tasklet_struct' fields and calling other APIs. Hunting them > and fixing them probably would be an

Re: [PATCH] Fix tasks being forgotten for a long time on SMP

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 06:14:34PM -0700, Yuriy Romanenko wrote: > From e9a304ae91fa2a4427bde7d3aea18296d0ebb27f Mon Sep 17 00:00:00 2001 > From: Yuriy Romanenko > Date: Tue, 20 Sep 2016 17:47:28 -0700 > Subject: [PATCH] Fix tasks being forgotten for a long time on SMP

Re: [PATCH v2 3/3] tools: move pcmcia crc32hash tool from Documentation

2016-09-22 Thread Dominik Brodowski
On Wed, Sep 21, 2016 at 06:51:13PM -0600, Shuah Khan wrote: > Move pcmcia crc32hash tool from Documentation to tools/pcmcia and > remove it from Documentation Makefile. Update location information > for this tool. Create a new Makefile to build pcmcia. It can be built > from top level directory or

Re: perf event grouping for dummies (was Re: [PATCH] arc: perf: Enable generic "cache-references" and "cache-misses" events)

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 07:43:28PM -0500, Paul Clarke wrote: > On 09/20/2016 03:56 PM, Vineet Gupta wrote: > >On 09/01/2016 01:33 AM, Peter Zijlstra wrote: > >>>- is that what perf event grouping is ? > >> > >>Again, nope. Perf event groups are single counter (so no implicit > >>addition) that are

Re: [PATCH net-next 0/9] rxrpc: Preparation for slow-start algorithm

2016-09-22 Thread David Howells
I'm going to post a V2 for this. I've used a couple of 64-bit division operators rather than calling the appropriate function (which is fine on x86_64) and managed to transpose the last two patches (causing an undefined symbol in one of them). David

[PATCH net-next 4/9] rxrpc: Send pings to get RTT data [ver #2]

2016-09-22 Thread David Howells
Send a PING ACK packet to the peer when we get a new incoming call from a peer we don't have a record for. The PING RESPONSE ACK packet will tell us the following about the peer: (1) its receive window size (2) its MTU sizes (3) its support for jumbo DATA packets (4) if it supports slow

[PATCH net-next 1/9] rxrpc: Don't store the rxrpc header in the Tx queue sk_buffs [ver #2]

2016-09-22 Thread David Howells
Don't store the rxrpc protocol header in sk_buffs on the transmit queue, but rather generate it on the fly and pass it to kernel_sendmsg() as a separate iov. This reduces the amount of storage required. Note that the security header is still stored in the sk_buff as it may get encrypted along

[PATCH net-next 5/9] rxrpc: Expedite ping response transmission [ver #2]

2016-09-22 Thread David Howells
Expedite the transmission of a response to a PING ACK by sending it from sendmsg if one is pending. We're most likely to see a PING ACK during the client call Tx phase as the other side may use it to determine a number of parameters, such as the client's receive window size, the RTT and whether

[PATCH net-next 0/9] rxrpc: Preparation for slow-start algorithm [ver #2]

2016-09-22 Thread David Howells
ub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160922-v2 David --- David Howells (9): rxrpc: Don't store the rxrpc header in the Tx queue sk_buffs rxrpc: Add re-sent Tx annotation rxrpc: Add per-peer RTT tracker rxrpc: Send pings to get RTT data

[PATCH net-next 3/9] rxrpc: Add per-peer RTT tracker [ver #2]

2016-09-22 Thread David Howells
Add a function to track the average RTT for a peer. Sources of RTT data will be added in subsequent patches. The RTT data will be useful in the future for determining resend timeouts and for handling the slow-start part of the Rx protocol. Also add a pair of tracepoints, one to log

[PATCH 1/4] GPU-DRM-QXL: Use kmalloc_array() in qxl_device_init()

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 21 Sep 2016 22:26:08 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was

[PATCH 0/4] GPU-DRM-QXL: Fine-tuning for three function implementations

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 08:08:08 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use kmalloc_array() in qxl_device_init() Move three assignments in qxl_device_init() Improve a

[PATCH 4/4] GPU-DRM-QXL: Adjust checks for null pointers in three functions

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 08:00:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" can point information out like the following. Comparison to NULL could be written !…

[PATCH 3/3] zram: adjust the number of zram thread

2016-09-22 Thread Minchan Kim
It's pointless to keep many workers greater than the number of online CPU so adjust the number of worker whenever changing online CPU number. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 94 --- 1 file changed, 71

Re: [PATCH] KVM: VMX: Enable MSR-BASED TPR shadow even if w/o APICv

2016-09-22 Thread Wanpeng Li
[...] > >> Btw, I heard from Tianyu from Intel, you said there was a x2apic bug >> in kvm forum and the bug maybe in kvm, I guess I meet the same bug >> when run a windows guest(server version of windows 7, 2008 or 2012) w/ >> x2apic enabled in guest and -machine q35,kernel_irqchip=spit -device >>

Re: [PATCH] tty/serial: atmel: fix fractional baud rate computation

2016-09-22 Thread Boris Brezillon
On Thu, 22 Sep 2016 09:07:46 +0200 Uwe Kleine-König wrote: > On Wed, Sep 21, 2016 at 12:44:14PM +0200, Nicolas Ferre wrote: > > From: Alexey Starikovskiy > > > > The problem with previous code was it rounded values in wrong > > place and

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-09-22 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1e042314619115153a0f6f06e4552c09a50e13 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 8 months ago

Re: [PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-22 Thread Jassi Brar
On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > Use clk_disable_unprepare instead of clk_disable to save more energy > when CMDQ is idle. > > Signed-off-by: HS Liao > --- > drivers/mailbox/mtk-cmdq.c | 54 >

[GIT] Networking

2016-09-22 Thread David Miller
Mostly small bits scattered all over the place, which is usually how things go this late in the -rc series. 1) Proper driver init device resets in bnx2, from Baoquan He. 2) Fix accounting overflow in __tcp_retransmit_skb(), sk_forward_alloc, and ip_idents_reserve, from Eric Dumazet. 3) Fix

Re: strace lockup when tracing exec in go

2016-09-22 Thread Aleksa Sarai
So I've stared into do_notify_parent some more and the following was just very confusing if (!tsk->ptrace && sig == SIGCHLD && (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN || (psig->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT))) { /*

[PATCH] dmaengine: edma: Rename set_bits and remove unused clear_bits helper

2016-09-22 Thread Peter Ujfalusi
The clear_bits() helper is not used by the driver so it can be removed. powerpc architecture defines the set_bits() in arch/powerpc/include/asm/bitops.h which results failed compile testing on powerpc architecture: >> drivers/dma/edma.c:415:20: error: conflicting types for 'set_bits' static

Re: [PATCH 00/14] GPU-DRM-OMAP: Fine-tuning for several function implementations

2016-09-22 Thread Laurent Pinchart
On Thursday 22 Sep 2016 08:45:01 Daniel Vetter wrote: > On Wed, Sep 21, 2016 at 06:35:59PM +0200, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Wed, 21 Sep 2016 18:28:38 +0200 > > > > Several update suggestions were taken into account > > from static

Re: [PATCH] tty/serial: atmel: fix fractional baud rate computation

2016-09-22 Thread Uwe Kleine-König
On Wed, Sep 21, 2016 at 12:44:14PM +0200, Nicolas Ferre wrote: > From: Alexey Starikovskiy > > The problem with previous code was it rounded values in wrong > place and produced wrong baud rate in some cases. > > Signed-off-by: Alexey Starikovskiy >

Re: [PATCH 04/11] staging: dgnc: kfree for board structure in

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 02:22:03PM +0900, Daeseok Youn wrote: > The board structure should be freed when any function was failed > in dgnc_found_board(). And the board strucure will be stored > into dgnc_board array when the dgnc_found_board() function has no error. > > Signed-off-by: Daeseok

Re: [PATCH net-next v2 0/6] ftgmac100 support for ast2500

2016-09-22 Thread David Miller
From: Joel Stanley Date: Thu, 22 Sep 2016 08:34:57 +0930 > Hello Dave, > > This series adds support to the ftgmac100 driver for the Aspeed ast2400 and > ast2500 SoCs. In particular, they ensure the driver works correctly on the > ast2500 where the MAC block has seen some changes

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > >>This patch introduces a new futex implementation called > >>throughput-optimized (TO) futexes. > >nit: 'TO' sounds way too much

Re: [PATCH 1/2] net: ethernet: hisilicon: hns: use phydev from struct net_device

2016-09-22 Thread David Miller
From: Philippe Reynes Date: Tue, 20 Sep 2016 22:30:11 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phydev in the private structure, and update the driver to use the > one

linux-next: Tree for Sep 22

2016-09-22 Thread Stephen Rothwell
Hi all, Changes since 20160921: The kbuild tree still had its build failure and warnings for PowerPC, for which I applied a couple of patches Non-merge commits (relative to Linus' tree): 11474 8534 files changed, 467826 insertions(+), 241038 deletions(-)

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