Re: [PATCH -tip v3 02/23] kprobes: Introduce NOKPROBE_SYMBOL() macro for blacklist

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 22:32), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> +#ifdef CONFIG_KPROBES >> +/* >> + * Blacklist ganerating macro. Specify functions which is not probed >> + * by using this macro. >> + */ >> +#define __NOKPROBE_SYMBOL(fname)\ >> +static

Re: [PATCH/RFC 17/17] tracing/uprobes: Add @+file_offset fetch method

2013-11-27 Thread Namhyung Kim
Hi Oleg, On Wed, 27 Nov 2013 19:55:46 +0100, Oleg Nesterov wrote: > Hi Namhyung, > > I'll certainly try to read (and even apply ;) this series carefully. Thanks in advance. :) > > But let me make a couple of nits right now, even if I do not understand > this code yet. Okay. > > On 11/27,

Re: [PATCH] i2c: bcm-kona: fix module device table symbol

2013-11-27 Thread Wolfram Sang
On Wed, Nov 27, 2013 at 11:38:40PM +0100, Vincent Stehlé wrote: > This fixes the following compilation error when compiling in module: > > drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: ‘__mod_of_device_table’ > aliased to undefined symbol ‘kona_i2c_of_match’ > > Signed-off-by: Vincent

Re: [PATCH 0/3] makedumpfile: hugepage filtering for vmcore dump

2013-11-27 Thread HATAYAMA Daisuke
(2013/11/28 16:08), Atsushi Kumagai wrote: > On 2013/11/22 16:18:20, kexec wrote: >> (2013/11/07 9:54), HATAYAMA Daisuke wrote: >>> (2013/11/06 11:21), Atsushi Kumagai wrote: (2013/11/06 5:27), Vivek Goyal wrote: > On Tue, Nov 05, 2013 at 09:45:32PM +0800, Jingbai Ma wrote: >> This

[PATCH 3/9] mm/rmap: factor lock function out of rmap_walk_anon()

2013-11-27 Thread Joonsoo Kim
When we traverse anon_vma, we need to take a read-side anon_lock. But there is subtle difference in the situation so that we can't use same method to take a lock in each cases. Therefore, we need to make rmap_walk_anon() taking difference lock function. This patch is the first step, factoring

[PATCH 2/9] mm/rmap: factor nonlinear handling out of try_to_unmap_file()

2013-11-27 Thread Joonsoo Kim
To merge all kinds of rmap traverse functions, try_to_unmap(), try_to_munlock(), page_referenced() and page_mkclean(), we need to extract common parts and separate out non-common parts. Nonlinear handling is handled just in try_to_unmap_file() and other rmap traverse functions doesn't care of it.

[PATCH 5/9] mm/rmap: extend rmap_walk_xxx() to cope with different cases

2013-11-27 Thread Joonsoo Kim
There are a lot of common parts in traversing functions, but there are also a little of uncommon parts in it. By assigning proper function pointer on each rmap_walker_control, we can handle these difference correctly. Following are differences we should handle. 1. difference of lock function in

[PATCH 0/9] mm/rmap: unify rmap traversing functions through rmap_walk

2013-11-27 Thread Joonsoo Kim
Rmap traversing is used in five different cases, try_to_unmap(), try_to_munlock(), page_referenced(), page_mkclean() and remove_migration_ptes(). Each one implements its own traversing functions for the cases, anon, file, ksm, respectively. These cause lots of duplications and cause maintenance

[PATCH 8/9] mm/rmap: use rmap_walk() in page_referenced()

2013-11-27 Thread Joonsoo Kim
Now, we have an infrastructure in rmap_walk() to handle difference from variants of rmap traversing functions. So, just use it in page_referenced(). In this patch, I change following things. 1. remove some variants of rmap traversing functions. cf> page_referenced_ksm,

[PATCH 1/9] mm/rmap: recompute pgoff for huge page

2013-11-27 Thread Joonsoo Kim
We have to recompute pgoff if the given page is huge, since result based on HPAGE_SIZE is not approapriate for scanning the vma interval tree, as shown by commit 36e4f20af833 ("hugetlb: do not use vma_hugecache_offset() for vma_prio_tree_foreach") and commit 369a713e ("rmap: recompute pgoff for

[PATCH 6/9] mm/rmap: use rmap_walk() in try_to_unmap()

2013-11-27 Thread Joonsoo Kim
Now, we have an infrastructure in rmap_walk() to handle difference from variants of rmap traversing functions. So, just use it in try_to_unmap(). In this patch, I change following things. 1. enable rmap_walk() if !CONFIG_MIGRATION. 2. mechanical change to use rmap_walk() in try_to_unmap().

[PATCH 7/9] mm/rmap: use rmap_walk() in try_to_munlock()

2013-11-27 Thread Joonsoo Kim
Now, we have an infrastructure in rmap_walk() to handle difference from variants of rmap traversing functions. So, just use it in try_to_munlock(). In this patch, I change following things. 1. remove some variants of rmap traversing functions. cf> try_to_unmap_ksm, try_to_unmap_anon,

[PATCH 4/9] mm/rmap: make rmap_walk to get the rmap_walk_control argument

2013-11-27 Thread Joonsoo Kim
In each rmap traverse case, there is some difference so that we need function pointers and arguments to them in order to handle these difference properly. For this purpose, struct rmap_walk_control is introduced in this patch, and will be extended in following patch. Introducing and extending are

[PATCH 9/9] mm/rmap: use rmap_walk() in page_mkclean()

2013-11-27 Thread Joonsoo Kim
Now, we have an infrastructure in rmap_walk() to handle difference from variants of rmap traversing functions. So, just use it in page_mkclean(). In this patch, I change following things. 1. remove some variants of rmap traversing functions. cf> page_mkclean_file 2. mechanical change to use

[f2fs-dev] [PATCH 4/5] f2fs: check return value of f2fs_readpage in find_data_page

2013-11-27 Thread Chao Yu
We should return error if we do not get an updated page in find_date_page when f2fs_readpage failed. Signed-off-by: Chao Yu --- fs/f2fs/data.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 2d02cf3..85071d6 100644 --- a/fs/f2fs/data.c +++

Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake()

2013-11-27 Thread Davidlohr Bueso
On Wed, 2013-11-27 at 00:56 +0100, Thomas Gleixner wrote: > On Tue, 26 Nov 2013, Davidlohr Bueso wrote: > > On Tue, 2013-11-26 at 11:25 -0800, Davidlohr Bueso wrote: > > > *sigh* I just realized I had some extra debugging options in the .config > > > I ran for the patched kernel. This probably

[f2fs-dev] [PATCH 5/5] f2fs: convert recover_orphan_inodes to void

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c |6 +++--- fs/f2fs/f2fs.h |2 +- fs/f2fs/super.c |8 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 7fe69ff..b28e61b 100644 --- a/fs/f2fs/checkpoint.c

[f2fs-dev] [PATCH 3/5] f2fs: use true and false for boolean variable

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu --- fs/f2fs/node.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 954155b..daf8ee8 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -791,7 +791,7 @@ int truncate_xattr_node(struct inode *inode, struct page

[f2fs-dev] [PATCH 2/5] f2fs: add unlikely macro for compiler optimization

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu --- fs/f2fs/node.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 0fe9a97..954155b 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1160,7 +1160,7 @@ int wait_on_node_pages_writeback(struct f2fs_sb_info

[f2fs-dev] [PATCH 1/5] f2fs: correct type of wait in struct bio_private

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu --- fs/f2fs/segment.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index b84dd23..5f733ec 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -96,7 +96,7 @@ struct bio_private { struct

[PATCH v2] ASoC: SGTL5000: Fix kernel failed while trying to get optional VDDD supply.

2013-11-27 Thread Xiubo Li
The SGTL5000 requires 2 external power supplies: VDDA and VDDIO. An optional third external power supply VDDD may be provided externally to achieve lower power.If an external supply is not used for VDDD, the SGTL5000 driver will register it's own regulator device, and then provides the VDDD supply

Re: ARM: nommu: Unable to allocate RAM for process text/data, errno 12

2013-11-27 Thread Axel Lin
2013/11/27 Andrew Morton : > On Tue, 26 Nov 2013 17:29:29 +0800 Axel Lin wrote: > >> Hi, >> I got below error messages while starting mdev (busybox). >> >> ... >> >> [ 108.537109] chmod: page allocation failure: order:8, mode:0xd0 > > It wants to allocate 2^8 physically contiguous pages! > >> [

Re: page fault deadlock

2013-11-27 Thread Xiaotian Feng
On Thu, Nov 28, 2013 at 12:11 PM, Greg KH wrote: > On Thu, Nov 28, 2013 at 11:25:32AM +0800, Xiaotian Feng wrote: >> Hi, >> >> When I upgrade to latest kernel, I found my system hang there. It >> is reproducible on my virtualbox, and I found each time I mounted my >> RAID6 partition and tried

Re: [RFC 9/9] of/irq: create interrupts-extended property

2013-11-27 Thread Peter Crosthwaite
On Thu, Nov 28, 2013 at 12:17 AM, Grant Likely wrote: > On Wed, 27 Nov 2013 19:06:35 +1000, Peter Crosthwaite > wrote: >> On Mon, Nov 25, 2013 at 7:32 AM, Grant Likely >> wrote: >> > On Sun, 24 Nov 2013 17:04:52 +1000, Peter Crosthwaite >> > wrote: >> >> On Wed, Nov 13, 2013 at 4:14 PM,

[PATCH v1 1/2] of: irq: Ignore disabled intc's when searching map

2013-11-27 Thread Peter Crosthwaite
When searching the interrupt map, if a matched parent is disabled, just ignore it and move on with the search. This allows for specifying connection of a single device IRQ to multiple interrupt controllers via the interrupt map schema. This change allows for selection of the active interrupt

[PATCH v1 2/2] of: irq: Ignore disabled interrupt controllers

2013-11-27 Thread Peter Crosthwaite
When searching the system for interrupt controllers, skip over any that are explicitly disabled. This makes interrupt controllers consistent with regular devices, which can be marked as do-not-probe via the status = "disabled" dts property. Signed-off-by: Peter Crosthwaite Acked-by: Michal

[PATCH v1 0/2] of: irq: Ignore disabled interrupt controllers

2013-11-27 Thread Peter Crosthwaite
Hi All, These two patches support the case where an interrupt controller is marked as disabled. Patch 1 fixed the dts interrupt-map search logic to ignore disabled interrupt controllers. Patch 2 stops disabled interrupt controllers getting probed. Peter Crosthwaite (2): of: irq: Ignore

Re: 3.13.0-rc1+ INFO: inconsistent lock state

2013-11-27 Thread Hannes Frederic Sowa
On Thu, Nov 28, 2013 at 04:17:56AM +, 허종만 wrote: > With current linus git (HEAD 8ae516aa), I got following kernel message. > This is slightly different from what I had reported recently (14th Nov). I guess the prolem is that the STATS _BH functions are to be used if they are executed in

Re: [PATCH 1/1] ASoC: soc_compress: Add set_metadata

2013-11-27 Thread Vinod Koul
On Mon, Nov 25, 2013 at 10:16:48AM +, Richard Fitzgerald wrote: > > Pass the set_metadata() calls through to the codec driver. > > Signed-off-by: Zhao Weijia > Signed-off-by: Richard Fitzgerald > --- > sound/soc/soc-compress.c | 18 +- > 1 files changed, 17

Re: [REGRESSION][v3.4-rc1] PCI: add a PCI resource reallocation config option

2013-11-27 Thread Yinghai Lu
On Wed, Nov 27, 2013 at 12:22 PM, Joseph Salisbury wrote: > Hi Yinghai, > > A kernel bug was opened against Ubuntu [0]. After a kernel bisect, it > was found that the following commit introduced the bug: > > commit b07f2ebc109b607789f648dedcff4b125f9afec6 > Author: Yinghai Lu > Date: Thu Feb

Re: [PATCH 0/3] makedumpfile: hugepage filtering for vmcore dump

2013-11-27 Thread Atsushi Kumagai
On 2013/11/22 16:18:20, kexec wrote: > (2013/11/07 9:54), HATAYAMA Daisuke wrote: > > (2013/11/06 11:21), Atsushi Kumagai wrote: > >> (2013/11/06 5:27), Vivek Goyal wrote: > >>> On Tue, Nov 05, 2013 at 09:45:32PM +0800, Jingbai Ma wrote: > This patch set intend to exclude unnecessary

Re: [tip:sched/urgent] sched: Check sched_domain before computing group power

2013-11-27 Thread Yinghai Lu
On Wed, Nov 27, 2013 at 7:02 PM, David Rientjes wrote: > On Thu, 21 Nov 2013, Yinghai Lu wrote: > >> original one in linus's tree: >> >> [8.952728] NMI watchdog: enabled on all CPUs, permanently consumes >> one hw-PMU counter. >> [8.965697] BUG: unable to handle kernel NULL pointer

Re: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-11-27 Thread Vinod Koul
On Wed, Nov 27, 2013 at 09:38:02AM +, Jingchang Lu wrote: > > > > > +* DMAMUX > > > > > +Required properties: > > > > > > > > No compatible? > > > > > > > > Where are DMAMUX nodes expected to live? > > > > > > > > How to they relate to the eDMA controller in HW? Are they a > > > >

Re: [PATCH] dmaengine: at_hdmac: remove unused function

2013-11-27 Thread Vinod Koul
On Tue, Nov 26, 2013 at 10:43:35AM -0800, Olof Johansson wrote: > commit 54f8d501e8428 ('dmaengine: remove DMA unmap from drivers') > refactored some code which resulted in an unused function in the at_hdmac > driver: > > drivers/dma/at_hdmac_regs.h:350:23: warning: 'chan2parent' defined but >

Re: [PATCH] dmaengine: pl08x: fix conversioin for generic unmap data

2013-11-27 Thread Vinod Koul
On Tue, Nov 26, 2013 at 08:53:24PM -0800, Olof Johansson wrote: > commit d38a8c622a1b ('dmaengine: prepare for generic 'unmap' data') > added a generic unmap call but used the wrong argument for it. Fix it. > > Fixes: d38a8c622a1b ('dmaengine: prepare for generic 'unmap' data') > Signed-off-by:

Re: [PATCH] dmaengine: pl08x: fix conversioin for generic unmap data

2013-11-27 Thread Vinod Koul
On Wed, Nov 27, 2013 at 11:55:01AM -0800, Dan Williams wrote: > On Tue, Nov 26, 2013 at 8:53 PM, Olof Johansson wrote: > > commit d38a8c622a1b ('dmaengine: prepare for generic 'unmap' data') > > added a generic unmap call but used the wrong argument for it. Fix it. > > > > Fixes: d38a8c622a1b

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Namhyung Kim
Hi Masami, On Thu, 28 Nov 2013 13:16:09 +0900, Masami Hiramatsu wrote: > (2013/11/27 23:39), Namhyung Kim wrote: >> Hi Masami, >> >> 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: >>> (2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int)

Re: [PATCH] dma: mv_xor: remove mv_desc_get_dest_addr()

2013-11-27 Thread Vinod Koul
+ Dan On Mon, Nov 25, 2013 at 07:39:25PM +, Jason Cooper wrote: > The following commit: > > 54f8d501e842 dmaengine: remove DMA unmap from drivers > > removed the last caller to mv_desc_get_dest_addr(), creating the > warning: > > drivers/dma/mv_xor.c:57:12: warning:

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-27 Thread Pali Rohár
On Thursday 28 November 2013 01:25:50 Sebastian Reichel wrote: > On Wed, Nov 27, 2013 at 10:16:47PM +0100, Pali Rohár wrote: > > On Monday 25 November 2013 22:50:01 Sebastian Reichel wrote: > > > > 2 seems more generic to me, but as rx51-battery is > > > > missing the functionality to send events

Re: [PATCH] m68k : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Greg Ungerer
Hi EunBong, On 28/11/13 11:04, Eunbong Song wrote: >> Hi Eunbong, > >> Acked-by: Greg Ungerer > >> Did you want me to pick this up for the m68knommu git tree? > Hello, Greg. > I'm glad if you pick up this patch. Ok, done. Added it to the for-next branch of the m68knommu git tree. Thanks.

Re: [PATCH] cpufreq, highbank: enable ECME thermal notifications

2013-11-27 Thread Viresh Kumar
Hi Mark, Sorry for a months delay.. I would suggest adding specific people in --to field whom you want to review your patches. That's always helpful. On Sun, Oct 20, 2013 at 5:24 AM, Mark Langsdorf wrote: > The ECME sends thermal messages with a maximum and minimum allowed > frequency when the

[PATCH] perf target: Move what map fucntion to call check into function.

2013-11-27 Thread Dongsheng Yang
Check for cpu_map__dummy_new() or cpu_map__new() to be called in perf_evlist__create_maps() is more complicated. This patch moves the checking work into target.h, combining two conditions and making perf_evlist__create_maps() more readable. Signed-off-by: Dongsheng Yang ---

Re: [PATCH] Fix race between oom kill and task exit

2013-11-27 Thread Johannes Weiner
Cc William and azur who might have encountered this problem. On Thu, Nov 28, 2013 at 05:09:16AM +, Ma, Xindong wrote: > From: Leon Ma > Date: Thu, 28 Nov 2013 12:46:09 +0800 > Subject: [PATCH] Fix race between oom kill and task exit > > There is a race between oom kill and task exit.

Re: [PATCH 1/5] serial: 8250_pci: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Joe Perches
On Wed, 2013-11-27 at 21:53 -0800, 'Greg Kroah-Hartman' wrote: > On Wed, Nov 27, 2013 at 09:40:13PM -0800, Joe Perches wrote: > > On Thu, 2013-11-28 at 14:29 +0900, Jingoo Han wrote: > > > On Thursday, November 28, 2013 1:08 PM, Greg Kroah-Hartman wrote: > > > > On Thu, Nov 28, 2013 at 10:55:35AM

Q: use vlan in container

2013-11-27 Thread Libo Chen
Hello LXC experts, I meet a problem. When using vlan as network device in suse11 system container, I can not use halt to stop this container. It hung on "eth0 is still used from interfaces eth0" in cycle. The config file: lxc.network.type = vlan lxc.network.flags = up lxc.network.link

RE: [PATCH 2/2 v2] irqchip: mmp: add dt support for wakeup

2013-11-27 Thread Neil Zhang
Mark, Sorry for reply late. > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: 2013年11月15日 20:50 > To: Neil Zhang > Cc: Haojian Zhuang; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > Thomas Gleixner > Subject: Re: [PATCH 2/2 v2] irqchip: mmp: add

Re: [PATCH] watchdog: davinci: rename platform driver to davinci-wdt

2013-11-27 Thread Sekhar Nori
On Wednesday 27 November 2013 09:27 PM, Guenter Roeck wrote: > On 11/27/2013 06:00 AM, Sekhar Nori wrote: >> On Wednesday 27 November 2013 07:01 PM, Ivan Khoronzhuk wrote: >>> As we switch to use the watchdog core which permits more than one >>> active watchdog in the system, rename platform

Re: [PATCH 2/2] virtio-net: make all RX paths handle erors consistently

2013-11-27 Thread Jason Wang
On 11/28/2013 12:31 AM, Michael S. Tsirkin wrote: > receive mergeable now handles errors internally. > Do same for big and small packet paths, otherwise > the logic is too hard to follow. > > Signed-off-by: Michael S. Tsirkin > --- > > While I can't point at a bug this fixes, I'm not sure >

Re: [PATCH v4 09/41] sysfs, kernfs: introduce kernfs_create_dir[_ns]()

2013-11-27 Thread Greg KH
On Sat, Nov 23, 2013 at 06:07:04PM -0500, Tejun Heo wrote: > Introduce kernfs interface to manipulate a directory which takes and > returns sysfs_dirents. > > create_dir() is renamed to kernfs_create_dir_ns() and its argumantes > and return value are updated. create_dir() usages are replaced

Re: [PATCH v11 7/7] ARM: tegra: support Trusted Foundations by default

2013-11-27 Thread Alexandre Courbot
On Wed, Nov 27, 2013 at 1:47 AM, Dave Martin wrote: > On Tue, Nov 26, 2013 at 10:35:58AM +0900, Alexandre Courbot wrote: >> On Tue, Nov 26, 2013 at 9:06 AM, Olof Johansson wrote: >> > On Sun, Nov 24, 2013 at 03:30:52PM +0900, Alexandre Courbot wrote: >> >> Support for Trusted Foundations is

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Thursday, November 28, 2013 11:33 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; '谭姝' > Subject: RE: [f2fs-dev] [PATCH]

Re: [PATCH v3 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-11-27 Thread Kishon Vijay Abraham I
On Thursday 28 November 2013 04:06 AM, Matt Porter wrote: > On Wed, Nov 27, 2013 at 12:13:25PM -0500, Matt Porter wrote: >> On Tue, Nov 26, 2013 at 03:53:32PM +0530, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Monday 25 November 2013 11:46 PM, Matt Porter wrote: If a generic phy is

Re: [PATCH 1/5] serial: 8250_pci: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread 'Greg Kroah-Hartman'
On Wed, Nov 27, 2013 at 09:40:13PM -0800, Joe Perches wrote: > On Thu, 2013-11-28 at 14:29 +0900, Jingoo Han wrote: > > On Thursday, November 28, 2013 1:08 PM, Greg Kroah-Hartman wrote: > > > On Thu, Nov 28, 2013 at 10:55:35AM +0900, Jingoo Han wrote: > > > > This macro is used to create a struct

Re: [PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-27 Thread Amit Virdi
On 11/27/2013 5:44 PM, Russell King - ARM Linux wrote: On Wed, Nov 27, 2013 at 05:24:04PM +0530, Amit Virdi wrote: From: Amit VIRDI In the current implementation of the decompression code, the caches are enabled irrespective of their configuration in the deconfig. This makes setting the

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-27 Thread Magnus Damm
Hi John, everyone, Let me get back to you all in a little while together with some code, but before that let me just clarify this: On Wed, Nov 13, 2013 at 5:47 AM, John Stultz wrote: > On Tue, Nov 12, 2013 at 4:26 AM, Magnus Damm wrote: >> On Sat, Nov 9, 2013 at 3:34 AM, John Stultz wrote:

Re: [PATCH 1/5] serial: 8250_pci: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Joe Perches
On Thu, 2013-11-28 at 14:29 +0900, Jingoo Han wrote: > On Thursday, November 28, 2013 1:08 PM, Greg Kroah-Hartman wrote: > > On Thu, Nov 28, 2013 at 10:55:35AM +0900, Jingoo Han wrote: > > > This macro is used to create a struct pci_device_id array. > > > > Yeah, and it's a horrid macro that

Re: [PATCH 1/5] serial: 8250_pci: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
On Thursday, November 28, 2013 1:08 PM, Greg Kroah-Hartman wrote: > On Thu, Nov 28, 2013 at 10:55:35AM +0900, Jingoo Han wrote: > > This macro is used to create a struct pci_device_id array. > > Yeah, and it's a horrid macro that deserves to be removed, please don't > use it in more places. > >

Re: [PATCH 3.12 07/19] tcp: gso: fix truesize tracking

2013-11-27 Thread Ben Hutchings
On Mon, 2013-11-18 at 10:37 -0800, Greg Kroah-Hartman wrote: > 3.12-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Eric Dumazet > > [ Upstream commit 0d08c42cf9a71530fef5ebcfe368f38f2dd0476f ] > > commit 6ff50cd55545 ("tcp: gso: do not

[PATCH] Fix race between oom kill and task exit

2013-11-27 Thread Ma, Xindong
From: Leon Ma Date: Thu, 28 Nov 2013 12:46:09 +0800 Subject: [PATCH] Fix race between oom kill and task exit There is a race between oom kill and task exit. Scenario is: TASK A TASK B TASK B is selected to oom kill in oom_kill_process() check PF_EXITING of TASK B

Re: 3.11.4: kernel BUG at fs/buffer.c:1268

2013-11-27 Thread George Spelvin
Well, it finally triggered. Not *that* long before, I fiddled with a USB thumb drive, which I'll mention here, but I don't think it's connected. [2328294.996152] usb 1-1.3: new high-speed USB device number 6 using ehci-pci [2328295.080347] usb 1-1.3: New USB device found, idVendor=0781,

[git pull] drm minor fixes

2013-11-27 Thread Dave Airlie
Hi Linus, just two minor fixes as people keep resending since they are so low hanging. Dave. The following changes since commit 8ae516aa8b8161254d3e402b3348b2a9b8d1efd0: Merge tag 'trace-fixes-v3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2013-11-26

Re: [PATCH] WIFI: handle a neglected case in nl80211_new_interface()

2013-11-27 Thread Chao Bi
On Thu, 2013-11-28 at 11:53 +0800, Chao Bi wrote: > On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote: > > Hi, > > > > > > We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value. > > > > Thanks, > > UjjaL > > > > On Wed, Nov 27, 2013 at 8:30 AM, Chao Bi wrote: > > In

Re: [RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread Zhi Yong Wu
On Thu, Nov 28, 2013 at 12:43 PM, David Miller wrote: > From: Zhi Yong Wu > Date: Thu, 28 Nov 2013 09:31:29 +0800 > >> Per David's request, it's time to resend them now. > > No, it is not the time. > > You should not submit these kinds of patches until the net-next > tree is open again, and I

Re: [PATCH] w1: matrox: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
On Thursday, November 28, 2013 12:46 PM, Jingoo Han wrote: > > This macro is used to create a struct pci_device_id array. > > Signed-off-by: Jingoo Han Please, ignore these patches. According to the Greg Kroah-Hartman, "Yeah, and it's a horrid macro that deserves to be removed, please don't

Re: [patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-27 Thread Johannes Weiner
Here are the changes to the series I have accumulated so far. Mainly: o truncate_inode_pages_final() that sets mapping_set_exiting() and uses ordered but unlocked nrshadows & nrpages reads to skip the tree lock acquisition and IRQ disabling on empty page cache trees. o revert all efforts to

Re: [RESEND PATCH net-next 0/4] net: several cleanups

2013-11-27 Thread David Miller
From: Zhi Yong Wu Date: Thu, 28 Nov 2013 09:31:29 +0800 > Per David's request, it's time to resend them now. No, it is not the time. You should not submit these kinds of patches until the net-next tree is open again, and I make an announcement here when that is the case. I have yet to make

[PATCH v2] drivers: input: touchscreen: sur40: remove stack variable 'packet_id' from sur40_poll()

2013-11-27 Thread Chen Gang
The drivers process all blobs in one pass, so there is no need to preserve value of packet_id between calls to sur40_poll(). And the original implementation may cause 'packet_id' uninitialized, the related warning (with allmodconfig under hexagon): drivers/input/touchscreen/sur40.c: In

Re: [PATCH] pch_gbe: Remove tx_queue_len setting from the driver

2013-11-27 Thread David Miller
When submitting a series of patches to the same files, you must number them so that the order in which the patches need to be applied is explicit. Please read Documentation/SubmittingPatches in the kernel sources. Thank you. -- To unsubscribe from this list: send the line "unsubscribe

Re: page fault deadlock

2013-11-27 Thread Xiaotian Feng
On Thu, Nov 28, 2013 at 12:11 PM, Greg KH wrote: > On Thu, Nov 28, 2013 at 11:25:32AM +0800, Xiaotian Feng wrote: >> Hi, >> >> When I upgrade to latest kernel, I found my system hang there. It >> is reproducible on my virtualbox, and I found each time I mounted my >> RAID6 partition and tried

[PATCH 3/4] spi: omap-100k: Fixed spacing on commas

2013-11-27 Thread Thomas Behan
checkpatch.pl generated 5 errors due to missing spaces after commas. These errors have been fixed. Signed-off-by: Thomas Behan --- drivers/spi/spi-omap-100k.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c

[PATCH 1/4] spi: omap-100k: Fixed spacing on while loops

2013-11-27 Thread Thomas Behan
checkpatch.pl generated several errors from "while(" statements which should have read "while (" to comply with the style guide. These errors have been fixed. Signed-off-by: Thomas Behan --- drivers/spi/spi-omap-100k.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 2/4] spi: omap-100k: Fixed spacing on -= operators

2013-11-27 Thread Thomas Behan
checkpatch.pl generated 3 errors from "x-=" statements which should have read "x -= x" to comply with the style guide. These errors have been fixed. Signed-off-by: Thomas Behan --- drivers/spi/spi-omap-100k.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 4/4] spi: omap-100k: Fixed style of sizeof operators

2013-11-27 Thread Thomas Behan
checkpatch.pl generated 2 warning due to "sizeof x" being used instead of "sizeof(x)". These warnings have been fixed. Signed-off-by: Thomas Behan --- drivers/spi/spi-omap-100k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-omap-100k.c

[PATCH 0/4] spi: omap-100k: Style Fixes

2013-11-27 Thread Thomas Behan
First time contributer here submitting some style fixes. I watched Greg Kroah-Hartman's youtube video about getting started with submitting patches and thought I would give it a try. I fixed up some errors and warnings that checkpatch.pl was giving. All patches are based off of linux-next. Any

Re: [PATCH] drivers: input: touchscreen: sur40: use static variable instead of stack varialbe for 'packet_id'

2013-11-27 Thread Chen Gang
On 11/28/2013 12:07 PM, Dmitry Torokhov wrote: > Hi Chen, > > On Wed, Nov 27, 2013 at 10:15:33AM +0800, Chen Gang wrote: >> > 'packet_id' is used for checking sequence whether in order, it need be >> > static variable independent from sur40_poll(). >> > >> > The related warning (with

Re: Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 23:39), Namhyung Kim wrote: > Hi Masami, > > 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: >> (2013/11/27 15:19), Namhyung Kim wrote: >>> >>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int) >>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int) >>>

Re: page fault deadlock

2013-11-27 Thread Greg KH
On Thu, Nov 28, 2013 at 11:25:32AM +0800, Xiaotian Feng wrote: > Hi, > > When I upgrade to latest kernel, I found my system hang there. It > is reproducible on my virtualbox, and I found each time I mounted my > RAID6 partition and tried to vi or build kernel, my whole system > lockup very

[PATCH] staging/lustre: remove wirehdr.c

2013-11-27 Thread Peng Tao
It is not used. Cc: Andreas Dilger Signed-off-by: Peng Tao --- drivers/staging/lustre/lustre/ptlrpc/wirehdr.c | 47 1 file changed, 47 deletions(-) delete mode 100644 drivers/staging/lustre/lustre/ptlrpc/wirehdr.c diff --git

Re: [PATCH v2] Input: ads7846: Convert to hwmon_device_register_with_groups

2013-11-27 Thread Dmitry Torokhov
On Tue, Nov 26, 2013 at 05:20:13PM -0800, Guenter Roeck wrote: > On 11/26/2013 10:58 AM, Dmitry Torokhov wrote: > >Hi Guenter, > > > >On Mon, Nov 25, 2013 at 08:39:04PM -0800, Guenter Roeck wrote: > >>Simplify the code and create mandatory 'name' attribute by using > >>new hwmon API. > > > >So

Re: [PATCH] drivers: input: touchscreen: sur40: use static variable instead of stack varialbe for 'packet_id'

2013-11-27 Thread Dmitry Torokhov
Hi Chen, On Wed, Nov 27, 2013 at 10:15:33AM +0800, Chen Gang wrote: > 'packet_id' is used for checking sequence whether in order, it need be > static variable independent from sur40_poll(). > > The related warning (with allmodconfig under hexagon): > > drivers/input/touchscreen/sur40.c: In

[PATCH] staging/lustre: fix build error when CONFIG_FS_POSIX_ACL is off

2013-11-27 Thread Peng Tao
We need to include regardless of CONFIG_FS_POSIX_ACL is set or not. Otherwise build fails as reported by kbuild robot: >> drivers/staging/lustre/lustre/llite/file.c:2965:2: error: implicit >> declaration of function 'posix_acl_dup' >> [-Werror=implicit-function-declaration] acl =

Re: Supporting 4 way connections in LKSCTP

2013-11-27 Thread Sun Paul
How LKSCTP select which source address to use for the INIT_ACK or HB_ACK? below is the testing result where a router is located in the middle. Before starting the application. the packet on eth1 and eth2 are eth1 0 packets dropped by kernel [root@localhost ~]# tcpdump -i eth1 -s 0 -nn tcpdump:

Re: [PATCH v4 2/5] extcon: max14577: Add extcon-max14577 driver to support MUIC device

2013-11-27 Thread Chanwoo Choi
On 11/23/2013 12:51 AM, Krzysztof Kozlowski wrote: > From: Chanwoo Choi > > This patch supports Maxim MAX14577 MUIC(Micro USB Interface Controller) > device by using EXTCON subsystem to handle various external connectors. > The max14577 device uses regmap method for i2c communication and >

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 07:20:37PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > It appears as though this work is being developed in Linus's tree rather > > > than -mm, so I'm asking if we should consider backing some of it out for > > > 3.14 instead. > >

[PATCH] w1: matrox: use DEFINE_PCI_DEVICE_TABLE macro

2013-11-27 Thread Jingoo Han
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/w1/masters/matrox_w1.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/masters/matrox_w1.c b/drivers/w1/masters/matrox_w1.c index d8667b0..9361cea 100644 ---

Re: [PATCH] ARM: l2x0: add prefetch and power ctrl registers configuration support

2013-11-27 Thread Jisheng Zhang
Hi Mark, On Wed, 27 Nov 2013 09:42:04 -0800 Mark Rutland wrote: > On Thu, Nov 07, 2013 at 05:07:52AM +, Jisheng Zhang wrote: > > PL310 supports Prefetch offset/control register from r2p0 and Power > > control register from r3p0. This patch adds the support to configure > > these two

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Jaegeuk Kim
Hi, 2013-11-28 (목), 09:26 +0800, Chao Yu: > Hi Kim, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > > Sent: Wednesday, November 27, 2013 4:19 PM > > To: Chao Yu > > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > >

RE: [PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting regulator consumers

2013-11-27 Thread Li Xiubo
> Subject: Re: [PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting > regulator consumers > > On Wed, Nov 27, 2013 at 08:13:03AM +, Li Xiubo wrote: > > Please fix your mailer to word wrap within paragraphs, it makes your mail > much more legible. > Yes, I will. > > There is one

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Huang Shijie
于 2013年11月27日 19:52, Lee Jones 写道: However, as we send entire 'message sequences' to the FSM Controller as opposed to merely OPCODEs we would have to extract the OPCODE from flash->command[0] and call our own functions to craft the correct 'message sequence' for the task. For this reason we

[PATCH] ARM : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Eunbong Song
This patch removes CONFIG_MTD_PARTITIONS in config files for arm. Because CONFIG_MTD_PARTITIONS was removed by commit 6a8a98b22b10f1560d5f90aded4a54234b9b2724. Signed-off-by: Eunbong Song Acked-by: Tony Lindgren --- I resend this patch because i forgot signoff. I really sorry for annoying

page fault deadlock

2013-11-27 Thread Xiaotian Feng
Hi, When I upgrade to latest kernel, I found my system hang there. It is reproducible on my virtualbox, and I found each time I mounted my RAID6 partition and tried to vi or build kernel, my whole system lockup very soon. After turning on lockdep, I found following lockdep warning: [

Re: [PATCH] WIFI: handle a neglected case in nl80211_new_interface()

2013-11-27 Thread Chao Bi
On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote: > Hi, > > > We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value. > > Thanks, > UjjaL > > On Wed, Nov 27, 2013 at 8:30 AM, Chao Bi wrote: > In nl80211_new_interface(), it calls rdev_add_virtual_intf() to create >

Re: [PATCH V2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-27 Thread Viresh Kumar
On 28 November 2013 01:51, Rafael J. Wysocki wrote: > I have a concern that on some systems you can't really say what frequency > you're running at the moment, however. Which ones? I know ACPI tries to play smart by handling the frequency stuff itself by marking CPUs not-related to each other

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread David Rientjes
On Wed, 27 Nov 2013, Johannes Weiner wrote: > > It appears as though this work is being developed in Linus's tree rather > > than -mm, so I'm asking if we should consider backing some of it out for > > 3.14 instead. > > The changes fix a deadlock problem. Are they creating problems that > are

Re: [PATCH] ARM : Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Baruch Siach
Hi Eunbong, On Thu, Nov 28, 2013 at 01:18:45AM +, Eunbong Song wrote: > This patch removes CONFIG_MTD_PARTITIONS in config files for arm. > Because CONFIG_MTD_PARTITIONS was removed by commit > 6a8a98b22b10f1560d5f90aded4a54234b9b2724. > --- > I resend this patch because i forgot signoff.

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 06:52:10PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > The long-standing, user-visible definition of the current line agrees > > with me. You can't just redefine this, period. > > > > I tried to explain to you how insane the

Re: [PATCH 1/2] virtio_net: fix error handling for mergeable buffers

2013-11-27 Thread Jason Wang
On 11/28/2013 12:31 AM, Michael S. Tsirkin wrote: > Eric Dumazet noticed that if we encounter an error > when processing a mergeable buffer, we don't > dequeue all of the buffers from this packet, > the result is almost sure to be loss of networking. > > Jason Wang noticed that we also leak a page

Re: [merged] mm-memcg-handle-non-error-oom-situations-more-gracefully.patch removed from -mm tree

2013-11-27 Thread Johannes Weiner
On Wed, Nov 27, 2013 at 06:38:31PM -0800, David Rientjes wrote: > On Wed, 27 Nov 2013, Johannes Weiner wrote: > > > > The task that is bypassing the memcg charge to the root memcg may not be > > > the process that is chosen by the oom killer, and it's possible the > > > amount > > > of memory

Re: [tip:sched/urgent] sched: Check sched_domain before computing group power

2013-11-27 Thread David Rientjes
On Thu, 21 Nov 2013, Yinghai Lu wrote: > original one in linus's tree: > > [8.952728] NMI watchdog: enabled on all CPUs, permanently consumes > one hw-PMU counter. > [8.965697] BUG: unable to handle kernel NULL pointer dereference > at 0010 > [8.969495] IP: []

Re: [PATCH 00/13] mfd: menelaus: a few cleanups

2013-11-27 Thread Felipe Balbi
Hi, On Wed, Nov 27, 2013 at 10:46:21PM +0200, Aaro Koskinen wrote: > Hi, > > On Wed, Nov 27, 2013 at 02:11:49PM -0600, Felipe Balbi wrote: > > On Wed, Nov 27, 2013 at 10:02:47PM +0200, Aaro Koskinen wrote: > > > On Wed, Nov 27, 2013 at 01:06:44PM -0600, Felipe Balbi wrote: > > > > few cleanups

  1   2   3   4   5   6   7   8   9   10   >