[PATCH] drivers/block/drbd: remove erroneous semicolon

2013-03-26 Thread Chen Gang
need remove it, or always return -EBUSY. it is found by compiler with 'EXTRA_CFLAG=-W'. Signed-off-by: Chen Gang --- drivers/block/drbd/drbd_actlog.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/drbd/drbd_actlog.c b/drivers/block/drbd/drbd_actlog.c

[PATCH 1/1] ethernet: dm9000 driver: davicom: upgrade driver

2013-03-26 Thread Joseph CHANG
Fixing bug for DM9000B which is a DSP revision! Had tested to Davicom DM9000 series include DM9000E(analog), DM9000A(analog), DM9000B(dsp) and DM9000C(dsp) in X86 and ARM Embedded Linux these years. Signed-off-by: Joseph CHANG --- drivers/net/ethernet/davicom/dm9000.c | 12 ++-- drive

Re: makedumpfile mmap() benchmark

2013-03-26 Thread Jingbai Ma
On 03/27/2013 02:23 PM, HATAYAMA Daisuke wrote: From: Jingbai Ma Subject: makedumpfile mmap() benchmark Date: Wed, 27 Mar 2013 13:51:37 +0800 Hi, I have tested the makedumpfile mmap patch on a machine with 2TB memory, here is testing results: Thanks for your benchmark. It's very helpful to s

Re: makedumpfile mmap() benchmark

2013-03-26 Thread HATAYAMA Daisuke
From: Jingbai Ma Subject: makedumpfile mmap() benchmark Date: Wed, 27 Mar 2013 13:51:37 +0800 > Hi, > > I have tested the makedumpfile mmap patch on a machine with 2TB > memory, here is testing results: Thanks for your benchmark. It's very helpful to see the benchmark on different environments.

[PATCH 2/2] tracing: Shrink the size of struct ftrace_event_field

2013-03-26 Thread Li Zefan
Use bit fields, and the size of struct ftrace_event_field can be shrunk from 48 bytes to 40 bytes on 64bit kernel. slab_name active_obj nr_obj size obj_per_slab - ftrace_event_field 1105 1105 48 85 (before) ftrace_event_field 1224 1224

[PATCH 1/2] tracing/syscalls: Annotate raw_init function with __init

2013-03-26 Thread Li Zefan
init_syscall_trace() can be called during kernel bootup only, so we can mark it and the functions it calls as __init. Signed-off-by: Li Zefan --- kernel/trace/trace_syscalls.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/trace/trace_syscalls.c b/kernel/tr

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-26 Thread Joonsoo Kim
On Tue, Mar 26, 2013 at 11:30:32PM -0400, Steven Rostedt wrote: > On Wed, 2013-03-27 at 11:59 +0900, Joonsoo Kim wrote: > > > How about using spin_try_lock() in unfreeze_partials() and > > using spin_lock_contented() in get_partial_node() to reduce latency? > > IMHO, this doesn't make code more de

Re: [PATCH 1/3] perf sort: Add 'addr' sort key

2013-03-26 Thread Namhyung Kim
Hi Ingo, On Tue, 26 Mar 2013 15:40:23 +0100, Ingo Molnar wrote: > * Namhyung Kim wrote: > >> From: Namhyung Kim >> >> New addr sort key provides a way to sort the entries by the symbol >> addresses. > > No objections from me - just wondering about the motivation: why would we > want to sort by

RE: [PATCH] pwm: ab8500: Fix trivial typo in dev_err message

2013-03-26 Thread Arun MURTHY
> Signed-off-by: Axel Lin Acked-by: Arun Murthy Thanks and Regards, Arun R Murthy --

[PATCH] gpio: em: Make use of devm functions

2013-03-26 Thread Magnus Damm
From: Magnus Damm Update the Emma Mobile GPIO driver to make use of devm functions. This simplifies the error handling and makes the code more compact. Signed-off-by: Magnus Damm --- Applies to linux-next tag next-20130327, written on top of: [PATCH] gpio: em: Add Device Tree support drive

Re: BUG: using smp_processor_id() in preemptible [00000000] code: asm/8267

2013-03-26 Thread Namhyung Kim
Hi Borislav, On Tue, 26 Mar 2013 19:34:52 +0100, Borislav Petkov wrote: > On Sun, Mar 24, 2013 at 04:59:24PM +0100, Borislav Petkov wrote: >> On Sun, Mar 24, 2013 at 12:55:56PM +0100, Borislav Petkov wrote: >> > Hi, >> > >> > so I was tracing a small .c program like so: >> > >> > $ ./perf record

makedumpfile mmap() benchmark

2013-03-26 Thread Jingbai Ma
Hi, I have tested the makedumpfile mmap patch on a machine with 2TB memory, here is testing results: Test environment: Machine: HP ProLiant DL980 G7 with 2TB RAM. CPU: Intel(R) Xeon(R) CPU E7- 2860 @ 2.27GHz (8 sockets, 10 cores) (Only 1 cpu was enabled the 2nd kernel) Kernel: 3.9.0-rc3+ with

Re: Build breakage in 3.8.4 [was: Linux 3.8.4]

2013-03-26 Thread Ben Hutchings
On Tue, 2013-03-26 at 09:18 -0700, Greg KH wrote: > On Tue, Mar 26, 2013 at 08:56:20AM -0700, Kees Cook wrote: > > On Sun, Mar 24, 2013 at 12:31 PM, Jiri Slaby wrote: > > > On 03/20/2013 11:25 PM, Sebastian Gottschall wrote: > > > > > >> Am 20.03.2013 21:15, schrieb Greg KH: > > >>> I'm announcing

Re: [PATCH 116/150] vfs,proc: guarantee unique inodes in /proc

2013-03-26 Thread Ben Hutchings
On Tue, 2013-03-26 at 15:20 +, Luis Henriques wrote: > 3.5.7.9 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Linus Torvalds > > commit 51f0885e5415b4cc6535e9cdcc5145bfbc134353 upstream. > > Dave Jones found another /proc issue

[PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk Acked-by: Alan Stern --- v2: Tidy up blank line as requested by Alan Stern drivers/usb/host/ehci-q.c |2 ++ 1 file changed,

Re: [RFC] mm: remove swapcache page early

2013-03-26 Thread Kamezawa Hiroyuki
(2013/03/27 11:22), Minchan Kim wrote: > Swap subsystem does lazy swap slot free with expecting the page > would be swapped out again so we can't avoid unnecessary write. > > But the problem in in-memory swap is that it consumes memory space > until vm_swap_full(ie, used half of all of swap device

linux-next: Tree for Mar 27

2013-03-26 Thread Stephen Rothwell
Hi all, Changes since 20130326: The vl4-dvb tree still had its build failure for which I disabled a staging driver. The net-next tree gained conflicts against Linus' tree. The block tree still had its build failure for which I applied a patch. The usb tree gained a build failure for wh

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-03-26 Thread Takao Indoh
(2013/03/26 23:46), Joerg Roedel wrote: > On Thu, Mar 21, 2013 at 10:32:36AM +0900, Takao Indoh wrote: >> In this function, clearing IRE bit in iommu->gcmd and writing it to >> global command register. But initial value of iommu->gcmd is zero, so >> this writel means clearing all bits in global com

Re: [RFC] mm: remove swapcache page early

2013-03-26 Thread Kyungmin Park
Hi, On Wed, Mar 27, 2013 at 11:22 AM, Minchan Kim wrote: > Swap subsystem does lazy swap slot free with expecting the page > would be swapped out again so we can't avoid unnecessary write. > > But the problem in in-memory swap is that it consumes memory space > until vm_swap_full(ie, used half of

Re: [RFC PATCH v3 5/6] sched: pack the idle load balance

2013-03-26 Thread Alex Shi
On 03/26/2013 11:55 PM, Vincent Guittot wrote: >> > So extrapolating that to a 4+4 big-little you'd get something like: >> > >> > | little A9 || big A15 | >> > | 0 | 1 | 2 | 3 || 4 | 5 | 6 | 7 | >> > --+---+---+---+---++---+---+---+---+ >> > buddy | 0 | 0 | 0 | 0 || 0 | 4

Re: linux-next: manual merge of the net-next tree with Linus' tree

2013-03-26 Thread David Miller
From: Stephen Rothwell Date: Wed, 27 Mar 2013 11:57:43 +1100 > Today's linux-next merge of the net-next tree got a conflict in > include/net/ipip.h between commit 330305cc4a6b ("pv4: Fix ip-header > identification for gso packets") from Linus' tree and commit c54419321455 > ("GRE: Refactor GRE tu

Re: [RFC PATCH v3 3/6] sched: pack small tasks

2013-03-26 Thread Alex Shi
On 03/27/2013 12:33 PM, Preeti U Murthy wrote: > Hi Peter, > > On 03/26/2013 06:07 PM, Peter Zijlstra wrote: >> On Fri, 2013-03-22 at 13:25 +0100, Vincent Guittot wrote: >>> +static bool is_light_task(struct task_struct *p) >>> +{ >>> + /* A light task runs less than 20% in average */ >>> +

linux-next: build warnings after merge of the regmap tree

2013-03-26 Thread Stephen Rothwell
Hi Mark, After merging the regmap tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from drivers/base/regmap/regmap.c:24:0: drivers/base/regmap/internal.h: In function 'regcache_get_val_addr': drivers/base/regmap/internal.h:196:2: warning: return disca

linux-next: build failure after merge of the akpm tree

2013-03-26 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/mm/numa.c: In function 'setup_node_to_cpumask_map': arch/powerpc/mm/numa.c:72:2: error: expected ';' before 'for' arch/powerpc/mm/numa.c:65:15: error: unused variable 'node'

Re: [PATCH 64/86] IP_GRE: Fix kernel panic in IP_GRE with GRE csum.

2013-03-26 Thread Steven Rostedt
On Wed, 2013-03-27 at 04:28 +, Ben Hutchings wrote: > On Tue, 2013-03-26 at 13:22 -0400, Steven Rostedt wrote: > > > 3.6.11.1 stable review patch. > > If anyone has any objections, please let me know. > > > > -- > > > > From: Pravin B Shelar > > > > [ Upstream commit d0a7cc

Re: [RFC PATCH v3 3/6] sched: pack small tasks

2013-03-26 Thread Preeti U Murthy
Hi Peter, On 03/26/2013 06:07 PM, Peter Zijlstra wrote: > On Fri, 2013-03-22 at 13:25 +0100, Vincent Guittot wrote: >> +static bool is_light_task(struct task_struct *p) >> +{ >> + /* A light task runs less than 20% in average */ >> + return ((p->se.avg.runnable_avg_sum * 5) < >> +

Re: [PATCH V3 2/4] cpufreq: governor: Implement per policy instances of governors

2013-03-26 Thread Viresh Kumar
On 27 March 2013 01:18, Jacob Shin wrote: > On Wed, Mar 27, 2013 at 01:02:15AM +0530, Viresh Kumar wrote: >> +struct dbs_data *gdbs_data; >> + > > Hmm .. I don't think this works for both ondemand and conservative > governors running at the same time . Yes, this should fix it (untested for now, i

Re: [PATCH 64/86] IP_GRE: Fix kernel panic in IP_GRE with GRE csum.

2013-03-26 Thread Ben Hutchings
On Tue, 2013-03-26 at 13:22 -0400, Steven Rostedt wrote: > 3.6.11.1 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Pravin B Shelar > > [ Upstream commit d0a7cc630a337b0f56dc145e7eb6232852b14dd4 ] > > Due to IP_GRE GSO support, GRE can

Re: linux-next: build failure after merge of the usb tree

2013-03-26 Thread Greg KH
On Wed, Mar 27, 2013 at 11:51:41AM +0800, Ming Lei wrote: > Hi, > > On Wed, Mar 27, 2013 at 11:41 AM, Stephen Rothwell > wrote: > > > > > > I have reverted the commit from usb.current on the assumption that the > > problem it solves has been, or will be, solved some other way. > > The commit is

Re: PROBLEM: All CPUs in soft lockup

2013-03-26 Thread li guang
seems tasks are hogging your cpu/memory resource, did you check status your servicing processes? 在 2013-03-27三的 12:55 +1100,Robert Norris写道: > In the last two weeks we've had three servers (identical hardware, > software and load) hang. The details in this report are from one that > hung last nigh

Re: linux-next: build failure after merge of the usb tree

2013-03-26 Thread Ming Lei
Hi, On Wed, Mar 27, 2013 at 11:41 AM, Stephen Rothwell wrote: > > > I have reverted the commit from usb.current on the assumption that the > problem it solves has been, or will be, solved some other way. The commit is needed in 3.9 linus tree and stable tree, but for next tree or 3.10, a rever

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Stephen Warren
On 03/26/2013 11:50 AM, Lubomir Rintel wrote: > This adds a driver for watchdog timer hardware present on Broadcom BCM2835 > SoC, > used in Raspberry Pi and Roku 2 devices. Tested-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

linux-next: build failure after merge of the usb tree

2013-03-26 Thread Stephen Rothwell
Hi Greg, After merging the usb tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/usb/serial/usb-serial.c: In function 'usb_serial_probe': drivers/usb/serial/usb-serial.c:887:3: error: 'struct usb_serial_port' has no member named 'delta_msr_wait' Caused by commit eba

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Stephen Warren
On 03/26/2013 11:50 AM, Lubomir Rintel wrote: > This adds a driver for watchdog timer hardware present on Broadcom BCM2835 > SoC, > used in Raspberry Pi and Roku 2 devices. Since this patch defines a new DT binding, you should send it to devicetree-disc...@lists.ozlabs.org too. > diff --git a/dr

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:12 AM, Lubomir Rintel wrote: > On Fri, 2013-03-22 at 20:24 -0600, Stephen Warren wrote: > > Thank you for your response! > >> On 03/22/2013 06:55 AM, Lubomir Rintel wrote: >>> Signed-off-by: Lubomir Rintel >> A couple of general comments: >> >> 1) >> >> This driver touches the

makedumpfile: benchmark on mmap() with /proc/vmcore on 2TB memory system

2013-03-26 Thread HATAYAMA Daisuke
Hello, I finally did benchmark makedumpfile with mmap() on /proc/vmcore on *2TB memory system*. In summary, it tooks about 35 seconds to filter 2TB memory. This can be compared to the two kernel-space filtering works: - Cliff Wickman's 4 minutes on 8 TB memory system: http://lists.infradead.or

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-26 Thread Steven Rostedt
On Wed, 2013-03-27 at 11:59 +0900, Joonsoo Kim wrote: > How about using spin_try_lock() in unfreeze_partials() and > using spin_lock_contented() in get_partial_node() to reduce latency? > IMHO, this doesn't make code more deterministic, but can maintain > a benefit of cpu partial page with tolerab

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-26 Thread Bill Huang
On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: > Reentrancy into the clock framework from the clk.h api is highly > desirable. This feature is necessary for clocks that are prepared and > unprepared via i2c_transfer (which includes many PMICs and discrete > audio chips) and it is also ne

Re: [PATCH] cpufreq: cpu0: Fix mistake in Documentation example

2013-03-26 Thread Viresh Kumar
On 27 March 2013 04:20, Rafael J. Wysocki wrote: > On Tuesday, March 26, 2013 08:10:46 PM Viresh Kumar wrote: >> "clock-latency" is incorrectly written as "transition-latency" in an example >> present in Documentation of cpufreq-cpu0. Fix it. >> >> Signed-off-by: Viresh Kumar > > Am I supposed to

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:12 AM, Lubomir Rintel wrote: > On Fri, 2013-03-22 at 20:24 -0600, Stephen Warren wrote: > > Thank you for your response! > >> On 03/22/2013 06:55 AM, Lubomir Rintel wrote: >>> Signed-off-by: Lubomir Rintel >> I'm curious where you got the documentation to write this driver; thi

Re: ptracing a task from core_pattern pipe

2013-03-26 Thread Daniel Walker
On Mon, Mar 25, 2013 at 10:48:07AM +0100, Denys Vlasenko wrote: > On 03/19/2013 09:19 PM, Oleg Nesterov wrote: > >> The above is regarding the situation which I'm running my corepipe_app , > >> i.e. my system doesn't have a disk to save a core file for parsing. > > > > Can't you process the data i

Re: [PATCH 1/2] vfio-pci: Use byte granularity in config map

2013-03-26 Thread Alex Williamson
On Wed, 2013-03-27 at 10:35 +0800, Gavin Shan wrote: > On Tue, Mar 26, 2013 at 12:17:03PM -0600, Alex Williamson wrote: > >The config map previously used a byte per dword to map regions of > >config space to capabilities. Modulo a bug where we round the length > >of capabilities down instead of up

Re: [PATCH] cpufreq: cpu0: Fix mistake in Documentation example

2013-03-26 Thread Shawn Guo
On Tue, Mar 26, 2013 at 08:10:46PM +0530, Viresh Kumar wrote: > "clock-latency" is incorrectly written as "transition-latency" in an example > present in Documentation of cpufreq-cpu0. Fix it. > > Signed-off-by: Viresh Kumar Acked-by: Shawn Guo > --- > Documentation/devicetree/bindings/cpufre

Re: [PATCH v2] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:39 AM, Lubomir Rintel wrote: > This adds a driver for random number generator present on Broadcom BCM2835 > SoC, > used in Raspberry Pi and Roku 2 devices. This, coupled with the other two patches, Tested-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubs

Re: [net-next 1/5] macvtap: set transport header before passing skb to lower device

2013-03-26 Thread Jason Wang
On 03/26/2013 11:06 PM, Eric Dumazet wrote: > On Tue, 2013-03-26 at 14:19 +0800, Jason Wang wrote: >> Set the transport header for 1) some drivers (e.g ixgbe) needs l4 header 2) >> precise packet length estimation (introduced in 1def9238) needs l4 header to >> compute header length. >> >> For the p

Re: [PATCH v2] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:39 AM, Lubomir Rintel wrote: > This adds a driver for random number generator present on Broadcom BCM2835 > SoC, > used in Raspberry Pi and Roku 2 devices. I think this looks OK from a quick glance aside from the authorship issue. This email wasn't Cd'd to Herbert Xu, who is lis

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-26 Thread Joonsoo Kim
On Mon, Mar 25, 2013 at 02:32:35PM -0400, Steven Rostedt wrote: > On Mon, 2013-03-25 at 18:27 +, Christoph Lameter wrote: > > On Mon, 25 Mar 2013, Steven Rostedt wrote: > > > > > If this makes it more deterministic, and lower worse case latencies, > > > then it's definitely worth the price. >

Re: [PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:31 AM, Lubomir Rintel wrote: > This adds a device tree binding for random number generator present on > Broadcom > BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. > > Signed-off-by: Lubomir Rintel > Cc: Stephen Warren > Cc: linux-rpi-ker...@lists.infradead.org > --- > Cha

[PATCH v8 2/9] mfd: Add the main bulk of core driver for SI476x code

2013-03-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 886 ++ 1 file changed, 886 insertions(+) create mode

[PATCH v8 4/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-03-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary func

Re: [PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-26 Thread Stephen Warren
On 03/24/2013 08:37 AM, Lubomir Rintel wrote: > On Fri, 2013-03-22 at 20:44 -0600, Stephen Warren wrote: > > Thank you for your response! > >> On 03/22/2013 06:55 AM, Lubomir Rintel wrote: >>> Signed-off-by: Lubomir Rintel >> >> A commit description would be useful. >> >>> arch/arm/boot/dts/bcm

[PATCH v8 7/9] v4l2: Add documentation for the FM RX controls

2013-03-26 Thread Andrey Smirnov
Add appropriate documentation for all the newly added standard controls. Based on the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641303-media-update-docs-for-v4l2-fm-new-features.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/DocBo

[PATCH v8 6/9] v4l2: Add standard controls for FM receivers

2013-03-26 Thread Andrey Smirnov
This commit introduces new class of standard controls V4L2_CTRL_CLASS_FM_RX. This class is intended to all controls pertaining to FM receiver chips. Also, two controls belonging to said class are added as a part of this commit: V4L2_CID_TUNE_DEEMPHASIS and V4L2_CID_RDS_RECEPTION. This patch is bas

[PATCH v8 3/9] mfd: Add chip properties handling code for SI476X MFD

2013-03-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 242 + 1 file changed, 242 insertions(+) create mode 100644 d

[PATCH v8 8/9] v4l2: Add private controls base for SI476X

2013-03-26 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/incl

[PATCH v8 5/9] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-03-26 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/con

[PATCH v8 1/9] mfd: Add commands abstraction layer for SI476X MFD

2013-03-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1554 ++ 1 file changed, 1554 insertions(+) create mode 100644 dr

[PATCH v8 0/9] Driver for Si476x series of chips

2013-03-26 Thread Andrey Smirnov
Driver for Si476x series of chips This is a eight version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 Second version of the patch was posted here: https://lkml.org/lkml/2012/10/5/598 Third version of the patch was posted here: https://lkml.org/lkml/2012/10/23/510

Re: [ 084/104] USB: serial: add modem-status-change wait queue

2013-03-26 Thread Ben Hutchings
On Tue, 2013-03-26 at 16:36 +0100, Johan Hovold wrote: > On Mon, Mar 25, 2013 at 2:06 AM, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > This patch is incorrect as the wait-queue initialisation is missing. A > fix has been posted to linux-

[RFC] mm: remove swapcache page early

2013-03-26 Thread Minchan Kim
Swap subsystem does lazy swap slot free with expecting the page would be swapped out again so we can't avoid unnecessary write. But the problem in in-memory swap is that it consumes memory space until vm_swap_full(ie, used half of all of swap device) condition meet. It could be bad if we use multi

Re: RFC v2: Zynq Clock Controller

2013-03-26 Thread Mike Turquette
Quoting Sören Brinkmann (2013-03-25 17:03:24) > On Mon, Mar 25, 2013 at 05:33:10PM -0600, Stephen Warren wrote: > > On 03/25/2013 12:27 PM, Sören Brinkmann wrote: > > > Hi Stephen, > > > > > > On Mon, Mar 25, 2013 at 12:13:08PM -0600, Stephen Warren wrote: > > >> On 03/20/2013 05:56 PM, Sören Brin

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

2013-03-26 Thread Hongbo Zhang
On 26 March 2013 23:23, Guenter Roeck wrote: > On Tue, Mar 26, 2013 at 03:06:59PM +0800, Hongbo Zhang wrote: >> 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

[PATCH] fuse: Consider the ->big_writes for allocing fuse_req when do writing

2013-03-26 Thread majianpeng
If fc->big_writes == 0, for write-operation it only do 4k in func fuse_fill_write_pages. So when alloc fuse_req,we should consider this restrict in order to do additional operations. The additional operations are memset-opeartion in func fuse_requenst_alloc and alloc more space if nr_pages is lar

Re: [PATCH v3] memcg: Add memory.pressure_level events

2013-03-26 Thread Kamezawa Hiroyuki
(2013/03/22 16:13), Anton Vorontsov wrote: With this patch userland applications that want to maintain the interactivity/memory allocation cost can use the pressure level notifications. The levels are defined like this: The "low" level means that the system is reclaiming memory for new allocatio

Re: [PATCH 4/4] f2fs: fix to give correct parent inode number for roll forward

2013-03-26 Thread Namjae Jeon
> */ > -static inline void set_cold_file(struct f2fs_sb_info *sbi, struct inode > *inode, > +static inline void set_cold_files(struct f2fs_sb_info *sbi, struct inode > *inode, > const unsigned char *name) > { > int i; > @@ -108,7 +109,7 @@ static inline void set_cold_file(str

Re: [RFC PATCH part2 0/4] Allow allocating pagetable on local node in movablemem_map.

2013-03-26 Thread Tang Chen
Hi Yinghai, Would you please help to review this patch-set ? And how do you think of the memblock flag idea ? FYI, Liu Jiang has proposed a similar idea before. https://lkml.org/lkml/2012/12/6/422 But we may have the following difference: 1) It is a flag, not a tag, which means a range may hav

[PATCH] Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"

2013-03-26 Thread Michel Lespinasse
This reverts commit 1869305009857cdeaabe6283bcdc2359c5784543. VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or mlock are operating on. Also, the only effect of VM_POPULATE when userspace plays such games is that it

Re: [PATCH] clk: divider: Use DIV_ROUND_CLOSEST

2013-03-26 Thread Mike Turquette
Quoting Sören Brinkmann (2013-03-26 15:45:22) > On Thu, Mar 21, 2013 at 10:15:31AM +0100, Uwe Kleine-König wrote: > > Hello, > > > > On Wed, Mar 20, 2013 at 07:50:51PM +0100, Sascha Hauer wrote: > > > On Wed, Mar 20, 2013 at 09:32:51AM -0700, Sören Brinkmann wrote: > > > > If the caller > > > > do

Re: [PATCH 4/6] pci: Add PCIe driver for Samsung Exynos

2013-03-26 Thread Jingoo Han
On Wednesday, March 27, 2013 6:33 AM, Rob Herring wrote: > > On 03/22/2013 11:07 PM, Jingoo Han wrote: > > Exynos5440 has a PCIe controller which can be used as Root Complex. > > This driver supports a PCIe controller as Root Complex mode. > > > > Signed-off-by: Surendranath Gurivireddy Balla > >

Re: [PATCH 2/4] f2fs: do not skip writing file meta during fsync

2013-03-26 Thread Namjae Jeon
2013/3/27, Jaegeuk Kim : > 2013-03-27 (수), 09:57 +0900, Namjae Jeon: >> 2013/3/27, Jaegeuk Kim : >> > 2013-03-26 (화), 09:48 +0900, Namjae Jeon: >> >> 2013/3/25, Jaegeuk Kim : >> >> > This patch removes data_version check flow during the fsync call. >> >> > The original purpose for the use of data_v

Re: [GIT PULL] nohz: Full dynticks base interface

2013-03-26 Thread Paul E. McKenney
On Wed, Mar 27, 2013 at 12:48:20AM +0100, Frederic Weisbecker wrote: > 2013/3/25 Paul E. McKenney : > > On Mon, Mar 25, 2013 at 06:12:12PM +0100, Frederic Weisbecker wrote: > >> 2013/3/25 Paul E. McKenney : > >> > On Sun, Mar 24, 2013 at 03:46:40PM +0100, Frederic Weisbecker wrote: > >> >> 2013/3/2

Re: [PATCH 2/4] f2fs: do not skip writing file meta during fsync

2013-03-26 Thread Jaegeuk Kim
2013-03-27 (수), 09:57 +0900, Namjae Jeon: > 2013/3/27, Jaegeuk Kim : > > 2013-03-26 (화), 09:48 +0900, Namjae Jeon: > >> 2013/3/25, Jaegeuk Kim : > >> > This patch removes data_version check flow during the fsync call. > >> > The original purpose for the use of data_version was to avoid writng > >>

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-26 Thread Li Zefan
> Although correct, it is a bit misleading. It is static in the sense it > is held by a static variable. But it is acquired by kmalloc... > > In any way, this is a tiny detail. > > FWIW, I am fine with the patch you provided: > > Acked-by: Glauber Costa > Michal, could you resend your final p

Re: [PATCH] staging: zsmalloc: Fix link error on ARM

2013-03-26 Thread Minchan Kim
On Wed, Mar 27, 2013 at 01:43:14AM +0100, Joerg Roedel wrote: > On Wed, Mar 27, 2013 at 09:05:52AM +0900, Minchan Kim wrote: > > And please Cc stable. > > Okay, here it is. The result is compile-tested. > > Changes since v1: > > * Remove the module-export for unmap_kernel_range and make zsmalloc

linux-next: manual merge of the net-next tree with Linus' tree

2013-03-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/net/ipip.h between commit 330305cc4a6b ("pv4: Fix ip-header identification for gso packets") from Linus' tree and commit c54419321455 ("GRE: Refactor GRE tunneling code") from the net-next tree. I just dropped the fil

Re: [PATCH 2/4] f2fs: do not skip writing file meta during fsync

2013-03-26 Thread Namjae Jeon
2013/3/27, Jaegeuk Kim : > 2013-03-26 (화), 09:48 +0900, Namjae Jeon: >> 2013/3/25, Jaegeuk Kim : >> > This patch removes data_version check flow during the fsync call. >> > The original purpose for the use of data_version was to avoid writng >> > inode >> > pages redundantly by the fsync calls repe

[PATCH 2/2] timer_list: convert timer list to be a proper seq_file

2013-03-26 Thread Nathan Zimmer
When running with 4096 cores attemping to read /proc/timer_list will fail with an ENOMEM condition. On a sufficantly large systems the total amount of data is more then 4mb, so it won't fit into a single buffer. The failure can also occur on smaller systems when memory fragmentation is high as re

[PATCH 1/2] timer_list: split timer_list_show_tickdevices

2013-03-26 Thread Nathan Zimmer
Split timer_list_show_tickdevices() out the header and just pull the rest up to timer_list_show. Also tweak the location of the whitespace. This is all to prep for the fix. Signed-off-by: Nathan Zimmer Reported-by: Dave Jones Cc: John Stultz Cc: Thomas Gleixner Cc: Stephen Boyd v4: correct

[PATCH v5 0/2] timer_list: Fix /proc/timer_list failure on 4096 cpus

2013-03-26 Thread Nathan Zimmer
On systems with 4096 cores attemping to read /proc/timer_list fails because we are trying to push all the data into a single kmalloc buffer. A better solution is to not us the single_open mechanism but to provide our own seq_operations and treat each cpu as an individual record. The output should

Re: Revert VM_POPULATE?

2013-03-26 Thread Michel Lespinasse
On Tue, Mar 26, 2013 at 5:26 PM, Hugh Dickins wrote: > Michel, I propose that we revert 3.9-rc1's VM_POPULATE flag - 186930500985 > "mm: introduce VM_POPULATE flag to better deal with racy userspace programs". > > Konstantin's 3.7 cleanup of VM_flags has left several bits below 32 > free, but soon

Re: [PATCH] staging: zsmalloc: Fix link error on ARM

2013-03-26 Thread Joerg Roedel
On Wed, Mar 27, 2013 at 09:05:52AM +0900, Minchan Kim wrote: > And please Cc stable. Okay, here it is. The result is compile-tested. Changes since v1: * Remove the module-export for unmap_kernel_range and make zsmalloc built-in instead Here is the patch: >From 2b70502720b36909f9f39bdf27be213

Re: [PATCH 09/10] ioatdma: Adding write back descriptor error status support for ioatdma 3.3

2013-03-26 Thread Dan Williams
On 3/26/13 3:43 PM, "Dave Jiang" wrote: >v3.3 provides support for write back descriptor error status. This allows >reporting of errors in a descriptor field. In supporting this, certain >errors such as P/Q validation errors no longer halts the channel. The DMA >engine can continue to execute u

[git pull] vfs fixes

2013-03-26 Thread Al Viro
-stable fodder; assorted deadlock fixes. Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (3): Don't bother with redoing rw_verify_area() from default_file_splice_from() Nest rename_lock inside vfsmount_lock vt: synchronize

Re: [PATCH 138/150] sfc: Disable soft interrupt handling during efx_device_detach_sync()

2013-03-26 Thread Ben Hutchings
On Tue, 2013-03-26 at 15:20 +, Luis Henriques wrote: > 3.5.7.9 -stable review patch. If anyone has any objections, please let me > know. [...] I applied all 16 of the sfc patches on top of 3.5.7.8 and the result passed our standard 'overnight' test suite for in-tree drivers. Ben. -- Ben H

Re: [RFC v7 00/11] Support vrange for anonymous page

2013-03-26 Thread John Stultz
On 03/25/2013 01:42 AM, Minchan Kim wrote: On Fri, Mar 22, 2013 at 10:06:56AM -0700, John Stultz wrote: So, if I understand you properly, its more an issue of the the added cost of making the purged range non-volatile, and re-faulting in the pages if we purge them all, when we didn't actually h

Revert VM_POPULATE?

2013-03-26 Thread Hugh Dickins
Michel, I propose that we revert 3.9-rc1's VM_POPULATE flag - 186930500985 "mm: introduce VM_POPULATE flag to better deal with racy userspace programs". Konstantin's 3.7 cleanup of VM_flags has left several bits below 32 free, but sooner or later someone will want to come through again and free so

Re: [PATCH] staging: zsmalloc: Fix link error on ARM

2013-03-26 Thread Joerg Roedel
On Wed, Mar 27, 2013 at 09:05:52AM +0900, Minchan Kim wrote: > Oops, it was my fault. When I tested [1] on CONFIG_SMP machine on ARM, > it worked well. It means it's not always problem on every CONFIG_SMP > on ARM machine but some SMP machine define flush_tlb_kernel_range, > others don't. > > At t

Re: [PATCH 2/4] f2fs: do not skip writing file meta during fsync

2013-03-26 Thread Jaegeuk Kim
2013-03-26 (화), 09:48 +0900, Namjae Jeon: > 2013/3/25, Jaegeuk Kim : > > This patch removes data_version check flow during the fsync call. > > The original purpose for the use of data_version was to avoid writng inode > > pages redundantly by the fsync calls repeatedly. > Hi Jaegeuk. > > However, w

Re: [PATCH 0/2] lib/scatterlist: sg_page_iter: support for memory w/o backing pages

2013-03-26 Thread Daniel Vetter
On Tue, Mar 26, 2013 at 12:57:42PM -0700, Andrew Morton wrote: > On Tue, 26 Mar 2013 15:50:20 +0100 Daniel Vetter wrote: > > > On Tue, Mar 26, 2013 at 03:14:17PM +0200, Imre Deak wrote: > > > When adding sg_page_iter I haven't thought properly through the use case > > > for sg lists w/o backing p

Re: [Intel-gfx] [PATCH 0/2] lib/scatterlist: sg_page_iter: support for memory w/o backing pages

2013-03-26 Thread Daniel Vetter
On Tue, Mar 26, 2013 at 10:50:57PM +, Damien Lespiau wrote: > On Tue, Mar 26, 2013 at 03:14:17PM +0200, Imre Deak wrote: > > When adding sg_page_iter I haven't thought properly through the use case > > for sg lists w/o backing pages - which is specific to the i915 driver - > > so this patchset

regulator: ab8500: ambiguous meaning of delay setting in struct ab8500_regulator_info

2013-03-26 Thread Axel Lin
Hi, The comment of struct ab8500_regulator_info says the delay means "startup/set voltage delay in us". I'm confused by the meaning, does it mean enable_time or set_voltage_time_sel time or both? * @enable_time: Time taken for the regulator voltage output voltage to * stabilise af

Re: [PATCH] staging: zsmalloc: Fix link error on ARM

2013-03-26 Thread Minchan Kim
On Tue, Mar 26, 2013 at 11:33:52PM +0100, Joerg Roedel wrote: > Testing the arm chromebook config against the upstream > kernel produces a linker error for the zsmalloc module from > staging. The symbol flush_tlb_kernel_range is not available > there. Fix this by removing the reimplementation of >

Re: [PATCH 09/10] ioatdma: Adding write back descriptor error status support for ioatdma 3.3

2013-03-26 Thread Dave Jiang
On 03/26/2013 04:47 PM, Dan Williams wrote: On 3/26/13 3:43 PM, "Dave Jiang" wrote: v3.3 provides support for write back descriptor error status. This allows reporting of errors in a descriptor field. In supporting this, certain errors such as P/Q validation errors no longer halts the channel

[PATCH 01/10] ioatdma: Adding PCI IDs for Intel Atom S1200 product family ioatdma devices

2013-03-26 Thread Dave Jiang
These should be good for the IOAT DMA devices on the Intel Atom S1269, S1279, and S1289 platforms. We are also adding IOAT v3.3 definition for the new DMA engine. Signed-off-by: Dave Jiang --- drivers/dma/ioat/hw.h |6 ++ drivers/dma/ioat/pci.c |6 ++ 2 files changed, 12 inserti

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

2013-03-26 Thread Stephen Rothwell
Hi Mauro, On Tue, 26 Mar 2013 09:04:52 -0300 Mauro Carvalho Chehab wrote: > > Em Tue, 26 Mar 2013 17:18:47 +1100 > Stephen Rothwell escreveu: > > > After merging the final tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > drivers/staging/media/solo6x10/solo6x

[ 00/98] 3.8.5-stable review

2013-03-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.8.5 release. There are 98 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Mar 28 22:41:38 UTC 2013. Anything received

[ 01/98] USB: EHCI: work around silicon bug in Intels EHCI controllers

2013-03-26 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 6402c796d3b4205d3d7296157956c5100a05d7d6 upstream. This patch (as1660) works around a hardware problem present in some (if not all) Intel EHCI controllers. After a QH has bee

[ 03/98] net/ipv4: Ensure that location of timestamp option is stored

2013-03-26 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: David Ward [ Upstream commit 4660c7f498c07c43173142ea95145e9dac5a6d14 ] This is needed in order to detect if the timestamp option appears more than once in a packet, to remove the option if th

[PATCH 08/10] ioatdma: Adding support for 16 src PQ ops and super extended descriptors

2013-03-26 Thread Dave Jiang
v3.3 introduced 16 sources PQ operations. This also introduced super extended descriptors to support the 16 srcs operations. This patch adds support for the 16 sources ops and in turn adds the super extended descriptors for those ops. 5 SED pools are created depending on the descriptor sizes. An S

[PATCH 06/10] ioatdma: Removing PQ val disable for cb3.3

2013-03-26 Thread Dave Jiang
The PQ Val ops work on the newer hardware so we should actually provide support for it and remove the disabling bits. Signed-off-by: Dave Jiang --- drivers/dma/Kconfig |2 - drivers/dma/ioat/dma.h |1 drivers/dma/ioat/dma_v3.c| 134 +++

  1   2   3   4   5   6   7   8   9   10   >