Re: [PATCH 8/8 v4] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-01-23 Thread Sylwester Nawrocki
Hi, On 23/01/14 11:18, Naveen Krishna Ch wrote: > Hello All, > > On 15 January 2014 14:47, Naveen Krishna Chatradhi > wrote: >> This patch set adds use of clk_prepare/clk_unprepare as >> required by generic clock framework. >> >> Signed-off-by: Naveen Krishna Chatradhi >> Reviewed-by: Tomasz Fi

[PATCH RESEND v4 08/37] mtd: devices: Provide header for shared OPCODEs and SFDP commands

2014-01-23 Thread Lee Jones
JEDEC have helped to standardise a great deal of the commands which can be issued to a Serial Flash devices. Many of the Serial Flash Discoverable Parameters (SFDP) commands are generic across devices. This patch provides a shared point where these commands can be defined. Suggested-by: Mark Brown

[PATCH RESEND v4 11/37] mtd: st_spi_fsm: Search for preferred FSM message sequence configurations

2014-01-23 Thread Lee Jones
Here we provide a means to traverse though all supplied FSM message sequence configurations and pick one based on our chip's capabilities. The first one we match will be the preferred one, as they are presented in order of preference. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c

[PATCH RESEND v4 09/37] mtd: st_spi_fsm: Provide device look-up table

2014-01-23 Thread Lee Jones
Supply a lookup table of all the devices we intend to support. This table is used to store device information such as; a human readable device name, their JEDEC ID (plus the extended version), sector size and amount, a bit store of a device's capabilities, its maximum running frequency and possible

[PATCH RESEND v4 05/37] mtd: st_spi_fsm: Supply a method to read from the FSM's FIFO

2014-01-23 Thread Lee Jones
When invoked the driver will attempt to read any available data from the FSM's data register. Any data collected from this FIFO would have originated from the flash chip. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 26 ++ 1 file changed, 26 insertions(

[PATCH RESEND v4 07/37] mtd: st_spi_fsm: Add support for JEDEC ID extraction

2014-01-23 Thread Lee Jones
Once we start supporting devices it will be handy go detect them dynamically. This will be done using the chip's unique JEDEC ID. This patch allows us to extract a device's JEDEC ID using the a predefined FSM register write sequence. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c

[PATCH RESEND v4 01/37] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-01-23 Thread Lee Jones
This is a new driver. It's used to communicate with a special type of optimised Serial Flash Controller called the FSM. The FSM uses a subset of the SPI protocol to communicate with supported NOR-Flash devices. Signed-off-by: Lee Jones --- drivers/mtd/devices/Kconfig | 8 +++ drivers/mtd/

[PATCH RESEND v4 03/37] mtd: st_spi_fsm: Initialise and configure the FSM for normal working conditions

2014-01-23 Thread Lee Jones
This patch uses default values to initialise a connected flash chip. This includes; a device soft reset, setting of a safe working frequency, a switch into Fast Sequencing Mode, configuring of timing data and a purge of the FIFO. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 12

Re: [PATCH -mm 2/2] memcg: fix css reference leak and endless loop in mem_cgroup_iter

2014-01-23 Thread Hugh Dickins
On Wed, 22 Jan 2014, Michal Hocko wrote: > On Tue 21-01-14 13:18:42, Hugh Dickins wrote: > [...] > > We do have a confusing situation. The hang goes back to 3.10 but takes > > two different forms, because of intervening changes: in 3.10 and 3.11 > > mem_cgroup_iter repeatedly returns root memcg to

[PATCH] regmap: fix _regmap_update_bits()

2014-01-23 Thread Xiubo Li
Since sometimes the 'config' parameter is no use, it should be NULL. Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index c2e0021..737b874 100644

Re: [PATCH 2/2] sched: add statistic for rq->max_idle_balance_cost

2014-01-23 Thread Alex Shi
On 01/23/2014 05:54 PM, Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 02:49:25PM +0800, Alex Shi wrote: >> On 01/23/2014 02:10 AM, Jason Low wrote: >>> P64(avg_idle); >>> + P64(max_idle_balance_cost); >>> #endif >>> P(ttwu_count); > > Not also the pe

[RFC PATCH v5 2/2] hung_task: Display every hung task warning

2014-01-23 Thread Aaron Tomlin
When khungtaskd detects hung tasks, it prints out backtraces from a number of those tasks. Limiting the number of backtraces being printed out can result in the user not seeing the information necessary to debug the issue. The hung_task_warnings sysctl controls this feature. This patch makes it po

[RFC PATCH v5 0/2] hung_task: Display every hung task warning

2014-01-23 Thread Aaron Tomlin
When khungtaskd detects hung tasks, it prints out backtraces from a number of those tasks. Limiting the number of backtraces being printed out can result in the user not seeing the information necessary to debug the issue. The hung_task_warnings sysctl controls this feature. This patch makes it po

[PATCH] mmc: sdhci: Remove useless string-split's

2014-01-23 Thread Philippe De Muyter
Some error or warning messages that appear on one line in the kernel log are split on two lines in sdhci.c although they are not too long to fit on one 80-characters line. This impairs grep'ping for them, so unsplit them. Signed-off-by: Philippe De Muyter --- drivers/mmc/host/sdhci.c | 29

Re: [PATCH 1/2] PWM: let of_xlate handlers check args count

2014-01-23 Thread Lothar Waßmann
Hi, Sascha Hauer wrote: > of_pwm_n_cells for the of_xlate handler is stored in struct pwm_chip, > but it is only ever used by the of_xlate handler itsel. Remove > of_pwm_n_cells from struct pwm_chip and let the handler do the argument > count checking to simplify the code. > This still does not m

Re: [PATCH 2/2 v2] imx27: pinctrl: fix offset calculation in imx_read_2bit

2014-01-23 Thread Markus Pargmann
Hi, On Thu, Jan 23, 2014 at 09:26:06AM +0100, Linus Walleij wrote: > On Wed, Jan 22, 2014 at 4:14 AM, Chris Ruehl wrote: > > > The offset for the 2bit register calculate wrong, this patch > > fixes the problem. The debugfs printout for oconf, iconfa, iconfb > > now shows the real values. > > > >

[RFC PATCH v5 1/2] sysctl: Make neg_one a standard constraint

2014-01-23 Thread Aaron Tomlin
Add neg_one to the list of standard constraints. Signed-off-by: Aaron Tomlin Acked-by: Rik van Riel Acked-by: David Rientjes --- kernel/sysctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 34a6047..dd531a6 100644 --- a/kernel/sysctl.c +++ b/kerne

RE: [PATCH] ASoC: simple-card: fix simple card widgets routing property name usage

2014-01-23 Thread li.xi...@freescale.com
Hi, I'd like to know the status about this patch. Thanks very much. Best Regards, Xiubo > Subject: [PATCH] ASoC: simple-card: fix simple card widgets routing property > name usage > > Fix the usage of simple card widgets routing property, and make it the > same with simple card routing proper

[PATCH] x86, tsc: Add missing Baytrail frequency to the table

2014-01-23 Thread Mika Westerberg
Baytrail is based on Silvermont core so MSR_FSB_FREQ[2:0] == 0 means that the CPU reference clock runs at 83.3MHz. Without this we crash a bit later with backtrace looking like: divide error: [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Tainted: GW3.13.0+ #

Re: [PATCH 1/2] PWM: let of_xlate handlers check args count

2014-01-23 Thread Sascha Hauer
On Thu, Jan 23, 2014 at 11:56:32AM +0100, Lothar Waßmann wrote: > Hi, > > Sascha Hauer wrote: > > of_pwm_n_cells for the of_xlate handler is stored in struct pwm_chip, > > but it is only ever used by the of_xlate handler itsel. Remove > > of_pwm_n_cells from struct pwm_chip and let the handler do

Unstable kernels work after 2.6.3x

2014-01-23 Thread Alexey Vlasov
Hello, I've already written that after release of version 2.6.32 something strange happened either in the kernel or with its base features, namely since then there was not released even a single kernel, which would at least on my hosting work consistently and without bugs. That's the history of k

Re: [PATCH -mm 2/2] memcg: fix css reference leak and endless loop in mem_cgroup_iter

2014-01-23 Thread Michal Hocko
On Thu 23-01-14 02:42:58, Hugh Dickins wrote: > On Wed, 22 Jan 2014, Michal Hocko wrote: > > On Tue 21-01-14 13:18:42, Hugh Dickins wrote: > > [...] > > > We do have a confusing situation. The hang goes back to 3.10 but takes > > > two different forms, because of intervening changes: in 3.10 and 3

[PATCH] cpusets: Allocate heap only when required

2014-01-23 Thread Viresh Kumar
update_flag() routine uses heap only when spread_flag_changed is true. Otherwise heap isn't used, but is allocated and freed unnecessarily. Fix this by allocating heap only when required. Signed-off-by: Viresh Kumar --- Rebased over linux-next/master kernel/cpuset.c | 15 +-- 1 fil

Re: [PATCH V2] cpuidle/governors: Fix logic in selection of idle states

2014-01-23 Thread Preeti U Murthy
Hi Daniel, Thank you for the review. On 01/22/2014 01:59 PM, Daniel Lezcano wrote: > On 01/17/2014 05:33 AM, Preeti U Murthy wrote: >> >> diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c >> index a55e68f..831b664 100644 >> --- a/drivers/cpuidle/cpuidle.c >> +++ b/drivers/cpuidle

Re: [PATCH 6/6] arm64: add EFI runtime services

2014-01-23 Thread Catalin Marinas
On Fri, Jan 10, 2014 at 10:29:10PM +, Mark Salter wrote: > diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h > new file mode 100644 > index 000..a835b2c > --- /dev/null > +++ b/arch/arm64/include/asm/efi.h > @@ -0,0 +1,12 @@ > +#ifndef _ASM_ARM64_EFI_H > +#define _ASM

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Lars-Peter Clausen
On 01/22/2014 05:52 PM, Srikanth Thokala wrote: [...] > +/** > + * xilinx_vdma_device_control - Configure DMA channel of the device > + * @dchan: DMA Channel pointer > + * @cmd: DMA control command > + * @arg: Channel configuration > + * > + * Return: '0' on success and failure value on error > + *

Re: [PATCH 4/9] sched: Clean up idle task SMP logic

2014-01-23 Thread Peter Zijlstra
On Tue, Jan 21, 2014 at 06:27:11PM +0100, Vincent Guittot wrote: > On 21 January 2014 12:17, Peter Zijlstra wrote: > If i have correctly followed the new function path that is introduced > by the patchset, idle_enter_fair is called after idle_balance whereas > it must be called before in order to

Re: [PATCH] tracing: Use task_nice() in function __update_max_tr() to get the nice value of task.

2014-01-23 Thread Steven Rostedt
On Thu, 23 Jan 2014 09:26:30 +0100 Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 12:11:04PM -0500, Dongsheng Yang wrote: > > On 01/22/2014 11:00 PM, Steven Rostedt wrote: > > > > > >Bah, I just noticed that TASK_NICE is in kernel/sched/sched.h not > > >include/linux/sched.h > > > > > >Peter, is

Re: [PATCHv2 2/2] pwm: imx: support polarity inversion

2014-01-23 Thread Russell King - ARM Linux
On Thu, Jan 23, 2014 at 08:37:14AM +0100, Lothar Waßmann wrote: > This wouldn't buy much without a material change to of_pwm_get(). > The function of_parse_phandle_with_args() called by of_pwm_get() > requires the number of args in the pwms property be greater or equal to > the #pwm-cells property

Crypto Update for 3.14

2014-01-23 Thread Herbert Xu
Hi Linus: Here is the crypto update for 3.14: * Improved crypto_memneq helper. * Use cyprto_memneq in arch-specific crypto code. * Replaced orphaned DCP driver with Freescale MXS DCP driver. * Added AVX/AVX2 version of AESNI-GCM encode and decode. * Added AMD Cryptographic Coprocessor (CCP) drive

Qmqtwadgjnq

2014-01-23 Thread 渠国栋
收到附件请预览内容<>

Re: [PATCH v5 22/22] XIP: Add support for unwritten extents

2014-01-23 Thread Matthew Wilcox
On Wed, Jan 22, 2014 at 03:51:56PM -0700, Ross Zwisler wrote: > > + if (hole) { > > addr = NULL; > > - hole = true; > > size = bh->b_size; > > + } else { > > +

[GIT PULL] regulator updates for v3.14 remerged

2014-01-23 Thread Mark Brown
The following changes since commit 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6: Linux 3.13-rc8 (2014-01-12 17:04:18 +0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v3.14-2 for you to fetch changes up to 07b19808

RE: [PATCH v5 00/22] Rewrite XIP code and add XIP support to ext4

2014-01-23 Thread Wilcox, Matthew R
Are you hitting the same problems with ext4 fsck that we did? Version 1.42.8 reports spurious corruption. From the 1.42.9 changelog: * Fixed a regression introduced in 1.42.8 which would cause e2fsck to erroneously report uninitialized extents past i_size to be invalid. _

Re: [Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count

2014-01-23 Thread Cyrill Gorcunov
On Thu, Jan 23, 2014 at 02:36:06PM +0400, Cyrill Gorcunov wrote: > > The test case passes with this patch applied to 3.13 so that appears > > to confirm that this is related to VM_SOFTDIRTY preventing merges. > > Unfortunately I did not have slabinfo tracking enabled to double check > > the number

Re: 3.12-rc5 and overwritten partition table - by powertop?

2014-01-23 Thread John Twideldum
>(CCing linux-ide) > >It seems like most likely either the SATA host controller or drive >doesn't play nice with link power management enabled. Can you post the >full dmesg boot log? I found backup, yay! -> attached Compared to Stefan's report, same hardware, same SSD, only my BIOS is one rev old

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 09:58:21AM +0100, Michal Simek wrote: > On 01/17/2014 06:04 PM, Arnd Bergmann wrote: > >> I thought the solution with deferring registration of the resource for > >> dev_get_regmap() until a proper device materialised seemed simple and > >> enough, did you folks run into an

Re: [PATCH] regulator: ti-abb: Add support for interleaved LDO registers

2014-01-23 Thread Mark Brown
On Wed, Jan 22, 2014 at 04:25:23PM -0600, Nishanth Menon wrote: > How about something like the following? If this is acceptable, I can do > a complete round of retest and ensure everything is functional on all > platforms and post it as a formal patch: Looks OK from a quick scan. It seems nothin

Re: [PATCH 2/2] sched: add statistic for rq->max_idle_balance_cost

2014-01-23 Thread Morten Rasmussen
On Thu, Jan 23, 2014 at 10:49:35AM +, Alex Shi wrote: > On 01/23/2014 05:54 PM, Peter Zijlstra wrote: > > On Thu, Jan 23, 2014 at 02:49:25PM +0800, Alex Shi wrote: > >> On 01/23/2014 02:10 AM, Jason Low wrote: > >>> P64(avg_idle); > >>> + P64(max_idle_balance_cost); > >>>

Re: [PATCHv2 2/2] pwm: imx: support polarity inversion

2014-01-23 Thread Russell King - ARM Linux
On Thu, Jan 23, 2014 at 11:52:03AM +, Russell King - ARM Linux wrote: > On Thu, Jan 23, 2014 at 08:37:14AM +0100, Lothar Waßmann wrote: > > This wouldn't buy much without a material change to of_pwm_get(). > > The function of_parse_phandle_with_args() called by of_pwm_get() > > requires the num

Donation!

2014-01-23 Thread johnhaycharity
My name is John Hay, my mom and I recently won £7.5m on the Euro millions lottery in this month of January 2014 & will be donating £ 500.000 each to three individuals in our ongoing charity project. Your email has been selected amongs the lucky winners, get back to us for more details and how yo

[PATCH v3 1/3] drm: add pseudo filesystem for shared inodes

2014-01-23 Thread David Herrmann
Our current DRM design uses a single address_space for all users of the same DRM device. However, there is no way to create an anonymous address_space without an underlying inode. Therefore, we wait for the first ->open() callback on a registered char-dev and take-over the inode of the char-dev. Th

[PATCH v3 3/3] drm: init TTM dev_mapping in ttm_bo_device_init()

2014-01-23 Thread David Herrmann
With dev->anon_inode we have a global address_space ready for operation right from the beginning. Therefore, there is no need to do a delayed setup with TTM. Instead, set dev_mapping during initialization in ttm_bo_device_init() and remove any "if (dev_mapping)" conditions. Cc: Dave Airlie Cc: Be

[PATCH v3 2/3] drm: use anon-inode instead of relying on cdevs

2014-01-23 Thread David Herrmann
DRM drivers share a common address_space across all character-devices of a single DRM device. This allows simple buffer eviction and mapping-control. However, DRM core currently waits for the first ->open() on any char-dev to mark the underlying inode as backing inode of the device. This delayed in

Re: [PATCH 1/1 RESEND] mtd: block2mtd: char mtd major and erasesize parameter check + mutex_destroy

2014-01-23 Thread Ezequiel Garcia
Hi Fabian, On Wed, Jan 22, 2014 at 04:28:43PM +0800, Fabian Frederick wrote: > -Deny use of a char mtd device to map as block device. > -mutex_init when mtd structure is available. > -fixme applied : check device size is a multiple of erasesize. > -mutex_destroy on each device in block2mtd_exit an

[PATCH 1/3 RESEND] mfd: tc3589x: Add device tree bindings

2014-01-23 Thread Linus Walleij
This defines the device tree bindings for the Toshiba TC3589x series of multi-purpose expanders. Only the stuff I can test is defined: GPIO and keypad. Others may implement more subdevices further down the road. This is to complement commit a435ae1d51e2f18414f2a87219fdbe068231e692 "mfd: Enable the

[PATCH 3/3 RESEND] input: tc3589x-keypad: support probing from device tree

2014-01-23 Thread Linus Walleij
Implement device tree probing for the tc3589x keypad driver. This is modeled on the STMPE keypad driver and tested on the Ux500 TVK1281618 UIB. Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Use two local u32 variables to avoid weirdness in u8 casting of the resulting values to the pointe

[PATCH 2/3 RESEND] mfd: tc3589x: Reform device tree probing

2014-01-23 Thread Linus Walleij
This changes the following mechanisms in the TC3589x device tree probing path: - Use the .of_match_table in struct device_driver to match the device in the device tree. - Add matches for the proper compatible strings "toshiba,..." and all sub-variants, just as is done for the .id matches. - Mo

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Peter Zijlstra
On Tue, Jan 21, 2014 at 02:18:52PM -0800, Kent Overstreet wrote: > > I do not get the comment near prepare to wait -- why does it matter if > > percpu_ida_free() flips a cpus_have_tags bit? > > Did I write that comment? It is a crappy comment... > > Ok, in userspace we'd be using condition variab

Re: [PATCHSET 00/24] perf tools: Add support to accumulate hist periods (v6)

2014-01-23 Thread Jiri Olsa
On Wed, Jan 22, 2014 at 11:44:33PM +, Namhyung Kim wrote: > Hi Jiri, > > On Wed, Jan 22, 2014 at 1:20 PM, Jiri Olsa wrote: > > I have changes on top of this patchset and all looks great, I was > > just going throught this again and wanted to send my ack, but it > > no longer merges to the acm

Re: [PATCH] pwm: Remove obsolete HAVE_PWM Kconfig symbol

2014-01-23 Thread Thierry Reding
On Thu, Jan 16, 2014 at 04:01:34PM +0100, Sascha Hauer wrote: > Before we had the PWM framework we used to have a barebone PWM api. The > HAVE_PWM Kconfig symbol used to be selected by the PWM drivers to specify > the PWM API is present in the kernel. Since the last legacy driver is gone > the HAVE

Re: [PATCH -mm 2/2] memcg: fix css reference leak and endless loop in mem_cgroup_iter

2014-01-23 Thread Hugh Dickins
On Thu, 23 Jan 2014, Michal Hocko wrote: > On Thu 23-01-14 02:42:58, Hugh Dickins wrote: > > > > > > Actually both patches are needed. If we had only 2/2 then we wouldn't > > > endless loop inside mem_cgroup_iter but we could still return root to > > > caller all the time because mem_cgroup_iter_l

Re: [PATCH] mm/zswap: add writethrough option

2014-01-23 Thread Austin S Hemmelgarn
On 2014-01-22 19:18, Minchan Kim wrote: > > From the beginning, zswap is for reducing swap I/O but if workingset > overflows, it should write back rather than OOM with expecting a small > number of writeback would make the system happy because the high memory > pressure is temporal so soon most of

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-23 Thread Theodore Ts'o
On Thu, Jan 23, 2014 at 07:35:58PM +1100, Dave Chinner wrote: > > > > I expect it would be relatively simple to get large blocksizes working > > on powerpc with 64k PAGE_SIZE. So before diving in and doing huge > > amounts of work, perhaps someone can do a proof-of-concept on powerpc > > (or ia64

Re: [Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count

2014-01-23 Thread Cyrill Gorcunov
On Thu, Jan 23, 2014 at 04:15:55PM +0400, Cyrill Gorcunov wrote: > On Thu, Jan 23, 2014 at 02:36:06PM +0400, Cyrill Gorcunov wrote: > > > The test case passes with this patch applied to 3.13 so that appears > > > to confirm that this is related to VM_SOFTDIRTY preventing merges. > > > Unfortunately

Re: [PATCH 3/9] sched: Move idle_stamp up to the core

2014-01-23 Thread Peter Zijlstra
On Tue, Jan 21, 2014 at 12:17:57PM +0100, Peter Zijlstra wrote: > From: Daniel Lezcano > > The idle_balance modifies the idle_stamp field of the rq, making this > information to be shared across core.c and fair.c. As we can know if the > cpu is going to idle or not with the previous patch, let's

Re: [alsa-devel] [PATCH] ASoC: fsl-sai: convert to use regmap API for Freeacale SAI

2014-01-23 Thread Fabio Estevam
On Thu, Jan 23, 2014 at 8:32 AM, li.xi...@freescale.com wrote: > The clock operations in the driver is only related to the module clock, and > has > move to the regmap core and regmap core will to the same clock operations at > proper time, since we are using: > > + sai->regmap = devm_regm

Re: [PATCH v2 1/4] pinctrl: st: Add Interrupt support.

2014-01-23 Thread srinivas kandagatla
On 23/01/14 07:22, Linus Walleij wrote: > I've applied this patch so that it won't just sit idle. > Besides you've done a real good job on it Srinivas. Thanks Linus W. > > It'll be for v3.15 though and I'm still waiting to see if > the device tree people say something about it. > > Yours, > Linus

Re: [PATCH v2 3/4] ARM:STi: STiH416: Add interrupt support for pin controller

2014-01-23 Thread srinivas kandagatla
On 23/01/14 07:30, Linus Walleij wrote: > On Thu, Jan 16, 2014 at 4:37 PM, wrote: > >> From: Srinivas Kandagatla >> >> This patch adds interrupt support for STiH416 pin controllers. >> >> Signed-off-by: Srinivas Kandagatla > > Acked-by: Linus Walleij > Thankyou Linus W. > Please merge this

Re: [Xen-devel] [PATCH v3] xen/grant-table: Avoid m2p_override during mapping

2014-01-23 Thread Zoltan Kiss
On 20/01/14 21:22, Konrad Rzeszutek Wilk wrote: Zoltan Kiss wrote: The grant mapping API does m2p_override unnecessarily: only gntdev needs it, for blkback and future netback patches it just cause a lock contention, as those pages never go to userspace. Therefore this series does the following:

Mysterious hard hangs on 3.11.0-15

2014-01-23 Thread Adrian Bridgett
Hi, We recently upgraded our hadoop cluster from 3.5.0 to 3.11.0 and started experiencing unusual lockups. Everything will be fine (busy, load average of say 90) and then the load will jump up to 500 or so and the box will stop responding (ping might work briefly), DRAC (Dell's remote manage

Re: [PATCHSET 00/24] perf tools: Add support to accumulate hist periods (v6)

2014-01-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 23, 2014 at 01:50:10PM +0100, Jiri Olsa escreveu: > On Wed, Jan 22, 2014 at 11:44:33PM +, Namhyung Kim wrote: > > On Wed, Jan 22, 2014 at 1:20 PM, Jiri Olsa wrote: > > > I have changes on top of this patchset and all looks great, I was > > > just going throught this again and wante

Re: [PATCH net-next v5 0/9] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-01-23 Thread Zoltan Kiss
On 23/01/14 01:50, David Miller wrote: From: Zoltan Kiss Date: Mon, 20 Jan 2014 21:24:20 + A long known problem of the upstream netback implementation that on the TX path (from guest to Dom0) it copies the whole packet from guest memory into Dom0. That simply became a bottleneck with 10Gb

Re: [PATCH 19/73] arm: mach-s3c64xx mach-crag6410-module.c is not modular

2014-01-23 Thread Charles Keepax
On Tue, Jan 21, 2014 at 04:22:22PM -0500, Paul Gortmaker wrote: > Despite the name mach-crag6410-module.c, the code is built for > MACH_WLF_CRAGG_6410 -- which is bool, and hence this code is > either present or absent. It will never be modular, so using > module_init as an alias for __initcall ca

[PATCH v5] xen/grant-table: Avoid m2p_override during mapping

2014-01-23 Thread Zoltan Kiss
The grant mapping API does m2p_override unnecessarily: only gntdev needs it, for blkback and future netback patches it just cause a lock contention, as those pages never go to userspace. Therefore this series does the following: - the original functions were renamed to __gnttab_[un]map_refs, with a

[GIT PULL] SPI updates for v3.14 remerged

2014-01-23 Thread Mark Brown
The following changes since commit 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6: Linux 3.13-rc8 (2014-01-12 17:04:18 +0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v3.14-2 for you to fetch changes up to 8b8b773e6b611e6629ac0

Re: [PATCH 1/5] perf tools: Count filtered entries to total period also

2014-01-23 Thread Jiri Olsa
On Thu, Jan 23, 2014 at 08:28:49AM +0900, Namhyung Kim wrote: > Currently if a sample was filtered by command line option, it just > dropped. But this affects final output in that the percentage can be > different since the filtered entries were not included to the total. > > But user might want

[PATCH] assoc_array: remove global variable

2014-01-23 Thread David Howells
From: Stephen Hemminger The associative array code creates unnecessary and potentially problematic global variable 'status'. Remove it since never used. Signed-off-by: Stephen Hemminger Signed-off-by: David Howells --- lib/assoc_array.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 2/3] dynamic_debug: fix ddebug_parse_query()

2014-01-23 Thread Andrey Ryabinin
This fixes following scenario: $ echo 'file dynamic_debug.c line 1-123 +p' > /sys/kernel/debug/dynamic_debug/control -bash: echo: write error: Invalid argument $ dmesg | grep dynamic_debug dynamic_debug:ddebug_parse_query: last-line:123 < 1st-line:1 dynamic_debug:ddebug_parse_query: query parse f

[PATCH 1/3] dynamic_debug: remove wrong error message

2014-01-23 Thread Andrey Ryabinin
parse_lineno() returns either negative error code or zero. We don't need to print something here because if parse_lineno fails it will print error message. Signed-off-by: Andrey Ryabinin --- lib/dynamic_debug.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dynamic_de

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Kent Overstreet
On Thu, Jan 23, 2014 at 01:47:53PM +0100, Peter Zijlstra wrote: > On Tue, Jan 21, 2014 at 02:18:52PM -0800, Kent Overstreet wrote: > > > I do not get the comment near prepare to wait -- why does it matter if > > > percpu_ida_free() flips a cpus_have_tags bit? > > > > Did I write that comment? It i

[PATCH 3/3] dynamic_debug: replace obselete simple_strtoul() with kstrtouint()

2014-01-23 Thread Andrey Ryabinin
Signed-off-by: Andrey Ryabinin --- lib/dynamic_debug.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index e488d9a..7288e38 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -268,14 +268,12 @@ static int ddebug_tokeniz

[RFC/RFT][PATCH v2 4/6] ACPI / scan: Add bind/unbind callbacks to struct acpi_scan_handler

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In some cases it may be necessary to perform certain setup/cleanup operations on a device object representing a physical device after it has been associated with an ACPI companion by acpi_bind_one() or before disassociating it from that companion by acpi_unbind_one(), resp

[RFC/RFT][PATCH v2 1/6] PM / QoS: Rename device resume latency QoS items

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rename symbols, variables, functions and structure fields related do the resume latency device PM QoS type so that it is clear where they belong (in particular, to avoid confusion with the latency tolerance device PM QoS type introduced by a subsequent changeset). Update

[RFC/RFT][PATCH v2 0/6] PM / QoS: Introduce latency tolerance device PM QoS type

2014-01-23 Thread Rafael J. Wysocki
On Friday, January 17, 2014 03:42:13 PM Rafael J. Wysocki wrote: > Hi All, > > On some platforms hardware may switch to an energy-saving mode on the fly > on the basis of certain utilization metrics used by it. That usually is > desirable from the energy conservation standpoint, but it generally

[RFC/RFT][PATCH v2 6/6] PM / QoS: Add type to dev_pm_qos_add_ancestor_request() arguments

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rework dev_pm_qos_add_ancestor_request() so that device PM QoS type is passed to it as the third argument and make it support the DEV_PM_QOS_LATENCY_TOLERANCE device PM QoS type (in addition to DEV_PM_QOS_RESUME_LATENCY). That will allow the drivers of devices without lat

[RFC/RFT][PATCH v2 3/6] PM / QoS: Introcuce latency tolerance device PM QoS type

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new latency tolerance device PM QoS type to be use for specifying active state (RPM_ACTIVE) memory access (DMA) latency tolerance requirements for devices. It may be used to prevent hardware from choosing overly aggressive energy-saving operation modes (causing too

[RFC/RFT][PATCH v2 5/6] ACPI / LPSS: Support for device latency tolerance PM QoS

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new routine, acpi_lpss_set_ltr(), for setting latency tolerance values for LPSS devices having LTR (Latency Tolerance Reporting) registers. Add .bind()/.unbind() callbacks to lpss_handler to set the LPSS devices' power.set_latency_tolerance callback pointers to acpi

[RFC/RFT][PATCH v2 2/6] PM / QoS: Add no_constraints_value field to struct pm_qos_constraints

2014-01-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new field, no_constraints_value, to struct pm_qos_constraints representing a list of PM QoS constraint requests to be returned by pm_qos_get_value() when that list of requests is empty. That field will be equal to default_value for all of the existing global PM QoS

Re: [PATCH 2/3 RESEND] mfd: tc3589x: Reform device tree probing

2014-01-23 Thread Lee Jones
> This changes the following mechanisms in the TC3589x device tree > probing path: > > - Use the .of_match_table in struct device_driver to match the > device in the device tree. > - Add matches for the proper compatible strings "toshiba,..." > and all sub-variants, just as is done for the .id

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Andy Shevchenko
On Wed, 2014-01-22 at 22:22 +0530, Srikanth Thokala wrote: > This is the driver for the AXI Video Direct Memory Access (AXI > VDMA) core, which is a soft Xilinx IP core that provides high- > bandwidth direct memory access between memory and AXI4-Stream > type video target peripherals. The core prov

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-23 Thread Josh Boyer
On Thu, Jan 23, 2014 at 4:48 AM, Peter Zijlstra wrote: > On Wed, Jan 22, 2014 at 10:17:40PM +0100, Markus Trippelsdorf wrote: >> Yes. Thanks Peter. >> > > Ah much simpler patch that should have the same effect: This fixes the issue on my baremetal i7 machine as well. josh > --- > Subject: sched

Re: Is it ok for deferrable timer wakeup the idle cpu?

2014-01-23 Thread Frederic Weisbecker
On Thu, Jan 23, 2014 at 11:22:32AM +0530, Viresh Kumar wrote: > I think below diff might get this fixed for you, though I am not sure if it > breaks something else. Probably Thomas/Frederic can answer here. > If this looks fine I will send it formally again: > > diff --git a/kernel/timer.c b/kerne

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Shevchenko, Andriy
On Thu, 2014-01-23 at 12:25 +0100, Lars-Peter Clausen wrote: > On 01/22/2014 05:52 PM, Srikanth Thokala wrote: [...] > > + /* Request the interrupt */ > > + chan->irq = irq_of_parse_and_map(node, 0); > > + err = devm_request_irq(xdev->dev, chan->irq, xilinx_vdma_irq_handler, > > +

Re: [PATCH 1/5] perf tools: Count filtered entries to total period also

2014-01-23 Thread Jiri Olsa
On Thu, Jan 23, 2014 at 08:28:49AM +0900, Namhyung Kim wrote: > Currently if a sample was filtered by command line option, it just > dropped. But this affects final output in that the percentage can be > different since the filtered entries were not included to the total. > > But user might want

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Peter Zijlstra
On Thu, Jan 23, 2014 at 05:28:29AM -0800, Kent Overstreet wrote: > pool->lock is also going to be fairly badly contended in the worst case, > and that can get real bad real fast... now that I think about it we > probably want to avoid the __alloc_global_tag() double call just because > of that, poo

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Lars-Peter Clausen
On 01/23/2014 02:38 PM, Shevchenko, Andriy wrote: > On Thu, 2014-01-23 at 12:25 +0100, Lars-Peter Clausen wrote: >> On 01/22/2014 05:52 PM, Srikanth Thokala wrote: > > [...] > >>> + /* Request the interrupt */ >>> + chan->irq = irq_of_parse_and_map(node, 0); >>> + err = devm_request_irq(xde

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-23 Thread Kent Overstreet
On Thu, Jan 23, 2014 at 02:50:03PM +0100, Peter Zijlstra wrote: > On Thu, Jan 23, 2014 at 05:28:29AM -0800, Kent Overstreet wrote: > > pool->lock is also going to be fairly badly contended in the worst case, > > and that can get real bad real fast... now that I think about it we > > probably want t

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-23 Thread Frederic Weisbecker
On Tue, Jan 21, 2014 at 10:07:58AM +0800, Lei Wen wrote: > On Mon, Jan 20, 2014 at 11:41 PM, Frederic Weisbecker > wrote: > > On Mon, Jan 20, 2014 at 08:30:10PM +0530, Viresh Kumar wrote: > >> On 20 January 2014 19:29, Lei Wen wrote: > >> > Hi Viresh, > >> > >> Hi Lei, > >> > >> > I have one ques

[PATCH] ipc: Fix 2 bugs in msgrcv() MSG_COPY implementation

2014-01-23 Thread Michael Kerrisk (man-pages)
Hello Stanislav, Pavel, While documenting the msgrcv() MSG_COPY flag that you (Stanislaw) added in commit 4a674f34ba04a002244edaf891b5da7fc1473ae8 (==> kernel 3.8), I've come across a couple of bugs in the implementation. Could you please review/ack/nack my patch to resolve these bugs, and

Re: [Xen-devel] [PATCH v4] xen/grant-table: Avoid m2p_override during mapping

2014-01-23 Thread Stefano Stabellini
On Wed, 22 Jan 2014, Zoltan Kiss wrote: > > > > > diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c > > > > > index 2ae8699..0060178 100644 > > > > > --- a/arch/x86/xen/p2m.c > > > > > +++ b/arch/x86/xen/p2m.c > > > > > @@ -872,15 +872,13 @@ static unsigned long mfn_hash(unsigned long mfn) > > >

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Andy Shevchenko
On Thu, 2014-01-23 at 14:50 +0100, Lars-Peter Clausen wrote: > On 01/23/2014 02:38 PM, Shevchenko, Andriy wrote: > > On Thu, 2014-01-23 at 12:25 +0100, Lars-Peter Clausen wrote: > >> On 01/22/2014 05:52 PM, Srikanth Thokala wrote: > > > > [...] > > > >>> + /* Request the interrupt */ > >>> + chan

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-23 Thread Frederic Weisbecker
On Tue, Jan 21, 2014 at 03:19:36PM +0530, Viresh Kumar wrote: > On 20 January 2014 21:11, Frederic Weisbecker wrote: > > But for workqueues having a global affinity, I think they can be > > rescheduled later > > on the old CPUs. Although I'm not sure about that, I'm Cc'ing Tejun. > > Works queue

Re: [PATCH v2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-23 Thread Lars-Peter Clausen
On 01/23/2014 03:00 PM, Andy Shevchenko wrote: > On Thu, 2014-01-23 at 14:50 +0100, Lars-Peter Clausen wrote: >> On 01/23/2014 02:38 PM, Shevchenko, Andriy wrote: >>> On Thu, 2014-01-23 at 12:25 +0100, Lars-Peter Clausen wrote: On 01/22/2014 05:52 PM, Srikanth Thokala wrote: >>> >>> [...] >>>

[PATCH 05/11] x86: sysfb: store apertures in simplefb platform-data

2014-01-23 Thread David Herrmann
To get a generic remove_conflicting_framebuffers() for firmware-framebuffers, we need to store the apertures in the platform-data of each framebuffer. So make x86-sysfb do that for simple-framebuffer devices. Unfortunately, "struct apertures_struct" contains a VLA so we cannot easily embed it. Thu

[PATCH 11/11] x86/sysfb: allow sysfb+simpledrm combination

2014-01-23 Thread David Herrmann
We used to protect X86_SYSFB by depending on FB_SIMPLE so users don't accidentally end up without a kernel console. Now that DRM_SIMPLEDRM also provides a simple-framebuffer driver, we can whitelist this driver, too. --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 03/11] fbdev: efifb: add dev->remove() callback

2014-01-23 Thread David Herrmann
If x86-sysfb platform-devices are removed from a system, we should properly unload efifb. Otherwise, we end up releasing the parent while our efi framebuffer is still running. This currently works just fine, but will cause problems on handover to real hw. So add the ->remove() callback and unregist

Re: [PATCH RESEND v4 01/37] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-01-23 Thread Ludovic Barre
On 01/23/2014 11:30 AM, Lee Jones wrote: This is a new driver. It's used to communicate with a special type of optimised Serial Flash Controller called the FSM. The FSM uses a subset of the SPI protocol to communicate with supported NOR-Flash devices. Signed-off-by: Lee Jones --- drivers/mtd/

[PATCH 07/11] drm: mgag200: remove redundant fbdev removal

2014-01-23 Thread David Herrmann
We already call remove_conflicting_framebuffers() on PCI BAR0 during pci-probe, no need to do that again during device loading. This avoids calling into remove_conflicting_framebuffers() from within DRM ->load() callback, which might deadlock, once we make this call remove DRM-backed sysfb-devices

Re: [PATCH v2 1/6] audit: Enable arm64 support

2014-01-23 Thread Catalin Marinas
On Fri, Jan 17, 2014 at 08:13:14AM +, AKASHI Takahiro wrote: > --- a/include/uapi/linux/audit.h > +++ b/include/uapi/linux/audit.h > @@ -327,6 +327,8 @@ enum { > /* distinguish syscall tables */ > #define __AUDIT_ARCH_64BIT 0x8000 > #define __AUDIT_ARCH_LE 0x4000 > +#define A

<    1   2   3   4   5   6   7   >