[patch 08/12] MIPS/alchemy: Remove pointless irqdisable/enable

2015-07-13 Thread Thomas Gleixner
bcsr_csc_handler() is a cascading interrupt handler. It has a disable_irq_nosync()/enable_irq() pair around the generic_handle_irq() call. The value of this disable/enable is zero because its a complete noop: disable_irq_nosync() merily increments the disable count without actually masking the

[patch 00/12] MIPS: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 9/9] mfd/max899x: Avoid redundant irq_data lookup

2015-07-13 Thread Thomas Gleixner
It's pretty silly to do irq_data *d = irq_get_irq_data(irq_data->irq); because that results in d = irq_data, but goes through a lookup of the irq_data. Use irq_data directly. Signed-off-by: Thomas Gleixner Cc: Lee Jones Cc: Jiang Liu Cc: Samuel Ortiz --- drivers/mfd/max8997-irq.c |

[patch 8/9] mfd/ucb1x00: Prepare ucb1x00_irq for irq argument removal

2015-07-13 Thread Thomas Gleixner
irq is incremented for no value in the for loop. Remove it. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Jiang Liu Cc: Samuel Ortiz Cc: Lee Jones --- drivers/mfd/ucb1x00-core.c |4 ++-- 1 file

[patch 0/9] mfd: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 15/19] gpio/ep93xx: Prepare ep93xx_gpio_f_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 12/19] gpio/davinci: Use accessor function irq_data_get_irq_handler_data()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Linus Walleij Cc: Alexandre Courbot Signed-off-by: Thomas Gleixner --- drivers/gpio/gpio-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[patch 16/19] gpio/mvebu: Prepare mvebu_gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 13/19] gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Preparatory patch for the removal of the 'irq' argument from irq flow handlers. Signed-off-by: Jiang Liu Acked-by: Linus Walleij Cc: Alexandre Courbot

[patch 0/2] ia64: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 1/1] metag/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: James Hogan Signed-off-by: Thomas Gleixner --- arch/metag/kernel/irq.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Index: tip/arch/metag/kernel/irq.c

[patch 2/2] ia64/iosapic: Use irq_set_chip_handler_name_locked()

2015-07-13 Thread Thomas Gleixner
__irq_set_chip_handler_name_locked() is about to be replaced. Use irq_set_chip_handler_name_locked() instead. Signed-off-by: Thomas Gleixner --- arch/ia64/kernel/iosapic.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: tip/arch/ia64/kernel/iosapic.c

[patch 1/2] ia64/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Thomas Gleixner --- arch/ia64/kernel/iosapic.c |2 +- arch/ia64/kernel/irq.c |6 +++--- arch/ia64/kernel/msi_ia64.c |4

[patch 17/19] gpio/sa1100: Prepare sa1100_gpio_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 14/19] gpio/davinci: Prepare gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 19/19] gpio/davinci: Avoid redundant lookup of irq_data

2015-07-13 Thread Thomas Gleixner
It's pretty silly to do void *cd = irq_get_chip_data(irq_data->irq); because that results in cd = irq_data->chip_data, but goes through a redundant lookup of the irq_data. Use irq_data directly. Signed-off-by: Thomas Gleixner Cc: Linus Walleij Cc: Alexandre Courbot Cc: Jiang Liu Cc:

Re: [PATCH 22/45] clk: samsung: Properly include clk.h and clkdev.h

2015-07-13 Thread Stephen Boyd
On 07/11/2015 12:07 AM, Krzysztof Kozlowski wrote: W dniu 11.07.2015 o 08:33, Stephen Boyd pisze: diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c index 0117238391d6..f38a6c49f744 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk/samsung/clk.c @@ -11,6 +11,10 @@ *

[patch 18/19] gpio/msm-v2: Avoid redundant lookup of irq_data

2015-07-13 Thread Thomas Gleixner
It's pretty silly to do irq_data *d = irq_get_irq_data(irq_data->irq); because that results in d = irq_data, but goes through a lookup of the irq_data. Use irq_data directly. Signed-off-by: Thomas Gleixner Cc: Linus Walleij Cc: Alexandre Courbot Cc: Jiang Liu Cc:

[patch 07/19] gpio/ep93xx: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle: @@ struct irq_data *d; expression E1; @@ -__irq_set_handler_locked(d->irq, E1); +irq_set_handler_locked(d, E1); Signed-off-by: Thomas Gleixner Cc: Jiang Liu

[patch 00/19] gpio: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 03/19] gpio/timberdale: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

Re: [PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode

2015-07-13 Thread Andy Lutomirski
On Mon, Jul 13, 2015 at 12:57 PM, Chris Metcalf wrote: > The existing nohz_full mode makes tradeoffs to minimize userspace > interruptions while still attempting to avoid overheads in the > kernel entry/exit path, to provide 100% kernel semantics, etc. > > However, some applications require a

[patch 1/2] dma/ipu: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Dan Williams Cc:

[patch 2/2] dma/ipu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. This is also a preparation for the removal of the 'irq' argument from interrupt flow handlers. Signed-off-by: Jiang Liu Cc: Dan Williams Cc: Vinod Koul Cc:

[patch 1/1] C6X/meagmod-pic: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Mark Salter Cc:

Re: [PATCH] pinctrl: at91: fix null pointer dereference

2015-07-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jul 13, 2015, at 9:00 PM, Ludovic Desroches > wrote: > > On Mon, Jul 13, 2015 at 02:14:51PM +0800, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> >>> On Jul 3, 2015, at 12:06 AM, David Dueck wrote: >>> >>> Not all gpio banks are necessarily enabled, in the current code this can >>> lead

[patch 2/2] blackfin/irq: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and update was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Steven Miao Cc: adi-buildroot-de...@lists.sourceforge.net ---

[patch 1/2] blackfin/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: adi-buildroot-de...@lists.sourceforge.net Cc: Steven Miao Signed-off-by: Thomas Gleixner --- arch/blackfin/mach-common/ints-priority.c |3 ++- 1 file changed, 2 insertions(+), 1

[patch 0/2] blackfin: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 22:28:35 Michael Welling wrote: > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > Hello, here is my objdump of 4.2-rc2 version: > > > > 0064 : > > 64: e3003182movwr3, #386; 0x182 > > 68: e19030b3ldrh

[PATCH v3] scripts/kernel-doc: Adding cross-reference links to html documentation.

2015-07-13 Thread Danilo Cesar Lemes de Paula
Functions, Structs and Parameters definitions on kernel documentation are pure cosmetic, it only highlights the element. To ease the navigation in the documentation we should use inside those tags so readers can easily jump between methods directly. This was discussed in 2014[1] and is

Re: Subject: [PATCH 1/1] Fix redundant check against unsigned int in broken audit test fix for exec arg len

2015-07-13 Thread Paul Moore
On Sunday, July 12, 2015 03:11:09 AM Mustapha Abiola wrote: > From 55fae099d46749b73895934aab8c2823c5a23abe Mon Sep 17 00:00:00 2001 > > From: Mustapha Abiola > > Date: Sat, 11 Jul 2015 17:01:04 + > > Subject: [PATCH 1/1] Fix redundant check against unsigned int in broken > audit test fix

[patch 0/3] avr32: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 1/3] avr32/at32ap: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Haavard Skinnemoen

Re: [PATCH] Revert "perf tools: Allow to specify custom linker command"

2015-07-13 Thread Aaro Koskinen
Hi, On Mon, Jul 13, 2015 at 02:10:53PM +0300, Alexey Brodkin wrote: > This reverts commit 5ef7bbb09f7b > ("perf tools: Allow to specify custom linker command"). > > LD is a pre-defined variable in GNU Make. I.e. it is always defined. > Which means there's no point to check "LD ?= ..." because it

Re: musb-hdrc: "Vbus off, timeout 1100 msec" message does not belong in sysfs

2015-07-13 Thread Felipe Balbi
On Fri, Jul 10, 2015 at 09:17:39AM +0200, Sebastian Andrzej Siewior wrote: > On 07/09/2015 11:46 PM, Pavel Machek wrote: > > On Thu 2015-07-09 23:39:22, Pavel Machek wrote: > >> Hi! > > Hi, > > >> > >> sysfs should contain one value per file. This one has at least two, > >> with nice english

[patch 3/3] avr32/irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu Acked-by: Hans-Christian Egtvedt Cc: Haavard Skinnemoen Signed-off-by: Thomas Gleixner --- arch/avr32/mach-at32ap/pio.c |2 +-

[patch 2/3] avr32/at32ap: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt --- arch/avr32/mach-at32ap/extint.c |4

[PATCH] MIPS: Alchemy: Include clk.h

2015-07-13 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Manuel Lauss Cc: Ralf Baechle Cc: Linux-MIPS Signed-off-by: Stephen Boyd --- Please ack so this can go through the clk tree. We're removing the include of clk.h in clk-provider.h so that the consumer and provider

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > Hello, here is my objdump of 4.2-rc2 version: > > 0064 : > 64: e3003182movwr3, #386; 0x182 > 68: e19030b3ldrhr3, [r0, r3] > 6c: e3130004tst r3, #4 >

[RFC v3 2/3] mm: make optimistic check for swapin readahead

2015-07-13 Thread Ebru Akagunduz
This patch makes optimistic check for swapin readahead to increase thp collapse rate. Before getting swapped out pages to memory, checks them and allows up to a certain number. It also prints out using tracepoints amount of unmapped ptes. Signed-off-by: Ebru Akagunduz --- Changes in v2: -

[RFC v3 0/3] mm: make swapin readahead to gain more thp performance

2015-07-13 Thread Ebru Akagunduz
This patch series makes swapin readahead up to a certain number to gain more thp performance and adds tracepoint for khugepaged_scan_pmd, collapse_huge_page, __collapse_huge_page_isolate. This patch series was written to deal with programs that access most, but not all, of their memory after they

[RFC v3 3/3] mm: make swapin readahead to improve thp collapse rate

2015-07-13 Thread Ebru Akagunduz
This patch makes swapin readahead to improve thp collapse rate. When khugepaged scanned pages, there can be a few of the pages in swap area. With the patch THP can collapse 4kB pages into a THP when there are up to max_ptes_swap swap ptes in a 2MB range. The patch was tested with a test program

Re: [PATCH 1/3] panic: Disable crash_kexec_post_notifiers if kdump is not available

2015-07-13 Thread dwalker
On Fri, Jul 10, 2015 at 08:41:28AM -0500, Eric W. Biederman wrote: > Hidehiro Kawai writes: > > > You can call panic notifiers and kmsg dumpers before kdump by > > specifying "crash_kexec_post_notifiers" as a boot parameter. > > However, it doesn't make sense if kdump is not available. In that

[RFC v3 1/3] mm: add tracepoint for scanning pages

2015-07-13 Thread Ebru Akagunduz
Using static tracepoints, data of functions is recorded. It is good to automatize debugging without doing a lot of changes in the source code. This patch adds tracepoint for khugepaged_scan_pmd, collapse_huge_page and __collapse_huge_page_isolate. Signed-off-by: Ebru Akagunduz Acked-by: Kirill

[PATCH] random: initialize pools faster

2015-07-13 Thread Jörn Engel
add_interrupt_randomness() can cause significant cpu overhead on interrupt-heavy workloads. We try to limit that overhead by bailing out quickly once we have sampled a few bits of entropy this second. If there is enough entropy around it doesn't hurt to waste the excess. However, we also waste

[linux-gfs2:for-next 2/2] fs/gfs2/glock.c:79:26: sparse: symbol 'ht_parms' was not declared. Should it be static?

2015-07-13 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 for-next head: 6afe4c76af372a6b453f33888e664beddc4647b4 commit: 6afe4c76af372a6b453f33888e664beddc4647b4 [2/2] GFS2: Use resizable hash table for glocks reproduce: # apt-get install sparse git checkout

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-07-13 Thread Paul E. McKenney
On Mon, Jul 13, 2015 at 06:50:29PM +0100, Will Deacon wrote: > On Mon, Jul 13, 2015 at 04:54:47PM +0100, Peter Zijlstra wrote: > > However I think we should look at the insides of the critical sections; > > for example (from Documentation/memory-barriers.txt): > > > > " *A = a; > >

Re: [PATCH v2 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-07-13 Thread Boris Ostrovsky
On 07/09/2015 04:42 PM, Julien Grall wrote: - struct remap_data { xen_pfn_t *fgmfn; /* foreign domain's gmfn */ + xen_pfn_t *efgmfn; /* pointer to the end of the fgmfn array */ It might be better to keep size of fgmfn array instead. +static int unmap_gfn(struct page *page,

Re: [3.13.y-ckt stable] Linux 3.13.11-ckt23

2015-07-13 Thread Kamal Mostafa
diff --git a/Makefile b/Makefile index 2b96ffc..34dca2e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 13 SUBLEVEL = 11 -EXTRAVERSION = -ckt22 +EXTRAVERSION = -ckt23 NAME = King of Alienated Frog Porn # *DOCUMENTATION* diff --git a/arch/arm/boot/dts/imx27.dtsi

Re: [PATCHv3 1/1] kernel/power/autosleep.c: check for pm_suspend() return before queueing suspend again

2015-07-13 Thread Nitish Ambastha
I have uploaded a new patch as per comments Since some drivers failed to suspend, and is/are not registered to wakeup sources fwk, we cannot keep trying suspend based on wakeup event count. It looks valid to me to wait before queuing another suspend request tightly Please let me know if this is

[PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c

2015-07-13 Thread Lukasz Janyst
This is a patch to the libcfs/module.c file fixing whitespace warnings found by checkpatch.pl. Signed-off-by: Lukasz Janyst --- drivers/staging/lustre/lustre/libcfs/module.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH] Documenation: Update location of docproc.c

2015-07-13 Thread Peter Huewe
docproc.c was moved in 2011 from scripts/basic to scripts -> updated the references accordingly Signed-off-by: Peter Huewe --- Documentation/kernel-doc-nano-HOWTO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kernel-doc-nano-HOWTO.txt

[PATCH v4 2/5] nohz: support PR_CPU_ISOLATED_STRICT mode

2015-07-13 Thread Chris Metcalf
With cpu_isolated mode, the task is in principle guaranteed not to be interrupted by the kernel, but only if it behaves. In particular, if it enters the kernel via system call, page fault, or any of a number of other synchronous traps, it may be unexpectedly exposed to long latencies. Add a

[RESEND: PATCH v1] mtd: nand: davinci: add support for 4K page size nand devices.

2015-07-13 Thread Murali Karicheri
K2L EVM uses NAND with 4K page size. This patch add support for ECC layout requires to enable Micron MT29F16G08ADBCAH4 NAND available on this EVM. Signed-off-by: Murali Karicheri Signed-off-by: Hao Zhang --- - Resend after subscribing to linux-mtd mailing list. I assume no one has seen this

[PATCH linux-gfs2] GFS2: ht_parms can be static

2015-07-13 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- glock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 813de00..1b0dff4 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -76,7 +76,7 @@ static DEFINE_SPINLOCK(lru_lock); #define

Re: [PATCH v7 0/9] Add simple NVMEM Framework via regmap.

2015-07-13 Thread Stefan Wahren
Hi Srinivas, > Srinivas Kandagatla hat am 13. Juli 2015 um > 21:35 geschrieben: > > On 13/07/15 19:54, Stefan Wahren wrote: > > Hi Srinivas, > > > >> [...] > >> > >> Providers APIs: > >> nvmem_register/unregister(); > > > > How do i get the cell info from the devicetree into the nvmem_config? >

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-07-13 Thread Paul E. McKenney
On Mon, Jul 13, 2015 at 03:41:53PM -0400, Peter Hurley wrote: > On 07/13/2015 02:23 PM, Paul E. McKenney wrote: > > On Mon, Jul 13, 2015 at 05:54:47PM +0200, Peter Zijlstra wrote: > >> On Mon, Jul 13, 2015 at 03:21:10PM +0100, Will Deacon wrote: > >>> On Mon, Jul 13, 2015 at 03:09:15PM +0100, Will

Re: [PATCH v2] scripts/kernel-doc: Adding cross-reference links to html documentation.

2015-07-13 Thread Danilo Cesar Lemes de Paula
On 07/09/2015 08:56 PM, Jonathan Corbet wrote: > On Fri, 26 Jun 2015 12:08:57 -0300 > Danilo Cesar Lemes de Paula wrote: > >> To ease the navigation in the documentation we should use inside >> those tags so readers can easily jump between methods directly. >> >> This was discussed in 2014[1]

Re: [PATCH 04/13] pinctrl: tegra: Only set the gpio range if needed

2015-07-13 Thread Linus Walleij
On Wed, Jun 17, 2015 at 3:42 PM, Tomeu Vizoso wrote: > If the gpio DT node has the gpio-ranges property, the range will be > added by the gpio core and doesn't need to be added by the pinctrl > driver. > > By having the gpio-ranges property, we have an explicit dependency from > the gpio node to

Re: [PATCH] vhost: fix build failure on SPARC

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 08:15:30PM +0200, Igor Mammedov wrote: > while on x86 target vmalloc.h is included indirectly through > other heaedrs, it's not included on SPARC. > Fix issue by including vmalloc.h directly from vhost.c > like it's done in vhost/net.c > > Signed-off-by: Igor Mammedov

[patch] alpha/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Matt Turner Signed-off-by: Thomas Gleixner --- arch/alpha/kernel/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tip/arch/alpha/kernel/irq.c

[3.13.y-ckt stable] Linux 3.13.11-ckt23

2015-07-13 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11-ckt23 kernel. The updated 3.13.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.13.y The diff from v3.13.11-ckt22 is posted

Re: [PATCH v3] ARM: early fixmap support for earlycon

2015-07-13 Thread Stefan Agner
On 2015-07-10 13:25, Russell King - ARM Linux wrote: > On Sat, Jun 06, 2015 at 01:48:00PM +0100, Russell King - ARM Linux wrote: >> On Sat, Jun 06, 2015 at 02:31:28PM +0200, Stefan Agner wrote: >> > @@ -1231,7 +1272,7 @@ static void __init devicemaps_init(const struct >> > machine_desc *mdesc) >>

[PATCH v4 5/5] nohz: cpu_isolated: allow tick to be fully disabled

2015-07-13 Thread Chris Metcalf
While the current fallback to 1-second tick is still helpful for maintaining completely correct kernel semantics, processes using prctl(PR_SET_CPU_ISOLATED) semantics place a higher priority on running completely tickless, so don't bound the time_delta for such processes. In addition, due to the

Re: [PATCH 1/5] x86/vm86: Move userspace accesses to do_sys_vm86()

2015-07-13 Thread Brian Gerst
On Mon, Jul 13, 2015 at 2:36 PM, Andy Lutomirski wrote: > On Mon, Jul 13, 2015 at 9:45 AM, Brian Gerst wrote: >> On Sat, Jul 11, 2015 at 12:37 PM, Andy Lutomirski >> wrote: >>> On Fri, Jul 10, 2015 at 10:09 PM, Brian Gerst wrote: Move the userspace accesses down into the common function

[PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode

2015-07-13 Thread Chris Metcalf
The existing nohz_full mode makes tradeoffs to minimize userspace interruptions while still attempting to avoid overheads in the kernel entry/exit path, to provide 100% kernel semantics, etc. However, some applications require a stronger commitment from the kernel to avoid interruptions, in

[PATCH v4 3/5] nohz: cpu_isolated strict mode configurable signal

2015-07-13 Thread Chris Metcalf
Allow userspace to override the default SIGKILL delivered when a cpu_isolated process in STRICT mode does a syscall or otherwise synchronously enters the kernel. In addition to being able to set the signal, we now also pass whether or not the interruption was from a syscall in the si_code field

Re: [PATCH] Logically DeadCode

2015-07-13 Thread Rafał Miłecki
On 3 July 2015 at 06:52, Rahul Jain wrote: > From 0c34030166a150d6d9f1ab52e7bb40a5440a68c2 Mon Sep 17 00:00:00 2001 > From: Rahul Jain > Date: Fri, 3 Jul 2015 10:19:12 +0530 > Subject: [PATCH] Logically DeadCode You didn't use any prefix for the commit message, it's unclear (Logically DeadCode

Re: [PATCH 02/39] bpf tools: Collect eBPF programs from their own sections

2015-07-13 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 10, 2015 at 11:07:53AM +0800, Wangnan (F) escreveu: > On 2015/7/9 23:58, Arnaldo Carvalho de Melo wrote: > >Em Thu, Jul 09, 2015 at 12:35:05PM +, Wang Nan escreveu: > >>This patch collects all programs in an object file into an array of > >>'struct bpf_program' for further

[PATCH] net: qlcnic: Deletion of unnecessary memset

2015-07-13 Thread Christophe JAILLET
There is no need to memset memory allocated with vzalloc. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c

[PATCH v4 4/5] nohz: add cpu_isolated_debug boot flag

2015-07-13 Thread Chris Metcalf
This flag simplifies debugging of NO_HZ_FULL kernels when processes are running in PR_CPU_ISOLATED_ENABLE mode. Such processes should get no interrupts from the kernel, and if they do, when this boot flag is specified a kernel stack dump on the console is generated. It's possible to use ftrace

Re: [RFC] freeing unlinked file indefinitely delayed

2015-07-13 Thread Al Viro
On Mon, Jul 13, 2015 at 01:17:51PM -0500, Ben Myers wrote: > > For one thing, this patch does *not* check for i_nlink at all. > > I agree that no checking of i_nlink has the advantage of brevity. > Anyone who is using dentry.d_fsdata with an open_by_handle workload (if > there are any) will be

Re: [PATCH 3/7] locking/pvqspinlock: Implement wait-early for overcommitted guest

2015-07-13 Thread Davidlohr Bueso
On Sat, 2015-07-11 at 16:36 -0400, Waiman Long wrote: > /* > + * Queued Spinlock Spin Thresholds > + * --- > + * Because of the cacheline contention effect of the ticket spinlock, the > + * same spin threshold for queued spinlock will run a bit faster. So we set > + *

[PATCH v4 0/5] support "cpu_isolated" mode for nohz_full

2015-07-13 Thread Chris Metcalf
This posting of the series is basically a "ping" since there were no comments to the v3 version. I have rebased it to 4.2-rc1, added support for arm64 syscall tracking for "strict" mode, and retested it; are there any remaining concerns? Thomas, I haven't heard from you whether my removal of the

thermal/powerclamp: add cpu id for denlow platform

2015-07-13 Thread Radivoje Jovanovic
From: Jacob Pan Add support for Intel Denlow UP server platform. Signed-off-by: Jacob Pan --- 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 725718e..d534357 100644 ---

Re: [PATCH 06/39] bpf tools: Create eBPF maps defined in an object file

2015-07-13 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 09, 2015 at 12:35:09PM +, Wang Nan escreveu: > +static int > +bpf_object__create_maps(struct bpf_object *obj) > +{ > + unsigned int i; > + size_t nr_maps; > + int *pfd; > + > + nr_maps = obj->maps_buf_sz / sizeof(struct bpf_map_def); > + if (!obj->maps_buf ||

Re: [PATCH 3/3] arm64, mm: Use IPIs for TLB invalidation.

2015-07-13 Thread David Daney
On 07/13/2015 11:17 AM, Will Deacon wrote: On Sat, Jul 11, 2015 at 09:25:23PM +0100, David Daney wrote: From: David Daney Most broadcast TLB invalidations are unnecessary. So when invalidating for a given mm/vma target the only the needed CPUs via and IPI. For global TLB invalidations, also

Subject: [v3.19 Regression] x86, irq, acpi: Get rid of special handling of GSI for ACPI SCI

2015-07-13 Thread Joseph Salisbury
Hello Jiang, A kernel bug report was opened against Ubuntu [0]. It was found that reverting the following commit resolves this bug: commit cd68f6bd53cf89d1d5ed889b8af65e9c3574a079 Author: Jiang Liu Date: Mon Oct 27 16:11:52 2014 +0800 x86, irq, acpi: Get rid of special handling of GSI

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Sebastian Reichel
Hi, On Mon, Jul 13, 2015 at 06:05:47PM +0200, Pali Rohár wrote: > now I'm testing 4.2-rc2 release and rtc is working: > > [ 27.426055] omap_i2c 48072000.i2c: controller timed out > [ 28.723358] twl_rtc 4807.i2c:twl@48:rtc: Power up reset detected. > [ 30.127014] twl_rtc

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-07-13 Thread Hagen Paul Pfeifer
> On July 13, 2015 at 8:27 PM Denys Vlasenko > wrote: > > So I think the original patch makes sense (and I already applied it), > > we want known-simple and performance critical methods (such as atomic > > ops) always inlined. > > I will send more such force-inlining patches your way then.

Re: [RFC/PATCH v2 v2 1/6] x86/selftests, x86/vm86: Improve entry_from_vm86 selftest

2015-07-13 Thread Andy Lutomirski
Ingo, would it make sense for you to apply just this patch? It should be helpful for testing whatever we end up doing with the vm86 code. Thanks, Andy On Thu, Jul 9, 2015 at 7:17 PM, Andy Lutomirski wrote: > The entry_from_vm86 selftest was very weak. Improve it: test more > types of kernel

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-07-13 Thread Peter Hurley
On 07/13/2015 02:23 PM, Paul E. McKenney wrote: > On Mon, Jul 13, 2015 at 05:54:47PM +0200, Peter Zijlstra wrote: >> On Mon, Jul 13, 2015 at 03:21:10PM +0100, Will Deacon wrote: >>> On Mon, Jul 13, 2015 at 03:09:15PM +0100, Will Deacon wrote: On Mon, Jul 13, 2015 at 02:11:43PM +0100, Peter

Re: [PATCH 3.13.y-ckt 27/56] usb: dwc3: gadget: Fix incorrect DEPCMD and DGCMD status macros

2015-07-13 Thread Kamal Mostafa
On Fri, 2015-07-10 at 14:51 -0500, Felipe Balbi wrote: > On Wed, Jul 08, 2015 at 08:40:08AM -0700, Kamal Mostafa wrote: > > 3.13.11-ckt23 -stable review patch. If anyone has any objections, please > > let me know. > > > > -- > > > > From: Subbaraya Sundeep Bhatta > > > >

Re: [PATCH v7 0/9] Add simple NVMEM Framework via regmap.

2015-07-13 Thread Srinivas Kandagatla
On 13/07/15 19:54, Stefan Wahren wrote: Hi Srinivas, [add Ezequiel Garcia to CC] Srinivas Kandagatla hat am 10. Juli 2015 um 11:43 geschrieben: Hi Greg, This patchset adds a new simple NVMEM framework to kernel, and it is tested with various drivers like "QCOM thermal sensors", "QCOM

[PATCH 2/2] perf hists browser: Take the --comm, --dsos, etc filters into account

2015-07-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo At some point: commit 2c86c7ca7606 Author: Namhyung Kim Date: Mon Mar 17 18:18:54 2014 -0300 perf report: Merge al->filtered with hist_entry->filtered We stopped dropping samples for things filtered via the --comms, --dsos, --symbols, etc, i.e.

[PATCH 1/2] perf symbols: Store if there is a filter in place

2015-07-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When setting yup the symbols library we setup several filter lists, for dsos, comms, symbols, etc, and there is code that, if there are filters, do certain operations, like recalculate the number of non filtered histogram entries in the top/report TUI. But they

[GIT PULL 0/2] perf/urgent fixes

2015-07-13 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit a833581e372a4adae2319d8dc379493edbc444e9: x86, perf: Fix static_key bug in load_mm_cr4() (2015-07-10 10:24:38 +0200) are available in the git repository at:

Re: [PATCH v3 00/11] USB: OTG/DRD Core functionality

2015-07-13 Thread Andrew Bresticker
Hi Roger, On Wed, Jul 8, 2015 at 3:19 AM, Roger Quadros wrote: > Usage model: > --- > > - The OTG controller device is assumed to be the parent of > the host and gadget controller. It must call usb_otg_register() > before populating the host and gadget devices so that the OTG > core is

Re: [PATCH v7 2/9] nvmem: Add a simple NVMEM framework for consumers

2015-07-13 Thread Srinivas Kandagatla
On 13/07/15 20:06, Stefan Wahren wrote: -#include >#include >#include >#include >#include >-#include please avoid such changes in your patch series. This should be fixed in the first patch. Sure, I know why this happened, the headers were re-ordered in this patch.. I will take care of

Re: [PATCH v7 2/9] nvmem: Add a simple NVMEM framework for consumers

2015-07-13 Thread Stefan Wahren
Hi Srinivas, > Srinivas Kandagatla hat am 10. Juli 2015 um > 11:44 geschrieben: > > > [...] > --- > drivers/nvmem/core.c | 424 - > include/linux/nvmem-consumer.h | 76 > 2 files changed, 498 insertions(+), 2 deletions(-) > create mode 100644

Re: [PATCH 4/4] irqchip: Add bcm2836 interrupt controller for Raspberry Pi 2.

2015-07-13 Thread Eric Anholt
Stephen Warren writes: > On 07/07/2015 03:13 PM, Eric Anholt wrote: >> This interrupt controller is the new root interrupt controller with >> the timer, PMU events, and IPIs, and the bcm2835's interrupt >> controller is chained off of it to handle the peripherals. >> >> SMP IPI support was

RE: [PATCH RFC V3 3/5] perf,tool: partial time support

2015-07-13 Thread Liang, Kan
> Hi, > > (CC-ing Adrian) > > On Wed, Jul 08, 2015 at 04:44:55AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > When multiple events are sampled it may not be needed to collect fine > > grained time stamps on all events. The sample sites are usually nearby. > > It's enough to

Re: [PATCH -mm v7 5/6] proc: add kpageidle file

2015-07-13 Thread Andres Lagar-Cavilla
On Sat, Jul 11, 2015 at 7:48 AM, Vladimir Davydov wrote: > Knowing the portion of memory that is not used by a certain application > or memory cgroup (idle memory) can be useful for partitioning the system > efficiently, e.g. by setting memory cgroup limits appropriately. > Currently, the only

Re: [v5 09/19] vfio: Register/unregister irq_bypass_producer

2015-07-13 Thread Alex Williamson
On Mon, 2015-07-13 at 17:47 +0800, Feng Wu wrote: > This patch adds the registration/unregistration of an > irq_bypass_producer for MSI/MSIx on vfio pci devices. > > Signed-off-by: Feng Wu > --- > drivers/vfio/pci/vfio_pci_intrs.c | 19 +++ >

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-13 Thread Felipe Balbi
Hi, On Mon, Jul 13, 2015 at 05:50:49PM +, John Youn wrote: > On 7/11/2015 12:29 PM, Felipe Balbi wrote: > > Hi, > > > > On Sat, Jul 11, 2015 at 05:17:32PM +, Subbaraya Sundeep Bhatta wrote: > >> Hi Felipe, > >> > >> Just an update on this. > >> > >> I'm trying to get

Re: [PATCH v7 0/9] Add simple NVMEM Framework via regmap.

2015-07-13 Thread Stefan Wahren
Hi Srinivas, [add Ezequiel Garcia to CC] > Srinivas Kandagatla hat am 10. Juli 2015 um > 11:43 geschrieben: > > > Hi Greg, > > This patchset adds a new simple NVMEM framework to kernel, and it is tested > with various drivers like "QCOM thermal sensors", "QCOM cpr driver", > "begal bone cape

Re: [PATCH] parisc: mm: Fix a memory leak related to pmd not attached to the pgd

2015-07-13 Thread Helge Deller
Hi Christophe, On 13.07.2015 11:32, Christophe JAILLET wrote: Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds") introduced a memory leak. After this commit, the 'return' statement in pmd_free is executed in all cases. Even for pmd that are not attached to the pgd. So

RE: [PATCH RFC V2 3/5] perf,tool: partial time support

2015-07-13 Thread Liang, Kan
> -Original Message- > From: Jiri Olsa [mailto:jo...@redhat.com] > Sent: Sunday, July 12, 2015 9:22 AM > To: Liang, Kan > Cc: a...@kernel.org; jo...@kernel.org; namhy...@kernel.org; > a...@linux.intel.com; linux-kernel@vger.kernel.org > Subject: Re: [PATCH RFC V2 3/5] perf,tool: partial

Re: [PATCH-v6 0/6] mfd: 88pm800: Add Device tree support

2015-07-13 Thread Vaibhav Hiremath
On Wednesday 08 July 2015 05:56 PM, Vaibhav Hiremath wrote: This patch-series adds support for Device tree to 88PM800 mfd driver. It also sets default configuration of irq clear method if board file doesn't exist. Testing:: - Boot tested on PXA1928 based platform. - probe of mfd, rtc and

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