[PATCH V4 17/23] perf script: Always allow fields 'addr' and 'cpu' for itrace

2015-01-08 Thread Adrian Hunter
If a file contains Instruction Tracing data then always allow fields 'addr' and 'cpu' to be selected as options for perf script. This is necessary because Instruction Trace decoding may synthesize events with that information. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH V4 20/23] perf inject: Add Instruction Tracing support

2015-01-08 Thread Adrian Hunter
Add support for decoding an Instruction Trace. The Instruction Tracing events are stripped and replaced by synthesized events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/Documentation/perf-inject.txt | 27 tools/perf/builtin-inject.c | 71

Re: [PATCH] regulator: core: fix race condition in regulator_put()

2015-01-08 Thread ashayj
Thanks Mark for your review comments. On Wed, Jan 07, 2015 at 07:21:23PM +0530, Ashay Jaiswal wrote: The regulator framework maintains a list of consumer regulators for a regulator device and protects it from concurrent access using the regulator device's mutex lock. In the case of

[PATCH V4 11/23] perf itrace: Add helpers for queuing Instruction Tracing data

2015-01-08 Thread Adrian Hunter
Provide functions to queue Instruction Tracing data buffers for processing. A Instruction Trace decoder need not use the queues, however Intel BTS and Intel PT will use them. There is one queue for each of the mmap buffers that were used for recording. Because those mmaps were associated with

[PATCH V4 13/23] perf itrace: Add processing for Instruction Tracing events

2015-01-08 Thread Adrian Hunter
Provide hooks so that an Instruction Trace decoder can process Instruction Tracing events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/itrace.c | 49 tools/perf/util/itrace.h | 13 + 2 files changed, 62

[PATCH] xfs: fix implicit bool to int conversion

2015-01-08 Thread Nicholas Mc Guire
try_wait_for_completion returns bool so the wrapper function xfs_dqflock_nowait should probably also return bool and not int. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- patch was only compile tested x86_64_defconfig + CONFIG_XFS_FS=m CONFIG_XFS_QUOTA=y patch is against linux-next

[PATCH V4 12/23] perf itrace: Add a heap for sorting Instruction Tracing queues

2015-01-08 Thread Adrian Hunter
In order to process Instruction Tracing data in time order, the queue with data with the lowest timestamp must be processed first. Provide a heap to keep track of which queue that is. As with the queues, a decoder does not have to use the heap, but Intel BTS and Intel PT will use it.

[PATCH V4 14/23] perf itrace: Add a hashtable for caching decoded instructions

2015-01-08 Thread Adrian Hunter
Decoding Instruction Trace data may involve walking object code. Rather than repetitively decoding the same instructions, a cache can be used to cache the results. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/itrace.c | 123

[PATCH V4 15/23] perf tools: Add member to struct dso for an instruction cache

2015-01-08 Thread Adrian Hunter
Add a member to struct dso that can be used by Instruction Trace implementations to hold a cache for decoded instructions. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/dso.c | 2 ++ tools/perf/util/dso.h | 3 +++ 2 files changed, 5 insertions(+) diff --git

[PATCH V4 10/23] perf itrace: Add helpers for Instruction Tracing errors

2015-01-08 Thread Adrian Hunter
Add functions to synthesize, count and print Instruction Tracing error events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/itrace.c | 55 tools/perf/util/itrace.h | 16 ++ 2 files changed, 71 insertions(+)

[PATCH V4 09/23] perf session: Add Instruction Tracing options

2015-01-08 Thread Adrian Hunter
It is assumed that Instruction Trace decoding will synthesize events for consumption by other tools. The nature of Instruction Tracing suggests the initial inclusion of options for instructions and branches events, but more could be added as needed. Signed-off-by: Adrian Hunter

[PATCH V4 05/23] perf record: Add basic Instruction Tracing support

2015-01-08 Thread Adrian Hunter
Amend the perf record tool to read the Instruction Tracing mmap and synthesize Instruction Tracing events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-record.c | 99 +++-- 1 file changed, 86 insertions(+), 13 deletions(-)

[PATCH V4 06/23] perf record: Extend -m option for Instruction Tracing mmap pages

2015-01-08 Thread Adrian Hunter
Extend the -m option so that the number of mmap pages for Instruction Tracing can be specified. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/Documentation/perf-record.txt | 2 ++ tools/perf/builtin-record.c | 49 ++--

[PATCH V4 03/23] perf tools: Add user events for Instruction Tracing

2015-01-08 Thread Adrian Hunter
Add two user events for Instruction Tracing. PERF_RECORD_ITRACE_INFO contains metadata, consisting primarily the type of the Instruction Tracing data plus some amount of architecture-specific information. There should be only one PERF_RECORD_ITRACE_INFO event. PERF_RECORD_ITRACE identifies

Re: DRAM unreliable under specific access patern

2015-01-08 Thread One Thousand Gnomes
On Mon, 5 Jan 2015 18:26:07 -0800 Andy Lutomirski l...@amacapital.net wrote: On Mon, Jan 5, 2015 at 6:18 PM, Kirill A. Shutemov kir...@shutemov.name wrote: On Mon, Jan 05, 2015 at 05:57:24PM -0800, Andy Lutomirski wrote: On Mon, Jan 5, 2015 at 5:47 PM, Kirill A. Shutemov

Re: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-08 Thread Bryan O'Donoghue
On 08/01/15 00:04, Ong, Boon Leong wrote: Hi Boon Leong - skipping the simple stuff. +/** + * imr_del_range - Delete an Isolated Memory Region + * @reg: IMR index to remove + * @base: Physical base address of region aligned to 4k + * @size: Physical size of region in bytes + * @return:

Re: [PATCH v4] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-08 Thread Paolo Bonzini
On 08/01/2015 03:57, Fam Zheng wrote: There is a race condition in virtscsi_handle_event, when many device hotplug/unplug events flush in quickly. The scsi_remove_device in virtscsi_handle_transport_reset may trigger the BUG_ON in scsi_target_reap, because the state is altered behind it,

Re: [PATCH net] ipv6: Prevent ipv6_find_hdr() from returning ENOENT for valid non-first fragments

2015-01-08 Thread Hannes Frederic Sowa
On Do, 2015-01-08 at 02:18 +0530, Rahul Sharma wrote: Hi Hannes, On Wed, Jan 7, 2015 at 4:13 PM, Hannes Frederic Sowa han...@stressinduktion.org wrote: Hi, On Mi, 2015-01-07 at 11:11 +0530, Rahul Sharma wrote: On Wed, Jan 7, 2015 at 4:17 AM, Pablo Neira Ayuso pa...@netfilter.org

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread One Thousand Gnomes
On Mon, 5 Jan 2015 22:09:45 -0500 Peter Hurley pe...@hurleysoftware.com wrote: Some arches have no need to create unprobed 8250 ports; these phantom ports are primarily required for ISA ports which have no probe mechanism or to provide non-operational ports for userspace to configure (via

Re: [Xen-devel] [RFC 2/2] x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader

2015-01-08 Thread David Vrabel
On 23/12/2014 00:39, Andy Lutomirski wrote: The pvclock vdso code was too abstracted to understand easily and excessively paranoid. Simplify it for a huge speedup. This opens the door for additional simplifications, as the vdso no longer accesses the pvti for any vcpu other than vcpu 0.

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

2015-01-08 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 5b5e76218fbdbb71a01d5480f289ead624232876: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

Re: [PATCH 0/8] Atmel System Timer cleanups

2015-01-08 Thread Boris Brezillon
Hi Alexandre, On Mon, 5 Jan 2015 13:06:37 +0100 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: This patch sets cleans up the system timer driver. The main goal is to get rid of the mach/ headers dependency. At the same time, it introduces proper probing and locking (using a

Re: [PATCH 2/3] mm/compaction: add more trace to understand compaction start/finish condition

2015-01-08 Thread Joonsoo Kim
On Tue, Jan 06, 2015 at 12:04:28PM +0100, Vlastimil Babka wrote: On 12/03/2014 08:52 AM, Joonsoo Kim wrote: It is not well analyzed that when compaction start and when compaction finish. With this tracepoint for compaction start/finish condition, I can find following bug.

[PATCH] kbuild: drop $(version_h) from MRPROPER_FILES

2015-01-08 Thread Masahiro Yamada
Now $(version_h) is include/generated/uapi/linux/version.h. $(version_h) in MRPROPER_FILES is redundant because it is covered by include/generated in MRPROPER_DIRS. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: Questions about IOMMU PCIe switch

2015-01-08 Thread Clemens Ladisch
Raimonds Cicans wrote: https://github.com/ljalves/linux_media/issues/66 If the TBS driver works, why don't you use it? The WARNING from the kernel log indicates a hardware bug in the PCIe bridge. Do you have the same card, and do you also get this warning with kernel 3.16? I/O virtualization

Re: [PATCH net-next v2 0/8] net: extend ethtool link mode bitmaps to 48 bits

2015-01-08 Thread Amir Vadai
On 1/6/2015 7:36 PM, David Decotigny wrote: Interesting. It seems that the band-aid I was proposing is already obsolete. We could still use the remaining reserved 16 bits to encode 5 more bits per mask (that is: 53 bits / mask total). But if I understand you, it would allow us to survive only

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Olliver Schinagl
Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl oli...@schinagl.nl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates

Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 06:24:39PM +0300, Dmitry Osipenko wrote: 07.01.2015 17:33, Thierry Reding пишет: On Tue, Dec 09, 2014 at 10:36:50PM +, Paul Walmsley wrote: Tegra SoCs with 64-bit ARM support don't currently support deep CPU low-power states in mainline Linux. When this

Re: [PATCH v3 0/4] PCI: get DMA configuration from parent device

2015-01-08 Thread Arnd Bergmann
On Wednesday 07 January 2015 18:04:41 Murali Karicheri wrote: On 01/07/2015 04:18 PM, Arnd Bergmann wrote: On Wednesday 07 January 2015 13:49:50 Murali Karicheri wrote: PCI devices on Keystone doesn't have correct dma_pfn_offset set. This patch add capability to set the dma configuration

[PATCH] ARM: clocksource: add asm9260_timer driver

2015-01-08 Thread Oleksij Rempel
In some cases asm9260 looks similar to iMX2x. One of exceptions is timer controller. So this patch introduces new driver for this special case. Signed-off-by: Oleksij Rempel li...@rempel-privat.de Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/clocksource/Kconfig | 9 ++

[PATCH v2] tty: serial: msm_serial: Remove duplicate code in msm_console_setup

2015-01-08 Thread Pramod Gurav
The changes done here are already being done somewhere else in code. - The function msm_init_clock() is also called while doing msm_startup hence removing. - msm_set_baud_rate() is anyway called in uart_set_options when it calls msm_set_termios(). msm_reset() is called when we change the

Re: [PATCHSET RFC block/for-next] writeback: cgroup writeback support

2015-01-08 Thread Jan Kara
Hello, On Tue 06-01-15 16:25:37, Tejun Heo wrote: blkio cgroup (blkcg) is severely crippled in that it can only control read and direct write IOs. blkcg can't tell which cgroup should be held responsible for a given writeback IO and charges all of them to the root cgroup - all normal write

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-08 Thread Thierry Reding
On Thu, Jan 08, 2015 at 12:25:18PM +0800, Vince Hsu wrote: On 01/07/2015 10:48 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Jan 07, 2015 at 10:28:29PM +0800, Vince Hsu wrote: On 04:08:52PM Jan 07, Peter De Schrijver wrote: On Wed, Jan 07, 2015 at 02:27:10PM +0100,

Re: [PATCH] vhost/net: length miscalculation

2015-01-08 Thread Michael S. Tsirkin
On Wed, Jan 07, 2015 at 11:58:00PM +0300, Sergei Shtylyov wrote: Hello. On 01/07/2015 11:55 AM, Michael S. Tsirkin wrote: commit 8b38694a2dc8b18374310df50174f1e4376d6824 vhost/net: virtio 1.0 byte swap had this chunk: - heads[headcount - 1].len += datalen; +

Re: [PATCH] net/at91_ether: prepare and unprepare clock

2015-01-08 Thread Boris Brezillon
On Wed, 7 Jan 2015 23:59:26 +0100 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: The clock is enabled without being prepared, this leads to: WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:889 __clk_enable+0x24/0xa8() and a non working ethernet interface. Use

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-08 Thread Heikki Krogerus
On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote: This makes it possible to assign GPIOs at runtime. The motivation for it is because of need to forward GPIOs from one device to an other. That feature may be useful for example with some mfd devices, but initially it is needed

[PATCH RFT/RFC] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-08 Thread Sudeep Holla
This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e (drivers: base: support cpu cache information interface to userspace via sysfs) Signed-off-by: Sudeep Holla sudeep.ho...@arm.com Cc: Benjamin

Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-08 Thread Davidlohr Bueso
On Wed, 2015-01-07 at 23:50 -0800, Davidlohr Bueso wrote: On Wed, 2015-01-07 at 23:45 -0800, Davidlohr Bueso wrote: On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote: Cc'ing Peter. Err, resending with the complete msg. FYI, we noticed the below changes on commit

Re: [PATCH V2 2/2] bfin_can: rewrite the driver to support the common

2015-01-08 Thread Marc Kleine-Budde
On 01/08/2015 07:57 AM, Aaron Wu wrote: Rewrite the driver to comply to common style with MMU Signed-off-by: Aaron Wu aaron...@analog.com Can you please rephrase the subject into a more complete English sentence. You may use something like convert driver to use devm_ioremap_resource() ---

Re: [PATCH] bfin_can: rewrite the blackfin CAN driver into arch independent style

2015-01-08 Thread Marc Kleine-Budde
On 01/08/2015 08:13 AM, Wu, Aaron wrote: Thanks for your comments. I've split it into two parts and submit patches of V2. Thanks! Do you mind if I fix potential bugs with future patches? Patches, especially bug fixes are always welcome. Marc -- Pengutronix e.K. | Marc

[PATCH] clk support for Alphascale asm9260

2015-01-08 Thread Oleksij Rempel
Hello, this patch provides clk support for Alphascale asm9260 SoC. As was suggested by one of ARM maintainers, I explicitly ask you to merge this patch :D Oleksij Rempel (1): ARM: clk: add clk-asm9260 driver drivers/clk/Makefile | 1 + drivers/clk/clk-asm9260.c

Re: [PATCHv2 1/1] vfs: renumber FMODE_NONOTIFY and add to uniqueness check

2015-01-08 Thread David Drysdale
On Wed, Jan 7, 2015 at 12:29 AM, Andrew Morton a...@linux-foundation.org wrote: On Mon, 24 Nov 2014 11:23:19 + David Drysdale drysd...@google.com wrote: Fix clashing values for O_PATH and FMODE_NONOTIFY on sparc. The clashing O_PATH value was added in 5229645bdc35f1cc43eb (vfs: add

[PATCH RESEND] nfs: prevent truncate on active swapfile

2015-01-08 Thread Omar Sandoval
Most filesystems prevent truncation of an active swapfile by way of inode_newsize_ok, called from inode_change_ok. NFS doesn't call either from nfs_setattr, presumably because most of these checks are expected to be done server-side. However, the IS_SWAPFILE check can only be done client-side, and

Re: [PATCH v2 3/5] nfs: don't dirty ITER_BVEC pages read through direct I/O

2015-01-08 Thread Omar Sandoval
On Mon, Jan 05, 2015 at 09:41:00AM -0500, Anna Schumaker wrote: Hi Omar, On 12/19/2014 10:18 PM, Omar Sandoval wrote: As with the generic blockdev code, kernel pages shouldn't be dirtied by the direct I/O path. Signed-off-by: Omar Sandoval osan...@osandov.com --- fs/nfs/direct.c

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-08 Thread Peter De Schrijver
And specify the dependencies between domains in DT? I think the dependencies could be in the driver. Of course the power domains are per-SoC data, so really shouldn't be in the DTS either (the data is all implied by the compatible value) but there's no good way to get at the clocks and

Re: [alsa-devel] [RESEND PATCH] mfd: wm8994: set mfd id-base for regulator devs creation to avoid conflicts

2015-01-08 Thread Charles Keepax
On Thu, Jan 08, 2015 at 10:04:33AM +0900, Inha Song wrote: After commit: 6e3f62f0793e (mfd: core: Fix platform-device id generation) We must set the id base when register a duplicate name of mfd_cell. If not, duplicate filename error was reported. - sysfs: cannot create duplicate filename

Re: [PATCH RFT] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-08 Thread Heiko Carstens
On Thu, Jan 08, 2015 at 07:41:52AM +, Sudeep Holla wrote: This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e (drivers: base: support cpu cache information interface to userspace via sysfs)

Re: [PATCH 1/3] mm/compaction: enhance trace output to know more about compaction internals

2015-01-08 Thread Joonsoo Kim
On Tue, Jan 06, 2015 at 10:05:39AM +0100, Vlastimil Babka wrote: On 12/03/2014 08:52 AM, Joonsoo Kim wrote: It'd be useful to know where the both scanner is start. And, it also be useful to know current range where compaction work. It will help to find odd behaviour or problem on

Re: [PATCH RFT] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-01-08 Thread Sudeep Holla
On Thursday 08 January 2015 01:44 PM, Heiko Carstens wrote: On Thu, Jan 08, 2015 at 07:41:52AM +, Sudeep Holla wrote: This patch removes the redundant sysfs cacheinfo code by reusing the newly introduced generic cacheinfo infrastructure through the commit 246246cbde5e (drivers: base:

[PATCH 0/2] fbdev: ssd1307fb: fixes

2015-01-08 Thread Lad, Prabhakar
This patch series fixes trivial issues in ssd1307fb driver. Lad, Prabhakar (2): fbdev: ssd1307fb: set default height if not found in DT node fbdev: ssd1307fb: check return value while setting offset drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 1/2] fbdev: ssd1307fb: set default height if not found in DT node

2015-01-08 Thread Lad, Prabhakar
this patch sets the default height if its not found in DT. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index

[PATCH 2/2] fbdev: ssd1307fb: check return value while setting offset

2015-01-08 Thread Lad, Prabhakar
this patch checks the return value of write command while setting the display offset. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c

Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score

2015-01-08 Thread Huang Ying
On Wed, 2015-01-07 at 23:45 -0800, Davidlohr Bueso wrote: On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote: Cc'ing Peter. FYI, we noticed the below changes on commit c8c06efa8b552608493b7066c234cfa82c47fcea (mm: convert i_mmap_mutex to rwsem) Same exact everything, except for

Re: [PATCH 3/3] mm/compaction: add tracepoint to observe behaviour of compaction defer

2015-01-08 Thread Joonsoo Kim
On Tue, Jan 06, 2015 at 12:27:43PM +0100, Vlastimil Babka wrote: On 12/03/2014 08:52 AM, Joonsoo Kim wrote: compaction deferring logic is heavy hammer that block the way to the compaction. It doesn't consider overall system state, so it could prevent user from doing compaction falsely. In

Re: [PATCH v3 2/4] of: move of_dma_configure() to device,c to help re-use

2015-01-08 Thread Arnd Bergmann
On Wednesday 07 January 2015 17:37:56 Rob Herring wrote: On Wed, Jan 7, 2015 at 12:49 PM, Murali Karicheri m-kariche...@ti.com wrote: + ret = of_dma_get_range(np, dma_addr, paddr, size); + if (ret 0) { + dma_addr = offset = 0; + size =

Re: [PATCH 2/3] mm/compaction: add more trace to understand compaction start/finish condition

2015-01-08 Thread Vlastimil Babka
On 01/08/2015 09:21 AM, Joonsoo Kim wrote: Okay. How about adding one more like below? #define COMPACT_NO_SUITABLE_PAGE #define COMPACT_NOT_SUITABLE_ZONE Yeah that would be less confusing. It will distiguish return value properly. return COMPACT_CONTINUE; } +unsigned long

Re: [PATCH 1/3] mm/compaction: enhance trace output to know more about compaction internals

2015-01-08 Thread Vlastimil Babka
On 01/08/2015 09:18 AM, Joonsoo Kim wrote: On Tue, Jan 06, 2015 at 10:05:39AM +0100, Vlastimil Babka wrote: On 12/03/2014 08:52 AM, Joonsoo Kim wrote: It'd be useful to know where the both scanner is start. And, it also be useful to know current range where compaction work. It will help to

[PATCH] ARM: clk: add clk-asm9260 driver

2015-01-08 Thread Oleksij Rempel
Provide CLK support for Alphascale ASM9260 SoC. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/clk/Makefile | 1 + drivers/clk/clk-asm9260.c | 359 + include/dt-bindings/clock/alphascale,asm9260.h | 97

[PATCH] clocksource driver for Alphascale asm9260

2015-01-08 Thread Oleksij Rempel
Hello, this patch provides clocksource support for Alphascale asm9260 SoC. As was suggested..., I explicitly ask you to merge this patch :D Oleksij Rempel (1): ARM: clocksource: add asm9260_timer driver drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile| 1 +

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Miklos Szeredi
On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: Applications could use epoll interface when then need to poll a big number of files in their main loops, to achieve better performance than ppoll(2). Except for one concern: epoll only takes timeout parameters in microseconds, rather than

Re: [PATCH V2 2/2] bfin_can: rewrite the driver to support the common

2015-01-08 Thread Tobias Klauser
On 2015-01-08 at 07:57:34 +0100, Aaron Wu aaron...@analog.com wrote: Rewrite the driver to comply to common style with MMU Signed-off-by: Aaron Wu aaron...@analog.com --- drivers/net/can/bfin_can.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff

Re: [PATCH] mmc: mmci: Get rid of unused variable and operations on it

2015-01-08 Thread Pramod Gurav
Hi Ulf, Any comment on this change? Thanks Pramod On Tuesday 16 December 2014 07:21 PM, Pramod Gurav wrote: DMA configuration has been removed from function mmci_dma_setup but the local mask variable was not removed. This remains unused hence remove it from the function and operations on it

[RESEND PATCH 1/3] epoll: Extract epoll_wait_do and epoll_pwait_do

2015-01-08 Thread Fam Zheng
In preparation of epoll_pwait1, this allows sharing code with coming new syscall. The new functions use timespec for timeout. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 136 + 1 file changed, 70 insertions(+), 66

[RESEND PATCH 2/3] epoll: Add implementation for epoll_pwait1

2015-01-08 Thread Fam Zheng
Unlike ppoll(2), which accepts a timespec argument timeout_ts to specify the timeout, epoll_wait(2) and epoll_pwait(2) expect a microsecond timeout in int type. This is an obstacle for applications in switching from ppoll to epoll, if they want nanosecond resolution in their event loops.

[RESEND PATCH 3/3] x86: hook up epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
Signed-off-by: Fam Zheng f...@redhat.com --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..1c863f6 100644 ---

[RESEND PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
[Resend because my script screwed the recipient format, sorry for the noise.] Applications could use epoll interface when then need to poll a big number of files in their main loops, to achieve better performance than ppoll(2). Except for one concern: epoll only takes timeout parameters in

Re: scsi: non atomic allocation in mempool_alloc in atomic context

2015-01-08 Thread Christoph Hellwig
On Wed, Jan 07, 2015 at 07:55:42PM -0800, Alexei Starovoitov wrote: I'm seeing the same splats... what tree I can pull the fix from ? None so far. I'll still need a review to apply it to the scsi-queue tree. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH 2/2] fbdev: ssd1307fb: check return value while setting offset

2015-01-08 Thread Maxime Ripard
On Thu, Jan 08, 2015 at 08:17:59AM +, Lad, Prabhakar wrote: this patch checks the return value of write command while setting the display offset. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime

Re: [PATCH 1/2] fbdev: ssd1307fb: set default height if not found in DT node

2015-01-08 Thread Maxime Ripard
On Thu, Jan 08, 2015 at 08:17:58AM +, Lad, Prabhakar wrote: this patch sets the default height if its not found in DT. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons

[GIT PULL] pin control fixes, take one

2015-01-08 Thread Linus Walleij
Hi Linus, allright allright I've been lazy over christmas and New Years. Here are a few collected pin control fixes eventually, details in the signed tag. Please pull it in! Yours, Linus Walleij The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2015-01-08 Thread Peter De Schrijver
And specify the dependencies between domains in DT? I think the dependencies could be in the driver. Of course the power domains are per-SoC data, so really shouldn't be in the DTS either (the data is all implied by the compatible value) but there's no good way to The clock references

Re: [PATCH tip/core/rcu 01/14] rcu: Protect rcu_boost() lockless accesses with ACCESS_ONCE()

2015-01-08 Thread Peter Zijlstra
On Wed, Jan 07, 2015 at 09:32:20AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit prevents random compiler optimizations by applying ACCESS_ONCE() to lockless accesses. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com ---

Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM

2015-01-08 Thread Dmitry Osipenko
08.01.2015 11:49, Thierry Reding пишет: I don't like changing this back to syscore_ops since it makes things less easier to follow. I also don't think that using PMC_SCRATCH41 for two different purposes is a good thing. There are a couple of suggestions in my reply to your original patch.

[tip:perf/urgent] perf diff: Fix to sort by baseline field by default

2015-01-08 Thread tip-bot for Namhyung Kim
Commit-ID: e7024fc3783317608b8e07048116a72a7d1cd26d Gitweb: http://git.kernel.org/tip/e7024fc3783317608b8e07048116a72a7d1cd26d Author: Namhyung Kim namhy...@kernel.org AuthorDate: Sat, 27 Dec 2014 14:06:29 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 2 Jan

[tip:perf/urgent] perf probe: Fix crash in dwarf_getcfi_elf

2015-01-08 Thread tip-bot for Namhyung Kim
Commit-ID: 4093325f829746b88eaf02a5ae3b88a325ea8b75 Gitweb: http://git.kernel.org/tip/4093325f829746b88eaf02a5ae3b88a325ea8b75 Author: Namhyung Kim namhy...@kernel.org AuthorDate: Tue, 30 Dec 2014 17:47:47 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 2 Jan

[tip:perf/urgent] perf list: Fix --raw-dump option

2015-01-08 Thread tip-bot for Taesoo Kim
Commit-ID: b3505208804f3b59150cd77719f01c8b0023a865 Gitweb: http://git.kernel.org/tip/b3505208804f3b59150cd77719f01c8b0023a865 Author: Taesoo Kim tsgat...@gmail.com AuthorDate: Tue, 30 Dec 2014 22:36:55 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 2 Jan 2015

[PATCH] null_blk: fix blk_mq_init_queue() error handling

2015-01-08 Thread Jürg Billeter
blk_mq_init_queue() returns ERR_PTR() on failure, not NULL. Signed-off-by: Jürg Billeter j...@bitron.ch --- drivers/block/null_blk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/null_blk.c b/drivers/block/null_blk.c index ae9f615..727309c 100644 ---

[PATCH V5 3/4] mm: reduce try_to_compact_pages parameters

2015-01-08 Thread Vlastimil Babka
Expand the usage of the struct alloc_context introduced in the previous patch also for calling try_to_compact_pages(), to reduce the number of its parameters. Since the function is in different compilation unit, we need to move alloc_context definition in the shared mm/internal.h header. With

Re: [PATCH] Revert 9fc2105aeaaf56b0cf75296a84702d0f9e64437b to fix pyaudio (and probably more)

2015-01-08 Thread Russell King - ARM Linux
On Wed, Jan 07, 2015 at 10:14:07PM +, Catalin Marinas wrote: On 7 January 2015 at 20:53, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Now, if I understand Linus correctly, what irks him is when someone upgrades a kernel on a platform, and some userland breaks. That's

Re: [RFC PATCH] iio: Add new operating mode for non triggered sw buffers

2015-01-08 Thread Lars-Peter Clausen
On 01/07/2015 07:36 PM, Karol Wrona wrote: There was a need for non triggered software buffer type. It can be used when triggered model does not fit and INDIO_BUFFER_HARDWARE causes confusion because the data stream can be obtained not directly form hardware backend. Suggested-by: Jonathan

[PATCH -mm v3 2/9] fs: consolidate {nr,free}_cached_objects args in shrink_control

2015-01-08 Thread Vladimir Davydov
We are going to make FS shrinkers memcg-aware. To achieve that, we will have to pass the memcg to scan to the nr_cached_objects and free_cached_objects VFS methods, which currently take only the NUMA node to scan. Since the shrink_control structure already holds the node, and the memcg to scan

[PATCH -mm v3 0/9] Per memcg slab shrinkers

2015-01-08 Thread Vladimir Davydov
Hi, Kmem accounting of memcg is unusable now, because it lacks slab shrinker support. That means when we hit the limit we will get ENOMEM w/o any chance to recover. What we should do then is to call shrink_slab, which would reclaim old inode/dentry caches from this cgroup. This is what this patch

[PATCH -mm v3 3/9] vmscan: per memory cgroup slab shrinkers

2015-01-08 Thread Vladimir Davydov
This patch adds SHRINKER_MEMCG_AWARE flag. If a shrinker has this flag set, it will be called per memory cgroup. The memory cgroup to scan objects from is passed in shrink_control-memcg. If the memory cgroup is NULL, a memcg aware shrinker is supposed to scan objects from the global list. Unaware

[PATCH -mm v3 7/9] list_lru: organize all list_lrus to list

2015-01-08 Thread Vladimir Davydov
To make list_lru memcg aware, we need all list_lrus to be kept on a list protected by a mutex, so that we could sleep while walking over the list. Therefore after this change list_lru_destroy may sleep. Fortunately, there is the only user that calls it from an atomic context - it's put_super -

[PATCH -mm v3 9/9] fs: make shrinker memcg aware

2015-01-08 Thread Vladimir Davydov
Now, to make any list_lru-based shrinker memcg aware we should only initialize its list_lru as memcg aware. Let's do it for the general FS shrinker (super_block::s_shrink). There are other FS-specific shrinkers that use list_lru for storing objects, such as XFS and GFS2 dquot cache shrinkers, but

[PATCH -mm v3 6/9] list_lru: get rid of -active_nodes

2015-01-08 Thread Vladimir Davydov
The active_nodes mask allows us to skip empty nodes when walking over list_lru items from all nodes in list_lru_count/walk. However, these functions are never called from hot paths, so it doesn't seem we need such kind of optimization there. OTOH, removing the mask will make it easier to make

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2015-01-08 Thread Thierry Reding
On Mon, Dec 22, 2014 at 11:00:16AM -0700, Stephen Warren wrote: On 12/22/2014 10:27 AM, Dmitry Osipenko wrote: 22.12.2014 19:17, Stephen Warren пишет: On 12/21/2014 03:52 PM, Dmitry Osipenko wrote: Commit 7232398abc6a (ARM: tegra: Convert PMC to a driver) changed tegra_resume() location

Re: [PATCH] soc: tegra: pmc: restrict compilation of suspend-related support to ARM

2015-01-08 Thread Thierry Reding
On Thu, Jan 08, 2015 at 12:42:47PM +0300, Dmitry Osipenko wrote: 08.01.2015 11:49, Thierry Reding пишет: I don't like changing this back to syscore_ops since it makes things less easier to follow. I also don't think that using PMC_SCRATCH41 for two different purposes is a good thing. There

[tip:perf/urgent] perf probe: Fix to fall back to find probe point in symbols

2015-01-08 Thread tip-bot for Masami Hiramatsu
Commit-ID: 906451b98b6774042b707a5dcebb6a93dbd14c85 Gitweb: http://git.kernel.org/tip/906451b98b6774042b707a5dcebb6a93dbd14c85 Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com AuthorDate: Wed, 31 Dec 2014 15:27:47 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com

Re: [PATCH v7 0/4] Add support for parametrized events

2015-01-08 Thread Jiri Olsa
On Wed, Jan 07, 2015 at 05:13:49PM -0800, Sukadev Bhattiprolu wrote: Description of event parameters from the documentation patch: Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when

[RFC V2] mmc:change mmc_init workqueue into a freezable workqueue

2015-01-08 Thread Wang, Yalin
This patch fix the mmc driver suspend/resume conflict problems, mmc workqueue will queue mmc_rescan(), and it will call some pm_runtime_* functions, this will conflict with suspend path sometimes, and will result in some strange behavior: Suspend path: -000 |context_switch(inline)

Question regarding Linux Bringup in ARMA9 platform

2015-01-08 Thread Abhijit Ray Chaudhury
Hi , I am trying to bringup linux in ARMA9 platform. I am getting following crash : Unhandled fault: alignment exception (0x001) at 0x88042001: (link_path_walk+0xa4/0x86c) (path_lookupat+0x54/0x780) (do_path_lookup+0x1c/0x58) (user_path_at_empty+0x54/0x88) (user_path_at+0x10/0x14)

Re: [PATCH 3.18 00/84] 3.18.2-stable review

2015-01-08 Thread Satoru Takeuchi
At Tue, 6 Jan 2015 17:49:03 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.2 release. There are 84 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH] prctl.2: Add description of Intel MPX calls

2015-01-08 Thread Michael Kerrisk (man-pages)
[CC += Qiaowei Ren, in case they might comment] Hello Dave, Thanks for the patch. Quite a number of queries below. Could you address those and resubmit? On 12/15/2014 11:52 PM, Dave Hansen wrote: From: Dave Hansen dave.han...@intel.com (apologies if this is a duplicate mail, I didn't see my

[PATCH V5 0/4] Reducing parameters of alloc_pages* family of functions

2015-01-08 Thread Vlastimil Babka
Changes since v4: o Documented where struct alloc_context fields change per Michal's suggestion. o Rebased on next-20150108. Relative improvements went down for code again, but up for stack. And finally I didn't have to mess with _slowpath inlining anymore for the comparison as it was already

[PATCH V5 2/4] mm, page_alloc: reduce number of alloc_pages* functions' parameters

2015-01-08 Thread Vlastimil Babka
Introduce struct alloc_context to accumulate the numerous parameters passed between the alloc_pages* family of functions and get_page_from_freelist(). This excludes gfp_flags and alloc_info, which mutate too much along the way, and allocation order, which is conceptually different. The result is

[PATCH V5 1/4] mm: set page-pfmemalloc in prep_new_page()

2015-01-08 Thread Vlastimil Babka
The function prep_new_page() sets almost everything in the struct page of the page being allocated, except page-pfmemalloc. This is not obvious and has at least once led to a bug where page-pfmemalloc was forgotten to be set correctly, see commit 8fb74b9fb2b1 (mm: compaction: partially revert

[PATCH V5 4/4] mm: microoptimize zonelist operations

2015-01-08 Thread Vlastimil Babka
The function next_zones_zonelist() returns zoneref pointer, as well as zone pointer via extra parameter. Since the latter can be trivially obtained by dereferencing the former, the overhead of the extra parameter is unjustified. This patch thus removes the zone parameter from

Re: [PATCH RFC] Allow introspection to already attached ptracer in __ptrace_may_access

2015-01-08 Thread Stijn Volckaert
Kees Cook schreef op 6/01/2015 om 0:47: Just to make sure I understand this better, Monitor is the initial process, and [0] and [1] are separate threads within that process? I would expect B to have Monitor as its parent after A died, but I must be misunderstanding something. Regardless, your

[PATCH -mm v3 5/9] memcg: add rwsem to synchronize against memcg_caches arrays relocation

2015-01-08 Thread Vladimir Davydov
We need a stable value of memcg_nr_cache_ids in kmem_cache_create() (memcg_alloc_cache_params() wants it for root caches), where we only hold the slab_mutex and no memcg-related locks. As a result, we have to update memcg_nr_cache_ids under the slab_mutex, which we can only take on the slab's side

<    5   6   7   8   9   10   11   12   13   14   >