[PATCH v4 19/19] PCI/MSI: Drop domain field from msi_controller

2015-07-15 Thread Marc Zyngier
The only three users of that field are not using the msi_controller structure anymore, so drop it altogether. Signed-off-by: Marc Zyngier --- drivers/pci/msi.c | 2 -- include/linux/msi.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index c77fdaf

[PATCH v4 17/19] irqchip: GICv2m: Add platform MSI support

2015-07-15 Thread Marc Zyngier
In order to support non-PCI MSI with GICv2m, add the minimal required entry points for the MSI domain, which is actually almost nothing (we just use the defaults provided by the core code). Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v2m.c | 33 + 1 fi

[PATCH v4 18/19] PCI/MSI: pci-xgene-msi: Get rid of struct msi_controller

2015-07-15 Thread Marc Zyngier
The XGene MSI driver only uses the msi_controller structure as a way to match the host bridge with its MSI HW, and thus the msi_domain. But now that we can directly associate an msi_domain with a device, there is no use keeping this msi_controller around. Just remove all traces of msi_controller

[PATCH v4 13/19] irqchip: gicv3-its: Get rid of struct msi_controller

2015-07-15 Thread Marc Zyngier
The GICv3 ITS only uses the msi_controller structure as a way to match the PHB with its MSI HW, and thus the msi_domain. But now that we can directly associate an msi_domain with a device, there is no use keeping this msi_controller around. Just remove all traces of msi_controller from the driver.

[PATCH v4 11/19] irqchip: gicv3-its: Split PCI/MSI code from the core ITS driver

2015-07-15 Thread Marc Zyngier
It is becoming obvious that having the PCI/MSI code in the same file as the the core ITS code is giving people implementing non-PCI MSI support the wrong kind of idea. In order to make things a bit clearer, let's move the PCI/MSI code out to its own file. Hopefully it will make it clear that whoev

[PATCH v4 07/19] PCI/MSI: Let pci_msi_get_domain use struct device's msi_domain

2015-07-15 Thread Marc Zyngier
Now that we can easily find which MSI domain a PCI device is using, use dev_get_msi_domain as a way to retrieve the information. The original code is still used as a fallback. Signed-off-by: Marc Zyngier --- drivers/pci/msi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v4 03/19] device core: Introduce per-device MSI domain pointer

2015-07-15 Thread Marc Zyngier
As MSI-type features are creeping into non-PCI devices, it is starting to make sense to give our struct device some form of support for this, by allowing a pointer to an MSI irq domain to be set/retrieved. Signed-off-by: Marc Zyngier --- include/linux/device.h | 20 1 file c

Re: [PATCH v2 3/3] sched/preempt: fix cond_resched_lock() and cond_resched_softirq()

2015-07-15 Thread Eric Dumazet
On Wed, 2015-07-15 at 12:52 +0300, Konstantin Khlebnikov wrote: > These functions check should_resched() before unlocking spinlock/bh-enable: > preempt_count always non-zero => should_resched() always returns false. > cond_resched_lock() worked iff spin_needbreak is set. Interesting, this definite

Re: [PATCH] drm: Fix warning with make xmldocs caused by drm_irq.c

2015-07-15 Thread Daniel Vetter
On Wed, Jul 15, 2015 at 07:25:42PM +0900, Masanari Iida wrote: > This patch fix following warnings. > > Warning(.//drivers/gpu/drm/drm_irq.c:1279): No description > found for parameter drm_crtc' > Warning(.//drivers/gpu/drm/drm_irq.c:1279): Excess function > parameter 'crtc' description in 'drm_cr

[PATCH 3/4] Input: tsc2005 - simplify drvdata acquisition

2015-07-15 Thread Sebastian Reichel
Do not convert device to spi_device just for getting the driver data, since spi_get_drvdata() just calls dev_get_drvdata(). Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/input/touc

[PATCH 2/4] Input: tsc2005 - convert to regmap

2015-07-15 Thread Sebastian Reichel
Convert driver, so that it uses regmap instead of directly using spi_transfer for all register accesses. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 170 1 file changed, 58 insertions(+), 112 deletions(-) diff --git a/drivers/i

[PATCH 1/4] Input: tsc2005 - improve readability of register defines

2015-07-15 Thread Sebastian Reichel
Improve defines for first control byte by removing 0x00 prefix (the defines are for 8 bit values and not for 16 bit values) and expose register structure by exposing the shift. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 28 ++-- 1 file chan

[PATCH 4/4] Input: tsc2005 - convert to gpiod

2015-07-15 Thread Sebastian Reichel
Convert driver to descriptor based GPIO API. Also fix the after-probe reset GPIO state, so that the device is not kept in reset state. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff -

[PATCH 0/4] [input] tsc2005 cleanup

2015-07-15 Thread Sebastian Reichel
Hi, The following patches simplify and cleanup the tsc2005 touchscreen driver. Apart from making the driver more readable, the direct usage of SPI has been reduced to one function, so that tsc2004 support may be addable now (see [0]). The driver could be further simplified by making the vio regul

Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity

2015-07-15 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Christoph Hellwig wrote: > Many years ago we decided to move setting of IRQ to core affnities to > userspace with the irqbalance daemon. > > These days we have systems with lots of MSI-X vector, and we have > hardware and subsystem support for per-CPU I/O queues in the block

Re: [BUG] mellanox IB driver fails to load on large config

2015-07-15 Thread Matan Barak
On 7/14/2015 11:28 PM, Alex Thorlton wrote: On Tue, Jul 14, 2015 at 11:06:26PM +0300, Or Gerlitz wrote: On Tue, Jul 14, 2015 at 9:48 PM, Alex Thorlton wrote: On Tue, Jul 14, 2015 at 01:22:34PM -0500, andrew banman wrote: On Sat, Jul 11, 2015 at 11:20:19PM +0300, Or Gerlitz wrote: On Fri, J

Re: [PATCH v2 3/3] ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY

2015-07-15 Thread Tony Lindgren
* Kishon Vijay Abraham I [150715 04:24]: > Hi Roger, > > On Tuesday 02 June 2015 02:40 PM, Roger Quadros wrote: > > This register is required to be passed to the SATA PHY driver > > to workaround errata i783 (SATA Lockup After SATA DPLL Unlock/Relock). > > > > Signed-off-by: Roger Quadros > > S

Re: [Patch V5 00/16] xen: support pv-domains larger than 512GB

2015-07-15 Thread Konrad Rzeszutek Wilk
On July 15, 2015 12:26:40 AM EDT, Juergen Gross wrote: >On 07/10/2015 03:39 PM, Konrad Rzeszutek Wilk wrote: >> On Fri, Jul 10, 2015 at 02:47:45PM +0200, Juergen Gross wrote: >>> Support 64 bit pv-domains with more than 512GB of memory. >>> >>> Following test have been done: >>> - 64 bit dom0 on 8

[PATCH 6/8][v2]usb:fsl:otg: Combine host/gadget start/resume for ID change

2015-07-15 Thread Ramneek Mehresh
Make call to fsl_otg_event for each id change even. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/usb/phy/phy-

[PATCH 2/8][v2]usb:fsl:otg: Add controller version based ULPI and UTMI phy

2015-07-15 Thread Ramneek Mehresh
Add controller version based ULPI and UTMI phy initialization for otg driver. Signed-off-by: Shengzhou Liu Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 20 drivers/usb/phy/phy-fs

[TECH TOPIC] IRQ affinity

2015-07-15 Thread Christoph Hellwig
Many years ago we decided to move setting of IRQ to core affnities to userspace with the irqbalance daemon. These days we have systems with lots of MSI-X vector, and we have hardware and subsystem support for per-CPU I/O queues in the block layer, the RDMA subsystem and probably the network stack

[PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-07-15 Thread Ramneek Mehresh
Add workqueue to add/remove host driver (outside interrupt context) upon each id change. Signed-off-by: Li Yang Signed-off-by: Ramneek Mehresh --- drivers/usb/host/ehci-fsl.c | 83 ++--- drivers/usb/host/ehci-fsl.h | 20 +++ 2 files changed, 84 in

[PATCH 8/8][v2]usb:fsl:otg: Add host-gadget drv sync delay

2015-07-15 Thread Ramneek Mehresh
Resolve synchronization issue between host and gadget drivers upon role-reversal. Signed-off-by: Ramneek Mehresh Reviewed-by: Li Yang-R58472 Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 12 +++- 1 file changed, 11 insertio

[PATCH 0/8][v2]Add OTG support for FSL socs

2015-07-15 Thread Ramneek Mehresh
Add support for otg for all freescale socs having internal usb phy. Ramneek Mehresh (8): usb:fsl:otg: Make fsl otg driver as tristate usb:fsl:otg: Add controller version based ULPI and UTMI phy usb:fsl:otg: Add support to add/remove usb host driver usb:fsl:otg: Signal host drv when host

Re: [PATCH 2/2] mm/cma_debug: correct size input to bitmap function

2015-07-15 Thread Michal Nazarewicz
On Wed, Jul 15 2015, Joonsoo Kim wrote: > In CMA, 1 bit in bitmap means 1 << order_per_bits pages so > size of bitmap is cma->count >> order_per_bits rather than > just cma->count. This patch fixes it. > > Signed-off-by: Joonsoo Kim Acked-by: Michal Nazarewicz > --- > mm/cma_debug.c | 7 --

Re: [PATCH 1/2] mm/cma_debug: fix debugging alloc/free interface

2015-07-15 Thread Michal Nazarewicz
On Wed, Jul 15 2015, Joonsoo Kim wrote: > CMA has alloc/free interface for debugging. It is intended that alloc/free > occurs in specific CMA region, but, currently, alloc/free interface is > on root dir due to the bug so we can't select CMA region where alloc/free > happens. > > This patch fixes t

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

2015-07-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9c0fa8dd3d58de8b688fda758eea1719949c7f0a Gitweb: http://git.kernel.org/tip/9c0fa8dd3d58de8b688fda758eea1719949c7f0a Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Jul 2015 08:26:35 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Jul 2015 16:06:09 -0300 pe

[tip:perf/urgent] perf symbols: Store if there is a filter in place

2015-07-15 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0bc2f2f7d080561cc484d2d0a162a9396bed3383 Gitweb: http://git.kernel.org/tip/0bc2f2f7d080561cc484d2d0a162a9396bed3383 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Jul 2015 08:21:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Jul 2015 08:21:57 -0300 pe

Re: [PATCH 6/6] cputime: Introduce cputime_to_timespec64()/timespec64_to_cputime()

2015-07-15 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Baolin Wang wrote: > On 15 July 2015 at 18:31, Thomas Gleixner wrote: > > On Wed, 15 Jul 2015, Baolin Wang wrote: > > > >> The cputime_to_timespec() and timespec_to_cputime() functions are > >> not year 2038 safe on 32bit systems due to that the struct timepsec > >> will over

Applied "regulator: da9062: Drop owner assignment from platform_driver" to the regulator tree

2015-07-15 Thread Mark Brown
The patch regulator: da9062: Drop owner assignment from platform_driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "regulator: drivers: Drop owner assignment from i2c_driver" to the regulator tree

2015-07-15 Thread Mark Brown
The patch regulator: drivers: Drop owner assignment from i2c_driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

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

2015-07-15 Thread Hans-Christian Egtvedt
Around Mon 13 Jul 2015 20:31:09 - or thereabout, Thomas Gleixner wrote: > 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:

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

2015-07-15 Thread Hans-Christian Egtvedt
Around Mon 13 Jul 2015 20:31:10 - or thereabout, Thomas Gleixner wrote: > 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: H

[PATCH 5/8][v2]usb:fsl:otg: Modify otg_event to start host drv

2015-07-15 Thread Ramneek Mehresh
Add mechanism to start host driver from inside fsl_otg_even upon each id change interrupt. Signed-off-by: Ramneek Mehresh Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/phy/phy-fsl-usb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/us

[PATCH 4/8][v2]usb:fsl:otg: Signal host drv when host is otg

2015-07-15 Thread Ramneek Mehresh
Set is_otg boolean flag to signal host driver when host is running in context of otg host suspend/resume. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/phy-fsl-usb.c | 7 ++- include/linux/usb.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/usb/p

[PATCH 7/8][v2]usb:fsl:otg: Remove host drv upon otg bring-up

2015-07-15 Thread Ramneek Mehresh
Change have_hcd variable to remove/suspend host driver on completion of otg initialization for otg auto detect. Signed-off-by: Ramneek Mehresh Reviewed-by: Li Yang-R58472 Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING --- drivers/usb/host/ehci-fsl.c | 2 ++ 1 file cha

[PATCH 1/8][v2]usb:fsl:otg: Make fsl otg driver as tristate

2015-07-15 Thread Ramneek Mehresh
Provide option to load fsl otg driver as loadable module. Signed-off-by: Ramneek Mehresh --- drivers/usb/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 869c0cfcad..8a09267 100644 --- a/drivers/usb/phy/Kconfi

Re: [PATCH 3/3] block: by default, limit maximum discard size to 64MB

2015-07-15 Thread Austin S Hemmelgarn
On 2015-07-14 17:48, Jens Axboe wrote: On 07/14/2015 02:45 PM, Jens Axboe wrote: On 07/14/2015 02:44 PM, Mike Snitzer wrote: On Tue, Jul 14 2015 at 2:48pm -0400, Jens Axboe wrote: Lots of devices exhibit very high latencies for big discards, hurting reads and writes. By default, limit the m

Re: [PATCH 6/6] cputime: Introduce cputime_to_timespec64()/timespec64_to_cputime()

2015-07-15 Thread Baolin Wang
On 15 July 2015 at 18:31, Thomas Gleixner wrote: > On Wed, 15 Jul 2015, Baolin Wang wrote: > >> The cputime_to_timespec() and timespec_to_cputime() functions are >> not year 2038 safe on 32bit systems due to that the struct timepsec >> will overflow in 2038 year. > > And how is this relevant? cput

Re: [RFC 2/3] arm64: refactor save_stack_trace()

2015-07-15 Thread AKASHI Takahiro
Steve, On 07/15/2015 11:51 AM, Steven Rostedt wrote: On Wed, 15 Jul 2015 09:20:42 +0900 AKASHI Takahiro wrote: On 07/14/2015 10:31 PM, Steven Rostedt wrote: On Tue, 14 Jul 2015 21:47:10 +0900 Jungseok Lee wrote: Is the below example an unexpected result? Entry 17 and 18 are ftrace_call an

Re: [PATCH 3/6] security: Introduce security_settime64()

2015-07-15 Thread Baolin Wang
On 15 July 2015 at 18:24, Thomas Gleixner wrote: > On Wed, 15 Jul 2015, Baolin Wang wrote: > >> security_settime() returns a timespec, which is not year 2038 safe > > It returns int, which is year 2038 safe on all systems. Copy and paste > is great, right? > Sorry, will fix that. >> -int securit

Re: [GIT PULL 0/2] perf/urgent fixes

2015-07-15 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > 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 reposi

Re: [PATCH 20/36] powerpc, thp: remove infrastructure for handling splitting PMDs

2015-07-15 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > With new refcounting we don't need to mark PMDs splitting. Let's drop > code to handle this. > > pmdp_splitting_flush() is not needed too: on splitting PMD we will do > pmdp_clear_flush() + set_pte_at(). pmdp_clear_flush() will do IPI as > needed for fast_gup. > Re

Re: [PATCH 00/36] THP refcounting redesign

2015-07-15 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > Hello everybody, > > The THP refcounting has been rebased onto current since-4.1 as requested. > > The goal of patchset is to make refcounting on THP pages cheaper with > simpler semantics and allow the same THP compound page to be mapped with > PMD and PTEs. This i

Re: [GIT PULL] x86/ras material for 4.3 queue

2015-07-15 Thread Ingo Molnar
* Luck, Tony wrote: > Some of these almost made it into 4.2, then we found a bug and > delayed to fix it. Bug fixes have now been merged back into > the original patch series. > > The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: > > Linux 4.2-rc1 (2015-07-05 11:0

Re: [PATCH] regulator: core: Fix memory leak in regulator_resolve_supply()

2015-07-15 Thread Mark Brown
On Wed, Jul 15, 2015 at 10:38:38AM +0200, Javier Martinez Canillas wrote: > On 07/15/2015 10:01 AM, Krzysztof Kozlowski wrote: > > The _regulator_put() reverts more work than create_regulator() did, > > e.g.: module_put and rdev->open_count--. Maybe you need a > > destroy_regulator() function? >

Re: [PULL] vhost: cleanups and fixes

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 01:50:24PM +0300, Michael S. Tsirkin wrote: > The following changes since commit 59a5b0f7bf74f88da6670bcbf924d8cc1e75b1ee: > > virtio-pci: alloc only resources actually used. (2015-06-24 08:15:09 +0200) > > are available in the git repository at: > > git://git.kernel.

Re: [PATCH perf/core ] [BUGFIX] perf build-test: Add linux/export.h and lib/rbtree.c to MANIFEST

2015-07-15 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 15, 2015 at 03:07:18PM +0900, Masami Hiramatsu escreveu: > Since linux/export.h and lib/rbtree.c are not listed in MANIFEST, > `make build-test` always fails as below (Note, to get these messages, > I've removed /dev/null redirect in tests/perf-targz-src-pkg); See: https://git.kernel.

Re: [PATCH v2 3/3] ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY

2015-07-15 Thread Kishon Vijay Abraham I
Hi Roger, On Tuesday 02 June 2015 02:40 PM, Roger Quadros wrote: > This register is required to be passed to the SATA PHY driver > to workaround errata i783 (SATA Lockup After SATA DPLL Unlock/Relock). > > Signed-off-by: Roger Quadros > Signed-off-by: Sekhar Nori > --- > arch/arm/boot/dts/dra7

Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-07-15 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 15, 2015 at 06:49:40PM +0800, Wangnan (F) escreveu: > On 2015/7/14 23:36, Arnaldo Carvalho de Melo wrote: > >I have the trees cloned and plan to follow these instructions to have this > >test > >passing, to then move on to the next patches, but one request, please change > >the above t

Re: [PATCH 0/3] zsmalloc: small compaction improvements

2015-07-15 Thread Sergey Senozhatsky
On (07/15/15 09:24), Minchan Kim wrote: > On Wed, Jul 15, 2015 at 09:21:06AM +0900, Sergey Senozhatsky wrote: > > On (07/15/15 01:52), Minchan Kim wrote: > > > > alrighty... again... > > > > > > > > > > > > > > > > /sys/block/zram/compact is a black box. We provide it, we don't > > > > > > thrott

[PATCH 3/5] memcg: get rid of extern for functions in memcontrol.h

2015-07-15 Thread Michal Hocko
From: Michal Hocko Most of the exported functions in this header are not marked extern so change the rest to follow the same style. Reviewed-by: Vladimir Davydov Signed-off-by: Michal Hocko --- include/linux/memcontrol.h | 16 1 file changed, 8 insertions(+), 8 deletions(-)

[PATCH 2/5] memcg: get rid of mem_cgroup_root_css for !CONFIG_MEMCG

2015-07-15 Thread Michal Hocko
The only user is cgwb_bdi_init and that one depends on CONFIG_CGROUP_WRITEBACK which in turn depends on CONFIG_MEMCG so it doesn't make much sense to definte an empty stub for !CONFIG_MEMCG. Moreover ERR_PTR(-EINVAL) is ugly and would lead to runtime crashes if used in unguarded code paths. Better

[PATCH 4/5] memcg: restructure mem_cgroup_can_attach()

2015-07-15 Thread Michal Hocko
From: Tejun Heo Restructure it to lower nesting level and help the planned threadgroup leader iteration changes. This is pure reorganization. Reviewed-by: Vladimir Davydov Signed-off-by: Tejun Heo Cc: Johannes Weiner Acked-by: Michal Hocko --- mm/memcontrol.c | 61 +

Re: [Intel-gfx] [-next] WARNING at i915_gem_track_fb

2015-07-15 Thread Sergey Senozhatsky
On (07/15/15 11:51), Michel Dänzer wrote: > On 14.07.2015 22:41, Sergey Senozhatsky wrote: > > > > sometimes `xset dpms force off' just turns off the panel for a second, > > sometimes -- until I generate a `wakeup' event (key press, etc.) > > FWIW, the former case is because releasing the enter k

[PATCH 0/5] expose mem_cgroup + cleanups

2015-07-15 Thread Michal Hocko
Hi, this is just the cleanup portion of the series posted previously here: http://marc.info/?l=linux-kernel&m=143635871831843. I am still thinking about how to move on regarding mm_struct::owner but this is more tricky than originally anticipated. The cleanup still makes some sense IMO. I have inc

[PATCH 5/5] memcg, tcp_kmem: check for cg_proto in sock_update_memcg

2015-07-15 Thread Michal Hocko
From: Michal Hocko sk_prot->proto_cgroup is allowed to return NULL but sock_update_memcg doesn't check for NULL. The function relies on the mem_cgroup_is_root check because we shouldn't get NULL otherwise because mem_cgroup_from_task will always return !NULL. All other callers are checking for N

[PATCH 1/5] memcg: export struct mem_cgroup

2015-07-15 Thread Michal Hocko
From: Michal Hocko mem_cgroup structure is defined in mm/memcontrol.c currently which means that the code outside of this file has to use external API even for trivial access stuff. This patch exports mm_struct with its dependencies and makes some of the exported functions inlines. This even hel

Re: [Intel-gfx] [-next] WARNING at i915_gem_track_fb

2015-07-15 Thread Sergey Senozhatsky
On (07/14/15 17:11), Daniel Vetter wrote: > Have you forwarded to a more recent -nightly? I just merged a patch which > might have fixed this ... > Hello, yep, I use the most recent -next usually (update it everyday), when it boots. I can't reproduce the problem so far, hopefully the commit you m

Re: [PATCH v4 1/2] capabilities: Ambient capabilities

2015-07-15 Thread James Morris
On Tue, 14 Jul 2015, Andy Lutomirski wrote: > = The proposed change = > > This patch adds a fifth capability mask called the ambient mask > (pA). pA does what most people expect pI to do. > This looks good, and I think it will lead to better overall security because people will find c

[PATCH] arm64: Split out platform options to separate Kconfig

2015-07-15 Thread Olof Johansson
Let's move out the platform Kconfig entries to a separate file, since these changes usually get moved through arm-soc instead of the arm64 arch tree, and this will lead to fewer conflicts Signed-off-by: Olof Johansson --- Will, Catalin, I'll merge this through arm-soc if I get your acks. Thanks!

Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-07-15 Thread Wangnan (F)
On 2015/7/14 23:36, Arnaldo Carvalho de Melo wrote: Em Thu, Jul 09, 2015 at 12:35:03PM +, Wang Nan escreveu: Hi Arnaldo, The following changes since commit 3381a29cbec5447086c0f726ee9a88c02e60becc: bpf tools: Collect map definitions from 'maps' section (2015-07-07 13:41:45 -0300) ar

Re: 4.2-rc2: early boot memory corruption from FPU rework

2015-07-15 Thread Ingo Molnar
* Dave Hansen wrote: > On 05/05/2015 10:49 AM, Ingo Molnar wrote: > > @@ -574,12 +573,10 @@ static void setup_init_fpu_buf(void) > > on_boot_cpu = 0; > > > > /* > > -* Setup init_xstate_buf to represent the init state of > > +* Setup init_xstate_ctx to represent the init state

[PATCH 3.16.y-ckt 001/185] ARM: clk-imx6q: refine sata's parent

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastien Szymanski commit da946aeaeadcd24ff0cda9984c6fb8ed2bfd462a upstream. According to IMX6D/Q RM, table 18-3, sata clock's parent is ahb, not ipg. Signed-off-by: Sebastien Szym

[PATCH 3.16.y-ckt 003/185] nfs: take extra reference to fl->fl_file when running a setlk

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit feaff8e5b2cfc3eae02cf65db7a400b0b9ffc596 upstream. We had a report of a crash while stress testing the NFS client: BUG: unable to handle kernel NULL pointer d

[PATCH 3.16.y-ckt 004/185] bridge: fix multicast router rlist endless loop

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 1a040eaca1a22f8da8285ceda6b5e4a2cb704867 upstream. Since the addition of sysfs multicast router support if one set multicast_router to "2" more than once,

[PATCH 3.16.y-ckt 002/185] KVM: nSVM: Check for NRIPS support before updating control field

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Bandan Das commit f104765b4f81fd74d69e0eb161e89096deade2db upstream. If hardware doesn't support DecodeAssist - a feature that provides more information about the intercept in the VM

[PATCH updated 16/39] perf tests: Add LLVM test for eBPF on-the-fly compiling

2015-07-15 Thread Wang Nan
Previous patches introduce llvm__compile_bpf() to compile source file to eBPF object. This patch adds testcase to test it. It also tests libbpf by opening generated object after applying next patch which introduces HAVE_LIBBPF_SUPPORT option. Since llvm__compile_bpf() prints long messages which us

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Nikolay Borisov
On 07/15/2015 01:26 PM, Jan Kara wrote: > Hello, > > so I have created this patch set which removes ext3 driver (and some > related support > code) from the kernel. See changelog of patch 2/3 for more details. If noone > objects, > I will queue the series in my tree for the next merge wind

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

2015-07-15 Thread Will Deacon
Hi Paul, On Wed, Jul 15, 2015 at 02:38:20AM +0100, Paul E. McKenney wrote: > On Tue, Jul 14, 2015 at 12:31:44PM -0700, Paul E. McKenney wrote: > > On Tue, Jul 14, 2015 at 03:12:16PM +0100, Will Deacon wrote: > > > On Tue, Jul 14, 2015 at 03:00:14PM +0100, Paul E. McKenney wrote: > > > > On Tue, Ju

[PULL] vhost: cleanups and fixes

2015-07-15 Thread Michael S. Tsirkin
The following changes since commit 59a5b0f7bf74f88da6670bcbf924d8cc1e75b1ee: virtio-pci: alloc only resources actually used. (2015-06-24 08:15:09 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch change

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

2015-07-15 Thread Hidehiro Kawai
(2015/07/15 0:40), Vivek Goyal wrote: > On Tue, Jul 14, 2015 at 03:34:30PM +, dwal...@fifo99.com wrote: >> On Tue, Jul 14, 2015 at 11:02:08AM -0400, Vivek Goyal wrote: >>> On Tue, Jul 14, 2015 at 01:59:19PM +, dwal...@fifo99.com wrote: On Mon, Jul 13, 2015 at 08:19:45PM -0500, Eric W.

Re: 4.2-rc2: hitting "file-max limit 8192 reached"

2015-07-15 Thread Mel Gorman
On Tue, Jul 14, 2015 at 08:54:11AM -0700, Dave Hansen wrote: > My laptop has been behaving strangely with 4.2-rc2. Once I log in to my > X session, I start getting all kinds of strange errors from applications > and see this in my dmesg: > > VFS: file-max limit 8192 reached > > Could this

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

2015-07-15 Thread Will Deacon
Hi Michael, On Wed, Jul 15, 2015 at 04:06:18AM +0100, Michael Ellerman wrote: > On Tue, 2015-07-14 at 08:31 +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2015-07-13 at 13:15 +0100, Will Deacon wrote: > > > This didn't go anywhere last time I posted it, but here it is again. > > > I'd really app

RE: [PATCH] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-15 Thread Yao Yuan
Hi Arnd, Thanks for your review. And can you give me more information? In my opinion, The fsl_edma_pm_state will just be used when CONFIG_PM support. So why not use the #ifdefs to remove the unnecessary code? Since the PM will not be selected in many use cases. Thanks. Best Regards, Yuan Yao

Re: [PATCH] e1000e: Move e1000e_disable_aspm_locked() inside CONFIG_PM

2015-07-15 Thread Jeff Kirsher
On Tue, 2015-07-14 at 13:54 +1000, Michael Ellerman wrote: > e1000e_disable_aspm_locked() is only used in __e1000_resume() which is > inside CONFIG_PM. So when CONFIG_PM=n we get a "defined but not used" > warning for e1000e_disable_aspm_locked(). > > Move it inside the existing CONFIG_PM block to

Re: [PATCH 6/6] cputime: Introduce cputime_to_timespec64()/timespec64_to_cputime()

2015-07-15 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Baolin Wang wrote: > The cputime_to_timespec() and timespec_to_cputime() functions are > not year 2038 safe on 32bit systems due to that the struct timepsec > will overflow in 2038 year. And how is this relevant? cputime is not based on wall clock time at all. So what has 203

[PATCH] drm: Fix warning with make xmldocs caused by drm_irq.c

2015-07-15 Thread Masanari Iida
This patch fix following warnings. Warning(.//drivers/gpu/drm/drm_irq.c:1279): No description found for parameter drm_crtc' Warning(.//drivers/gpu/drm/drm_irq.c:1279): Excess function parameter 'crtc' description in 'drm_crtc_vblank_reset' Signed-off-by: Masanari Iida --- drivers/gpu/drm/drm_ir

[PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Jan Kara
Hello, so I have created this patch set which removes ext3 driver (and some related support code) from the kernel. See changelog of patch 2/3 for more details. If noone objects, I will queue the series in my tree for the next merge window. Jens, are you OK with me merging patch 3/3 or do yo

[PATCH 1/3] doc: Update doc about journalling layer

2015-07-15 Thread Jan Kara
Documentation of journalling layer in Documentation/DocBook/filesystems.tmpl speaks about JBD layer. Since that is going away, update the documentation to speak about JBD2. Also update the parts that have changed since someone last touched the document and remove some parts which are just misleadin

[PATCH 3/3] block: Remove forced page bouncing under IO

2015-07-15 Thread Jan Kara
From: Jan Kara JBD layer wrote back data buffers without setting PageWriteback bit. Thus standard mechanism for guaranteeing stable pages under IO did not work. Since JBD is gone now and there is no other user of the functionality, just remove it. CC: Jens Axboe Signed-off-by: Jan Kara --- bl

Re: [PATCH 3/6] security: Introduce security_settime64()

2015-07-15 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Baolin Wang wrote: > security_settime() returns a timespec, which is not year 2038 safe It returns int, which is year 2038 safe on all systems. Copy and paste is great, right? > -int security_settime(const struct timespec *ts, const struct timezone *tz); > +int security_sett

Re: [PATCH v7 0/4] Compile-time stack validation

2015-07-15 Thread Ingo Molnar
* Josh Poimboeuf wrote: > On Tue, Jul 14, 2015 at 12:14:06PM -0500, Josh Poimboeuf wrote: > > Posting a listing of reported warnings in a reply to this email. > > These are the reported stackvalidate warnings on tip/master with my > Fedora-based > config. There were 1399 warnings in 26 .c fi

[PATCH 3.16.y-ckt 006/185] sctp: fix ASCONF list handling

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 2d45a02d0166caf2627fe91897c6ffc3b19514c4 upstream. ->auto_asconf_splist is per namespace and mangled by functions like sctp_setsockopt_auto_asconf() wh

[PATCH 3.16.y-ckt 013/185] sctp: Fix race between OOTB responce and route removal

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin commit 29c4afc4e98f4dc0ea9df22c631841f9c220b944 upstream. There is NULL pointer dereference possible during statistics update if the route used for OOTB responce i

[PATCH 3.16.y-ckt 010/185] neigh: do not modify unlinked entries

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov commit 2c51a97f76d20ebf1f50fef908b986cb051fdff9 upstream. The lockless lookups can return entry that is unlinked. Sometimes they get reference before last neigh_clea

[PATCH 3.16.y-ckt 005/185] net: don't wait for order-3 page allocation

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit fb05e7a89f500cfc06ae277bdc911b281928995d upstream. We saw excessive direct memory compaction triggered by skb_page_frag_refill. This causes performance issues and a

Re: [PATCH v4 3/6] cpufreq: powernv: Register for OCC related opal_message notification

2015-07-15 Thread Shilpasri G Bhat
Hi Joel, On 07/15/2015 11:47 AM, Joel Stanley wrote: > Hello, > > On Mon, 2015-07-13 at 19:39 +0530, Shilpasri G Bhat wrote: >> diff --git a/drivers/cpufreq/powernv-cpufreq.c >> b/drivers/cpufreq/powernv-cpufreq.c >> index d0c18c9..1f59958 100644 >> --- a/drivers/cpufreq/powernv-cpufreq.c >> +++

[PATCH 3.16.y-ckt 012/185] net: phy: fix phy link up when limiting speed via device tree

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Mugunthan V N commit eb686231fce3770299760f24fdcf5ad041f44153 upstream. When limiting phy link speed using "max-speed" to 100mbps or less on a giga bit phy, phy never completes auto

[PATCH 3.16.y-ckt 007/185] bridge: fix br_stp_set_bridge_priority race conditions

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 2dab80a8b486f0a69daca6859519e05781d9 upstream. After the ->set() spinlocks were removed br_stp_set_bridge_priority was left running without any protect

[PATCH 3.16.y-ckt 017/185] [media] af9013: Don't accept invalid bandwidth

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit d7b76c91f471413de9ded837bddeca2164786571 upstream. If userspace sends an invalid bandwidth, it should either return EINVAL or switch to auto mode. This

[PATCH 3.16.y-ckt 015/185] [media] s5h1420: fix a buffer overflow when checking userspace params

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 12f4543f5d6811f864e6c4952eb27253c7466c02 upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows t

[PATCH 3.16.y-ckt 016/185] [media] cx24116: fix a buffer overflow when checking userspace params

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 1fa2337a315a2448c5434f41e00d56b01a22283c upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows t

[PATCH 3.16.y-ckt 022/185] leds / PM: fix hibernation on arm when gpio-led used with CPU led trigger

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko commit 084609bf727981c7a2e6e69aefe0052c9d793300 upstream. Setting a dev_pm_ops suspend/resume pair of callbacks but not a set of hibernation callbacks means those p

[PATCH 3.16.y-ckt 011/185] tcp: Do not call tcp_fastopen_reset_cipher from interrupt context

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch commit dfea2aa654243f70dc53b8648d0bbdeec55a7df1 upstream. tcp_fastopen_reset_cipher really cannot be called from interrupt context. It allocates the tcp_fastopen_con

[PATCH/Resend] namei: Fix warning while make xmldocs caused by namei.c

2015-07-15 Thread Masanari Iida
This patch fix following warnings. Warning(.//fs/namei.c:2422): No description found for parameter 'nd' Warning(.//fs/namei.c:2422): Excess function parameter 'nameidata' description in 'path_mountpoint' Signed-off-by: Masanari Iida --- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 3.16.y-ckt 021/185] intel_pstate: set BYT MSR with wrmsrl_on_cpu()

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Konno commit 0dd23f94251f49da99a6cbfb22418b2d757d77d6 upstream. Commit 007bea098b86 (intel_pstate: Add setting voltage value for baytrail P states.) introduced byt_set_pstate() w

[PATCH 3.16.y-ckt 018/185] [media] cx24117: fix a buffer overflow when checking userspace params

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 82e3b88b679049f043fe9b03991d6d66fc0a43c8 upstream. The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows t

[PATCH 3.16.y-ckt 009/185] packet: avoid out of bounds read in round robin fanout

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn commit 468479e6043c84f5a65299cc07cb08a22a28c2b1 upstream. PACKET_FANOUT_LB computes f->rr_cur such that it is modulo f->num_members. It returns the old value uncondi

[PATCH 3.16.y-ckt 033/185] w1_therm reference count family data

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: David Fries commit f7134eea05b2fb4a2c0935f8a540539fff01f3eb upstream. A temperature conversion can take 750 ms and when possible the w1_therm slave driver drops the bus_mutex to allo

<    4   5   6   7   8   9   10   11   12   >