linux-next: manual merge of the xen-tip tree with the arm-soc tree

2014-12-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in arch/arm/include/asm/dma-mapping.h between commits a3a60f81ee6f ("dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops") and 4bb25789ed28 ("arm: dma-mapping: plumb our iommu mapping ops into

[PATCH] mm:add VM_BUG_ON() for page_mapcount()

2014-12-07 Thread Wang, Yalin
This patch add VM_BUG_ON() for slab page, because _mapcount is an union with slab struct in struct page, avoid access _mapcount if this page is a slab page. Also remove the unneeded bracket. Signed-off-by: Yalin Wang --- include/linux/mm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [RESEND PATCH v5 3/5] acerhdf: Use bang-bang thermal governor

2014-12-07 Thread Peter Feuerer
Hi Darren, I know you are busy and I don't want to stress you, but have you had time to look to this? I'd be really happy to solve all issues in time and have those patches finally applied. kind regards, --peter; Peter Feuerer writes: Hi again, Peter Feuerer writes: Hi Darren, thank

Re: [RFC RESEND 0/3] Add watermark support to devfreq

2014-12-07 Thread MyungJoo Ham
> (Sorry for the spam. I am resending the series because I noted that > some of the email addresses were mistyped) > > Currently main mechanism to implement scaling using devfreq is > polling and the device profile is free to set polling interval. > However, in many cases this approach is not

Re: [RFC PATCH 3/3] mm: always steal split buddies in fallback allocations

2014-12-07 Thread Joonsoo Kim
On Thu, Dec 04, 2014 at 06:12:58PM +0100, Vlastimil Babka wrote: > When allocation falls back to another migratetype, it will steal a page with > highest available order, and (depending on this order and desired > migratetype), > it might also steal the rest of free pages from the same pageblock.

Re: [PATCH RFC v2 3/4] virtio: allow finalize_features to fail

2014-12-07 Thread Michael S. Tsirkin
On Fri, Dec 05, 2014 at 10:53:54AM +0100, David Hildenbrand wrote: > > This will make it easy for transports to validate features and return > > failure. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > include/linux/virtio_config.h | 3 ++- > > drivers/lguest/lguest_device.c

Re: [PATCH] uio/uio_pci_generic: don't return zero on failure path in probe()

2014-12-07 Thread Michael S. Tsirkin
On Sat, Dec 06, 2014 at 12:28:01AM +0300, Alexey Khoroshilov wrote: > If uio_register_device() fails in probe(), it breaks off initialization, > deallocates all resources, but returns zero. > > The patch adds proper error code propagation. > > Found by Linux Driver Verification project

linux-next: manual merge of the kvm tree with the rcu tree

2014-12-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in arch/ia64/kvm/Kconfig between commit d80bd9c0e85f ("tinification: Make SRCU optional by using CONFIG_SRCU") from the rcu tree and commit 003f7de62589 ("KVM: ia64: remove") from the kvm tree. I fixed it up (I just removed the

[PATCH 2/2] Input: gpio_keys - replace timer and workqueue with delayed workqueue

2014-12-07 Thread Dmitry Torokhov
We do not need to roll our own implementation of delayed work now that we have proper implementation of mod_delayed_work. For interrupt-only driven buttons we retain the timer, but we rename it to release_timer to better reflect its purpose. Signed-off-by: Dmitry Torokhov ---

[PATCH 1/2] Input: gpio_keys - allow separating gpio and irq in device tree

2014-12-07 Thread Dmitry Torokhov
This change allows specify interrupt for buttons separately form gpio, potentially allowing to form several "clusters" of buttons on different interrupts. Button defined without both gpio and irq in device tree is a hared error instead of a warning now. Signed-off-by: Dmitry Torokhov ---

[f2fs-dev][PATCH] f2fs: merge two uchar variable in struct nat_entry to reduce memory cost

2014-12-07 Thread Chao Yu
This patch moves one member of struct nat_entry: _flag_ to struct node_info, so _version_ in struct node_info and _flag_ with unsigned char type will merge to one 32-bit space in register/memory. Then the size of nat_entry will reduce its size from 28 bytes to 24 bytes and slab memory using by

[PATCH 0/4] enhance compaction success rate

2014-12-07 Thread Joonsoo Kim
This patchset aims at increase of compaction success rate. Changes are related to compaction finish condition and freepage isolation condition. >From these changes, I did stress highalloc test in mmtests with nonmovable order 7 allocation configuration, and success rate (%) at phase 1 are, Base

Re: [PATCH 6/6] pci, acpi: Share ACPI PCI config space accessors.

2014-12-07 Thread Tomasz Nowicki
W dniu 24.11.2014 o 11:41, Arnd Bergmann pisze: On Friday 21 November 2014 11:08:25 Bjorn Helgaas wrote: On Fri, Nov 21, 2014 at 01:24:52PM +0100, Arnd Bergmann wrote: On Thursday 20 November 2014 21:00:17 Myron Stowe wrote: On Thu, Nov 20, 2014 at 3:26 PM, Bjorn Helgaas wrote: That's

[PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-07 Thread Joonsoo Kim
From: Joonsoo Kim Currently, freepage isolation in one pageblock doesn't consider how many freepages we isolate. When I traced flow of compaction, compaction sometimes isolates more than 256 freepages to migrate just 32 pages. In this patch, freepage isolation is stopped at the point that we

[PATCH 2/4] mm/page_alloc: expands broken freepage to proper buddy list when steal

2014-12-07 Thread Joonsoo Kim
There is odd behaviour when we steal freepages from other migratetype buddy list. In try_to_steal_freepages(), we move all freepages in the pageblock that founded freepage is belong to to the request migratetype in order to mitigate fragmentation. If the number of moved pages are enough to change

[PATCH 3/4] mm/compaction: enhance compaction finish condition

2014-12-07 Thread Joonsoo Kim
Compaction has anti fragmentation algorithm. It is that freepage should be more than pageblock order to finish the compaction if we don't find any freepage in requested migratetype buddy list. This is for mitigating fragmentation, but, it is a lack of migratetype consideration and too excessive.

[PATCH 1/4] mm/compaction: fix wrong order check in compact_finished()

2014-12-07 Thread Joonsoo Kim
What we want to check here is whether there is highorder freepage in buddy list of other migratetype in order to steal it without fragmentation. But, current code just checks cc->order which means allocation request order. So, this is wrong. Without this fix, non-movable synchronous compaction

Re: [PATCH 1/20] mtd: s3c2410: fix misspelling of current function in string

2014-12-07 Thread Julia Lawall
> > diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c > > index 35aef5e..0a9c41f 100644 > > --- a/drivers/mtd/nand/s3c2410.c > > +++ b/drivers/mtd/nand/s3c2410.c > > @@ -948,7 +948,7 @@ static int s3c24xx_nand_probe(struct platform_device > > *pdev) > > > > cpu_type =

Re: [ 10/25] x86, espfix: Make it possible to disable 16-bit support

2014-12-07 Thread Willy Tarreau
On Mon, Dec 08, 2014 at 02:58:54AM +, Ben Hutchings wrote: > On Sat, 2014-12-06 at 18:41 +0100, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: "H. Peter Anvin" > > > > commit

Re: [PATCH] ACPI, EINJ: Enhance error injection tolerance level

2014-12-07 Thread Tomasz Nowicki
W dniu 03.12.2014 o 22:22, Luck, Tony pisze: From: "Chen, Gong" Some BIOSes utilize PCI MMCFG space read/write opertion to trigger specific errors. EINJ will report errors as below when hitting such cases: APEI: Can not request [mem 0x83f990a0-0x83f990a3] for APEI EINJ Trigger registers It

Re: [RFC PATCH 2/3] mm: more aggressive page stealing for UNMOVABLE allocations

2014-12-07 Thread Joonsoo Kim
On Thu, Dec 04, 2014 at 06:12:57PM +0100, Vlastimil Babka wrote: > When allocation falls back to stealing free pages of another migratetype, > it can decide to steal extra pages, or even the whole pageblock in order to > reduce fragmentation, which could happen if further allocation fallbacks >

[f2fs-dev][PATCH 4/4] f2fs: avoid to ra unneeded blocks in recover flow

2014-12-07 Thread Chao Yu
To improve recovery speed, f2fs try to readahead many contiguous blocks in warm node segment, but for most time, abnormal power-off do not occur frequently, so when mount a normal power-off f2fs image, by contrary ra so many blocks and then invalid them will hurt the performance of mount. It's

Re: [PATCH 3/6] UBI: Fastmap: Notify user in case of an ubi_update_fastmap() failure

2014-12-07 Thread Tanya Brokhman
On 12/7/2014 4:22 PM, Richard Weinberger wrote: Am 07.12.2014 um 14:59 schrieb Tanya Brokhman: Hi Richard, On 11/30/2014 1:35 PM, Richard Weinberger wrote: If ubi_update_fastmap() fails notify the user. This is not a hard error as ubi_update_fastmap() makes sure that upon failure the current

[f2fs-dev][PATCH 2/4] f2fs: introduce is_valid_blkaddr to cleanup codes in ra_meta_pages

2014-12-07 Thread Chao Yu
This patch does cleanup work, it introduces is_valid_blkaddr() to include verification code for blkaddr with upper and down boundary value which were in ra_meta_pages previous. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 53 ++-- 1 file

[f2fs-dev][PATCH 3/4] f2fs: readahead contiguous current summary blocks in checkpoint

2014-12-07 Thread Chao Yu
Let's add readahead code for reading contiguous compact/normal summary blocks in checkpoint, then we will gain better performance in mount procedure. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/segment.c| 21 ++--- 3 files

[f2fs-dev][PATCH 1/4] f2fs: fix to enable readahead for SSA/CP blocks

2014-12-07 Thread Chao Yu
1.We use zero as upper boundary value for ra SSA/CP blocks, we will skip readahead as verification failure with max number, it causes low performance. 2.Low boundary value is not accurate for SSA/CP/POR region verification, so these values need to be redefined. This patch fixes above issues.

[PATCH V2] tick-broadcast: Register for hrtimer based broadcast as the fallback broadcast mode

2014-12-07 Thread Preeti U Murthy
Commit 5d1638acb9f6 ('tick: Introduce hrtimer based broadcast') added a hrtimer based broadcast mode for those platforms in which local timers stop when CPUs enter deep idle states. The commit expected the platforms to register for this mode explicitly when they lacked a better external device to

[tip:perf/core] perf symbols: Move bfd_demangle stubbing to its only user

2014-12-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: aaba4e12a99cc56fc8614a3f2a3ec6db4fcde76e Gitweb: http://git.kernel.org/tip/aaba4e12a99cc56fc8614a3f2a3ec6db4fcde76e Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 24 Nov 2014 17:10:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:47 -0300

[tip:perf/core] perf report: In branch stack mode use address history sorting

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: 09a6a1b07e5a579ef770d9728f5b158408c73c23 Gitweb: http://git.kernel.org/tip/09a6a1b07e5a579ef770d9728f5b158408c73c23 Author: Andi Kleen AuthorDate: Mon, 17 Nov 2014 17:58:54 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:31 -0300 perf report: In

[tip:perf/core] perf report: Add --branch-history option

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: fa94c36c29ed8bb4749b5fd7ea51a593f673dcef Gitweb: http://git.kernel.org/tip/fa94c36c29ed8bb4749b5fd7ea51a593f673dcef Author: Andi Kleen AuthorDate: Wed, 12 Nov 2014 18:05:22 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:31 -0300 perf report: Add

[tip:perf/core] perf stat: Add support for snapshot counters

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 6c0345b73b970078c3e71ecc614a007207a1428a Gitweb: http://git.kernel.org/tip/6c0345b73b970078c3e71ecc614a007207a1428a Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:15 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:31 -0300 perf stat: Add

[tip:perf/core] perf callchain: Support handling complete branch stacks as histograms

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: 8b7bad58efb7e3aaff60f7c1fa4361fb8c23181d Gitweb: http://git.kernel.org/tip/8b7bad58efb7e3aaff60f7c1fa4361fb8c23181d Author: Andi Kleen AuthorDate: Wed, 12 Nov 2014 18:05:20 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:31 -0300 perf callchain:

[tip:perf/core] perf stat: Add support for per-pkg counters

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 779d0b997e0787fc5f80110159b6c18ae0fae395 Gitweb: http://git.kernel.org/tip/779d0b997e0787fc5f80110159b6c18ae0fae395 Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:14 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:30 -0300 perf stat: Add

[tip:perf/core] perf tools: Remove perf_evsel__read interface

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: a5a7fd76b55a6e6916ff22e5c8fdb39a8381be2c Gitweb: http://git.kernel.org/tip/a5a7fd76b55a6e6916ff22e5c8fdb39a8381be2c Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:11 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:30 -0300 perf tools:

[tip:perf/core] perf stat: Use read_counter in read_counter_aggr

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 1971f59f1a1e0e7f3efc25ce0597505626d9f7ed Gitweb: http://git.kernel.org/tip/1971f59f1a1e0e7f3efc25ce0597505626d9f7ed Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:10 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:30 -0300 perf stat: Use

[tip:perf/core] perf stat: Make read_counter work over the thread dimension

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 9bf1a52914c7e810091f7726790fc42242a2dafe Gitweb: http://git.kernel.org/tip/9bf1a52914c7e810091f7726790fc42242a2dafe Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:09 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:30 -0300 perf stat: Make

[tip:perf/core] perf stat: Use perf_evsel__read_cb in read_counter

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 060c4f9c8cc871a96dfacdc9306101e8b9195805 Gitweb: http://git.kernel.org/tip/060c4f9c8cc871a96dfacdc9306101e8b9195805 Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:08 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Dec 2014 20:00:30 -0300 perf stat: Use

[tip:perf/core] perf tools: Add snapshot format file parsing

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 1d9e446b91e182055d874fbb30150aad479a4981 Gitweb: http://git.kernel.org/tip/1d9e446b91e182055d874fbb30150aad479a4981 Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:13 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:51 -0300 perf tools: Add

[tip:perf/core] perf tools: Add per-pkg format file parsing

2014-12-07 Thread tip-bot for Matt Fleming
Commit-ID: 044330c1840e1ece97136d78a15484c867e2faaa Gitweb: http://git.kernel.org/tip/044330c1840e1ece97136d78a15484c867e2faaa Author: Matt Fleming AuthorDate: Fri, 21 Nov 2014 10:31:12 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:51 -0300 perf tools:

[tip:perf/core] perf evsel: Introduce perf_counts_values__scale function

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 13112bbf595d4081f291f7061bb096dbf4401d41 Gitweb: http://git.kernel.org/tip/13112bbf595d4081f291f7061bb096dbf4401d41 Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:06 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:50 -0300 perf evsel:

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-07 Thread Joonsoo Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: > When __rmqueue_fallback() is called to allocate a page of order X, it will > find a page of order Y >= X of a fallback migratetype, which is different from > the desired migratetype. With the help of try_to_steal_freepages(), it

[tip:perf/core] perf evsel: Introduce perf_evsel__read_cb function

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 011dccbdd93b7022c5c67e7c55fa8b5030b5e03d Gitweb: http://git.kernel.org/tip/011dccbdd93b7022c5c67e7c55fa8b5030b5e03d Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:07 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:50 -0300 perf evsel:

Re: [PATCH v5 1/8] crypto: AF_ALG: add user space interface for AEAD

2014-12-07 Thread Stephan Mueller
Am Sonntag, 7. Dezember 2014, 23:21:09 schrieb Stephan Mueller: Hi Herbert, FYI: you mentioned that you applied that patch already. However, I do not see it in the cryptodev-2.6 tree. Therefore I resent it. In case it was applied, please disregard this patch. > AEAD requires the caller to

[tip:perf/core] perf tools: Fix segfault due to invalid kernel dso access

2014-12-07 Thread tip-bot for Namhyung Kim
Commit-ID: 330dfa224fcc8594977785a6493ca06d124f0cfe Gitweb: http://git.kernel.org/tip/330dfa224fcc8594977785a6493ca06d124f0cfe Author: Namhyung Kim AuthorDate: Tue, 18 Nov 2014 13:30:28 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:48 -0300 perf tools:

[tip:perf/core] perf hists browser: Print overhead percent value for first-level callchain

2014-12-07 Thread tip-bot for Namhyung Kim
Commit-ID: 4087d11cd9455cd28da0795504451d1188633a0d Gitweb: http://git.kernel.org/tip/4087d11cd9455cd28da0795504451d1188633a0d Author: Namhyung Kim AuthorDate: Mon, 24 Nov 2014 17:13:26 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 11:28:48 -0300 perf hists

[tip:perf/core] perf evsel: Introduce perf_evsel__compute_deltas function

2014-12-07 Thread tip-bot for Jiri Olsa
Commit-ID: 857a94a226d7d345c3f492d5679e802e59f824a9 Gitweb: http://git.kernel.org/tip/857a94a226d7d345c3f492d5679e802e59f824a9 Author: Jiri Olsa AuthorDate: Fri, 21 Nov 2014 10:31:05 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:49 -0300 perf evsel:

[tip:perf/core] perf tools: Allow to force redirect pr_debug to stderr.

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: f78eaef0e0493f6068777a246b9c4d9d5cf2b7aa Gitweb: http://git.kernel.org/tip/f78eaef0e0493f6068777a246b9c4d9d5cf2b7aa Author: Andi Kleen AuthorDate: Fri, 21 Nov 2014 13:38:00 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:48 -0300 perf tools:

[tip:perf/core] perf tools: Collapse first level callchain entry if it has sibling

2014-12-07 Thread tip-bot for Namhyung Kim
Commit-ID: a7444af69b2898bb9b3a847d3599e1fc98356ce5 Gitweb: http://git.kernel.org/tip/a7444af69b2898bb9b3a847d3599e1fc98356ce5 Author: Namhyung Kim AuthorDate: Mon, 24 Nov 2014 17:13:27 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 11:34:33 -0300 perf tools:

[tip:perf/core] perf callchain: Make get_srcline fall back to sym+offset

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: 85c116a6cb91a5c09b7a6c95ffc6a6cbd32cd237 Gitweb: http://git.kernel.org/tip/85c116a6cb91a5c09b7a6c95ffc6a6cbd32cd237 Author: Andi Kleen AuthorDate: Wed, 12 Nov 2014 18:05:27 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:47 -0300 perf callchain:

[tip:perf/core] perf callchain: Enable printing the srcline in the history

2014-12-07 Thread tip-bot for Andi Kleen
Commit-ID: 23f0981bbd89fcc1496d0490ec39ca7c91599e32 Gitweb: http://git.kernel.org/tip/23f0981bbd89fcc1496d0490ec39ca7c91599e32 Author: Andi Kleen AuthorDate: Wed, 12 Nov 2014 18:05:24 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Nov 2014 18:03:46 -0300 perf callchain:

Re: [GIT PULL 0/9] perf/core improvements

2014-12-07 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, on top of one previous pull request. > > - Arnaldo > > > The following changes since commit 1d9e446b91e182055d874fbb30150aad479a4981: > > perf tools: Add snapshot format file parsing (2014-11-24 18:03:51

Re: [PATCH 0/20] fix misspelling of current function in string

2014-12-07 Thread Julia Lawall
On Mon, 8 Dec 2014, Julian Calaby wrote: > Hi Julia, > > On Mon, Dec 8, 2014 at 6:20 AM, Julia Lawall wrote: > > These patches replace what appears to be a reference to the name of the > > current function but is misspelled in some way by either the name of the > > function itself, or by %s and

[PATCH] drm/tegra: dsi: Add suspend/resume support

2014-12-07 Thread Mark Zhang
This patch adds the suspend/resume support for Tegra drm driver by calling the corresponding DPMS functions. Signed-off-by: Mark Zhang --- Hi, This patch hooks DSI driver's suspend/resume to implement the whole display system's suspend/resume. I know this is a super ugly way, but as we all

RE: [PATCH] net: phy: micrel: workaround to NAND_Tree# incorrectly strapp-in during the reset period.

2014-12-07 Thread Yang, Wenyou
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Monday, December 08, 2014 1:09 PM > To: Yang, Wenyou > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; > linux- > arm-kernel-boun...@lists.infradead.org; jo...@kernel.org >

Re: [PATCH v12 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-07 Thread Wang Nan
On 2014/12/5 22:59, Jon Medhurst (Tixy) wrote: > On Fri, 2014-12-05 at 10:10 +, Jon Medhurst (Tixy) wrote: > [...] >> I'm worried because this whole optimised kprobes has some rather >> complicated interactions, e.g. can the background thread that changes >> breakpoints to jumps (or back

[PATCH v14 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-07 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make

[PATCH v14 4/7] ARM: kprobes: disallow probing stack consuming instructions

2014-12-07 Thread Wang Nan
This patch prohibits probing instructions for which the stack requirements are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan Reviewed-by: Jon Medhurst --- v1 -> v2: - Use MAX_STACK_SIZE

[PATCH v14 5/7] ARM: kprobes: Add test cases for stack consuming instructions

2014-12-07 Thread Wang Nan
From: Jon Medhurst These have extra 'checker' functions associated with them so lets make sure those get covered by testing. Signed-off-by: Jon Medhurst Signed-off-by: Wang Nan --- v1 -> v2: - Move to arch/arm/probes/ . --- arch/arm/probes/kprobes/test-arm.c | 17 +++--

[PATCH v14 6/7] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-12-07 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. --- Signed-off-by: Masami Hiramatsu Signed-off-by: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++-

[PATCH v14 2/7] ARM: kprobes: introduces checker

2014-12-07 Thread Wang Nan
This patch introdces 'checker' to decoding phase, and calls checkers when instruction decoding. This allows further decoding for specific instructions. This patch introduces a stub call of checkers in kprobe arch_prepare_kprobe() as an example and for further expansion. Signed-off-by: Wang Nan

[PATCH v14 3/7] ARM: kprobes: collects stack consumption for store instructions

2014-12-07 Thread Wang Nan
This patch uses the previously introduced checker functionality on store instructions to record their stack consumption information to arch_probes_insn. Signed-off-by: Wang Nan Signed-off-by: Jon Medhurst Reviewed-by: Jon Medhurst --- v1 -> v2: - Bugfix and code improvements following Tixy's

[PATCH v14 1/7] ARM: probes: move all probe code to dedicate directory

2014-12-07 Thread Wang Nan
In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell King suggests to move all probe related code to arch/arm/probes. This patch does the work. Due to dependency on 'arch/arm/kernel/patch.h', this patch also moves patch.h to 'arch/arm/include/asm/patch.h', and related '#include'

[PATCH v14 0/7] ARM: kprobes: OPTPROBES and other improvements.

2014-12-07 Thread Wang Nan
This is v14 of optprobe related patch series. This series fixes a bug found by Tixy: a race between patch_text() and undef handler. Previous discussions can be found: https://lkml.org/lkml/2014/12/4/942 https://lkml.org/lkml/2014/12/4/4 https://lkml.org/lkml/2014/12/1/64

[PATCH] memory: Add NVIDIA SMMU suspend/resume support

2014-12-07 Thread Mark Zhang
This patch adds suspend/resume support for NVIDIA SMMU. This patch is created on top of Thierry Reding's patch set: "[PATCH v7 00/12] NVIDIA Tegra memory controller and IOMMU support" Signed-off-by: Mark Zhang --- drivers/iommu/tegra-smmu.c | 79 +-

Re: [PATCH v5 00/61] dmaengine: Implement generic slave capabilities retrieval

2014-12-07 Thread Vinod Koul
On Mon, Nov 17, 2014 at 02:41:54PM +0100, Maxime Ripard wrote: > Hi, > > As we discussed a couple of weeks ago, this is the third attempt at > creating a generic behaviour for slave capabilities retrieval so that > generic layers using dmaengine can actually rely on that. > > That has been done

Re: [PATCH v2] PCI: pciehp: Check link state before accessing device during removal

2014-12-07 Thread Rajat Jain
Hello Bjorn, Just checking if you got a chance to look at this. Thanks, Rajat On Thu, Nov 20, 2014 at 2:54 PM, Rajat Jain wrote: > While removing a card, we can't assume the presence to mean that the > access to card is OK. That is because the cause of removal may be a > link down event, and

Re: [PATCH V2 2/2] dmaengine: Add driver for IMG MDC

2014-12-07 Thread Andrew Bresticker
On Sun, Dec 7, 2014 at 3:48 AM, Vinod Koul wrote: > On Fri, Dec 05, 2014 at 10:30:53AM -0800, Andrew Bresticker wrote: >> After adding a macro for setting the WIDTH_{R,W} fields it seems fine >> to me. Is there something else you had in mind? > I think whole of this might be a macro :) > > >> >

Re: [PATCH v18 06/12] dt-bindings: add document for dw_hdmi

2014-12-07 Thread Andy Yan
Hi Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell, Kumar Gala: Would you please give an Ack for this? On 2014年12月05日 21:54, Philipp Zabel wrote: Am Freitag, den 05.12.2014, 14:27 +0800 schrieb Andy Yan: Signed-off-by: Andy Yan This binding is mostly a copy of the existing

RE: [PATCH 3/3] Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

2014-12-07 Thread KY Srinivasan
> -Original Message- > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > Sent: Sunday, December 7, 2014 12:05 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com

Re: [PATCH v3 4/4] powernv: powerpc: Add winkle support for offline cpus

2014-12-07 Thread Paul Mackerras
On Thu, Dec 04, 2014 at 12:58:23PM +0530, Shreyas B. Prabhu wrote: > Winkle is a deep idle state supported in power8 chips. A core enters > winkle when all the threads of the core enter winkle. In this state > power supply to the entire chiplet i.e core, private L2 and private L3 > is turned off.

Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API

2014-12-07 Thread Viresh Kumar
Hi Javi, Looks like ARM's exchange server screwed up your patch? This is how I see it with gmail's show-original option: +=09cpufreq_device->dyn_power_table =3D power_table; +=09cpufreq_device->dyn_power_table_entries =3D i; + I have seen this a lot, while I was in ARM. Had to adopt some

Re: [PATCH] staging: vt6655: mac.c: Remove unused function

2014-12-07 Thread Sudip Mukherjee
On Sun, Dec 07, 2014 at 11:02:44PM +0100, Rickard Strandqvist wrote: > Remove the function MACbCompareContext() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- not applying to

[PATCH] xen: annotate xen_set_identity_and_remap_chunk() with __init

2014-12-07 Thread Juergen Gross
Commit 5b8e7d80542487ff1bf17b4cf2922a01dee13d3a removed the __init annotation from xen_set_identity_and_remap_chunk(). Add it again. Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/setup.c

Re: [PATCH] tick-broadcast: Register for hrtimer based broadcast as the default broadcast mode

2014-12-07 Thread Preeti U Murthy
On 12/05/2014 07:09 PM, Mark Rutland wrote: > Hi Preeti, > > Moving this out of the architecture code looks good to me! > > I have a couple of minor comments below. >> >> diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c >> index ec1791f..6044a51 100644 >> ---

Re: [PATCH v3 3/4] powernv: cpuidle: Redesign idle states management

2014-12-07 Thread Shreyas B Prabhu
Hi Paul, On Monday 08 December 2014 10:31 AM, Paul Mackerras wrote: > On Thu, Dec 04, 2014 at 12:58:22PM +0530, Shreyas B. Prabhu wrote: >> Deep idle states like sleep and winkle are per core idle states. A core >> enters these states only when all the threads enter either the >> particular idle

Re: [v2 17/25] KVM: kvm-vfio: User API for VT-d Posted-Interrupts

2014-12-07 Thread Alex Williamson
On Mon, 2014-12-08 at 04:58 +, Wu, Feng wrote: > > > -Original Message- > > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > > Behalf Of Eric Auger > > Sent: Thursday, December 04, 2014 10:05 PM > > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com;

Re: frequent lockups in 3.18rc4

2014-12-07 Thread Paul E. McKenney
On Sun, Dec 07, 2014 at 06:28:43PM -0500, Sasha Levin wrote: > On 12/07/2014 02:43 PM, Paul E. McKenney wrote: > > On Sun, Dec 07, 2014 at 10:24:20AM -0800, Paul E. McKenney wrote: > >> On Sun, Dec 07, 2014 at 09:58:14AM -0500, Sasha Levin wrote: > >>> On 12/05/2014 01:15 PM, Linus Torvalds wrote:

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-12-07 Thread Kiran Raparthy
Hi Jason, On 1 December 2014 at 11:32, Kiran Raparthy wrote: > Hi Jason, > > On 27 November 2014 at 15:19, Daniel Thompson > wrote: >> On 26/11/14 17:45, Colin Cross wrote: >>> On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy >>> wrote: From: Colin Cross debug: prevent entering

Re: [v2 18/25] KVM: kvm-vfio: implement the VFIO skeleton for VT-d Posted-Interrupts

2014-12-07 Thread Alex Williamson
On Mon, 2014-12-08 at 04:58 +, Wu, Feng wrote: > > > -Original Message- > > From: Eric Auger [mailto:eric.au...@linaro.org] > > Sent: Thursday, December 04, 2014 11:36 PM > > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > > x...@kernel.org; g...@kernel.org;

Re: [PATCH] net: phy: micrel: workaround to NAND_Tree# incorrectly strapp-in during the reset period.

2014-12-07 Thread Florian Fainelli
Le 07/12/2014 19:35, Wenyou Yang a écrit : > Appearance: On some boards, after power up, the Ethernet doesn't work. > > Reason: On the SAMA5D4EK, the PIOE2 pin is connected to the NAND_Tree# of > KSZ8081, > But it outputs LOW during the reset period, which cause the NAND_Tree# > enabled. > >

Re: [RFC 1/3] devfreq: dt-bindings: Document Exynos3250 devfreq driver

2014-12-07 Thread MyungJoo Ham
> > Add documentation for bindings used by Exynos3250 devfreq driver. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/arm/samsung/exynos3250-devfreq.txt| 66 > ++ > 1 file changed, 66 insertions(+) > create mode 100644 >

Re: [PATCH v3 3/4] powernv: cpuidle: Redesign idle states management

2014-12-07 Thread Paul Mackerras
On Thu, Dec 04, 2014 at 12:58:22PM +0530, Shreyas B. Prabhu wrote: > Deep idle states like sleep and winkle are per core idle states. A core > enters these states only when all the threads enter either the > particular idle state or a deeper one. There are tasks like fastsleep > hardware bug

RE: [v2 17/25] KVM: kvm-vfio: User API for VT-d Posted-Interrupts

2014-12-07 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Eric Auger > Sent: Thursday, December 04, 2014 10:05 PM > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > x...@kernel.org; g...@kernel.org; pbonz...@redhat.com;

RE: [v2 18/25] KVM: kvm-vfio: implement the VFIO skeleton for VT-d Posted-Interrupts

2014-12-07 Thread Wu, Feng
> -Original Message- > From: Eric Auger [mailto:eric.au...@linaro.org] > Sent: Thursday, December 04, 2014 11:36 PM > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > x...@kernel.org; g...@kernel.org; pbonz...@redhat.com; > dw...@infradead.org; j...@8bytes.org;

Re: [PATCH] kthread: kthread_bind fails to enforce CPU affinity (fixes kernel BUG at kernel/smpboot.c:134!)

2014-12-07 Thread Anton Blanchard
Hi Linus, > The __set_task_cpu() function does various other things too: > > set_task_rq(p, cpu); > #ifdef CONFIG_SMP > /* > * After ->cpu is set up to a new value, task_rq_lock(p, ...) > can be > * successfuly executed on another CPU. We must ensure that >

Re: [PATCH] kthread: kthread_bind fails to enforce CPU affinity (fixes kernel BUG at kernel/smpboot.c:134!)

2014-12-07 Thread Linus Torvalds
On Sun, Dec 7, 2014 at 7:27 PM, Anton Blanchard wrote: > > Since we cannot call set_task_cpu (the task is in a sleeping state), > just do an explicit set of task_thread_info(p)->cpu. Scheduler people: is this sufficient and ok? The __set_task_cpu() function does various other things too:

Re: [PATCH] thermal: Fix error path in thermal_init()

2014-12-07 Thread Zhang Rui
On Wed, 2014-12-03 at 21:20 +, Luis Henriques wrote: > thermal_unregister_governors() and class_unregister() were being called in > the wrong order. > > Fixes: 80a26a5c22b9 ("Thermal: build thermal governors into thermal_sys > module") > Cc: sta...@vger.kernel.org > Signed-off-by: Luis

Re: [PATCH 1/1] thermal: int3403: Delete a check before thermal_zone_device_unregister()

2014-12-07 Thread Zhang Rui
On Mon, 2014-12-01 at 05:50 +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 1 Dec 2014 05:45:42 +0100 > > The thermal_zone_device_unregister() function tests whether its argument > is NULL and then returns immediately. Thus the test around the call > is not needed. > > This

Re: [PATCH v2 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY.

2014-12-07 Thread Yunzhi Li
Hi Romain : On 2014/12/5 21:38, Romain Perier wrote: Hi, Some quick comments 2014-12-05 13:52 GMT+01:00 Yunzhi Li : [...] diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index ccad880..e3a5857 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -239,6 +239,13 @@ config

Re: [RFC PATCH v6 4/9] thermal: let governors have private data for each thermal zone

2014-12-07 Thread Zhang Rui
On Fri, 2014-12-05 at 19:04 +, Javi Merino wrote: > A governor may need to store its current state between calls to > throttle(). That state depends on the thermal zone, so store it as > private data in struct thermal_zone_device. > > The governors may have two new ops: bind_to_tz() and

Re: WARNING: /usr/projects/linux/linux/drivers/gpu/drm/i915/intel_pm.c:6585 intel_display_power_put+0x4b/0x116 [i915]()

2014-12-07 Thread Theodore Ts'o
On Mon, Dec 08, 2014 at 12:32:01PM +1000, Dave Airlie wrote: > > I suspect a lot of the problems are just that xfce isn't sufficiently handling > randr events, and it is getting out of sync, it is like hotplug networking > before NetworkManager etc. Yes, I've seen this on XFCE 4.11 (in Ubuntu),

Re: [PATCH] thermal/powerclamp: add id for braswell cpu

2014-12-07 Thread Zhang Rui
On Thu, 2014-12-04 at 09:17 -0800, Jacob Pan wrote: Adding your Signed-off-by and applied. thanks, rui > --- > drivers/thermal/intel_powerclamp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/thermal/intel_powerclamp.c > b/drivers/thermal/intel_powerclamp.c > index

Re: [PATCH v2] thermal: Intel SoC DTS: Don't do thermal zone update inside spin_lock

2014-12-07 Thread Zhang Rui
On Fri, 2014-11-28 at 10:11 +0800, Maurice Petallo wrote: > The driver calls spin_lock_irqsave during DTS interrupt. The interrupt > handle then calls thermal_zone_device_update which implicitly calls > a sleep function and produce the following bug: > > BUG: sleeping function called from invalid

Re: [PATCH v2 3/5] usb: dwc2: Add generic PHY framework support for dwc2 usb controler platform driver.

2014-12-07 Thread Yunzhi Li
Hi Paul: Thank you for replying. On 2014/12/6 3:04, Paul Zimmerman wrote: From: Yunzhi Li [mailto:l...@rock-chips.com] Sent: Friday, December 05, 2014 4:52 AM Get PHY parameters from devicetree and power off usb PHY during system suspend. Signed-off-by: Yunzhi Li ---

Re: [PATCH 0/20] fix misspelling of current function in string

2014-12-07 Thread Joe Perches
On Sun, 2014-12-07 at 20:20 +0100, Julia Lawall wrote: > These patches replace what appears to be a reference to the name of the > current function but is misspelled in some way by either the name of the > function itself, or by %s and then __func__ in an argument list. At least a few of these

[PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2014-12-07 Thread jeffrey.lin
From: "jeffrey.lin" This patch is porting Raydium I2C touch driver. Developer can enable raydium touch driver by modifying define "CONFIG_TOUCHSCREEN_RM_TS". Signed-off-by: jeffrey@rad-ic.com --- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile | 1

[PATCH v8 1/3] Move BTRFS RCU string to common library

2014-12-07 Thread Omar Sandoval
The RCU-friendly string API used internally by BTRFS is generic enough for common use. This doesn't add any new functionality but instead just moves the code and documents the existing API. Reviewed-by: Josh Triplett Acked-by: Paul E. McKenney Signed-off-by: Omar Sandoval ---

[PATCH] net: phy: micrel: workaround to NAND_Tree# incorrectly strapp-in during the reset period.

2014-12-07 Thread Wenyou Yang
Appearance: On some boards, after power up, the Ethernet doesn't work. Reason: On the SAMA5D4EK, the PIOE2 pin is connected to the NAND_Tree# of KSZ8081, But it outputs LOW during the reset period, which cause the NAND_Tree# enabled. Workaround: In the .config_init(), add code to disable

[PATCH v8 3/3] btrfs: fix suspicious RCU in BTRFS_IOC_DEV_INFO

2014-12-07 Thread Omar Sandoval
A naked read of the value of an RCU pointer isn't safe. Put the whole access in an RCU critical section, not just the pointer dereference. Signed-off-by: Omar Sandoval --- fs/btrfs/ioctl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/ioctl.c

[PATCH v8 0/3] Introduce RCU string API

2014-12-07 Thread Omar Sandoval
This patch series on top of v3.18 introduces the RCU string API and cleans up the wreckage of sparse warnings which follow from it (shown here from when the patch was briefly in the btrfs integration tree): On Thu, Nov 27, 2014 at 06:45:20AM +0800, kbuild test robot wrote: > tree:

  1   2   3   4   5   6   7   >