[PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-03 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from board file)

[PATCH v5 5/6] ARM: dts: omap: update usb_otg_hs data

2013-04-03 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at

Re: systemtap broken by removal of register_timer_hook

2013-04-03 Thread Frederic Weisbecker
2013/4/3 Frank Ch. Eigler : > Frederic Weisbecker writes: > >> [...] >> Sometimes I don't mind keeping around code in the kernel for out of >> tree users, depending on the case. But in this specific matter we have >> more standard ways to do this kind of hook: kprobes, static >> tracepoints. A

[PATCH 3/4] nohz: Pack nohz Kconfig option in a menu of choices

2013-04-03 Thread Frederic Weisbecker
Now the user has the choice between three implementations of the timer tick: * Static periodic tick * Idle dynticks * Full dynticks At least for now, these are mutually exclusive choices, so let's rely on the proper Kconfig feature to display these to the user. A new entry CONFIG_NO_HZ_IDLE is

[RFC GIT PULL] nohz: Kconfig layout improvements

2013-04-03 Thread Frederic Weisbecker
Ingo, This set addresses your review concerning the Kconfig layout. Please note two things here that derive from what we agreed on due to technical limitations: * Now the full dynticks Kconfig is not hidden anymore behind its high level dependencies. (ie: passive dependencies are now active).

[PATCH 1/4] nohz: Unhide full dynticks feature from its dependencies

2013-04-03 Thread Frederic Weisbecker
The full dynticks feature only shows up when all its Kconfig dependencies are met (RCU nocbs, RCU user mode, ...) This is far from being user friendly as those who want to activate this feature need to look into the Kconfig files and iterate through each dependency then activate these by hand in

[PATCH 4/4] nohz: Print final full dynticks CPUs range on boot

2013-04-03 Thread Frederic Weisbecker
Given that we apply a few restrictions on the full dynticks CPUs range (keep an online timekeeper oustide the range, then in the future have the range be an RCU nocb CPUs subset), let's print the final resulting range of full dynticks CPUs to the user so that he knows what's really going to run.

[PATCH 2/4] nohz: Rename CONFIG_NO_HZ to CONFIG_NO_HZ_COMMON

2013-04-03 Thread Frederic Weisbecker
We are planning to convert the dynticks Kconfig options layout into a choice menu. The user must be able to easily pick any of the following implementations: constant periodic tick, idle dynticks, full dynticks. As this implies a mutual exclusion, the two dynticks implementions need to converge

Re: [PATCH 2/2] pinctrl: simplify the re-enable old state code in pinctrl_select_state

2013-04-03 Thread Linus Walleij
On Fri, Mar 29, 2013 at 10:03 AM, Richard Genoud wrote: > Instead of just enabling the settings that were disabled in the 1st > loop, it's simpler to recall pinctrl_select_state with the old state. > > Signed-off-by: Richard Genoud Patch applied with Stephen's review tag. Thanks, Linus

Re: [PATCH 1/2] pinctrl: select_state: don't call pinctrl_free_setting on error

2013-04-03 Thread Linus Walleij
On Fri, Mar 29, 2013 at 10:03 AM, Richard Genoud wrote: > As Stephen Warren pointed out, pinctrl_free_setting() was called instead > of pinmux_disable_setting() on error. > In this error code, we want to call pinmux_disable_setting() where > pinmux_enable_setting() was called. > And when

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-04-03 Thread Richard Genoud
2013/4/3 Linus Walleij : > On Thu, Mar 28, 2013 at 4:47 PM, Richard Genoud > wrote: >> 2013/3/28 Stephen Warren : > >>> Again, pinconf_free_setting() is all about freeing any dynamically >>> allocated storage required to represent the setting itself; it's not >>> about (un-)programming HW. >>> >>

Re: [PATCH] timer: Fix possible issues with non serialized timer_pending( )

2013-04-03 Thread Thomas Gleixner
Vineet, On Fri, 29 Mar 2013, Vineet Gupta wrote: > When stress testing ARC Linux from 3.9-rc3, we've hit a serialization > issue when mod_timer() races with itself. This is on a FPGA board and > kernel .config among others has !SMP and !PREEMPT_COUNT. > > The issue happens in mod_timer( )

Re: [PATCH 2/2] ARM: remove mach .init_irq for irqchip_init users

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 9:46 PM, Maxime Ripard wrote: > Now that the arm core code calls irqchip_init, we can remove it from all > the machines that were using it. > > Signed-off-by: Maxime Ripard > Acked-by: Simon Horman Acked-by: Linus Walleij For Nomadik. Yours, Linus Walleij -- To

Re: [patch] mm, memcg: give exiting processes access to memory reserves

2013-04-03 Thread Johannes Weiner
On Wed, Mar 27, 2013 at 06:22:10PM -0700, David Rientjes wrote: > A memcg may livelock when oom if the process that grabs the hierarchy's > oom lock is never the first process with PF_EXITING set in the memcg's > task iteration. > > The oom killer, both global and memcg, will defer if it finds an

Re: [RFC] rootmpfs

2013-04-03 Thread Rob Landley
On 04/03/2013 07:30:08 AM, Rob Landley wrote: Attached is my quick and dirty hack to make rootfs be tmpfs when CONFIG_TMPFS is enabled. For a somewhat quantum definition of "attached". Robdiff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index c24f1e1..f875bf2 100644 --- a/fs/ramfs/inode.c

Re: [PATCH] pinctrl: coh901: Fix error checking in u300_gpio_to_irq

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 5:18 PM, Axel Lin wrote: > The pointer "port" is always not NULL if gpio->port_list is not empty. > > Signed-off-by: Axel Lin Excellent catch Axel, thanks!! Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 4:47 PM, Richard Genoud wrote: > 2013/3/28 Stephen Warren : >> Again, pinconf_free_setting() is all about freeing any dynamically >> allocated storage required to represent the setting itself; it's not >> about (un-)programming HW. >> > got it. > I'll change that I guess

Re: systemtap broken by removal of register_timer_hook

2013-04-03 Thread Frank Ch. Eigler
Frederic Weisbecker writes: > [...] > Sometimes I don't mind keeping around code in the kernel for out of > tree users, depending on the case. But in this specific matter we have > more standard ways to do this kind of hook: kprobes, static > tracepoints. A tracepoint on the timer tick would be

[RFC] rootmpfs

2013-04-03 Thread Rob Landley
Attached is my quick and dirty hack to make rootfs be tmpfs when CONFIG_TMPFS is enabled. It can't be this easy or somebody would have done it in the _eight_years_ since https://lkml.org/lkml/2006/7/31/145 Yes, it's got an #ifdef and out of place prototypes. Yes, it manually calls a module

[PATCH] mfd: vexpress: Give the "leds-gpio" device a real parent

2013-04-03 Thread Pawel Moll
The registration of the "leds-gpio" device was using "vexpress_sysreg_dev" as a parent before it was actually set to something different than NULL. Trivial fix by reordering the code. Reported-by: Lorenzo Pieralisi Signed-off-by: Pawel Moll --- drivers/mfd/vexpress-sysreg.c |4 ++-- 1

Re: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out

2013-04-03 Thread Dmitry Monakhov
On Wed, 3 Apr 2013 08:20:58 -0400, Theodore Ts'o wrote: > On Wed, Apr 03, 2013 at 06:22:04PM +0800, Zheng Liu wrote: > > Subject: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out > > > > From: Zheng Liu > > > > When an extent was zeroed out, we forgot to do convert from cpu to

[PATCH 05/10] perf sort: Update documentation for sort keys

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim Update and add missing description of new sort keys. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/Documentation/perf-report.txt | 5 - tools/perf/Documentation/perf-top.txt| 2 +-

[PATCH 04/10] perf sort: Add 'addr_to/from' sort key

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim New addr_{to,from} sort keys provide a way to sort the entries by the source/target symbol addresses. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 2 ++ tools/perf/util/hist.h | 2 ++ tools/perf/util/sort.c | 50

[PATCH 02/10] perf sort: Separate out memory-specific sort keys

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim Since they're used only for perf mem, separate out them to a different dimension so that normal user cannot access them by any chance. For global/local weights, I'm not entirely sure to place them into the memory dimension. But it's the only user at this time. Cc: Andi

Re: [PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 12:55 PM, Richard Genoud wrote: > In unapply_new_state, the old state is re-applied, but p->state is not > set back as it should. > > Signed-off-by: Richard Genoud > --- > This one can be squshed with commit: > 50cf7c8ab324de348990bb028ad9ed10872d527a > pinctrl:

[PATCH 06/10] perf hists: Move column length setting code

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim They are set to constant length so no need to update every time. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c

[PATCH 07/10] perf sort: Cleanup sort__has_sym setting

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim The sort__has_sym variable is set only if a symbol-related sort key was added. Since branch stack and memory sort dimensions are separated, it doesn't need to be checked from common dimension. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 5 + 1 file

[PATCH 01/10] perf sort: Factor out common code in sort_dimension__add()

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim Let's remove duplicate code. Suggested-by: Jiri Olsa Cc: Stephane Eranian Cc: Andi Kleen Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 41 + 1 file changed, 17 insertions(+), 24 deletions(-) diff --git

[PATCH 09/10] perf hist browser: Use sort__has_sym

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim The TUI hist browser had a similar variable has_symbols for the same purpose. Let's get rid of the duplication. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 08/10] perf top: Use sort__has_sym

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim perf top had a similar variable sort_has_symbols for the same purpose. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 12 +++- tools/perf/util/top.h| 1 - 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/tools/perf/builtin-top.c

[PATCH 03/10] perf sort: Add 'addr' sort key

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim New addr sort key provides a way to sort the entries by the symbol addresses. It can be helpful to figure out symbol resolution problem when a dso cannot do it properly as well as finding hotpath in a dso and/or a function. Suggested-by: Arnaldo Carvalho de Melo Buglink:

[PATCH 10/10] perf sort: Consolidate sort_entry__setup_elide()

2013-04-03 Thread Namhyung Kim
From: Namhyung Kim The same code was duplicate to places, factor them out to common sort__setup_elide(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-diff.c | 4 +--- tools/perf/builtin-report.c | 20 +--- tools/perf/builtin-top.c| 4 +--- tools/perf/util/sort.c

Re: [PATCH 2/3] pinctrl: remove superfluous optimization in pinctrl_select_state_locked

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 12:55 PM, Richard Genoud wrote: > As Stephen Warren suggested, checking first if the setting->node entry > is the first in the list or not is superfluous, as it is checked again > in the list_for_each_entry bellow. > So, remove it, the code will be simpler and lighter ! >

[PATCHSET 00/10] perf tools: Cleanup for sort keys (v2)

2013-04-03 Thread Namhyung Kim
Hello, This is a second version of my sort key cleanup series. I Added helper function for adding sort key and used unmap_ip() function for printing symbol address as Jiri commented. But didn't change name of the sort keys to 'ip'. If you really think I should change, I'm okay to do it though.

[PATCH v6 1/2] perf: use hrtimer for event multiplexing

2013-04-03 Thread Stephane Eranian
The current scheme of using the timer tick was fine for per-thread events. However, it was causing bias issues in system-wide mode (including for uncore PMUs). Event groups would not get their fair share of runtime on the PMU. With tickless kernels, if a core is idle there is no timer tick, and

[PATCH v6 0/2] perf: use hrtimer for event multiplexing

2013-04-03 Thread Stephane Eranian
The current scheme of using the timer tick was fine for per-thread events. However, it was causing bias issues in system-wide mode (including for uncore PMUs). Event groups would not get their fair share of runtime on the PMU. With tickless kernels, if a core is idle there is no timer tick, and

[PATCH v6 2/2] perf: add sysfs entry to adjust multiplexing interval per PMU

2013-04-03 Thread Stephane Eranian
This patch adds /sys/device/xxx/perf_event_mux_interval_ms to ajust the multiplexing interval per PMU. The unit is milliseconds. Value has to be >= 1. In the 4th version, we renamed the sysfs file to be more consistent with the other /proc/sys/kernel entries for perf_events. In the 5th version,

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Felipe Balbi
On Wed, Apr 03, 2013 at 02:18:20PM +0200, Florian Fainelli wrote: > Le 04/03/13 14:15, Felipe Balbi a écrit : > >On Wed, Apr 03, 2013 at 02:11:13PM +0200, Florian Fainelli wrote: > >>Le 04/02/13 20:06, Alan Stern a écrit : > >>>On Tue, 2 Apr 2013, Florian Fainelli wrote: > >>> > This patch

Re: [PATCH 1/3] pinctrl: use dev_info instead of pr_info in pinctrl_select_state_locked

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 12:55 PM, Richard Genoud wrote: > And remove superfluous brackets. > > Signed-off-by: Richard Genoud > --- > If it's not too late, it can be squashed with commit: > 3102a76cfbf9ac4ae0cf54c7452f7ba4292a4760 > "pinctrl: disable and free setting in select_state in case of

Re: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out

2013-04-03 Thread Theodore Ts'o
On Wed, Apr 03, 2013 at 06:22:04PM +0800, Zheng Liu wrote: > Subject: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out > > From: Zheng Liu > > When an extent was zeroed out, we forgot to do convert from cpu to le16. > It could make us hit a BUG_ON when we try to write dirty pages

Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Jesper Nilsson
On Mon, Mar 25, 2013 at 05:54:39PM +0100, Viresh Kumar wrote: > This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. > > Cc: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar Ah, sorry for not responding earlier, looks

[PATCH v8 4/5] ab8500: power: export abx500_res_to_temp tables for hwmon

2013-04-03 Thread Hongbo Zhang
This patch exports the thermistor resistance-to-temperature tables, so that the hwmon driver can access them, and also adds the corresponding table size variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 20 ++-- include/linux/power/ab8500.h | 16

[PATCH v8 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-04-03 Thread Hongbo Zhang
Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for all ABX500s, and the ab8500.c is specific for AB8500 chip. Under this designed structure, other chip specific files can be added simply using the

[PATCH v8 3/5] ab8500: power: add const attributes to some data arrays

2013-04-03 Thread Hongbo Zhang
This patch adds const attributes to AB8500 power and temperature related read-only data arrays. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 20 ++-- drivers/power/ab8500_fg.c | 4 ++-- include/linux/mfd/abx500.h| 6 +++--- 3 files changed, 15

[PATCH v8 2/5] ab8500: power: eliminate CamelCase warning of some variables

2013-04-03 Thread Hongbo Zhang
Some AB8500 power related variable names don't comply with kernel coding rules, any new patch using these variables will result in CamelCase warnings from checkpatch.pl, this patch re-name these variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 24

[PATCH v8 1/5] ab8500_btemp: make ab8500_btemp_get* interfaces public

2013-04-03 Thread Hongbo Zhang
Make ab8500_btemp_get_temp interface public, export it and also export the ab8500_btemp_get, ab8500_btemp_get_batctrl_temp interfaces, so that the ab8500 hwmon driver can use them. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_btemp.c | 5 -

[PATCH v8 0/5] Add ST-Ericsson AB8500 HWMON driver

2013-04-03 Thread Hongbo Zhang
Guenter and Anton, As suggested by Anton, I rebased these patches to his latest battery-2.6 tree. Thanks. v7 -> v8 changes: - rebase these patches to Anton's latest battery-2.6 tree. v6 -> v7 changes: - move exporting symbols from [5/5] to [4/5], which was a mistake. v5 -> v6 changes: - add

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/03/13 14:15, Felipe Balbi a écrit : On Wed, Apr 03, 2013 at 02:11:13PM +0200, Florian Fainelli wrote: Le 04/02/13 20:06, Alan Stern a écrit : On Tue, 2 Apr 2013, Florian Fainelli wrote: This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Felipe Balbi
On Wed, Apr 03, 2013 at 02:11:13PM +0200, Florian Fainelli wrote: > Le 04/02/13 20:06, Alan Stern a écrit : > >On Tue, 2 Apr 2013, Florian Fainelli wrote: > > > >>This patch removes the depends on USB from all config symbols in > >>drivers/usb/host/Kconfig and replace that with an if USB / endif

Re: [PATCH] pinctrl: bcm2835: make use of of_property_read_u32_index()

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 7:18 AM, Tony Prisk wrote: > On Wed, 2013-03-27 at 23:09 -0600, Stephen Warren wrote: >> Use the new standard API of_property_read_u32_index() instead of open- >> coding it. >> >> Signed-off-by: Stephen Warren >> --- >> Note: This depends on the proposed patch "of: Add

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/02/13 20:06, Alan Stern a écrit : On Tue, 2 Apr 2013, Florian Fainelli wrote: This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and replace that with an if USB / endif block as suggested by Alan Stern. Some source ... Kconfig lines have been

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-03 Thread Theodore Ts'o
On Wed, Apr 03, 2013 at 11:19:25AM +0100, Mel Gorman wrote: > > I'm running with -rc5 now. I have not noticed much interactivity problems > as such but the stall detection script reported that mutt stalled for > 20 seconds opening an inbox and imapd blocked for 59 seconds doing path > lookups,

Re: [PATCH] xen: Don't call arch_trigger_all_cpu_backtrace in dom0(pvm)

2013-04-03 Thread Zhenzhong Duan
On 2013-04-01 20:41, Konrad Rzeszutek Wilk wrote: On Mon, Apr 01, 2013 at 01:26:34PM +0800, Zhenzhong Duan wrote: On 2013-03-29 21:46, Konrad Rzeszutek Wilk wrote: On Fri, Mar 29, 2013 at 03:22:38PM +0800, Zhenzhong Duan wrote: The problem is even without overwrite, like xapic system,

Re: [RFC v2] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-03 Thread Santosh Shilimkar
On Wednesday 03 April 2013 05:22 PM, Peter Ujfalusi wrote: > On 04/03/2013 01:24 PM, Santosh Shilimkar wrote: >> On Wednesday 03 April 2013 04:47 PM, Peter Ujfalusi wrote: >>> cyclic DMA is only used by audio which needs DMA to be started without a >>> delay. >>> If the DMA for audio is started

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/02/13 20:19, ba...@ti.com a écrit : Hi, On Tue, Apr 02, 2013 at 07:10:22PM +0200, Florian Fainelli wrote: diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 05e5143..ab5a3b9 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -6,7 +6,6 @@ #

Re: [RFC v2] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-03 Thread Peter Ujfalusi
On 04/03/2013 01:24 PM, Santosh Shilimkar wrote: > On Wednesday 03 April 2013 04:47 PM, Peter Ujfalusi wrote: >> cyclic DMA is only used by audio which needs DMA to be started without a >> delay. >> If the DMA for audio is started using the tasklet we experience random >> channel switch (to be

Re: [RFC] kbuild: fix ld-option function

2013-04-03 Thread Rob Landley
On 04/02/2013 12:13:42 PM, Antony Pavlov wrote: The kbuild's ld-option function is broken because the command $(CC) /dev/null -c -o "$$TMPO" does not create object file! Could you glue the doc fix to this one and submit then as one patch to the kbuild guys, please? Thanks, Rob-- To

Re: [PATCH resend] pinctrl: core: add dependence of GPIOLIB

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 12:34 AM, Haojian Zhuang wrote: > In file included from drivers/pinctrl/core.c:30:0: > include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep': > include/asm-generic/gpio.h:270:2: error: implicit declaration of > function '__gpio_get_value'

Re: [PATCH V3 2/5] spi: s3c64xx: added support for polling mode

2013-04-03 Thread Mark Brown
On Wed, Apr 03, 2013 at 05:00:04PM +0530, Girish KS wrote: > On Mon, Apr 1, 2013 at 6:42 PM, Mark Brown > >> - if (!sdd->pdev->dev.of_node) { > >> + if (!sdd->pdev->dev.of_node && !is_polling(sdd)) { > >> res = platform_get_resource(pdev, IORESOURCE_DMA, 0); > >>

Re: 3.7.10 kernel crash

2013-04-03 Thread Peter Hurley
On Tue, 2013-04-02 at 11:16 +0200, Fabio Coatti wrote: > Ok, I'll try to get better oopes. However, this is going to be tricky, as the > machine is remotely administered (via HP iLO) and uses all network interfaces > (BTW, I'm not even sure to be able to get a network driver related crash >

Re: [GIT PULL] writeback: convert writeback to unbound workqueue

2013-04-03 Thread Jens Axboe
On Tue, Apr 02 2013, Tejun Heo wrote: > Hello, Jens. > > On Tue, Apr 2, 2013 at 2:53 AM, Jens Axboe wrote: > > Thanks, pulled in for testing. We'll need the debug change in before > > sending this upstream, though. I agree with Jan/Dave that this is > > required functionality, for debugging

Re: [PATCH v9 0/9] DMA Engine support for AM33XX

2013-04-03 Thread Sekhar Nori
Hi Matt, On 3/6/2013 9:45 PM, Matt Porter wrote: > This series adds DMA Engine support for AM33xx, which uses > an EDMA DMAC. The EDMA DMAC has been previously supported by only > a private API implementation (much like the situation with OMAP > DMA) found on the DaVinci family of SoCs. > Matt

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Sven Joachim
On 2013-04-03 00:11 +0200, Greg Kroah-Hartman wrote: > 3.8-stable review patch. If anyone has any objections, please let me know. I'm seeing several complaints from udevd at boot in both 3.8.6-rc1 and 3.9-rc5: "udevd[56]: sender uid=65534, message ignored". Reverting the patch below on top of

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-03 Thread Jens Axboe
On Tue, Apr 02 2013, Jens Axboe wrote: > On Tue, Apr 02 2013, CAI Qian wrote: > > > > > > - Original Message - > > > From: "Jens Axboe" > > > To: "CAI Qian" > > > Cc: "Dave Chinner" , x...@oss.sgi.com, "LKML" > > > > > > Sent: Tuesday, April 2, 2013 5:00:47 PM > > > Subject: Re:

Re: [Suggestion] ARM64:kernel: compiling issue for early_console.

2013-04-03 Thread Christopher Covington
Hi Chen, On 04/03/2013 04:13 AM, Chen Gang wrote: > Hello Maintainers: > > it seems, this issue still exists in next-20130402. > > have you already fixed it in another tree ? Maybe somebody else does have a fix, but Catalin mentioned he was going on vacation for two weeks on March 28th in

Re: linux-next: build failure after merge of the final tree (nfsd tree related)

2013-04-03 Thread Jeff Layton
On Wed, 3 Apr 2013 07:33:01 -0400 "J. Bruce Fields" wrote: > On Wed, Apr 03, 2013 at 07:10:54AM -0400, Jeff Layton wrote: > > On Wed, 3 Apr 2013 17:42:19 +1100 > > Stephen Rothwell wrote: > > > > > Hi all, > > > > > > After merging the final tree, today's linux-next build (arm defconfig) > >

Re: linux-next: build failure after merge of the final tree (nfsd tree related)

2013-04-03 Thread J. Bruce Fields
On Wed, Apr 03, 2013 at 07:10:54AM -0400, Jeff Layton wrote: > On Wed, 3 Apr 2013 17:42:19 +1100 > Stephen Rothwell wrote: > > > Hi all, > > > > After merging the final tree, today's linux-next build (arm defconfig) > > failed like this: > > > > fs/built-in.o: In function

Re: [PATCH V3 2/5] spi: s3c64xx: added support for polling mode

2013-04-03 Thread Girish KS
On Mon, Apr 1, 2013 at 6:42 PM, Mark Brown wrote: > On Wed, Mar 13, 2013 at 12:13:31PM +0530, Girish K S wrote: > >> Some SoC's that adopt this controller might not have have dma >> interface. This patch adds support for complete polling mode >> and gives flexibity for the user to select poll/dma

Re: [PATCH v5 1/3] arm: introduce psci_smp_ops

2013-04-03 Thread Stefano Stabellini
On Tue, 2 Apr 2013, Nicolas Pitre wrote: > On Tue, 2 Apr 2013, Stefano Stabellini wrote: > > > Rename virt_smp_ops to psci_smp_ops and move them to > > arch/arm/kernel/psci_smp.c. > > Remove mach-virt/platsmp.c, now unused. > > Compile psci_smp if CONFIG_ARM_PSCI and CONFIG_SMP. > > > > Add a

Re: [PATCH v5 3/3] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-03 Thread Stefano Stabellini
On Tue, 2 Apr 2013, Nicolas Pitre wrote: > On Tue, 2 Apr 2013, Stefano Stabellini wrote: > > > Split xen_guest_init in two functions, one of them (xen_early_init) is > > going to be called very early from setup_arch. > > > > Change machine_desc->smp_init to xen_smp_init if Xen is present on the

Re: [RFC v2] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-03 Thread Santosh Shilimkar
On Wednesday 03 April 2013 04:47 PM, Peter Ujfalusi wrote: > cyclic DMA is only used by audio which needs DMA to be started without a > delay. > If the DMA for audio is started using the tasklet we experience random > channel switch (to be more precise: channel shift). > > Reported-by: Peter

[RFC v2] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-03 Thread Peter Ujfalusi
cyclic DMA is only used by audio which needs DMA to be started without a delay. If the DMA for audio is started using the tasklet we experience random channel switch (to be more precise: channel shift). Reported-by: Peter Meerwald Signed-off-by: Peter Ujfalusi --- Hi Russell, Instead of

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Alex Shi
On 04/03/2013 05:37 PM, Michael Wang wrote: >> > >> > Michael: >> > I changed the threshold to 0.1ms it has same effect on aim7. >> > So could you try the following on pgbench? > Hi, Alex > > I've done some rough test and the change point should in 6~12, Sounds good. > I'm currently

system administrator

2013-04-03 Thread vlkovce
Your Email has generated an error and will affect our database, please correct the error in your e-mail within 24 hours or your email will be disabled you can to send or recieve messages to prevent damage to our systems provider To correct the error click or copy the link below

Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree

2013-04-03 Thread Daniel Vacek
On Wed, Apr 3, 2013 at 12:28 PM, Matt Fleming wrote: > > On 30/03/13 10:04, Daniel Vacek wrote: > > > > Resending patch. It got lost somewhere. Thanks for pushing Ben. > > I applied this by hand. Your patch appears to be whitespace damaged. You're right. Sorry for the mess and thanks. --nX --

Re: linux-next: build failure after merge of the final tree (nfsd tree related)

2013-04-03 Thread Jeff Layton
On Wed, 3 Apr 2013 17:42:19 +1100 Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (arm defconfig) > failed like this: > > fs/built-in.o: In function `nfsd_reply_cache_stats_show': > super.c:(.text+0x87308): undefined reference to `__udivdi3' > >

Re: [PATCH v4] clk: add si5351 i2c common clock driver

2013-04-03 Thread Sebastian Hesselbarth
On Wed, Apr 3, 2013 at 1:46 AM, Mike Turquette wrote: > Quoting Sebastian Hesselbarth (2013-03-23 07:46:50) >> diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c >> new file mode 100644 >> index 000..9d0c210 >> --- /dev/null >> +++ b/drivers/clk/clk-si5351.c >> @@ -0,0 +1,1411

Re: [PATCH v2] nfsd: fix bug on nfs4 stateid deallocation

2013-04-03 Thread Yanchuan Nian
On Mon, Apr 01, 2013 at 09:50:44PM -0400, J. Bruce Fields wrote: > On Wed, Mar 13, 2013 at 11:04:54PM +0800, Yanchuan Nian wrote: > > 2013/3/11 J. Bruce Fields > > > > > On Mon, Mar 11, 2013 at 08:46:14AM +0800, ycn...@gmail.com wrote: > > > > NFS4_OO_PURGE_CLOSE is not handled properly. To

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-03 Thread Rafael J. Wysocki
On Wednesday, April 03, 2013 12:13:56 PM Viresh Kumar wrote: > On 3 April 2013 12:01, stratosk wrote: > > I'm sorry, I don't understand. > > The goal of this patch is not energy saving. > > He probably misunderstood it... > > > The goal is to detect CPU load as soon as possible to increase

Re: s390x: kernel BUG at fs/ext4/inode.c:1591! (powerpc too!)

2013-04-03 Thread Dmitry Monakhov
On Wed, 03 Apr 2013 13:53:49 +0400, Dmitry Monakhov wrote: Non-text part: multipart/mixed > On Wed, 03 Apr 2013 12:52:06 +0400, Dmitry Monakhov > wrote: > Non-text part: multipart/mixed > > On Tue, 2 Apr 2013 16:22:41 -0700 (PDT), Christian Kujau > > wrote: > > > On Wed, 3 Apr 2013 at 02:05,

Re: systemtap broken by removal of register_timer_hook

2013-04-03 Thread Frederic Weisbecker
2013/4/3 Mel Gorman : > Commit ba6fdda4 (profiling: Remove unused timer hook) removed > [un]register_timer_hook due to a lack of upstream users and a belief > that there were no out-of-tree users. However, systemtap uses it and > with that patch applied, some stap scripts fail with > > WARNING:

Re: [PATCH] gpiolib-acpi: introduce acpi_get_gpio_by_index() helper

2013-04-03 Thread Rafael J. Wysocki
On Wednesday, April 03, 2013 01:56:54 PM Mika Westerberg wrote: > Instead of open-coding ACPI GPIO resource lookup in each driver, we provide > a helper function analogous to Device Tree version that allows drivers to > specify which GPIO resource they are interested (using an index to the GPIO >

[PATCH] gpiolib-acpi: introduce acpi_get_gpio_by_index() helper

2013-04-03 Thread Mika Westerberg
Instead of open-coding ACPI GPIO resource lookup in each driver, we provide a helper function analogous to Device Tree version that allows drivers to specify which GPIO resource they are interested (using an index to the GPIO resources). The function then finds out the correct resource, translates

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, April 02, 2013 9:02 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] usb:

[PATCH resend] usb: host: tegra: Reset Tegra USB controller before init

2013-04-03 Thread Venu Byravarasu
To clear any configurations made by U-Boot on Tegra USB controller, reset it before init in probe. Signed-off-by: Venu Byravarasu Acked-by: Alan Stern Acked-by: Greg Kroah-Hartman reviewed-by: Stephen Warren --- This patch was already reviewed at:

Re: [PATCH v5 2/3] block: Add API for urgent request handling

2013-04-03 Thread Tanya Brokhman
On 3/25/2013 2:40 PM, Jens Axboe wrote: On Mon, Mar 25 2013, Tanya Brokhman wrote: This patch add support in block & elevator layers for handling urgent requests. The decision if a request is urgent or not is taken by the scheduler. Request is marked as urgent in cmd_flags (by the scheduler)

Re: [RFC PATCH v2] rtc: rtc-at91rm9200: manage IMR depending on revision

2013-04-03 Thread Nicolas Ferre
On 04/03/2013 11:51 AM, Johan Hovold : > On Tue, Apr 02, 2013 at 06:36:06PM +0200, Nicolas Ferre wrote: >> Signed-off-by: Nicolas Ferre >> --- >> Hi again, >> >> Here is my latest revision of this fix. It depends on the patch that is >> already >> in Andrew's patch stack:

Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Viresh Kumar
On 3 April 2013 15:12, Hans-Christian Egtvedt wrote: > Around Wed 03 Apr 2013 14:58:29 +0530 or thereabout, Viresh Kumar wrote: >> Ping!! > > If it still builds, then > > Acked-by: Hans-Christian Egtvedt > > It only uses global header files, so should be fine. Thanks. Ahh!! I have removed

Re: [PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-04-03 Thread Richard GENOUD
On [mer., 03.04.2013 14:03:52], Wenyou Yang wrote: > Signed-off-by: Wenyou Yang > Cc: li...@arm.linux.org.uk > Cc: linux-kernel@vger.kernel.org > --- > arch/arm/boot/dts/at91sam9260.dtsi | 22 ++ > arch/arm/boot/dts/at91sam9263.dtsi | 22 ++ >

Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree

2013-04-03 Thread Matt Fleming
On 30/03/13 10:04, Daniel Vacek wrote: > On Sat, Mar 30, 2013 at 4:28 AM, Ben Hutchings wrote: >> Daniel, this is an obvious fix but I noticed it still hasn't been >> applied. Please can you re-send with the proper Signed-off-by line? > > Resending patch. It got lost somewhere. Thanks for

Re: [PATCH 1/1] Introduce Intel RAPL cooling device driver

2013-04-03 Thread Paul Bolle
On Tue, 2013-04-02 at 15:15 -0700, Jacob Pan wrote: > --- a/drivers/platform/x86/Kconfig > +++ b/drivers/platform/x86/Kconfig > @@ -781,4 +781,12 @@ config APPLE_GMUX > graphics as well as the backlight. Currently only backlight > control is supported by the driver. > > +config

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-03 Thread Richard GENOUD
On [mer., 03.04.2013 13:59:19], Wenyou Yang wrote: > From: Nicolas Ferre > > Add dmaengine support. > > Using "has_dma_support" member of struct is used to select > the transfer mode: dmaengine or pdc. > > For the dmaengine transfer mode, it supports both 8 bits and 16 bits transfer. > > For

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-03 Thread Mel Gorman
On Tue, Apr 02, 2013 at 11:14:36AM -0400, Theodore Ts'o wrote: > On Tue, Apr 02, 2013 at 11:06:51AM -0400, Theodore Ts'o wrote: > > > > Can you try 3.9-rc4 or later and see if the problem still persists? > > There were a number of ext4 issues especially around low memory > > performance which

Re: [PATCH] Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"

2013-04-03 Thread Nicolas Ferre
On 04/03/2013 11:54 AM, Johan Hovold : > This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde. > > This patch introduced a few races which cannot be easily fixed with a > small follow-up patch. Furthermore, the SoC with the broken hardware > register, which this patch intended to add

Re: NULL pointer at kset_find_obj

2013-04-03 Thread David Howells
Rusty Russell wrote: > > I think this bit should be waved in front of Rusty. It looks like it > > might be a bug in error handling code. > > It does look like it, but I can't see it. The module code doesn't see > an error (presumably sig_enforce is false), so we continue processing > the

[PATCH part2 v6 0/3] staging: zcache: Support zero-filled pages more efficiently

2013-04-03 Thread Wanpeng Li
Changelog: v5 -> v6: * shove variables in debug.c and in debug.h just have an extern, spotted by Konrad * update patch description, spotted by Konrad v4 -> v5: * fix compile error, reported by Fengguang, Geert * add check for !is_ephemeral(pool), spotted by Bob v3 -> v4: * handle

[PATCH v6 2/3] staging: zcache: introduce zero-filled page stat count

2013-04-03 Thread Wanpeng Li
Introduce zero-filled page statistics to monitor the number of zero-filled pages. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/debug.c |3 +++ drivers/staging/zcache/debug.h | 17 + drivers/staging/zcache/zcache-main.c |4

[PATCH v6 1/3] staging: zcache: fix static variables defined in debug.h but used in mutiple C files

2013-04-03 Thread Wanpeng Li
After commit 95bdaee214 ("zcache: Move debugfs code out of zcache-main.c file") be merged, most of knods in zcache debugfs just export zero since these variables are defined in debug.h but are in use in multiple C files zcache-main.c and debug.c, in this case variables can't be treated as

[PATCH v2 3/3] staging: zcache: clean TODO list

2013-04-03 Thread Wanpeng Li
Cleanup TODO list since support zero-filled pages more efficiently has already done by this patchset. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/TODO |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zcache/TODO

Re: [RFC 1/4] mm: Per process reclaim

2013-04-03 Thread Michael Kerrisk
> However, the interface is a quite blunt instrument. Would there be any > virtue in extending it so that an address range could be written to Here, I did mean to say "an *optional* address range. Thanks, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

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