Re: boot tracing

2013-07-12 Thread Ingo Molnar
* Borislav Petkov wrote: > On Fri, Jul 12, 2013 at 10:27:56AM +0200, Ingo Molnar wrote: > > Robert Richter and Boris Petkov are working on 'persistent events' > > support for perf, which will eventually allow boot time profiling - > > I'm not sure if the patches and the tooling support is ready

[tip:perf/urgent] perf tools: Revert regression in configuration of Python support

2013-07-12 Thread tip-bot for Michael Witten
Commit-ID: a363a9da65d253fa7354ce5fd630f4f94df934cc Gitweb: http://git.kernel.org/tip/a363a9da65d253fa7354ce5fd630f4f94df934cc Author: Michael Witten AuthorDate: Wed, 17 Apr 2013 02:23:16 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 9 Jul 2013 17:29:01 -0300 perf tools:

[tip:perf/urgent] perf script: Fix broken include in Context.xs

2013-07-12 Thread tip-bot for Ramkumar Ramachandra
Commit-ID: 750ade7e82709c2835cb221a7b6a9ef0a6a9c0ac Gitweb: http://git.kernel.org/tip/750ade7e82709c2835cb221a7b6a9ef0a6a9c0ac Author: Ramkumar Ramachandra AuthorDate: Tue, 9 Jul 2013 15:30:30 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2013 13:47:00 -0300 perf

Re: [PATCHv2 0/5] perf tools: Remove event types data

2013-07-12 Thread Namhyung Kim
Hi Jiri, On Thu, 11 Jul 2013 17:28:28 +0200, Jiri Olsa wrote: > hi, > following up on the 'perf timechart' FIXME note and changing > its tracepoint match not to use event types data. > > Original RFC sent here: > http://marc.info/?l=linux-kernel=137344263513417=2 > > v2 changes: > - using

[tip:perf/urgent] perf symbols: Fix vdso list searching

2013-07-12 Thread tip-bot for Waiman Long
Commit-ID: f9ceffb605be7b3b3b2a6e6d14dd0d7a97eae580 Gitweb: http://git.kernel.org/tip/f9ceffb605be7b3b3b2a6e6d14dd0d7a97eae580 Author: Waiman Long AuthorDate: Thu, 9 May 2013 10:42:48 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:59:07 -0300 perf symbols:

[tip:perf/urgent] perf tools: fix a typo of a Power7 event name

2013-07-12 Thread tip-bot for Runzhen Wang
Commit-ID: 7e40c92019cef784fffbdfc51c6e731e7ee6ba10 Gitweb: http://git.kernel.org/tip/7e40c92019cef784fffbdfc51c6e731e7ee6ba10 Author: Runzhen Wang AuthorDate: Fri, 28 Jun 2013 16:14:56 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:40:05 -0300 perf tools:

[tip:perf/urgent] perf tools: Fix parse_events_terms() segfault on error path

2013-07-12 Thread tip-bot for Adrian Hunter
Commit-ID: b2c34fde048f3c85ef0716a8cdabbe46ac67d1e6 Gitweb: http://git.kernel.org/tip/b2c34fde048f3c85ef0716a8cdabbe46ac67d1e6 Author: Adrian Hunter AuthorDate: Thu, 4 Jul 2013 16:20:23 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:45:41 -0300 perf tools:

[tip:perf/urgent] perf tools: Fix perf version generation

2013-07-12 Thread tip-bot for Robert Richter
Commit-ID: a4147f0f91386540316e468f3a3674a498dada5f Gitweb: http://git.kernel.org/tip/a4147f0f91386540316e468f3a3674a498dada5f Author: Robert Richter AuthorDate: Wed, 8 May 2013 11:43:34 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 18:09:52 -0300 perf tools:

[tip:perf/urgent] perf tools: Fix new_term() missing free on error path

2013-07-12 Thread tip-bot for Adrian Hunter
Commit-ID: 4be8be6b430611def94bcd583b7b302d197a9520 Gitweb: http://git.kernel.org/tip/4be8be6b430611def94bcd583b7b302d197a9520 Author: Adrian Hunter AuthorDate: Thu, 4 Jul 2013 16:20:24 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:45:56 -0300 perf tools:

[tip:perf/urgent] perf evsel: Fix count parameter to read call in event_format__new

2013-07-12 Thread tip-bot for David Ahern
Commit-ID: 7cab84e8975cfb8a59ce3e79ce75e5eedd384484 Gitweb: http://git.kernel.org/tip/7cab84e8975cfb8a59ce3e79ce75e5eedd384484 Author: David Ahern AuthorDate: Tue, 2 Jul 2013 13:27:20 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:40:39 -0300 perf evsel: Fix

[tip:perf/urgent] perf tools: Fix -x/ --exclude-other option for report command

2013-07-12 Thread tip-bot for Jiri Olsa
Commit-ID: 0276c22a3f22b7f6696fa07b0a77635726b2c0fd Gitweb: http://git.kernel.org/tip/0276c22a3f22b7f6696fa07b0a77635726b2c0fd Author: Jiri Olsa AuthorDate: Mon, 10 Jun 2013 08:21:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:38:53 -0300 perf tools: Fix

[tip:perf/urgent] perf stat: Avoid sending SIGTERM to random processes

2013-07-12 Thread tip-bot for Stephane Eranian
Commit-ID: d07f0b120642f442d81a61f68a9325fb7717004f Gitweb: http://git.kernel.org/tip/d07f0b120642f442d81a61f68a9325fb7717004f Author: Stephane Eranian AuthorDate: Tue, 4 Jun 2013 17:44:26 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:36:33 -0300 perf stat:

[tip:perf/urgent] perf record: Remove -f/--force option

2013-07-12 Thread tip-bot for Jiri Olsa
Commit-ID: 4a4d371a4dfbd3b84a7eab8d535d4c7c3647b09e Gitweb: http://git.kernel.org/tip/4a4d371a4dfbd3b84a7eab8d535d4c7c3647b09e Author: Jiri Olsa AuthorDate: Wed, 5 Jun 2013 13:37:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:37:25 -0300 perf record:

[tip:perf/urgent] perf tools: Include termios.h explicitly

2013-07-12 Thread tip-bot for Joonsoo Kim
Commit-ID: 756bbc84e30b57ca1010b550ea30594fd0b0494f Gitweb: http://git.kernel.org/tip/756bbc84e30b57ca1010b550ea30594fd0b0494f Author: Joonsoo Kim AuthorDate: Wed, 19 Jun 2013 10:02:30 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:36:05 -0300 perf tools:

[tip:perf/urgent] perf bench: Fix memory allocation fail check in mem{set,cpy} workloads

2013-07-12 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 13966721a11f4a2ba8038191e48083b5f31822bb Gitweb: http://git.kernel.org/tip/13966721a11f4a2ba8038191e48083b5f31822bb Author: Kirill A. Shutemov AuthorDate: Thu, 6 Jun 2013 14:35:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:35:40 -0300 perf

[tip:perf/urgent] perf tools: Fix build errors with O and DESTDIR make vars set

2013-07-12 Thread tip-bot for Robert Richter
Commit-ID: 107de3724eff5a6fa6474a4d2aa5460b63749ebf Gitweb: http://git.kernel.org/tip/107de3724eff5a6fa6474a4d2aa5460b63749ebf Author: Robert Richter AuthorDate: Tue, 11 Jun 2013 17:22:38 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:34:00 -0300 perf tools:

[tip:perf/urgent] perf tools: Fix output directory of Documentation/

2013-07-12 Thread tip-bot for Robert Richter
Commit-ID: 761a0f395d5d8b7aafe563ecefbc8cf71a214a91 Gitweb: http://git.kernel.org/tip/761a0f395d5d8b7aafe563ecefbc8cf71a214a91 Author: Robert Richter AuthorDate: Mon, 6 May 2013 20:40:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jul 2013 17:31:49 -0300 perf tools:

boot tracing

2013-07-12 Thread Borislav Petkov
On Fri, Jul 12, 2013 at 10:27:56AM +0200, Ingo Molnar wrote: > Robert Richter and Boris Petkov are working on 'persistent events' > support for perf, which will eventually allow boot time profiling - > I'm not sure if the patches and the tooling support is ready enough > yet for your purposes.

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-12 Thread Mika Westerberg
On Fri, Jul 12, 2013 at 04:56:49PM +0900, Shinya Kuribayashi wrote: > On 7/11/13 7:13 PM, Mika Westerberg wrote: > >On Thu, Jul 11, 2013 at 10:36:00AM +0300, Mika Westerberg wrote: > >>On Wed, Jul 10, 2013 at 06:56:35PM +0200, Christian Ruppert wrote: > >>>On Wed, Jul 10, 2013 at 01:52:15PM +0300,

Re: is it desirable to improve the build system?

2013-07-12 Thread Richard Cochran
On Thu, Jul 11, 2013 at 02:22:14PM -0700, Mark Galeck wrote: > >The answer to "is it desirable to improve X?" is always "yes."  But > > the only way to make progress in Linux is to actually post patches > that "improve X."  This is unlike many corporate environments, where > you might need to get

Re: [RFC 0/4] Transparent on-demand struct page initialization embedded in the buddy allocator

2013-07-12 Thread Ingo Molnar
* Robin Holt wrote: > [...] > > With this patch, we did boot a 16TiB machine. Without the patches, the > v3.10 kernel with the same configuration took 407 seconds for > free_all_bootmem. With the patches and operating on 2MiB pages instead > of 1GiB, it took 26 seconds so performance was

[PATCH net 2/2] usb/net/r815x: fix cast to restricted __le32

2013-07-12 Thread Hayes Wang
>> drivers/net/usb/r815x.c:38:16: sparse: cast to restricted __le32 >> drivers/net/usb/r815x.c:67:15: sparse: cast to restricted __le32 >> drivers/net/usb/r815x.c:69:13: sparse: incorrect type in assignment >> (different base types) drivers/net/usb/r815x.c:69:13:expected unsigned int

[PATCH net 1/2] usb/net/r8152: fix integer overflow in expression

2013-07-12 Thread Hayes Wang
config: make ARCH=avr32 allyesconfig drivers/net/usb/r8152.c: In function 'rtl8152_start_xmit': drivers/net/usb/r8152.c:956: warning: integer overflow in expression 955 memset(tx_desc, 0, sizeof(*tx_desc)); > 956 tx_desc->opts1 = cpu_to_le32((len & TX_LEN_MASK) | TX_FS | TX_LS); 957

hi

2013-07-12 Thread voady4cool
Ciao il mio nome è vera devo dire che scintilla il mio interesse per un buon partner, mi piacerebbe sapere di più per lo scambio di amore e di amicizia, non esitate a inviarmi una e-mail attraverso il mio id mail (vera.matine @ yahoo. com) Please in modo che io vi manderò la mia foto e ti dirà

Re: BUG: key ffff880c1148c478 not in .data! (V3.10.0)

2013-07-12 Thread Markus Trippelsdorf
On 2013.07.12 at 10:19 +0800, Ming Lei wrote: > On Mon, Jul 8, 2013 at 6:25 AM, Linda Walsh wrote: > > Also am seeing this for the first time: > > > > (don't know, but seems unlikely to be related to > > https://patchwork.kernel.org/patch/87359/ > > Yet it is the only hit I found for the same

Re: [PATCH -next 2/2] kbuild: fix for updated LZ4 tool with the new streaming format

2013-07-12 Thread Borislav Petkov
On Fri, Jul 12, 2013 at 09:56:02AM +0200, Ingo Molnar wrote: > If a utility is not widely available yet and if the utility is not in > the kernel proper, could you please at least make sure that randconfig > does not stumble over non-buildable kernels? Two months ago I've complained about this

Re: [PATCH 1/2 v3] x86: introduce int3-based instruction patching

2013-07-12 Thread Borislav Petkov
On Thu, Jul 11, 2013 at 02:36:38PM -0700, H. Peter Anvin wrote: > On 07/11/2013 02:04 PM, Borislav Petkov wrote: > > On Thu, Jul 11, 2013 at 01:53:16PM -0700, H. Peter Anvin wrote: > >> Has anyone talked to AMD or VIA about this at all? > > > > I guess I can try to take care of the AMD part. Just

Re: [PATCH -next 2/2] kbuild: fix for updated LZ4 tool with the new streaming format

2013-07-12 Thread Ingo Molnar
* Kyungsik Lee wrote: > LZ4 has been updated with LZ4 Streaming Format specification(v1.3). > lz4demo is replaced by lz4c. lz4c supports both the new streaming and > legacy format with -l option. > > This patch makes use of lz4c to support legacy format which is > used for LZ4 De/compression

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-12 Thread Shinya Kuribayashi
On 7/11/13 7:13 PM, Mika Westerberg wrote: On Thu, Jul 11, 2013 at 10:36:00AM +0300, Mika Westerberg wrote: On Wed, Jul 10, 2013 at 06:56:35PM +0200, Christian Ruppert wrote: On Wed, Jul 10, 2013 at 01:52:15PM +0300, Mika Westerberg wrote: On Tue, Jul 09, 2013 at 06:19:28PM +0200, Christian

[PATCH v3 2/2] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-07-12 Thread Wei Ni
Enable thermal sensor nct1008 for t114 dalmore. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra114-dalmore.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index cb640eb..47ec7eb 100644 ---

[PATCH v3 0/4] Lm90 Enhancements

2013-07-12 Thread Wei Ni
This patch set enhance the lm90 driver, it make the driver more readable and easier to use thermal framework. This series is v2, previous version patches: [RFC]: http://thread.gmane.org/gmane.linux.power-management.general/31056 [v1]: http://thread.gmane.org/gmane.linux.ports.tegra/11710/ [v2]:

[PATCH v3 3/4] hwmon: (lm90) add support to handle IRQ

2013-07-12 Thread Wei Ni
When the temperature exceed the limit range value, the driver can handle the interrupt. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index c90037f..1cc3d19 100644 ---

[PATCH v3 1/4] hwmon: (lm90) split set temp as common codes

2013-07-12 Thread Wei Ni
Split set temp codes as common functions, so we can use it directly when implement linux thermal framework. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 112 +++--- 1 file changed, 69 insertions(+), 43 deletions(-) diff --git

[PATCH v3 0/2] Enable lm90 in Tegra30 and Tegra114.

2013-07-12 Thread Wei Ni
Enable thermal sensor lm90 for Tegra30 Cardhu and Tegra114 Dalmore. This series is v2, previous version patches: [RFC 1/9]: http://thread.gmane.org/gmane.linux.power-management.general/31056 [v1]: http://thread.gmane.org/gmane.linux.ports.tegra/11713/ [v2]:

[PATCH v3 1/2] ARM: dt: t30 cardhu: add dt entry for nct1008

2013-07-12 Thread Wei Ni
Enable thermal sensor nct1008 for t30 cardhu. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra30-cardhu.dtsi |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index f65b53d..e5759ca 100644 ---

[PATCH v3 4/4] hwmon: (lm90) use enums for the indexes of temp8 and temp11

2013-07-12 Thread Wei Ni
Using enums for the indexes and nrs of temp8 and temp11. This make the code much more readable. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 179 -- 1 file changed, 114 insertions(+), 65 deletions(-) diff --git a/drivers/hwmon/lm90.c

[PATCH v3 2/4] hwmon: (lm90) use macro defines for the status bit

2013-07-12 Thread Wei Ni
Add bit defines for the status register. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 72 ++ 1 file changed, 49 insertions(+), 23 deletions(-) diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index 5f30f90..c90037f 100644 ---

Re: [RFC 2/4] Have __free_pages_memory() free in larger chunks.

2013-07-12 Thread Robin Holt
After sleeping on this, why can't we change __free_pages_bootmem to not take an order, but rather nr_pages? If we did that, then __free_pages_memory could just calculate nr_pages and call __free_pages_bootmem one time. I don't see why any of the callers of __free_pages_bootmem would not easily

Re: [PATCH] input: don't call input_dev_release_keys() in resume

2013-07-12 Thread Oskar Andero
On 09:46 Fri 05 Jul , Oskar Andero wrote: > Hi Dmitry, > > On 18:33 Thu 04 Apr , Dmitry Torokhov wrote: > > Hi Oskar, > > > > On Thu, Mar 07, 2013 at 03:01:22PM +0100, oskar.and...@sonymobile.com wrote: > > > From: Aleksej Makarov > > > > > > When waking up the platform by pressing a

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-12 Thread Alexander Gordeev
On Thu, Jul 11, 2013 at 04:00:37PM -0700, Nicholas A. Bellinger wrote: > On Thu, 2013-07-11 at 12:26 +0200, Alexander Gordeev wrote: > > On Wed, May 22, 2013 at 07:03:05PM +0200, Jens Axboe wrote: > > > On Wed, May 22 2013, Alexander Gordeev wrote: > > > > On Wed, May 22, 2013 at 08:50:03AM +0900,

Re: [PATCH 6/6] [RFC] usb: gadget: USB_GADGET should depend on HAS_DMA

2013-07-12 Thread Alexander Shishkin
Alan Stern writes: > On Thu, 11 Jul 2013, Geert Uytterhoeven wrote: > >> If NO_DMA=y: >> >> drivers/built-in.o: In function `dma_set_coherent_mask': >> include/linux/dma-mapping.h:93: undefined reference to `dma_supported' >> include/linux/dma-mapping.h:93: undefined reference to

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-12 Thread James Bottomley
On Thu, 2013-07-11 at 20:34 -0700, Greg Kroah-Hartman wrote: > On Thu, Jul 11, 2013 at 10:57:46PM -0400, John W. Linville wrote: > > On Thu, Jul 11, 2013 at 08:50:23PM -0400, Theodore Ts'o wrote: > > > > > In any case, I've been very conservative in _not_ pushing bug fixes to > > > Linus after

Re: [PATCH 6/8] cpufreq: Introduce a flag ('frozen') to separate full vs temporary init/teardown

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat wrote: > During suspend/resume we would like to do a light-weight init/teardown of > CPUs in the cpufreq subsystem and preserve certain things such as sysfs files > etc across suspend/resume transitions. Add a flag called 'frozen' to help > distinguish the

Re: [PATCH] kernel: trace: remove __init from race_selftest_startup_function() and trace_selftest_startup_function_graph()

2013-07-12 Thread Chen Gang
On 07/12/2013 11:04 AM, Chen Gang wrote: > On 07/12/2013 10:38 AM, Steven Rostedt wrote: >> On Fri, 2013-07-12 at 09:58 +0800, Chen Gang wrote: >>> On 07/12/2013 09:41 AM, Steven Rostedt wrote: On Fri, 2013-07-12 at 07:51 +0800, Chen Gang wrote: >> Hmm, can all

Re: [PATCH 0/4] iio: hid-sensor: add module alias for autoload

2013-07-12 Thread Alexander Holler
Am 11.07.2013 19:27, schrieb Srinivas Pandruvada: On 07/10/2013 08:58 AM, Alexander Holler wrote: Am 10.07.2013 17:27, schrieb Srinivas Pandruvada: Hi, There was no intention to prevent auto loading. Did you get chance to test these changes? Sure, I always test patches before I send them

Re: [PATCH 6/6] [RFC] usb: gadget: USB_GADGET should depend on HAS_DMA

2013-07-12 Thread Geert Uytterhoeven
Hi Alan, On Thu, Jul 11, 2013 at 5:51 PM, Alan Stern wrote: > On Thu, 11 Jul 2013, Geert Uytterhoeven wrote: > >> If NO_DMA=y: >> >> drivers/built-in.o: In function `dma_set_coherent_mask': >> include/linux/dma-mapping.h:93: undefined reference to `dma_supported' >>

Re: [PATCH 5/8] cpufreq: Extract the handover of policy cpu to a helper function

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat wrote: > During cpu offline, when the policy->cpu is going down, some other CPU > present in the policy->cpus mask is nominated as the new policy->cpu. > Extract this functionality from __cpufreq_remove_dev() and implement > it in a helper function. This

[PATCH v3 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-12 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi

[PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

[PATCH v3 0/2] TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
Hello, v3 - fixed compiler warning v2 - the driver put in drivers/iio, and converted using iio facilities as suggested by Graeme. TWL603[02] GPADC is used to measure battery voltage, battery temperature, battery presence ID, and could be used to measure twl603[02] die temperature. This is used

Re: [PATCH 1/8] cpufreq: Revert commit a66b2e to fix cpufreq regression during suspend/resume

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:45, Srivatsa S. Bhat wrote: > commit a66b2e (cpufreq: Preserve sysfs files across suspend/resume) has > unfortunately caused several things in the cpufreq subsystem to break subtly > after a suspend/resume cycle. > > The intention of that patch was to retain the file

Re: [PATCH 4/8] cpufreq: Extract non-interface related stuff from cpufreq_add_dev_interface

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat wrote: > cpufreq_add_dev_interface() includes the work of exposing the interface > to the device, as well as a lot of unrelated stuff. Move the latter to > cpufreq_add_dev(), where it is more appropriate. > > Signed-off-by: Srivatsa S. Bhat > --- > >

[PATCH] ic7xxx_osm: use kzalloc instead of kmalloc + memset

2013-07-12 Thread Cosmin Stanescu
found using coccinelle. Signed-off-by: Cosmin Stanescu --- drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c0c6258..7167cfe 100644 ---

Re: [PATCH 3/8] cpufreq: Add helper to perform alloc/free of policy structure

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat wrote: > Separate out the allocation of the cpufreq policy structure (along with > its error handling) to a helper function. This makes the code easier to > read and also helps with some upcoming code reorganization. > > Signed-off-by: Srivatsa S. Bhat >

[PATCH] [SCSI] lpfc 8.3.40: Remove useless cast

2013-07-12 Thread Vladimir Cernov
Found using coccinelle tool. Signed-off-by: Vladimir Cernov --- drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index e0b20fa..b7621f6 100644 --- a/drivers/scsi/lpfc/lpfc_init.c

[PATCH] staging: zsmalloc: access page->private by using page_private macro

2013-07-12 Thread Sunghan Suh
Signed-off-by: Sunghan Suh --- drivers/staging/zsmalloc/zsmalloc-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zsmalloc/zsmalloc-main.c b/drivers/staging/zsmalloc/zsmalloc-main.c index 4bb275b..1a67537 100644 ---

Re: [PATCH 2/8] cpufreq: Fix misplaced call to cpufreq_update_policy()

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:45, Srivatsa S. Bhat wrote: > The call to cpufreq_update_policy() is placed in the CPU hotplug callback > of cpufreq_stats, which has a higher priority than the CPU hotplug callback > of cpufreq-core. As a result, during CPU_ONLINE/CPU_ONLINE_FROZEN, we end up > calling

[PATCH] staging/lustre/libcfs: replaced string duplication code with kstrdup

2013-07-12 Thread Dragos Foianu
Modified cfs_strdup function to use kstrdup instead of duplicating its implementation. Found using Coccinelle. Signed-off-by: Dragos Foianu --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git

[PATCH] Staging: silicom: Remove useless unneeded semicolons

2013-07-12 Thread Vladimir Cernov
From: Vladimir Found using coccinelle tool. Signed-off-by: Vladimir Cernov --- drivers/staging/silicom/bpctl_mod.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c index

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-12 Thread Felipe Balbi
Hi, On Wed, Jul 10, 2013 at 10:42:27AM -0700, Julius Werner wrote: > Hi Felipe, > > This is intended to pull down a reset signal line, not to switch power > to the device. I could implement that with the regulator framework > too, but I think that would just be confusing and harder to understand

Re: 3.10.0: Full dynticks = high load

2013-07-12 Thread Heinz Diehl
On 11.07.2013, Dâniel Fraga wrote: > I upgraded to kernel 3.10.0 and decided to try the new "Full > dynticks system (tickless)" option, but now the system load is always > at 1 or above. > > Using the previous "Idle dynticks system (tickless idle)" solves > the problem, so it seems

Re: [PATCH v3 0/6] ARM: davinci: da850: add ethernet driver DT support

2013-07-12 Thread Sekhar Nori
On 7/11/2013 10:42 PM, Prabhakar Lad wrote: > Hi Sekhar, > > On Sun, Jun 23, 2013 at 8:30 PM, Prabhakar Lad > wrote: >> From: "Lad, Prabhakar" >> >> This patch set enables Ethernet support through device tree model. >> This patch set enables mii interface only and is being tested to boot via >>

[PATCH] fnic: use simple_open instead of fnic_trace_ctrl_open

2013-07-12 Thread Camelia Groza
This removes the open coded fnic_trace_ctrl_open() function and replaces file operations references to the function with simple_open() instead. Found using coccinelle. Signed-off-by: Camelia Groza --- drivers/scsi/fnic/fnic_debugfs.c | 19 +-- 1 file changed, 1 insertion(+),

Re: [PATCH -v2 1/3] PCI: introduce PCIe Device Serial Number Capability support

2013-07-12 Thread Don Dutile
On 07/11/2013 09:38 PM, Yijing Wang wrote: Hi Don, Thanks for your review and comments very much! +dev->sn = pci_device_serial_number(dev); + Finally, 'the comment below': I know you were following Bjorn's suggestion, which I thought was an improvement, but why not do above assignment

Re: [PATCH V5 09/12] perf: make events stream always parsable

2013-07-12 Thread Adrian Hunter
On 11/07/13 18:43, David Ahern wrote: > On 7/11/13 7:12 AM, Adrian Hunter wrote: >> The event stream is not always parsable because the format of a sample >> is dependent on the sample_type of the selected event. When there >> is more than one selected event and the sample_types are not the >>

Re: [GIT PULL REQUEST] watchdog - v3.11-rc1

2013-07-12 Thread Stephen Rothwell
Hi Wim, On Thu, 11 Jul 2013 22:34:24 +0200 Wim Van Sebroeck wrote: > > Please pull from 'master' branch of > git://www.linux-watchdog.org/linux-watchdog.git This was all rebased in the last day from what has been in linux-next for some time. All the patches are the same, so the rebase

Re: [PATCH] PM: avoid 'autosleep' in shutdown progress

2013-07-12 Thread Yanmin Zhang
On Thu, 2013-07-11 at 16:03 +0800, shuox@intel.com wrote: > From: Liu ShuoX > > In shutdown progress, system is possible to do power transition > (such as suspend-to-ram) in parallel. It is unreasonable. So, > fixes it by adding a system_state checking and queue try_to_suspend > again when

Re: [PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-12 Thread Viresh Kumar
On Fri, Jul 12, 2013 at 1:04 AM, Aaro Koskinen wrote: > Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct > dereferences) broke the cpufreq functionality on Loongson2 boards: > clk_set_rate() is called before the CPU frequency table is initialized, > and therefore will always fail.

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-12 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> > For small packets we can simplify xmit processing >> > by linearizing buffers with the header: >> > most packets seem to have enough head room >> > we can use for

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-12 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: For small packets we can simplify xmit processing by linearizing buffers with the header: most packets seem to have enough head room we can

Re: [PATCH] MIPS: loongson2: cpufreq: fix broken cpufreq

2013-07-12 Thread Viresh Kumar
On Fri, Jul 12, 2013 at 1:04 AM, Aaro Koskinen aaro.koski...@iki.fi wrote: Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq functionality on Loongson2 boards: clk_set_rate() is called before the CPU frequency table is initialized, and therefore

Re: [PATCH] PM: avoid 'autosleep' in shutdown progress

2013-07-12 Thread Yanmin Zhang
On Thu, 2013-07-11 at 16:03 +0800, shuox@intel.com wrote: From: Liu ShuoX shuox@intel.com In shutdown progress, system is possible to do power transition (such as suspend-to-ram) in parallel. It is unreasonable. So, fixes it by adding a system_state checking and queue try_to_suspend

Re: [GIT PULL REQUEST] watchdog - v3.11-rc1

2013-07-12 Thread Stephen Rothwell
Hi Wim, On Thu, 11 Jul 2013 22:34:24 +0200 Wim Van Sebroeck w...@iguana.be wrote: Please pull from 'master' branch of git://www.linux-watchdog.org/linux-watchdog.git This was all rebased in the last day from what has been in linux-next for some time. All the patches are the same, so

Re: [PATCH V5 09/12] perf: make events stream always parsable

2013-07-12 Thread Adrian Hunter
On 11/07/13 18:43, David Ahern wrote: On 7/11/13 7:12 AM, Adrian Hunter wrote: The event stream is not always parsable because the format of a sample is dependent on the sample_type of the selected event. When there is more than one selected event and the sample_types are not the same then

Re: [PATCH -v2 1/3] PCI: introduce PCIe Device Serial Number Capability support

2013-07-12 Thread Don Dutile
On 07/11/2013 09:38 PM, Yijing Wang wrote: Hi Don, Thanks for your review and comments very much! +dev-sn = pci_device_serial_number(dev); + Finally, 'the comment below': I know you were following Bjorn's suggestion, which I thought was an improvement, but why not do above assignment

[PATCH] fnic: use simple_open instead of fnic_trace_ctrl_open

2013-07-12 Thread Camelia Groza
This removes the open coded fnic_trace_ctrl_open() function and replaces file operations references to the function with simple_open() instead. Found using coccinelle. Signed-off-by: Camelia Groza camelia.gr...@gmail.com --- drivers/scsi/fnic/fnic_debugfs.c | 19 +-- 1 file

Re: [PATCH v3 0/6] ARM: davinci: da850: add ethernet driver DT support

2013-07-12 Thread Sekhar Nori
On 7/11/2013 10:42 PM, Prabhakar Lad wrote: Hi Sekhar, On Sun, Jun 23, 2013 at 8:30 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch set enables Ethernet support through device tree model. This patch set enables mii interface

Re: 3.10.0: Full dynticks = high load

2013-07-12 Thread Heinz Diehl
On 11.07.2013, Dâniel Fraga wrote: I upgraded to kernel 3.10.0 and decided to try the new Full dynticks system (tickless) option, but now the system load is always at 1 or above. Using the previous Idle dynticks system (tickless idle) solves the problem, so it seems the new

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-12 Thread Felipe Balbi
Hi, On Wed, Jul 10, 2013 at 10:42:27AM -0700, Julius Werner wrote: Hi Felipe, This is intended to pull down a reset signal line, not to switch power to the device. I could implement that with the regulator framework too, but I think that would just be confusing and harder to understand

[PATCH] Staging: silicom: Remove useless unneeded semicolons

2013-07-12 Thread Vladimir Cernov
From: Vladimir gg.kasper...@gmail.com Found using coccinelle tool. Signed-off-by: Vladimir Cernov gg.kasper...@gmail.com --- drivers/staging/silicom/bpctl_mod.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c

[PATCH] staging/lustre/libcfs: replaced string duplication code with kstrdup

2013-07-12 Thread Dragos Foianu
Modified cfs_strdup function to use kstrdup instead of duplicating its implementation. Found using Coccinelle. Signed-off-by: Dragos Foianu dragos.foi...@gmail.com --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-)

Re: [PATCH 2/8] cpufreq: Fix misplaced call to cpufreq_update_policy()

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:45, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: The call to cpufreq_update_policy() is placed in the CPU hotplug callback of cpufreq_stats, which has a higher priority than the CPU hotplug callback of cpufreq-core. As a result, during

[PATCH] staging: zsmalloc: access page-private by using page_private macro

2013-07-12 Thread Sunghan Suh
Signed-off-by: Sunghan Suh sunghan@samsung.com --- drivers/staging/zsmalloc/zsmalloc-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zsmalloc/zsmalloc-main.c b/drivers/staging/zsmalloc/zsmalloc-main.c index 4bb275b..1a67537 100644 ---

[PATCH] [SCSI] lpfc 8.3.40: Remove useless cast

2013-07-12 Thread Vladimir Cernov
Found using coccinelle tool. Signed-off-by: Vladimir Cernov gg.kasper...@gmail.com --- drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index e0b20fa..b7621f6 100644 ---

Re: [PATCH 3/8] cpufreq: Add helper to perform alloc/free of policy structure

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Separate out the allocation of the cpufreq policy structure (along with its error handling) to a helper function. This makes the code easier to read and also helps with some upcoming code reorganization.

[PATCH] ic7xxx_osm: use kzalloc instead of kmalloc + memset

2013-07-12 Thread Cosmin Stanescu
found using coccinelle. Signed-off-by: Cosmin Stanescu cosmin90stane...@gmail.com --- drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c0c6258..7167cfe 100644

Re: [PATCH 1/8] cpufreq: Revert commit a66b2e to fix cpufreq regression during suspend/resume

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:45, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: commit a66b2e (cpufreq: Preserve sysfs files across suspend/resume) has unfortunately caused several things in the cpufreq subsystem to break subtly after a suspend/resume cycle. The intention of that patch was to

Re: [PATCH 4/8] cpufreq: Extract non-interface related stuff from cpufreq_add_dev_interface

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: cpufreq_add_dev_interface() includes the work of exposing the interface to the device, as well as a lot of unrelated stuff. Move the latter to cpufreq_add_dev(), where it is more appropriate. Signed-off-by:

[PATCH v3 0/2] TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
Hello, v3 - fixed compiler warning v2 - the driver put in drivers/iio, and converted using iio facilities as suggested by Graeme. TWL603[02] GPADC is used to measure battery voltage, battery temperature, battery presence ID, and could be used to measure twl603[02] die temperature. This is used

[PATCH v3 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-12 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com --- arch/arm/boot/dts/twl6030.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-12 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

Re: [PATCH 5/8] cpufreq: Extract the handover of policy cpu to a helper function

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: During cpu offline, when the policy-cpu is going down, some other CPU present in the policy-cpus mask is nominated as the new policy-cpu. Extract this functionality from __cpufreq_remove_dev() and implement it in a

Re: [PATCH 6/6] [RFC] usb: gadget: USB_GADGET should depend on HAS_DMA

2013-07-12 Thread Geert Uytterhoeven
Hi Alan, On Thu, Jul 11, 2013 at 5:51 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 11 Jul 2013, Geert Uytterhoeven wrote: If NO_DMA=y: drivers/built-in.o: In function `dma_set_coherent_mask': include/linux/dma-mapping.h:93: undefined reference to `dma_supported'

Re: [PATCH 0/4] iio: hid-sensor: add module alias for autoload

2013-07-12 Thread Alexander Holler
Am 11.07.2013 19:27, schrieb Srinivas Pandruvada: On 07/10/2013 08:58 AM, Alexander Holler wrote: Am 10.07.2013 17:27, schrieb Srinivas Pandruvada: Hi, There was no intention to prevent auto loading. Did you get chance to test these changes? Sure, I always test patches before I send them

Re: [PATCH] kernel: trace: remove __init from race_selftest_startup_function() and trace_selftest_startup_function_graph()

2013-07-12 Thread Chen Gang
On 07/12/2013 11:04 AM, Chen Gang wrote: On 07/12/2013 10:38 AM, Steven Rostedt wrote: On Fri, 2013-07-12 at 09:58 +0800, Chen Gang wrote: On 07/12/2013 09:41 AM, Steven Rostedt wrote: On Fri, 2013-07-12 at 07:51 +0800, Chen Gang wrote: Hmm, can all trace_selftest_startup_* (*selftest* in

Re: [PATCH 6/8] cpufreq: Introduce a flag ('frozen') to separate full vs temporary init/teardown

2013-07-12 Thread Viresh Kumar
On 12 July 2013 03:46, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: During suspend/resume we would like to do a light-weight init/teardown of CPUs in the cpufreq subsystem and preserve certain things such as sysfs files etc across suspend/resume transitions. Add a flag called

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-12 Thread James Bottomley
On Thu, 2013-07-11 at 20:34 -0700, Greg Kroah-Hartman wrote: On Thu, Jul 11, 2013 at 10:57:46PM -0400, John W. Linville wrote: On Thu, Jul 11, 2013 at 08:50:23PM -0400, Theodore Ts'o wrote: In any case, I've been very conservative in _not_ pushing bug fixes to Linus after -rc3 (unless

Re: [PATCH 6/6] [RFC] usb: gadget: USB_GADGET should depend on HAS_DMA

2013-07-12 Thread Alexander Shishkin
Alan Stern st...@rowland.harvard.edu writes: On Thu, 11 Jul 2013, Geert Uytterhoeven wrote: If NO_DMA=y: drivers/built-in.o: In function `dma_set_coherent_mask': include/linux/dma-mapping.h:93: undefined reference to `dma_supported' include/linux/dma-mapping.h:93: undefined reference to

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-12 Thread Alexander Gordeev
On Thu, Jul 11, 2013 at 04:00:37PM -0700, Nicholas A. Bellinger wrote: On Thu, 2013-07-11 at 12:26 +0200, Alexander Gordeev wrote: On Wed, May 22, 2013 at 07:03:05PM +0200, Jens Axboe wrote: On Wed, May 22 2013, Alexander Gordeev wrote: On Wed, May 22, 2013 at 08:50:03AM +0900, Tejun Heo

Re: [PATCH] input: don't call input_dev_release_keys() in resume

2013-07-12 Thread Oskar Andero
On 09:46 Fri 05 Jul , Oskar Andero wrote: Hi Dmitry, On 18:33 Thu 04 Apr , Dmitry Torokhov wrote: Hi Oskar, On Thu, Mar 07, 2013 at 03:01:22PM +0100, oskar.and...@sonymobile.com wrote: From: Aleksej Makarov aleksej.maka...@sonymobile.com When waking up the platform by

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