Re: [PATCH] staging/iio: Use correct argument for sizeof

2013-01-22 Thread Lars-Peter Clausen
On 01/22/2013 07:43 AM, Dan Carpenter wrote: On Mon, Jan 21, 2013 at 10:14:02PM +0100, Peter Huewe wrote: found with coccicheck sizeof when applied to a pointer typed expression gives the size of the pointer The original code is correct, in this case. We're storing an array of pointers

Re: [PATCH 33/33] ASoC: Convert to devm_ioremap_resource()

2013-01-22 Thread Mark Brown
On Tue, Jan 22, 2013 at 08:55:52AM +0100, Thierry Reding wrote: It's probably too early to apply this yet since the first patch in the series, which introduces the new function, hasn't been merged yet. I seem to have handled this poorly, as David Miller already pointed out, by not Cc'ing

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-22 Thread Mike Galbraith
On Tue, 2013-01-22 at 11:43 +0800, Michael Wang wrote: On 01/21/2013 05:44 PM, Mike Galbraith wrote: On Mon, 2013-01-21 at 17:22 +0800, Michael Wang wrote: On 01/21/2013 05:09 PM, Mike Galbraith wrote: On Mon, 2013-01-21 at 15:45 +0800, Michael Wang wrote: On 01/21/2013 03:09 PM, Mike

Re: [PATCH] staging/iio: Use correct argument for sizeof

2013-01-22 Thread Dan Carpenter
On Tue, Jan 22, 2013 at 09:02:05AM +0100, Lars-Peter Clausen wrote: On 01/22/2013 07:43 AM, Dan Carpenter wrote: On Mon, Jan 21, 2013 at 10:14:02PM +0100, Peter Huewe wrote: found with coccicheck sizeof when applied to a pointer typed expression gives the size of the pointer The

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-22 Thread Linus Walleij
On Sun, Jan 20, 2013 at 1:24 PM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: While (1) was fixed by now, I can't bisect (2) since (1) is preventing (2) from printing messages. I usually bisect like this: 1. Get hold of the patch fixing the boot regression: git format-patch

Re: [PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-22 Thread Simon Horman
On Mon, Jan 21, 2013 at 11:29:12PM -0800, Olof Johansson wrote: On Mon, Jan 21, 2013 at 08:03:01AM +0100, Thierry Reding wrote: On Mon, Jan 21, 2013 at 09:54:39AM +0900, Simon Horman wrote: On Fri, Jan 18, 2013 at 08:16:12AM +0100, Thierry Reding wrote: The asm/hardware/gic.h header does

Re: [PATCH 2/7] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2013-01-22 Thread Olof Johansson
On Mon, Jan 21, 2013 at 11:09:07PM +0100, Linus Walleij wrote: On Fri, Jan 18, 2013 at 10:30 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The Allwinner SoCs have an IP module that handle both the muxing and the GPIOs. This IP has 8 banks of 32 bits, with a number of pins

Re: [PATCH 2/2] dw_dmac: return proper residue value

2013-01-22 Thread Viresh Kumar
On Mon, Jan 21, 2013 at 2:30 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Currently the driver returns full length of the active descriptor which is wrong. We have to go throught the active descriptor and sum up the length of unsent children in the chain along with the actual

Re: [PATCH 05/15] ASoC: fsl: fiq and dma cannot both be modules

2013-01-22 Thread Arnd Bergmann
On Tuesday 22 January 2013, Mark Brown wrote: On Tue, Jan 22, 2013 at 11:50:30AM +0800, Shawn Guo wrote: I sent a fix [1] for that queued by Mark. Right, that patch looks good, too. Is the patch on the way to 3.8-rc? Yes, should be. Ok, thanks! Arnd -- To unsubscribe from this

Re: [PATCH 09/15] media: coda: don't build on multiplatform

2013-01-22 Thread Sascha Hauer
On Mon, Jan 21, 2013 at 05:16:02PM +, Arnd Bergmann wrote: The coda video codec driver depends on a mach-imx or mach-mxs specific header file mach/iram.h. This is not available when building for multiplatform, so let us disable this driver for v3.8 when building multiplatform, and

Re: [PATCH 0/6] ISDN patches for net-next

2013-01-22 Thread Tilman Schmidt
Am 21.01.2013 23:38, schrieb David Miller: Patches 1-5 applied to net-next, patch 6 applied to 'net' and queued up for -stable. Thanks. We don't have changes bypass 'net' and go into stable from net-next like you intended. We also don't use CC: stable for networking patches, you ask me to

Re: [PATCH v2 29/76] ARC: Boot #1: low-level, setup_arch(), /proc/cpuinfo, mem init

2013-01-22 Thread Arnd Bergmann
On Tuesday 22 January 2013, Vineet Gupta wrote: How does the following look like. This is RFC only and I'll squash it into Boot #1 patch. From: Vineet Gupta vgu...@synopsys.com Date: Tue, 22 Jan 2013 13:03:50 +0530 Subject: [PATCH] RFC: Convert ARC port from bootmem to memblock

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-22 Thread Arnd Bergmann
On Monday 21 January 2013, Russell King - ARM Linux wrote: In this particular case, EBSA110 is not a candidate for multi-arch build anyway, because it's ARMv4 and we're only really bothering with ARMv6 and better. Not only that, but the IO stuff on it is sufficiently obscure and

Re: [PATCH v2 29/76] ARC: Boot #1: low-level, setup_arch(), /proc/cpuinfo, mem init

2013-01-22 Thread Vineet Gupta
On Tuesday 22 January 2013 01:53 PM, Arnd Bergmann wrote: On Tuesday 22 January 2013, Vineet Gupta wrote: How does the following look like. This is RFC only and I'll squash it into Boot #1 patch. From: Vineet Gupta vgu...@synopsys.com Date: Tue, 22 Jan 2013 13:03:50 +0530 Subject: [PATCH]

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 22:21, Andi Kleen wrote: And this is a tutorial for the gdb extension using QEMU/KVM as target platform: Can you add the tutorial as a file in Documentation? Sure, will do. Other than that everything looks good to me. Thanks, Jan -- Siemens AG, Corporate Technology, CT

Re: [PATCH 16/24] ab8500-bm: Flush all work queues before suspending

2013-01-22 Thread Lee Jones
On Mon, 21 Jan 2013, Anton Vorontsov wrote: On Mon, Jan 21, 2013 at 12:03:52PM +, Lee Jones wrote: From: Jonas Aaberg jonas.ab...@stericsson.com Flush all workqueues at suspend time to avoid suspending during work. Signed-off-by: Lee Jones lee.jo...@linaro.org Signed-off-by:

[GIT PULL] regulator update for v3.8

2013-01-22 Thread Mark Brown
The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-3.8-rc4 for you to fetch changes up to

Re: [PATCH 23/24] ab8500-bm: Fix minor niggles experienced during testing

2013-01-22 Thread Lee Jones
On Mon, 21 Jan 2013, Anton Vorontsov wrote: On Mon, Jan 21, 2013 at 12:03:59PM +, Lee Jones wrote: When compile testing the new AB8500 Battery Management changes due for inclusion into upstream, there were a few minor niggles which required repairing, or adapting for use against the

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 23:15, Andi Kleen wrote: o Install that kernel on the guest If you use a static kernel you can also do - copy the initrd out of the guest once qemu... -bzImage kernel -initrd initrd -kernel/append/initrd, of course. This saves the step of getting the kernel into

Re: [PATCH 1/8] mmc: mmci: Move ios_handler functionality into the driver

2013-01-22 Thread Lee Jones
On Mon, 21 Jan 2013, Ulf Hansson wrote: On 21 January 2013 15:06, Lee Jones lee.jo...@linaro.org wrote: On Thu, 13 Dec 2012, Lee Jones wrote: There are currently two instances of the ios_handler being used. Both of which mearly toy with some regulator settings. Now there is a GPIO

Re: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-22 Thread Felipe Balbi
HI, On Mon, Jan 21, 2013 at 09:23:28PM -0800, Kukjin Kim wrote: Vivek Gautam wrote: Changes from v5: - Rebased on top of latest patches: usb: phy: samsung: Introducing usb phy driver for hsotg (v9) usb: phy: samsung: Add support to set pmu isolation (v6) As a

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-22 Thread Linus Walleij
On Sun, Jan 20, 2013 at 7:07 AM, Alex Courbot acour...@nvidia.com wrote: Actually the question of switching to GPIOlib is only worth being asked if you are making use of drivers that require GENERIC_GPIO. If this is not the case and your GPIOs are only used by your own platform code, you can

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-22 Thread Michael Wang
On 01/22/2013 04:03 PM, Mike Galbraith wrote: [snip] ... That was with your change backed out, and the q/d below applied. So that change will help to solve the issue? good to know :) But it will invoke wake_affine() with out any delay, the benefit of the patch set will be reduced a lot...

Re: [PATCH v2 50/76] ARC: SMP support

2013-01-22 Thread Vineet Gupta
On Friday 18 January 2013 08:23 PM, Arnd Bergmann wrote: On Friday 18 January 2013, Vineet Gupta wrote: +# If a plat can do IPI, same core(s) can do minimal SMP +config ARC_HAS_IPI + bool + I think it would be better to turn the logic around here, otherwise you get into trouble when

Re: [PATCHv5,RESEND 0/8] Support for Tegra 2D hardware

2013-01-22 Thread Terje Bergström
On 15.01.2013 13:43, Terje Bergstrom wrote: This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next-20130114. The set was regenerated with git format-patch -M. I have pushed both the kernel patches and libdrm changes to

[PATCH 1/2]linux-usb:define new macro and add new match rules for Huawei USB storage devices

2013-01-22 Thread fangxiaozhi 00110321
From: fangxiaozhi huana...@huawei.com 1. Define a new macro for USB storage match rules: matching with Vendor ID and interface descriptors. Signed-off-by: fangxiaozhi huana...@huawei.com diff -uprN

[PATCH 00/19] perf report: Add support for event group view (v9)

2013-01-22 Thread Namhyung Kim
Hello, This is a 9th attempt to enable event group view support to perf report. The basic idea is link group member's hist entries to a leader so that they can be shown with leader's output together. The output is sorted by the leader's period and in turn first group member's and so on. To use

[PATCH 09/19] perf ui/hist: Add support for event group view

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Show group member's overhead also when showing the leader's if event group is enabled. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 62

[PATCH 10/19] perf hist browser: Move coloring logic to hpp functions

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Move coloring logic into the hpp functions so that each value can be colored independently. It'd required for event group view. For overhead column, add a callback for printing 'folded_sign' of callchains of a hist entry. Signed-off-by: Namhyung Kim

[PATCH 11/19] perf hist browser: Add suppport for event group view

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Show group members' overhead also when showing the leader's if event group is enabled. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 57

[PATCH 12/19] perf gtk/browser: Add support for event group view

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Show group members's overhead also when showing leader's if event group is enabled. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 2/2]linux-usb:define new macro and add new match rules for Huawei USB storage devices

2013-01-22 Thread fangxiaozhi 00110321
From: fangxiaozhi huana...@huawei.com 1. Optimize the matching rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the modem interface with Huawei devices. 2. Add to support new switch command for new Huawei USB dongles. Signed-off-by: fangxiaozhi

[PATCH 16/19] perf report: Show group description when event group is enabled

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When using event group viewer, it's better to show the group description rather than the leader information alone. If a leader did not contain any member, it's a non-group event. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Cc:

[PATCH 17/19] perf report: Add --group option

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Add --group option to enable event grouping. When enabled, all the group members information will be shown together with the leader. $ perf report --group ... # group: {ref-cycles,cycles} # # # Samples: 7K of event 'anon group {

[PATCH 19/19] perf evlist: Add --group option

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Add '-g/--group' option for showing event groups. For simplicity it is currently not compatible with other options. $ perf evlist --group {ref-cycles,cycles} $ perf evlist ref-cycles cycles Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian

[PATCH 18/19] perf report: Add report.group config option

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Add report.group config option for setting default value of event group view. It affects the report output only if perf.data contains event group info. A user can write .perfconfig file like below to enable group view by default: $ cat ~/.perfconfig

[PATCH 15/19] perf report: Bypass non-leader events when event group is enabled

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Since we have all necessary information in the leader events and other members don't, bypass members. Member events will be shown along with the leaders if event group is enabled. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Cc:

Re: [PATCH] usb: musb: fix context save over suspend.

2013-01-22 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It looks like Kevin has a new address: Kevin Hilman khil...@deeprootsystems.com On 01/21/13 23:38, NeilBrown wrote: On Mon, 21 Jan 2013 13:38:59 +0200 Igor Grinberg grinb...@compulab.co.il wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [PATCH 7/7] clk: vexpress: Use common of_clk_init() function

2013-01-22 Thread Linus Walleij
On Fri, Jan 18, 2013 at 6:58 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Prashant Gaikwad (2013-01-03 23:00:58) Use common of_clk_init() function for clock initialization. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com Pawel or Linus, Can I get a Tested-by before I take

[PATCH 13/19] perf tools: Move ltrim() to util/string.c

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com As we have ltrim() implementation in builtin-script.c move it to the more generic location of util/string.c so that it can be used from other places. Cc: Feng Tang feng.t...@intel.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 14/19] perf gtk/browser: Trim column header string when event group enabled

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When event group feature is enabled, each column header is expanded to match with the whole group column width. But this is not needed for GTK+ browser since ti usually use variable-width fonts. So trim it. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane

Re: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-22 Thread Vivek Gautam
Hi Felipe, On Tue, Jan 22, 2013 at 2:20 PM, Felipe Balbi ba...@ti.com wrote: HI, On Mon, Jan 21, 2013 at 09:23:28PM -0800, Kukjin Kim wrote: Vivek Gautam wrote: Changes from v5: - Rebased on top of latest patches: usb: phy: samsung: Introducing usb phy driver for hsotg (v9)

[PATCH 08/19] perf gtk/browser: Convert hpp helpers to a function

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The hpp helpers do same job for each field so it was implemented as macro in order to access those fields easily. But it gets cumbersome to maintain a large function in a macro as the function grows. Factor it out to a function with a little helper macro

[PATCH 03/19] perf header: Add HEADER_GROUP_DESC feature

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Save group relationship information so that it can be restored when perf report is running. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Jiri Olsa jo...@redhat.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa jo...@redhat.com Cc: Paul

[PATCH 06/19] perf ui/hist: Consolidate hpp helpers

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Most of hpp helper functions do same jobs for different fields thus consolidate them to appropriate functions/macros. Cc: Jiri Olsa jo...@redhat.com Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 07/19] perf hist browser: Convert hpp helpers to a function

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The hpp helpers do same job for each field so it was implemented as macro in order to access those fields easily. But it gets cumbersome to maintain a large function in a macro as the function grows. Factor it out to a function with a little helper macro

RE: USB: storage: optimize the matching rules and support new switch command for Huawei USB storage devices

2013-01-22 Thread Fangxiaozhi (Franko)
Dear Greg: OK, I have fixed up and resend the patches based on linux-3.8-rc4 today. Email subjects: 1. [PATCH 1/2]linux-usb:define new macro and add new match rules for Huawei USB storage devices 2. [PATCH 2/2]linux-usb:define new macro and add

[PATCH 02/19] perf tests: Add group test conditions

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com As some new fields for handling groups added, check them to be sure to have valid values in test__group* cases. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Jiri Olsa jo...@redhat.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa

[PATCH 05/19] perf hists: Resort hist entries using group members for output

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When event group is enabled, sorting hist entries on periods for output should consider groups members' period also. To do that, build period table using link/pair information and compare the table. Signed-off-by: Namhyung Kim namhy...@kernel.org

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-22 Thread Tetsuo Handa
Linus Walleij wrote: While (1) was fixed by now, I can't bisect (2) since (1) is preventing (2) from printing messages. I usually bisect like this: 1. Get hold of the patch fixing the boot regression: git format-patch

[PATCH 04/19] perf report: Make another loop for linking group hists

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Now the event grouping viewing requires linking all member hists in a group to the leader's. Thus hists__output_resort should be called after linking all events in evlist. Introduce symbol_conf.event_group flag to determine whether the feature is enabled

[PATCH 01/19] perf tools: Keep group information

2013-01-22 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Add a few of group-related field in struct perf_{evlist,evsel} so that the group information in a evlist can be known easily. It only counts groups which have more than 1 members since leader-only groups are treated as non-group events. Signed-off-by:

Re: [PATCH 2/2] dw_dmac: return proper residue value

2013-01-22 Thread Andy Shevchenko
On Tue, 2013-01-22 at 13:41 +0530, Viresh Kumar wrote: On Mon, Jan 21, 2013 at 2:30 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Currently the driver returns full length of the active descriptor which is wrong. We have to go throught the active descriptor and sum up the

Re: [PATCH 23/24] ab8500-bm: Fix minor niggles experienced during testing

2013-01-22 Thread Lee Jones
On Mon, 21 Jan 2013, Anton Vorontsov wrote: On Mon, Jan 21, 2013 at 12:03:59PM +, Lee Jones wrote: When compile testing the new AB8500 Battery Management changes due for inclusion into upstream, there were a few minor niggles which required repairing, or adapting for use against the

Re: [PATCH v8 19/22] ARM: OMAP3: clock data: get rid of unused USB host clock aliases and dummies

2013-01-22 Thread Roger Quadros
On 01/21/2013 05:03 PM, Paul Walmsley wrote: Hi On Mon, 21 Jan 2013, Roger Quadros wrote: On 01/18/2013 10:27 PM, Paul Walmsley wrote: On Fri, 18 Jan 2013, Roger Quadros wrote: We don't need multiple aliases for the OMAP USB host clocks and neither the dummy clocks so remove them. CC:

Re: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-22 Thread Felipe Balbi
On Tue, Jan 22, 2013 at 02:45:26PM +0530, Vivek Gautam wrote: Hi Felipe, On Tue, Jan 22, 2013 at 2:20 PM, Felipe Balbi ba...@ti.com wrote: HI, On Mon, Jan 21, 2013 at 09:23:28PM -0800, Kukjin Kim wrote: Vivek Gautam wrote: Changes from v5: - Rebased on top of latest

RE: [PATCH v3 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-22 Thread Patil, Rachna
Hi, On Sun, Jan 20, 2013 at 03:58:14, Lars-Peter Clausen wrote: Hi, On 01/18/2013 11:48 AM, Patil, Rachna wrote: From: Patil, Rachna rac...@ti.com Signed-off-by: Patil, Rachna rac...@ti.com --- .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 35 1

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-22 Thread Arnd Bergmann
On Tuesday 22 January 2013, Santosh Shilimkar wrote: On Tuesday 22 January 2013 04:53 AM, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130121 13:07]: As for Samsung and the rest I can't comment. The original reason OMAP used this though was because the 32768Hz

Re: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-22 Thread Felipe Balbi
HI, On Tue, Jan 22, 2013 at 11:29:47AM +0200, Felipe Balbi wrote: On Tue, Jan 22, 2013 at 02:45:26PM +0530, Vivek Gautam wrote: Hi Felipe, On Tue, Jan 22, 2013 at 2:20 PM, Felipe Balbi ba...@ti.com wrote: HI, On Mon, Jan 21, 2013 at 09:23:28PM -0800, Kukjin Kim wrote: Vivek

[GIT PULL] gpio fixes for v3.8 rc:s

2013-01-22 Thread Linus Walleij
Hi Linus, here are some GPIO fixes I stacked up in my GPIO tree. Described in the tag, please pull them in! Yours, Linus Walleij The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at:

Re: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-22 Thread Vivek Gautam
Hi Felipe, On Tue, Jan 22, 2013 at 3:02 PM, Felipe Balbi ba...@ti.com wrote: HI, On Tue, Jan 22, 2013 at 11:29:47AM +0200, Felipe Balbi wrote: On Tue, Jan 22, 2013 at 02:45:26PM +0530, Vivek Gautam wrote: Hi Felipe, On Tue, Jan 22, 2013 at 2:20 PM, Felipe Balbi ba...@ti.com wrote:

Re: [PATCH 2/2] dw_dmac: return proper residue value

2013-01-22 Thread Viresh Kumar
On 22 January 2013 14:52, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2013-01-22 at 13:41 +0530, Viresh Kumar wrote: + spin_lock_irqsave(dwc-lock, flags); + if (list_empty(dwc-active_list)) { can this every happen? In the same way as in

Re: [PATCH 3/4] watchdog: add support for ux500_wdt watchdog

2013-01-22 Thread Wim Van Sebroeck
Hi Samuel, On Fri, Jan 18, 2013 at 12:40:13PM +0100, Fabio Baltieri wrote: This patch adds support for the ux500_wdt watchdog that is found in ST-Ericsson Ux500 platform. The driver is based on PRCMU APIs. Acked-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Fabio Baltieri

Re: [PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-22 Thread Lars-Peter Clausen
Hi, On 01/21/2013 02:37 PM, Naveen Krishna Chatradhi wrote: This patch add an ADC IP found on EXYNOS5 series socs from Samsung. Also adds the Documentation for device tree bindings. [...] diff --git a/drivers/iio/adc/exynos5_adc.c b/drivers/iio/adc/exynos5_adc.c new file mode 100644 index

[GIT PULL] fuse bugfixes for 3.8

2013-01-22 Thread Miklos Szeredi
Hi Linus, Please pull the following fixes for fuse: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This contain a bugfix for CUSE and miscellaneous small fixes. Thanks, Miklos David Herrmann (2): cuse: use mutex as registration lock instead of spinlocks

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

2013-01-22 Thread Linus Walleij
On Tue, Jan 22, 2013 at 5:10 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpio/gpio-palmas.c: In function 'palmas_gpio_get': drivers/gpio/gpio-palmas.c:46:2: error: implicit

[RFC] regulator: Display in use regulators in sysfs

2013-01-22 Thread Lee Jones
Please excuse any poor formatting that may occur, as this is copy-paste into my mailer, but what do you think of this idea? To locate a consumer that currently holds a regulattor, a new sysfs entry is created. The consumer are published in /sys/class/regulator/regulator.#/use. ---

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-22 Thread Will Deacon
On Mon, Jan 21, 2013 at 07:13:25PM +, Jiri Olsa wrote: On Thu, Jan 17, 2013 at 10:23:26AM +, Will Deacon wrote: On Wed, Jan 16, 2013 at 01:30:33PM +, Jiri Olsa wrote: On Wed, Jan 16, 2013 at 01:13:18PM +, Will Deacon wrote: On Tue, Jan 15, 2013 at 01:39:50PM +, Jiri

Re: [REGRESSION FIXED] i915 KMS dual head broken on DELL latitude E6420 in 3.1-rc*

2013-01-22 Thread Samuel Thibault
Hello, Samuel Thibault, le Thu 05 Jan 2012 10:53:01 +0100, a écrit : Samuel Thibault, le Thu 05 Jan 2012 03:16:46 +0100, a écrit : Samuel Thibault, le Fri 16 Sep 2011 18:30:50 +0200, a écrit : Keith Packard, le Thu 15 Sep 2011 09:22:48 -0500, a écrit : On Thu, 15 Sep 2011 10:12:59

[RFC/PATCH] scripts/tracing: Add trace_analyze.py tool

2013-01-22 Thread Ezequiel Garcia
From: Ezequiel Garcia elezegar...@gmail.com The purpose of trace_analyze.py tool is to perform static and dynamic memory analysis using a kmem ftrace log file and a built kernel tree. This script and related work has been done on the CEWG/2012 project: Kernel dynamic memory allocation tracking

Re: [PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-22 Thread Jerome Marchand
On 01/22/2013 01:07 AM, Minchan Kim wrote: Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta ngu...@vflare.org Cc: Jerome Marchand jmarc...@redhat.com Cc:

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-22 Thread Mike Galbraith
On Tue, 2013-01-22 at 15:50 +0800, Alex Shi wrote: Thanks for your suggestions and example, Mike! I just can't understand the your last words here, Sorry. what the detailed concern of you on 'both performance profiles with either metric'? Could you like to give your preferred solutions? Hm..

[PATCH v1 2/6] usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type

2013-01-22 Thread Kishon Vijay Abraham I
In order to add support for multipe PHY's of the same type, new API's for adding PHY and getting PHY has been added. Now the binding information for the PHY and controller should be done in platform file using usb_bind_phy API. And for getting a PHY, the device pointer of the USB controller and an

[PATCH v1 0/6] USB: Add support for multiple PHYs of same type

2013-01-22 Thread Kishon Vijay Abraham I
This patch series adds support for adding multiple PHY's (of same type). The binding information has to be present in the PHY library (otg.c) in order for it to return the appropriate PHY whenever the USB controller request for the PHY. So added a new API usb_bind_phy() to pass the binding

[PATCH v1 5/6] usb: otg: add device tree support to otg library

2013-01-22 Thread Kishon Vijay Abraham I
Added an API devm_usb_get_phy_by_phandle(), to get usb phy by passing a device node phandle value. This function will return a pointer to the phy on success, -EPROBE_DEFER if there is a device_node for the phandle, but the phy has not been added, or a ERR_PTR() otherwise. Cc: Marc Kleine-Budde

[PATCH v1 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-22 Thread Kishon Vijay Abraham I
In order to support platforms which has multiple PHY's (of same type) and which has multiple USB controllers, a new design is adopted wherin the binding information (between the PHY and the USB controller) should be passed to the PHY library from platform specific file (board file). So added a

[PATCH v1 4/6] drivers: usb: musb: omap: make use of the new PHY lib APIs

2013-01-22 Thread Kishon Vijay Abraham I
New PHY lib APIs like usb_add_phy_dev() and devm_usb_get_phy_dev() are used in MUSB (OMAP), in order to make use of the binding information provided in the board file (of OMAP platforms). All the platforms should be modified similar to this to add and get the PHY. Signed-off-by: Kishon Vijay

[PATCH v1 6/6] USB: MUSB: OMAP: get PHY by phandle for dt boot

2013-01-22 Thread Kishon Vijay Abraham I
The OMAP glue has been modified to get PHY by phandle for dt boot. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index

[PATCH v1 3/6] ARM: OMAP: USB: Add phy binding information

2013-01-22 Thread Kishon Vijay Abraham I
This is w.r.t the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY and the USB controller should be specified in the platform specific initialization code. So it's been done here for OMAP platforms.

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-22 Thread Linus Walleij
On Tue, Jan 22, 2013 at 10:17 AM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: 1. Get hold of the patch fixing the boot regression: git format-patch f5565295892eb93c3191aa241405fe8b685542d6^..f5565295892eb93c3191aa241405fe8b685542d6 Thanks, but sorry, I couldn't understand how

Re: [PATCH] udf: add extent cache support in case of file reading

2013-01-22 Thread Jan Kara
On Tue 22-01-13 09:45:09, Namjae Jeon wrote: 2013/1/21, Jan Kara j...@suse.cz: @@ -,6 +2219,8 @@ int udf_read_extent_cache(struct inode *inode, loff_t bcount, *lbcount = iinfo-cached_extent.lstart; memcpy(pos, iinfo-cached_extent.epos,

Re: [PATCH v2] HID: add support for Sony RF receiver with USB product id 0x0374

2013-01-22 Thread Jiri Kosina
On Tue, 22 Jan 2013, Fernando Luis Vazquez Cao wrote: If possible, I would like to get it backported to 3.7-stable (and possibly 3.2 stable), since without it a whole family of Sony desktop computers is unusable under Linux out of the box. Should I do it myself or do you have a

Re: [PATCH] regmap: debugfs: Fix compilation warning

2013-01-22 Thread Vincent Stehlé
On 01/22/2013 07:41 AM, Mark Brown wrote: (..) This sort of fix is not a good idea, you're just shutting the warning up without any sort of analysis explaining why it's generated in error. If it's generating a spurious error that's a compiler bug. In the regmap_debugfs_get_dump_start()

Re: HID: clean up quirk for Sony RF receivers

2013-01-22 Thread Jiri Kosina
On Tue, 22 Jan 2013, Fernando Luis Vázquez Cao wrote: Document what the fix-up is does and make it more robust by ensuring that it is only applied to the USB interface that corresponds to the mouse (sony_report_fixup() is called once per interface during probing). Applied. -- Jiri Kosina

Re: [BUG] Bug in netprio_cgroup and netcls_cgroup ?

2013-01-22 Thread Daniel Wagner
On Mon, Jan 21, 2013 at 09:18:38AM -0800, John Fastabend wrote: On 01/21/2013 01:57 AM, Li Zefan wrote: On 2013/1/21 17:27, Daniel Wagner wrote: On 21.01.2013 10:01, Li Zefan wrote: On 2013/1/21 16:50, Daniel Wagner wrote: Hi Li, On 21.01.2013 07:08, Li Zefan wrote: I'm not a

Re: [PATCH] of: dma.c: fix memory leakage

2013-01-22 Thread Cong Ding
On Sun, Jan 20, 2013 at 04:24:49PM -0600, Rob Herring wrote: On 01/19/2013 07:06 AM, Cong Ding wrote: The memory allocated to ofdma might be a leakage when error occurs. Signed-off-by: Cong Ding ding...@gmail.com You need to send this to whomever is working on DMA bindings. Thank you

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-22 Thread Santosh Shilimkar
On Tuesday 22 January 2013 03:01 PM, Arnd Bergmann wrote: On Tuesday 22 January 2013, Santosh Shilimkar wrote: On Tuesday 22 January 2013 04:53 AM, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130121 13:07]: As for Samsung and the rest I can't comment. The

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-22 Thread James Bottomley
On Mon, 2013-01-21 at 22:59 +, James Bottomley wrote: On Mon, 2013-01-21 at 21:00 +0100, Geert Uytterhoeven wrote: On Tue, Jan 15, 2013 at 5:56 PM, James Bottomley james.bottom...@hansenpartnership.com wrote: On Tue, 2013-01-15 at 15:07 +0100, Marek Szyprowski wrote: On 1/15/2013

Re: [PATCH 08/33] gpio: Convert to devm_ioremap_resource()

2013-01-22 Thread Linus Walleij
On Mon, Jan 21, 2013 at 11:09 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-22 Thread Marek Szyprowski
Hello, On 1/15/2013 5:56 PM, James Bottomley wrote: On Tue, 2013-01-15 at 15:07 +0100, Marek Szyprowski wrote: Hello, On 1/15/2013 10:13 AM, Geert Uytterhoeven wrote: Marek? On Tue, Jan 15, 2013 at 5:16 AM, Vineet Gupta vineet.gup...@synopsys.com wrote: On Monday 14 January 2013

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-22 Thread James Bottomley
[adding Mauro and v4l since they're the only non-arm consumers] On Tue, 2013-01-22 at 10:13 +, James Bottomley wrote: On Mon, 2013-01-21 at 22:59 +, James Bottomley wrote: On Mon, 2013-01-21 at 21:00 +0100, Geert Uytterhoeven wrote: On Tue, Jan 15, 2013 at 5:56 PM, James Bottomley

[PATCH 0/3] signalfd: a kernel interface for dumping pending signals

2013-01-22 Thread Andrey Vagin
This patch set adds ability to choose a signal queue and to read signals without dequeuing them. Three new flags are added: SFD_SHARED_QUEUE -- reads will be from process-wide shared signal queue SFD_PER_THREAD_QUEUE -- reads will be from per-thread signal queue SFD_PEEK -- don't

[PATCH 3/3] signalfd: add ability to read siginfo-s without dequeuing signals

2013-01-22 Thread Andrey Vagin
If signalfd is created with the flag SFD_PEEK, it reads siginfo-s without dequeuing signals. For reading not first siginfo pread(fd, buf, size, pos) can be used, where ppos is a sequence number of a signal in a queue. This functionality is required for checkpointing pending signals. Cc: Oleg

[PATCH 2/3] signalfd: add ability to choose a private or shared queue

2013-01-22 Thread Andrey Vagin
This patch is added two flags SFD_SHARED_QUEUE and SFD_PER_THREAD_QUEUE SFD_SHARED_QUEUE - read signals from a shared (process wide) queue SFD_PER_THREAD_QUEUE - read signals from a per-thread queue Without these flags or with both flags signals are read from both queues. This functionality is

[PATCH 1/3] signal: add a helper for dequeuing signals from a specified queue

2013-01-22 Thread Andrey Vagin
Cc: Ingo Molnar mi...@redhat.com Cc: Peter Zijlstra pet...@infradead.org Cc: Serge Hallyn serge.hal...@canonical.com Cc: Oleg Nesterov o...@redhat.com Cc: Andrew Morton a...@linux-foundation.org Cc: Eric W. Biederman ebied...@xmission.com Cc: Al Viro v...@zeniv.linux.org.uk Cc: Pavel Emelyanov

Re: [PATCH 1/1] mm/hugetlb: Set PTE as huge in hugetlb_change_protection

2013-01-22 Thread Michal Hocko
On Tue 22-01-13 02:37:15, Tony Lu wrote: -Original Message- From: Michal Hocko [mailto:mho...@suse.cz] Sent: Monday, January 21, 2013 6:04 PM To: Tony Lu Cc: linux-kernel@vger.kernel.org; linux...@kvack.org; Andrew Morton; Aneesh Kumar K.V; Hillf Danton; KAMEZAWA Hiroyuki; Chris

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-22 Thread James Bottomley
On Tue, 2013-01-22 at 11:15 +0100, Marek Szyprowski wrote: Hello, On 1/15/2013 5:56 PM, James Bottomley wrote: On Tue, 2013-01-15 at 15:07 +0100, Marek Szyprowski wrote: Hello, On 1/15/2013 10:13 AM, Geert Uytterhoeven wrote: Marek? On Tue, Jan 15, 2013 at 5:16 AM,

Re: PROBLEM: 3.8.0-rc4 keyboard failure at boot

2013-01-22 Thread Jiri Kosina
On Mon, 21 Jan 2013, Dmitry Torokhov wrote: Here is info from a computer where the keyboard works occasionally at boot (about 50% of the time). Users reboot until the keyboard works. Hmm, this is a USB keyboard so let's CC Jiri in addition to linux-input... Thanks for the report.

[PATCH v3 01/10] spi/pxa2xx: allow building on a 64-bit kernel

2013-01-22 Thread Mika Westerberg
We are going to use it on 64-bit kernel on Intel Lynxpoint so make sure we can build it into such kernel. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/spi/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/Kconfig

[PATCH v3 07/10] spi/pxa2xx: add support for runtime PM

2013-01-22 Thread Mika Westerberg
Drivers should put the device into low power states proactively whenever the device is not in use. Thus implement support for runtime PM and use the autosuspend feature to make sure that we can still perform well in case we see lots of SPI traffic within short period of time. Signed-off-by: Mika

  1   2   3   4   5   6   7   8   9   10   >