[PATCH v2] mmc: sdhci-pci: SDIO host controller support for Intel Quark X1000

2014-06-24 Thread Chen, Alvin
From: Derek Browne derek.bro...@intel.com This patch is to enable SDIO host controller for Intel Quark X1000. Signed-off-by: Derek Browne derek.bro...@intel.com Signed-off-by: Alvin (Weike) Chen alvin.c...@intel.com --- changelog v2: *Delete '#define PCI_DEVICE_ID_INTEL_QUARK_ILB 0x095E' from

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Guenter Roeck
On 06/23/2014 10:34 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-06-23 at 22:05 -0700, Guenter Roeck wrote: On 06/23/2014 09:35 PM, Benjamin Herrenschmidt wrote: On Fri, 2014-06-13 at 09:38 -0700, Guenter Roeck wrote: If compiled with W=1, the following warning is seen in powerpc builds.

[PATCH v2] mmc: sdhci-pci: Add support for Intel Quark X1000 SDIO host controller

2014-06-24 Thread Chen, Alvin
From: Alvin (Weike) Chen alvin.c...@intel.com Hi, Intel Quark X1000 consists of one SDIO host controller which can be PCI enumerated. SDHCI-PCI layer doesn't support it. Thus, we add support for Intel Quark X1000 SDIO as well. Derek Browne (1): Quark SDIO host controller

Re: [PATCH] mm: update the description for madvise_remove

2014-06-24 Thread Naoya Horiguchi
On Tue, Jun 24, 2014 at 01:49:31PM +0800, Wang Sheng-Hui wrote: Currently, we have more filesystems supporting fallocate, e.g ext4/btrfs. Remove the outdated comment for madvise_remove. Signed-off-by: Wang Sheng-Hui shh...@gmail.com Looks good to me. Reviewed-by: Naoya Horiguchi

Re: [PATCH 2/4] usb: host: xhci-plat: Add support to get PHYs

2014-06-24 Thread Vivek Gautam
Hi, On Tue, Jun 10, 2014 at 1:52 AM, Julius Werner jwer...@chromium.org wrote: diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 9ffecd5..453d89e 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1582,6 +1582,9 @@ struct xhci_hcd { u32

[PATCH 1/2] f2fs: release new entry page correctly in error path of f2fs_rename

2014-06-24 Thread Chao Yu
This patch correct releasing code of new_page to avoid BUG_ON in error patch of f2fs_rename. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/namei.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 0d55517..f17e34c 100644

[PATCH 2/2] f2fs: reduce region of f2fs_lock_op covered for better concurrency

2014-06-24 Thread Chao Yu
In our rename process, region of f2fs_lock_op covered is too big as some of the code like f2fs_empty_dir/f2fs_find_entry are not needed to protect by this lock. So in the extreme case like doing checkpoint when we rename old inode to exist inode in a large directory could cause lower concurrency.

[RFC v2 0/2] backlight: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This driver a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol. Daniel Jeong (2): backlight backlight: add new tps611xx backlight device tree support This commit is tps611xx device

[RFC v2 2/2] backlight: device tree: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This commit is about tps611xx device tree documentation. Signed-off-by: Daniel Jeong gshark.je...@gmail.com --- .../video/backlight/tps611xx-backlight.txt | 16 1 file changed, 16 insertions(+) create mode 100644

[RFC v2 1/2] backlight: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This driver a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol(1-Wire Control Interface). EasyScale EasyScale is a simple but flexible one pin interface to configure the current. The interface is

[PATCH] powerpc/kvm: Fix build break with CONFIG_KVM_BOOK3S_64_HV=y

2014-06-24 Thread Michael Ellerman
Commit e58e263 PPC, KVM, CMA: use general CMA reserved area management framework in next-20140624 removed arch/powerpc/kvm/book3s_hv_cma.c but neglected to update the Makefile, thus breaking the build. Signed-off-by: Michael Ellerman m...@ellerman.id.au --- Hi Andrew, This is in your akpm

Re: [PATCH] powerpc: Fix build warning

2014-06-24 Thread Benjamin Herrenschmidt
On Mon, 2014-06-23 at 23:01 -0700, Guenter Roeck wrote: I thought that only happens if a const is dropped, but maybe not. Sigh. Much easier to break something than to fix it. That would mean to get approval from at least three maintainers, and all that to get rid of a warning. I don't

Re: [PATCH v2] ARM: dts: Add cros_ec to exynos5420-peach-pit and exynos5800-peach-pi

2014-06-24 Thread Tushar Behera
On 06/24/2014 02:19 AM, Doug Anderson wrote: This adds cros_ec to exynos5420-peach-pit and exynos5800-peach-pi, including: * The keyboard * The i2c tunnel * The tps65090 under the i2c tunnel * The battery under the i2c tunnel To add extra motivation, it should be noted that tps65090 is

Re: [PATCH v4 0/4] perf timechart io mode

2014-06-24 Thread Namhyung Kim
Hi Stanislav, On Fri, 20 Jun 2014 14:29:47 +0400, Stanislav Fomichev wrote: This patchset adds IO mode: instead of process time we record io syscalls and then draw timechart of writes/reads/tx/rx/polls. Nice work! For the series, Acked-by: Namhyung Kim namhy...@kernel.org Thanks, Namhyung

Re: [PATCH v3 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-06-24 Thread sundeep subbaraya
Ping Thanks, Sundeep.B.S. On Tue, Jun 10, 2014 at 5:34 PM, subbaraya.sundeep.bha...@xilinx.com wrote: From: Subbaraya Sundeep Bhatta sbha...@xilinx.com Add devicetree bindings for Xilinx axi udc driver. Signed-off-by: Subbaraya Sundeep Bhatta sbha...@xilinx.com --- Changes for v3:

Re: [PATCH] powerpc/kvm: Fix build break with CONFIG_KVM_BOOK3S_64_HV=y

2014-06-24 Thread Joonsoo Kim
On Tue, Jun 24, 2014 at 04:36:47PM +1000, Michael Ellerman wrote: Commit e58e263 PPC, KVM, CMA: use general CMA reserved area management framework in next-20140624 removed arch/powerpc/kvm/book3s_hv_cma.c but neglected to update the Makefile, thus breaking the build. Signed-off-by: Michael

RE: [BUG] perf: can not resolve symbols for forked threads

2014-06-24 Thread Tony Lu
Thanks for your reply. -Original Message- From: Peter Zijlstra [mailto:pet...@infradead.org] Sent: Monday, June 23, 2014 5:13 PM To: Tony Lu Cc: Paul Mackerras; Ingo Molnar; Arnaldo Carvalho de Melo; linux-kernel@vger.kernel.org; Chris Metcalf Subject: Re: [BUG] perf: can not resolve

Re: [for-next][PATCH v2 1/3] tracing: Fix syscall_*regfunc() vs copy_process() race

2014-06-24 Thread Namhyung Kim
Hi Steve, On Fri, 20 Jun 2014 06:45:19 -0400, Steven Rostedt wrote: From: Oleg Nesterov o...@redhat.com syscall_regfunc() and syscall_unregfunc() should set/clear TIF_SYSCALL_TRACEPOINT system-wide, but do_each_thread() can race with copy_process() and miss the new child which was not added

Re: [PATCH] video: OF display-timings support for ocfb

2014-06-24 Thread Stefan Kristiansson
On Mon, Jun 23, 2014 at 03:01:36PM +0300, Tomi Valkeinen wrote: On 11/06/14 23:17, Franck Jullien wrote: Signed-off-by: Franck Jullien franck.jull...@gmail.com --- drivers/video/fbdev/Kconfig |2 ++ drivers/video/fbdev/ocfb.c | 31 ++- 2 files

Re: [Patch V3 0/5] I2C ACPI operation region handler

2014-06-24 Thread Lan Tianyu
On 2014年05月30日 20:10, Wolfram Sang wrote: Hi Wolfram: Since this version resolved all comments, it's ok for you? Sorry, I misunderstood. I thought a V4 was needed, but it isn't. I'll try to have a look this weekend. Hi Wolfram: Sorry to bother you. Could you have a look at

Re: [PATCH] powerpc/kvm: Fix build break with CONFIG_KVM_BOOK3S_64_HV=y

2014-06-24 Thread Michael Ellerman
On Tue, 2014-06-24 at 15:51 +0900, Joonsoo Kim wrote: On Tue, Jun 24, 2014 at 04:36:47PM +1000, Michael Ellerman wrote: Commit e58e263 PPC, KVM, CMA: use general CMA reserved area management framework in next-20140624 removed arch/powerpc/kvm/book3s_hv_cma.c but neglected to update

Re: [PATCH] ahci: disable ncq feature for hisilicon sata

2014-06-24 Thread kefeng.wang
On 2014-6-10 21:56, Hans de Goede wrote: Hi Kefeng, On 06/10/2014 12:07 PM, kefeng.wang wrote: Hi Tejun, I have a question, the hip04 and hix5hd2 soc use the old version of IP, but they also have a new version of IP which support FBS and NCQ, and now the new one is used by a new soc.

Re: [PATCH 00/22] Add and use pci_zalloc_consistent

2014-06-24 Thread Joe Perches
On Tue, 2014-06-24 at 07:24 +0200, Julia Lawall wrote On Mon, 23 Jun 2014, Joe Perches wrote: $ cat ./scripts/coccinelle/api/alloc/pci_zalloc_consistent.cocci /// /// Use pci_zalloc_consistent rather than /// pci_alloc_consistent followed by memset with 0 /// /// This

Re: [PATCH v2 0/7] perf trace pagefaults

2014-06-24 Thread Namhyung Kim
Hi Arnaldo and Stanislav, On Fri, 20 Jun 2014 10:21:05 -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Jun 20, 2014 at 02:49:42PM +0400, Stanislav Fomichev escreveu: This patch series adds support for pagefaults tracing to 'perf trace' command. It seems this feature was planned by Namhyung

[RFC v3 0/2] backlight: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This driver a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol. Daniel Jeong (2): backlight backlight: add new tps611xx backlight device tree support This commit is tps611xx device

[RFC v3 2/2] backlight: device tree: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This commit is about tps611xx device tree documentation. Signed-off-by: Daniel Jeong gshark.je...@gmail.com --- .../video/backlight/tps611xx-backlight.txt | 16 1 file changed, 16 insertions(+) create mode 100644

[RFC v3 1/2] backlight: add new tps611xx backlight driver

2014-06-24 Thread Daniel Jeong
This driver a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol(1-Wire Control Interface). EasyScale EasyScale is a simple but flexible one pin interface to configure the current. The interface is

Re: [PATCH -mm v3 8/8] slab: do not keep free objects/slabs on dead memcg caches

2014-06-24 Thread Joonsoo Kim
On Fri, Jun 13, 2014 at 12:38:22AM +0400, Vladimir Davydov wrote: Since a dead memcg cache is destroyed only after the last slab allocated to it is freed, we must disable caching of free objects/slabs for such caches, otherwise they will be hanging around forever. For SLAB that means we must

[PATCH] ubi: fix correct rb_tree node comparison in add_vol

2014-06-24 Thread Heiko Schocher
Commit 604b592e6fd3c98f21435e1181ba7723ffc24715 (UBI: fix rb_tree node comparison in add_map) introduced problems with attaching ubi fastmap images, created with older kernel. As in ubi_find_av() from attach.c is [...] if (vol_id av-vol_id) p =

[PATCH] cifs: set null to username and iocharset after being freed

2014-06-24 Thread Osmond Sun
In function 'expand_dfs_referral' the volume_info-iocharset and volume_info-username was used after being freed by calling cleanup_volume_info_contents. Set null to username and iocharset after being freed. Signed-off-by: Osmond Sun osmond@gmail.com --- fs/cifs/connect.c | 2 ++ 1 file

Re: [PATCH -mm v3 8/8] slab: do not keep free objects/slabs on dead memcg caches

2014-06-24 Thread Joonsoo Kim
On Fri, Jun 13, 2014 at 12:38:22AM +0400, Vladimir Davydov wrote: Since a dead memcg cache is destroyed only after the last slab allocated to it is freed, we must disable caching of free objects/slabs for such caches, otherwise they will be hanging around forever. For SLAB that means we must

[PATCH staging-next] staging: gdm72xx: remove blank lines after an open brace

2014-06-24 Thread Ben Chan
This patch fixes the following checkpatch warning: CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Ben Chan benc...@chromium.org --- drivers/staging/gdm72xx/gdm_usb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_usb.c

Re: [PATCH] Documentation: Update remove_from_page_cache with delete_from_page_cache

2014-06-24 Thread Lei Li
On 06/23/2014 05:23 PM, Michal Hocko wrote: On Mon 23-06-14 17:11:19, Lei Li wrote: remove_from_page_cache has been renamed to delete_from_page_cache since Commit 702cfbf9 (mm: goodbye remove_from_page_cache()), adapt to it in Memcg documentation. Signed-off-by: Lei Li

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-24 Thread Michal Hocko
On Tue 24-06-14 10:25:32, Xishi Qiu wrote: On 2014/6/23 19:29, Michal Hocko wrote: [...] This doesn't make much sense to me. So you have a problem with latency caused by direct reclaim so you add a new way of direct page cache reclaim. A user process produces page cache frequently, so

[PATCH] slub: fix off by one in number of slab tests

2014-06-24 Thread Joonsoo Kim
min_partial means minimum number of slab cached in node partial list. So, if nr_partial is less than it, we keep newly empty slab on node partial list rather than freeing it. But if nr_partial is equal or greater than it, it means that we have enough partial slabs so should free newly empty slab.

Re: [PATCH -tip ] [BUGFIX]: Fix to add a missing pair of braces for error path.

2014-06-24 Thread Namhyung Kim
Hi Masami, On Mon, 23 Jun 2014 03:17:12 +, Masami Hiramatsu wrote: Fix to add a missing pair of braces for error path. Commit 36d789a4d75f (perf probe: Improve error message for unknown member of data structure) introduced this bug. Without this fix, defining an event with global

Re: [PATCH -mm v3 8/8] slab: do not keep free objects/slabs on dead memcg caches

2014-06-24 Thread Vladimir Davydov
Hi, On Tue, Jun 24, 2014 at 04:25:54PM +0900, Joonsoo Kim wrote: On Fri, Jun 13, 2014 at 12:38:22AM +0400, Vladimir Davydov wrote: @@ -3368,7 +3379,8 @@ static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, /* fixup slab chains */ if

Re: [PATCH -mm v3 7/8] slub: make dead memcg caches discard free slabs immediately

2014-06-24 Thread Joonsoo Kim
On Fri, Jun 13, 2014 at 12:38:21AM +0400, Vladimir Davydov wrote: Since a dead memcg cache is destroyed only after the last slab allocated to it is freed, we must disable caching of empty slabs for such caches, otherwise they will be hanging around forever. This patch makes SLUB discard dead

Re: [PATCH v3 -next 0/9] CMA: generalize CMA reserved area management code

2014-06-24 Thread Joonsoo Kim
On Wed, Jun 18, 2014 at 01:51:44PM -0700, Andrew Morton wrote: On Tue, 17 Jun 2014 10:25:07 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: v2: - Although this patchset looks very different with v1, the end result, that is, mm/cma.c is same with v1's one. So I carry Ack to patch

Re: [PATCH 1/1] sound/soc/omap/mcbsp.c: remove unnecessary null test before kfree

2014-06-24 Thread Peter Ujfalusi
Hi Fabian, On 06/23/2014 07:33 PM, Fabian Frederick wrote: Fix checkpatch warning: WARNING: kfree(NULL) is safe this check is probably not required can you send the same patch to alsa-devel with subject: ASoC: mcbsp: remove unnecessary null test before kfree You can add my: Acked-by: Peter

Re: [PATCH] lib: idr: fix out-of-bounds pointer dereference

2014-06-24 Thread Lai Jiangshan
326cf0f0f308 (idr: fix top layer handling) enlarged the pa array. But the additional +1 space is only used in id-allocation, it is free in other usage, (paa may point to the additional +1 space, but not dereference it). so you can reuse it. In the 3 functions your patch touched: - struct

Re: [PATCH -mm v3 8/8] slab: do not keep free objects/slabs on dead memcg caches

2014-06-24 Thread Vladimir Davydov
On Tue, Jun 24, 2014 at 04:38:41PM +0900, Joonsoo Kim wrote: On Fri, Jun 13, 2014 at 12:38:22AM +0400, Vladimir Davydov wrote: @@ -3462,6 +3474,17 @@ static inline void __cache_free(struct kmem_cache *cachep, void *objp, kmemcheck_slab_free(cachep, objp, cachep-object_size);

[PATCH v2 3/3] sched: Rework check_for_tasks()

2014-06-24 Thread Kirill Tkhai
1)Iterate throw all of threads in the system. Check for all threads, not only for group leaders. 2)Check for p-on_rq instead of p-state and cputime. Preempted task in !TASK_RUNNING state OR just created task may be queued, that we want to be reported too. 3)Use read_lock() instead of

[PATCH v2 1/3] sched/fair: Disable runtime_enabled on dying rq

2014-06-24 Thread Kirill Tkhai
We kill rq-rd on the CPU_DOWN_PREPARE stage: cpuset_cpu_inactive - cpuset_update_active_cpus - partition_sched_domains - - cpu_attach_domain - rq_attach_root - set_rq_offline This unthrottles all throttled cfs_rqs. But the cpu is still able to call schedule() till

[PATCH v2 2/3] sched/rt: __disable_runtime: Enqueue just unthrottled rt_rq back on the stack

2014-06-24 Thread Kirill Tkhai
Make rt_rq available for pick_next_task(). Otherwise, their tasks stay prisoned long time till dead cpu becomes alive again. Signed-off-by: Kirill Tkhai ktk...@parallels.com CC: Konstantin Khorenko khore...@parallels.com CC: Ben Segall bseg...@google.com CC: Paul Turner p...@google.com CC:

[PATCH v2 0/3] Fix shutdown of cpu which having throttled rq

2014-06-24 Thread Kirill Tkhai
This is a result of discussion [PATCH 1/2] sched: Rework migrate_tasks(): https://lkml.org/lkml/2014/6/11/166 The problem is cfs_rq and rt_rq may stay throttled in the moment of task migration from dead cpu. This patch fixes that for fair and RT classes. No fix for deadline class yet,

Re: [PATCH] ARM: mvebu: Fix the improper use of the compatible string armada38x using a wildcard

2014-06-24 Thread Gregory CLEMENT
Hi Jason, This fix should be merged in 3.16 and maybe sent as a fix for 3.15 too. [...] Applied to mvebu/dt with Andrew's Ack. I think it should go mvebu/fixes as this patch modifies the binding, sooner is better. Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers,

Re: [PATCH 3/10] video: use safer test on the result of find_first_zero_bit

2014-06-24 Thread Tomi Valkeinen
On 23/06/14 17:12, Julia Lawall wrote: On Mon, 23 Jun 2014, Tomi Valkeinen wrote: On 04/06/14 12:07, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Find_first_zero_bit considers BITS_PER_LONG bits at a time, and thus may return a larger number than the maximum position

[PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Chen, Alvin
From: Bryan O'Donoghue bryan.odonog...@intel.com This patch is to enable USB host controller for Intel Quark X1000. Add pci quirks to adjust the packet buffer in/out threshold value, and ensure EHCI packet buffer i/o threshold value is reconfigured to half. Signed-off-by: Bryan O'Donoghue

[PATCH staging-next] staging: gdm72xx: fix block comment style

2014-06-24 Thread Ben Chan
This patch fixes the following checkpatch warnings, which are issued when the gdm72xx driver is moved out of staging into drivers/net/wimax: WARNING: networking block comments don't use an empty /* line, use /* Comment... WARNING: networking block comments start with * on subsequent lines

[PATCH] USB: ehci-pci: Add support for Intel Quark X1000 USB host controller

2014-06-24 Thread Chen, Alvin
From: Alvin (Weike) Chen alvin.c...@intel.com Hi, Intel Quark X1000 consists of one USB host controller which can be PCI enumerated. But the exsiting EHCI-PCI framework doesn't support it. Thus, we enable it to support Intel Quark X1000 USB host controller by adding pci quirks to configure

[PATCH] slub: reduce duplicate creation on the first object

2014-06-24 Thread Wei Yang
When a kmem_cache is created with ctor, each object in the kmem_cache will be initialized before ready to use. While in slub implementation, the first object will be initialized twice. This patch reduces the duplication of initialization of the first object. Fix commit 7656c72b: SLUB: add macros

Re: [PATCH 5/6] OF: Utility helper functions for dynamic nodes

2014-06-24 Thread Alexander Sverdlin
Hi Pantelis, Grant, On 23/06/14 20:33, Ioan Nicu wrote: On 22/06/14 11:40, ext Pantelis Antoniou wrote: Introduce helper functions for working with the live DT tree, all of them related to dynamically adding/removing nodes and properties. __of_copy_property() copies a property dynamically

Re: [PATCH 5/6] OF: Utility helper functions for dynamic nodes

2014-06-24 Thread Alexander Sverdlin
Hi! On 23/06/14 21:13, ext Pantelis Antoniou wrote: [...] I don't know of any place in the kernel accessing the value if prop-length==0 We have a simple use case. We have an overlay which adds an interrupt controller. If you look in drivers/of/irq.c, in of_irq_parse_raw(): [...]

Re: [PATCH v6 net-next 1/4] net: flow_dissector: avoid multiple calls in eBPF

2014-06-24 Thread Daniel Borkmann
On 06/20/2014 11:56 PM, Chema Gonzalez wrote: ... Anyway as I said before I'm not excited about either. I don't think we should be adding classic BPF extensions any more. The long term headache of supporting classic BPF extensions outweighs the short term benefits. I see a couple of issues

Re: [PATCH] slub: fix off by one in number of slab tests

2014-06-24 Thread Vladimir Davydov
On Tue, Jun 24, 2014 at 04:44:01PM +0900, Joonsoo Kim wrote: min_partial means minimum number of slab cached in node partial list. So, if nr_partial is less than it, we keep newly empty slab on node partial list rather than freeing it. But if nr_partial is equal or greater than it, it means

Re: [PATCH v3 02/13] mm, compaction: defer each zone individually instead of preferred zone

2014-06-24 Thread Joonsoo Kim
On Fri, Jun 20, 2014 at 05:49:32PM +0200, Vlastimil Babka wrote: When direct sync compaction is often unsuccessful, it may become deferred for some time to avoid further useless attempts, both sync and async. Successful high-order allocations un-defer compaction, while further unsuccessful

Re: [RFC][PATCH 1/3] trace_seq: Move the trace_seq code to lib/

2014-06-24 Thread Johannes Berg
On Mon, 2014-06-23 at 14:04 -0400, Steven Rostedt wrote: Ah! I see what you are saying. You are saying that once you are full you need to flush. Honestly, the trace_puts() should check the return. Perhaps it wants to try again with a shorter string? Perhaps, but perhaps not? I don't remember

[PATCH 3/3] perf tests: Add test to hit wrong event sched out

2014-06-24 Thread Jiri Olsa
We create single breakpoint event with inherit = true and create many workload children. With some luck (which is directly proportional to number of children) we hit event optimized sched out moving original (parent) event into one of the child, closing it and causing wrong measured numbers. Cc:

[PATCH 2/3] perf: Do not allow optimized switch for non-cloned events

2014-06-24 Thread Jiri Olsa
From: Jiri Olsa jo...@redhat.com The context check in perf_event_context_sched_out allows non-cloned context to be part of the optimized schedule out switch. This could move non-cloned context into another workload child. Once this child exits, the context is closed and leaves all original

[PATCH 1/3] perf: Make perf_event_init_context function static

2014-06-24 Thread Jiri Olsa
From: Jiri Olsa jo...@redhat.com Leftover from '8dc85d5 perf: Multiple task contexts'. Cc: Arnaldo Carvalho de Melo a...@kernel.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc:

Re: [PATCH] lib: idr: fix out-of-bounds pointer dereference

2014-06-24 Thread Andrey Ryabinin
On 06/24/14 11:48, Lai Jiangshan wrote: 326cf0f0f308 (idr: fix top layer handling) enlarged the pa array. But the additional +1 space is only used in id-allocation, it is free in other usage, (paa may point to the additional +1 space, but not dereference it). so you can reuse it. In the

[PATCH v2 REBASED 01/10] serial/arc: use uart_console_write() helper

2014-06-24 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index c9f5c9dcc15c..32fb8b94ff7c 100644 ---

Re: [PATCH -mm v3 7/8] slub: make dead memcg caches discard free slabs immediately

2014-06-24 Thread Vladimir Davydov
On Tue, Jun 24, 2014 at 04:50:11PM +0900, Joonsoo Kim wrote: On Fri, Jun 13, 2014 at 12:38:21AM +0400, Vladimir Davydov wrote: @@ -3409,6 +3417,9 @@ int __kmem_cache_shrink(struct kmem_cache *s) kmalloc(sizeof(struct list_head) * objects, GFP_KERNEL); unsigned long flags;

[PATCH v2 REBASED 00/10] Generic earlyconsole for ARC UART Driver

2014-06-24 Thread Vineet Gupta
Hi, This is slightly modified repost of series posted last week http://www.spinics.net/lists/linux-serial/msg12884.html This series switches ARC UART from custom earlyprintk support to generic earlycon (many thanks to Rob for doing that). And also build on Grant's recent work for using DT

[PATCH v2 REBASED 02/10] serial/arc: Refactor by referencing to uart_port where possible

2014-06-24 Thread Vineet Gupta
The ARC UART MMIO helpers would take arc_uart_port and then reference generic uart_port-membase member. So change them to difrectly refer to uart_port and fix call sites accordingly. This removes the need for to_arc_port() converion almost eveeywhere and makes code a bit easier to read.

[PATCH v2 REBASED 03/10] serial/arc: Remove the workaround for legacy ISS

2014-06-24 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 4d971281e3d9..a6da10f84293 100644 --- a/drivers/tty/serial/arc_uart.c +++

[PATCH v2 REBASED 04/10] serial/arc: Use generic earlycon infrastructure

2014-06-24 Thread Vineet Gupta
With this change both earlyprintk and earlycon coexist We switch over to latter in next patch Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/arc_uart.c | 30 ++ 2 files changed, 31 insertions(+) diff --git

[PATCH v2 REBASED 06/10] serial/arc: remove last remanants of platform data

2014-06-24 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2ffaf099691a..dc3d5db37dc4 100644 ---

[PATCH v2 REBASED 05/10] serial/arc: remove earlyprintk support and switch to earlycon

2014-06-24 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/boot/dts/angel4.dts | 2 +- drivers/tty/serial/arc_uart.c | 87 ++- 2 files changed, 13 insertions(+), 76 deletions(-) diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts

[PATCH v2 REBASED 08/10] ARC: [arcfpga] RIP early uart platform device stuff

2014-06-24 Thread Vineet Gupta
With ARC uart driver switching to generic earlycon, we no longer need this ugliness. You won't be missed. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/plat-arcfpga/Kconfig| 7 --- arch/arc/plat-arcfpga/platform.c | 97 +--- 2 files

[PATCH v2 REBASED 07/10] serial/arc: inline the probe helper

2014-06-24 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 90 +++ 1 file changed, 40 insertions(+), 50 deletions(-) diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index dc3d5db37dc4..435de4f2af3b 100644

[PATCH v2 REBASED 09/10] serial/arc: Enable DT based earlycon

2014-06-24 Thread Vineet Gupta
This allows a param less earlycon to pick up the earlyconsole from chosen/stdout-path Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index

Re: [PATCH v3 04/13] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-06-24 Thread Joonsoo Kim
On Fri, Jun 20, 2014 at 05:49:34PM +0200, Vlastimil Babka wrote: isolate_migratepages_range() is the main function of the compaction scanner, called either on a single pageblock by isolate_migratepages() during regular compaction, or on an arbitrary range by CMA's

[PATCH 1/1] regulator: as3722: Fix incorrect parameter initialization

2014-06-24 Thread Sachin Kamat
'name' field was re-initialized and getting overwritten in some cases possibly due to a typo. Code inspection says the second time it should be 'sname' instead of 'name'. Replace it. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- Compile tested only. ---

[PATCH v2 REBASED 10/10] ARC: [arcfpga] stdout-path now suffices for earlycon/console

2014-06-24 Thread Vineet Gupta
With recent improvements to serial/of core from Grant and Rob, stdout-path alone suffices for setting up earlycon/console. arc_uart driver is already equipped to handle that, switch the DT now. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/boot/dts/angel4.dts | 3 ++- 1 file

[PATCH 2/2] regulator: tps65218: Fix build warnings

2014-06-24 Thread Sachin Kamat
rdev_get_id() returns an int. Convert rid to type int to avoid the following warnings: drivers/regulator/tps65218-regulator.c:132:10: warning: comparison of unsigned expression 0 is always false [-Wtype-limits] drivers/regulator/tps65218-regulator.c:146:10: warning: comparison of unsigned

[PATCH 1/2] regulator: tps65217: Fix build warnings

2014-06-24 Thread Sachin Kamat
rdev_get_id() returns an int. Convert rid to type int to avoid the following warnings: drivers/regulator/tps65217-regulator.c:73:10: warning: comparison of unsigned expression 0 is always false [-Wtype-limits] drivers/regulator/tps65217-regulator.c:87:10: warning: comparison of unsigned

Re: [PATCH v2 net-next 0/2] split BPF out of core networking

2014-06-24 Thread Daniel Borkmann
On 06/23/2014 11:57 PM, Alexei Starovoitov wrote: On Fri, Jun 20, 2014 at 9:44 AM, Chema Gonzalez ch...@google.com wrote: ... - nop: I'd like to have a nop. Do I know why? Nope. nope. Let's not add unnecessary instructions. A valid nop is a useful instruction: padding, filling up arrays

[PATCH V2 Resend] sched/core: fix formatting issues in sched_can_stop_tick()

2014-06-24 Thread Viresh Kumar
sched_can_stop_tick() is using 7 spaces instead of 8 spaces or a 'tab' at the beginning of few lines. Which doesn't align well with the Coding Guidelines. Also remove local variable 'rq' as it is used at only one place and we can directly use this_rq() instead. Signed-off-by: Viresh Kumar

Re: [PATCH 2/4] perf timechart: implement IO mode

2014-06-24 Thread Jiri Olsa
On Fri, Jun 20, 2014 at 02:29:49PM +0400, Stanislav Fomichev wrote: In IO mode timechart shows any disk/network activity. way too small changelog for the size of the patch ;-) I'll need some more info (description, usage..) to push this throught thanks, jirka Signed-off-by: Stanislav

Re: [PATCH 1/1] regulator: as3722: Fix incorrect parameter initialization

2014-06-24 Thread Laxman Dewangan
On Tuesday 24 June 2014 01:54 PM, Sachin Kamat wrote: 'name' field was re-initialized and getting overwritten in some cases possibly due to a typo. Code inspection says the second time it should be 'sname' instead of 'name'. Replace it. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com

Re: [PATCH v4 0/4] perf timechart io mode

2014-06-24 Thread Jiri Olsa
On Fri, Jun 20, 2014 at 02:29:47PM +0400, Stanislav Fomichev wrote: This patchset adds IO mode: instead of process time we record io syscalls and then draw timechart of writes/reads/tx/rx/polls. v4: - another attempt for fix segfault when skipping invalid tracepoints - added new patch

[PATCH 1/1] regulator: s5m8767: Remove unused variable

2014-06-24 Thread Sachin Kamat
'size' is not used in the function. Remove it. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- drivers/regulator/s5m8767.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index c79af943a5c0..0ab5cbeeb797

[PATCH] [TRIVIAL] fs: Fix comment typo 'CONFIG_LBADF'

2014-06-24 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- fs/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/stack.c b/fs/stack.c index 5b5388250e29..a54e33ed10f1 100644 --- a/fs/stack.c +++ b/fs/stack.c @@ -44,7 +44,7 @@ void fsstack_copy_inode_size(struct inode *dst,

[PATCH v2] arch/mips rb532: replace mac_addr parsing

2014-06-24 Thread Daniel Walter
Replace parse_mac_addr with sscanf. Signed-off-by: Daniel Walter dwal...@google.com --- Changes since v1: sending in the working patch Patch applies against current linux-tree --- arch/mips/rb532/devices.c | 30 +++--- 1 file changed, 7 insertions(+), 23 deletions(-)

[PATCH v2] clocksource: document some basic timekeeping concepts

2014-06-24 Thread Linus Walleij
This adds some documentation about clock sources, clock events, the weak sched_clock() function and delay timers that answers questions that repeatedly arise on the mailing lists. Cc: Thomas Gleixner t...@linutronix.de Cc: Nicolas Pitre n...@fluxnic.net Cc: Colin Cross ccr...@google.com Cc: John

[git pull] IOMMU Fixes for Linux v3.16-rc2

2014-06-24 Thread Joerg Roedel
Hi Linus, The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v3.16-rc1 for you to fetch changes up to

Re: [PATCH] arm: ptrace: fix syscall modification under PTRACE_O_TRACESECCOMP

2014-06-24 Thread Will Deacon
On Mon, Jun 23, 2014 at 08:46:52PM +0100, Kees Cook wrote: On Mon, Jun 23, 2014 at 1:46 AM, Will Deacon will.dea...@arm.com wrote: On Fri, Jun 20, 2014 at 07:10:46PM +0100, Kees Cook wrote: On Fri, Jun 20, 2014 at 10:36 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jun 20, 2014 at

Humanitarian Project Offer

2014-06-24 Thread Georgina Hope Rinehart
Greetings in the Name of Our Lord, I have a charity proposal for you, reply back for more information. Kind regards. Gina Rinehart -- 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

Re: [PATCH] i2c: cros_ec: Remove EC_I2C_FLAG_10BIT

2014-06-24 Thread Lee Jones
On Mon, 23 Jun 2014, Doug Anderson wrote: In https://lkml.org/lkml/2014/6/10/265 pointed out that the 10-bit flag in the cros_ec_tunnel was useless. It went into a 16-bit flags field but was defined at (1 16). Since we have no 10-bit i2c devices on the other side of the tunnel on any

Re: [PATCH v3 2/5] acpi, apei, ghes: Introduce ARCH_HAS_ACPI_APEI_NMI to make NMI error notification a GHES feature.

2014-06-24 Thread Tomasz Nowicki
On 19.06.2014 16:27, Borislav Petkov wrote: On Fri, Jun 13, 2014 at 01:02:57PM +0200, Tomasz Nowicki wrote: Currently APEI depends on x86 architecture. It is because of NMI hardware error notification of GHES which is currently supported by x86 only. However, many other APEI features can be

Re: [PATCH v3 1/5] apei, mce: Factor out APEI architecture specific MCE calls.

2014-06-24 Thread Tomasz Nowicki
On 19.06.2014 16:17, Borislav Petkov wrote: On Fri, Jun 13, 2014 at 01:02:56PM +0200, Tomasz Nowicki wrote: This commit abstracts MCE calls and provides weak corresponding default implementation for those architectures which do not need arch specific actions. Each platform willing to do

Re: [PATCH v3 3/5] acpi, apei, ghes: Introduce more generic mechanism to init/deinit GHES error notifications.

2014-06-24 Thread Tomasz Nowicki
On 13.06.2014 15:10, Robert Richter wrote: On 13.06.14 13:02:58, Tomasz Nowicki wrote: @@ -811,6 +819,8 @@ static int ghes_notify_nmi(unsigned int cmd, struct pt_regs *regs) int sev, sev_global = -1; int ret = NMI_DONE; + BUG_ON(!IS_ENABLED(ARCH_HAS_ACPI_APEI_NMI)); +

Re: [PATCH -tip ] [BUGFIX]: Fix to add a missing pair of braces for error path.

2014-06-24 Thread Jiri Olsa
On Mon, Jun 23, 2014 at 03:17:12AM +, Masami Hiramatsu wrote: Fix to add a missing pair of braces for error path. Commit 36d789a4d75f (perf probe: Improve error message for unknown member of data structure) introduced this bug. Without this fix, defining an event with global variables

Re: [PATCH v4 0/4] perf timechart io mode

2014-06-24 Thread Stanislav Fomichev
hum, got this when trying: [jolsa@krava perf]$ sudo ./perf timechart record -I ^C[ perf record: Woken up 2 times to write data ] [ perf record: Captured and wrote 1.071 MB perf.data (~46806 samples) ] [jolsa@krava perf]$ ./perf timechart Invalid previous event (non-zero)! 0x113f80 [0x8]:

Re: [RFC] Tux3 for review

2014-06-24 Thread Daniel Phillips
On Monday, June 23, 2014 9:41:30 PM PDT, James Bottomley wrote: [rhetoric snipped] ... I'm still arguing the facts: proving that page forking can be integrated into writeback without adding to the maintenance burden is a big issue for tux3. Sorry, I must have missed those facts, I only saw

[PATCH 1/1] mfd: pm8921-core: Remove unused variable

2014-06-24 Thread Sachin Kamat
‘irq_bit’ is unused in the function. Remove it. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com --- Compile tested. --- drivers/mfd/pm8921-core.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index 959513803542..39904f77c049

Re: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-24 Thread Will Deacon
On Sat, Jun 21, 2014 at 12:16:25AM +0100, Olav Haugan wrote: On 5/30/2014 12:06 PM, Arnd Bergmann wrote: On Friday 30 May 2014 08:16:05 Rob Herring wrote: Presumably the ID would be the streamID on ARM's SMMU. How would a master with 8 streamIDs be described? This is what Calxeda midway has

[PATCH] Documentation: remove remove_from_page_cache note

2014-06-24 Thread Lei Li
Remove this note as remove_from_page_cache has been renamed to delete_from_page_cache since Commit 702cfbf9 (mm: goodbye remove_from_page_cache()), and it doesn't serve any useful purpose. Signed-off-by: Lei Li li...@linux.vnet.ibm.com --- Documentation/cgroups/memcg_test.txt | 2 -- 1 file

  1   2   3   4   5   6   7   8   9   10   >