[PATCH v2] PowerPC: kernel: need return the related error code when failure occurs

2013-05-21 Thread Chen Gang
When error occurs, need return the related error code to let upper caller know about it. ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() in 'arch/powerpc/platforms/powermac/nvram.c'). Also set ret value when only need it, so can save structions for normal cases. The

Re: [PATCH v2] ext4: Avoid unnecessarily writing back dirty pages before hole punching

2013-05-21 Thread Jan Kara
On Mon 20-05-13 17:04:35, Li Wang wrote: For hole punching, currently ext4 will synchronously write back the dirty pages fit into the hole, since the data on the disk responding to those pages are to be deleted, it is benefical to directly release those pages, no matter they are dirty or not,

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Chen Gang
On 05/21/2013 04:58 PM, Marc Zyngier wrote: I think you should try to implement Will's suggestion and drop read_current_timer (and the ARCH_HAS_READ_CURRENT_TIMER macro) altogether. It would be a much better fix. OK, thanks. I will send patch v2. -- Chen Gang Asianux Corporation -- To

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Chen Gang
On 05/21/2013 04:53 PM, Will Deacon wrote: On Tue, May 21, 2013 at 05:06:52AM +0100, Chen Gang wrote: On 05/20/2013 05:56 PM, Will Deacon wrote: Should be ok once the arch timer driver has moved exclusively to virtual time. I'm also not sure we even need to implement read_current_timer() --

Re: [PATCH v3 0/2] dma: support Lynxpoint DMA

2013-05-21 Thread Andy Shevchenko
On Tue, 2013-05-14 at 10:24 +0530, Vinod Koul wrote: On Wed, May 08, 2013 at 11:55:47AM +0300, Andy Shevchenko wrote: This is the rest of patch series related to ACPI DMA helpers and Lynxpoint DMAC. Patches are rebased against current Linus' tree and Vinod's branch for-linus.

[PATCH v2] arm64: kernel: compiling issue, need delete read_current_timer().

2013-05-21 Thread Chen Gang
Under arm64, we will calibrate the delay loop statically using a known timer frequency, so delete read_current_timer(), or it will cause compiling issue with allmodconfig. The related error: ERROR: read_current_timer [lib/rbtree_test.ko] undefined! ERROR: read_current_timer

Re: mount --no-canonical seems broken.

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 04:30:21PM -0700, Linda Walsh wrote: widely known as df or mount. I might point out that by default, findmnt / TARGET SOURCEFSTYPE OPTIONS / /dev/root xfsrw,nodiratime,relatime,attr2,inode64,noquota l /dev/root ls: cannot access /dev/root: No

Re: Re: [PATCH 2/5] perf: Reorder parameters of strglobmatch

2013-05-21 Thread Masami Hiramatsu
(2013/05/21 18:19), Arnaldo Carvalho de Melo wrote: Em Fri, May 17, 2013 at 11:21:11AM +0900, Masami Hiramatsu escreveu: (2013/05/16 23:55), Steven Rostedt wrote: I'm a bit confused to the rational here. Can you explain in more detail to why this patch is actually needed? Yes, actually,

Re: [PATCH 00/19] driver:usbnet: add missing platform_driver owner

2013-05-21 Thread Libo Chen
On 2013/5/21 17:06, Thomas Petazzoni wrote: Dear Gu Zheng, On Tue, 21 May 2013 16:00:19 +0800, Gu Zheng wrote: Or, maybe make the existing module_platform_driver() macro do this? But not all the modules use module_platform_driver() macro to replace the module init/exit. Then maybe

Re: [PATCH 0/2] PM / OPP: updates to enable sharing OPPs info

2013-05-21 Thread Sudeep KarkadaNagesha
Hi Rob, Grant, On 01/05/13 12:11, Sudeep KarkadaNagesha wrote: From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com These are couple of updates to existing PM/OPP library to support sharing of OPPs between different device nodes. Currently all the cpu nodes are parsed until the OPPs

[PATCH 0/2] Set ab8500-codec dai slots from machine drivers

2013-05-21 Thread Fabio Baltieri
Hi Mark, these two patches rework the slot selection code in ab8500-codec to use the slots masks provided by the machine drivers instead of the hardcoded ones as suggested. The patches replaces some of the previous macros with a parametrized version in the effort of making the actual code

[PATCH 1/2] ASoC: ab8500-codec: Set tx dai slots from tx_mask

2013-05-21 Thread Fabio Baltieri
Replace hard-coded tx slot numbers from ab8500_codec_set_dai_tdm_slot using the ones requested by the machine driver in tx_mask instead. Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- sound/soc/codecs/ab8500-codec.c | 31 +++

[PATCH 2/2] ASoC: ab8500-codec: Set rx dai slots from rx_mask

2013-05-21 Thread Fabio Baltieri
Replace hard coded rx slot numbers from ab8500_codec_set_dai_tdm_slot using the ones requested by the machine driver in rx_mask instead. Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- sound/soc/codecs/ab8500-codec.c | 29 - sound/soc/codecs/ab8500-codec.h

Re: [Xen-devel] [PATCH] xen: reuse the same pirq allocated when driver load first time

2013-05-21 Thread David Vrabel
On 20/05/13 21:38, Konrad Rzeszutek Wilk wrote: At this point I think that upstream option is to save the PIRQ value and re-use it. Will post a patch for it. Here is the patch. It works for me when passing in a NIC driver. From 509499568d1cdf1f2a3fb53773c991f4b063eb56 Mon Sep 17 00:00:00

Re: Would like to form a pool of Linux copyright holders for faster GPL enforcement against Anthrax Kernels

2013-05-21 Thread Rob Landley
On 05/18/2013 01:27:21 PM, luke.leighton wrote: On Sat, May 18, 2013 at 8:24 AM, Eric Appleman erapple...@gmail.com wrote: Would anyone be interested in forming such a pool? count me in. Last I checked, I have 1 long-time poster of this list on board. Would anyone else like to join?

Re: [RFC PATCH 02/02] swapon: add cluster-discard support

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 09:04:25PM -0300, Rafael Aquini wrote: - while ((c = getopt_long(argc, argv, ahdefp:svVL:U:, + while ((c = getopt_long(argc, argv, ahcdefp:svVL:U:, long_opts, NULL)) != -1) { switch (c) { case 'a':

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Chen Gang
On 05/21/2013 05:03 PM, Will Deacon wrote: On Tue, May 21, 2013 at 08:51:39AM +0100, Chen Gang wrote: On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: On Tue, May 21, 2013 at 5:15 AM, Chen Gang gang.c...@asianux.com wrote: I think it would be better if we added a something like

Re: [PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-21 Thread Daniel Lezcano
On 05/21/2013 09:27 AM, Jingchang Lu wrote: Add Freescale Vybrid Family period interrupt timer support. Signed-off-by: Jingchang Lu b35...@freescale.com --- v4: use family name names driver and symbol instead of SoC name. remove redundant code. use BUG_ON instead of WARN_ON. add

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Peter Stuge
Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Stephen Rothwell wrote: --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -68,14 +68,6 @@ * are handled as text/data or they can be

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 21 May 2013 13:49:35 +1000 Stephen Rothwell s...@canb.auug.org.au escreveu: Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc:

Re: [RFC PATCH 02/02] swapon: add cluster-discard support

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 09:02:43PM -0400, KOSAKI Motohiro wrote: - if (fl_discard) + if (fl_discard) { flags |= SWAP_FLAG_DISCARD; + if (fl_discard 1) + flags |= SWAP_FLAG_DISCARD_CLUSTER; This is not enough, IMHO. When running this code on

[PATCH] tty: mxser: fix usage of opmode_ioaddr

2013-05-21 Thread Matwey V. Kornilov
From: Matwey V. Kornilov mat...@sai.msu.ru mxser_port-opmode_ioaddr is initialized only for MOXA_MUST_MU860_HWID chips, but no precautions have been undertaken to prevent reading and writing to undefined port number. Signed-off-by: Matwey V. Kornilov mat...@sai.msu.ru --- diff --git

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eliezer Tamir
On 21/05/2013 11:43, Or Gerlitz wrote: On Tue, May 21, 2013 at 11:39 AM, David Miller da...@davemloft.net wrote: It's one of those implementation details, I hate it too. Maybe if we bake it on this list little further we can see how to get away from that, or what's the most non ugly way for

Re: [Xen-devel] Bye bye Mr tmem guy

2013-05-21 Thread Daniel Kiper
On Mon, May 20, 2013 at 08:51:47AM -0700, Dan Magenheimer wrote: Hi Linux kernel folks and Xen folks -- Effective July 5, I will be resigning from Oracle and retiring for a minimum of 12-18 months and probably/hopefully much longer. Between now and July 5, I will be tying up loose ends

[PATCH 0/4] gpio-langwell: bugfix and amendments

2013-05-21 Thread Andy Shevchenko
There is locking bug fix and few amendments. Each commit message verbose enoough I think. Andy Shevchenko (4): gpio-langwell: initialize lock before usage gpio-langwell: amend error messages gpio-langwell: do not use direct access to iomapped memory gpio-langwell: use managed functions

[PATCH 4/4] gpio-langwell: use managed functions pcim_* and devm_*

2013-05-21 Thread Andy Shevchenko
This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/gpio/gpio-langwell.c | 78 1 file

[PATCH 1/4] gpio-langwell: initialize lock before usage

2013-05-21 Thread Andy Shevchenko
Otherwise we will end up with traceback from LOCKDEP: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc2-next-20130521-00028-g09aa9fc #487

[PATCH 2/4] gpio-langwell: amend error messages

2013-05-21 Thread Andy Shevchenko
Instead of hardcoded names let's use __func__ macro. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/gpio/gpio-langwell.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index

[PATCH 3/4] gpio-langwell: do not use direct access to iomapped memory

2013-05-21 Thread Andy Shevchenko
We better to use readl() function instead of bad looking direct access. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/gpio/gpio-langwell.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-langwell.c

Re: [PATCH] mm: vmscan: add BUG_ON on illegal return values from scan_objects

2013-05-21 Thread Dave Chinner
On Mon, May 20, 2013 at 11:14:27AM +0200, Oskar Andero wrote: Add a BUG_ON to catch any illegal value from the shrinkers. This fixes a potential bug if scan_objects returns a negative other than -1, which would lead to undefined behaviour. Cc: Glauber Costa glom...@openvz.org Cc: Dave

[RFC PATCH v2 3/4] usb: xhci: add USB2 Link power management BESL support

2013-05-21 Thread Mathias Nyman
usb 2.0 devices with link power managment (LPM) can describe their idle link timeouts either in BESL or HIRD format, so far xHCI has only supported HIRD but later xHCI errata add BESL support as well BESL timeouts need to inform exit latency changes with an evaluate context command the same way

[RFC PATCH v2 4/4] usb: add usb2 Link PM variables to sysfs and usb_device

2013-05-21 Thread Mathias Nyman
Adds abitilty to tune L1 timeout (inactivity timer for usb2 link sleep) and BESL (best effort service latency)via sysfs. This also adds a new usb2_lpm_parameters structure with those variables to struct usb_device. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com ---

[RFC PATCH v2 0/4] Add usb2 link powermanagement BESL support

2013-05-21 Thread Mathias Nyman
This series adds usb2 best effort service latency (BESL) link PM support to xHCI. BESL is an updated alternative to host initated resume delay (HIRD) method of describing idle link timeouts.

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Or Gerlitz
On Tue, May 21, 2013 at 1:27 PM, Eliezer Tamir eliezer.ta...@linux.intel.com wrote: On 21/05/2013 11:43, Or Gerlitz wrote: Maybe if we bake it on this list little further we can see how to get away from that, or what's the most non ugly way for that? I'm all for proper review and fixing any

[RFC PATCH v2 1/4] usb: xhci: check usb2 port capabilities before adding hw link PM support

2013-05-21 Thread Mathias Nyman
Hardware link powermanagement in usb2 is a per-port capability. Previously support for hw lpm was enabled for all ports if any usb2 port supported it. Now instead cache the capability values and check them for each port individually Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com

RE: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread David Laight
Some network functions (udp4_lib_lookup2(), for instance) use the hlist_nulls_for_each_entry_rcu macro in a way that assumes restarting of a loop. In this case, it is strictly necessary to reread the head-first value from the memory before each scan. Without additional hints, gcc caches this

[RFC PATCH v2 2/4] usb: xhci: define port register names and use them instead of magic numbers

2013-05-21 Thread Mathias Nyman
Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci-hub.c | 16 +++- drivers/usb/host/xhci.c |4 ++-- drivers/usb/host/xhci.h |5 + 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/drivers/usb/host/xhci-hub.c

Re: [PATCH 4/5] ACPI / scan: Add second pass of companion offlining to hot-remove code

2013-05-21 Thread Rafael J. Wysocki
On Tuesday, May 21, 2013 03:34:37 PM Xishi Qiu wrote: On 2013/5/19 7:34, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com As indicated by comments in mm/memory_hotplug.c:remove_memory(), if CONFIG_MEMCG is set, it may not be possible to offline all of the

[PATCH] perf: check branch sampling priv level in generic code

2013-05-21 Thread Stephane Eranian
This patch reverts commit 7cc23cd: perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL The check is now implemented in generic code instead of x86 specific code. That way we do not have to repeat the test in each arch supporting branch sampling. Signed-off-by: Stephane

Re: [PATCH] include/linux/posix_acl.h: need 'return NULL' when BUG(), if neither CONFIG_BUG nor HAVE_ARCH_BUG is defined.

2013-05-21 Thread Russell King - ARM Linux
On Tue, May 21, 2013 at 09:51:57AM +0800, Chen Gang wrote: On 05/21/2013 12:31 AM, Russell King - ARM Linux wrote: On Mon, May 20, 2013 at 07:40:24AM -0700, Eric W. Biederman wrote: Seriously? The correct fix it would seem is to give a useful default BUG definition. Say *NULL.

Re: [PATCH v4 1/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2013-05-21 Thread Eli Billauer
On 21/05/13 00:16, Hans J. Koch wrote: On Fri, May 17, 2013 at 05:53:39PM +0300, Eli Billauer wrote: It has turned out somewhat tricky to put Xillybus in one of the existing categories of device drivers. I placed it under drivers/uio, mainly because it shares the spirit of a generic driver

Re: [PATCH 2/2 v2, RFC] Driver core: Introduce offline/online callbacks for memory blocks

2013-05-21 Thread Rafael J. Wysocki
On Tuesday, May 21, 2013 02:37:53 PM Tang Chen wrote: Hi Rafael, Please see below. On 05/04/2013 07:21 PM, Rafael J. Wysocki wrote: .. static BLOCKING_NOTIFIER_HEAD(memory_chain); @@ -278,33 +283,64 @@ static int __memory_block_change_state(s { int ret = 0; - if

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Geert Uytterhoeven
On Tue, May 21, 2013 at 9:51 AM, Chen Gang gang.c...@asianux.com wrote: On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: On Tue, May 21, 2013 at 5:15 AM, Chen Gang gang.c...@asianux.com wrote: I think it would be better if we added a something like CONFIG_HAVE_VGA_CONSOLE, which VGA_CONSOLE

Re: [PATCH] include/linux/posix_acl.h: need 'return NULL' when BUG(), if neither CONFIG_BUG nor HAVE_ARCH_BUG is defined.

2013-05-21 Thread Chen Gang
On 05/21/2013 06:59 PM, Russell King - ARM Linux wrote: On Tue, May 21, 2013 at 09:51:57AM +0800, Chen Gang wrote: On 05/21/2013 12:31 AM, Russell King - ARM Linux wrote: On Mon, May 20, 2013 at 07:40:24AM -0700, Eric W. Biederman wrote: Seriously? The correct fix it would seem is to give a

Re: Bye bye Mr tmem guy

2013-05-21 Thread Stefano Stabellini
On Mon, 20 May 2013, Dan Magenheimer wrote: Hi Linux kernel folks and Xen folks -- Effective July 5, I will be resigning from Oracle and retiring for a minimum of 12-18 months and probably/hopefully much longer. Between now and July 5, I will be tying up loose ends related to my patches but

Re: [PATCH v3] pinctrl: samsung: fix suspend/resume functionality

2013-05-21 Thread Linus Walleij
On Fri, May 17, 2013 at 6:33 AM, Doug Anderson diand...@chromium.org wrote: The GPIO states need to be restored after s2r and this is not currently supported in the pinctrl driver. This patch saves the gpio states before suspend and restores them after resume. Saving and restoring is done

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Rafael J. Wysocki
On Tuesday, May 21, 2013 01:49:35 PM Stephen Rothwell wrote: Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Acked-by: Rafael J. Wysocki

Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-21 Thread Linus Walleij
On Sun, May 19, 2013 at 7:58 AM, Axel Lin axel@ingics.com wrote: Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. Also show error message if gpiochip_remove() fails. Signed-off-by: Axel Lin axel@ingics.com Cc: Linus Walleij linus.wall...@stericsson.com

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Chen Gang
On 05/21/2013 07:07 PM, Geert Uytterhoeven wrote: On Tue, May 21, 2013 at 9:51 AM, Chen Gang gang.c...@asianux.com wrote: On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: On Tue, May 21, 2013 at 5:15 AM, Chen Gang gang.c...@asianux.com wrote: I think it would be better if we added a

Re: [ 072/102] ipv6: do not clear pinet6 field

2013-05-21 Thread Roman Gushchin
Hi, all! I think, it's good, but not enough. We still can't rely on the sk-sk_family field by dereferencing the inet_sk(sk)-pinet6 field, because we can set the sk_family field to the PF_INET6 value before setting pinet6 to an appropriate value (assuming it is NULL just because it was not a

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Roman Gushchin
On 21.05.2013 14:40, David Laight wrote: Some network functions (udp4_lib_lookup2(), for instance) use the hlist_nulls_for_each_entry_rcu macro in a way that assumes restarting of a loop. In this case, it is strictly necessary to reread the head-first value from the memory before each scan.

[PATCH] qmi_wwan: Added support for Cinterion's PLxx WWAN Interface

2013-05-21 Thread Schmiedl Christian
From: Hans-Christoph Schemmel hans-christoph.schem...@gemalto.com Added support for Cinterion's PLxx WWAN Interface by adding QMI_FIXED_INTF with Cinterion's Vendor ID as well as Product ID and WWAN Interface Number. Signed-off-by: Hans-Christoph Schemmel hans-christoph.schem...@gemalto.com

Re: [PATCH v3 net-next 0/4] net: low latency Ethernet device polling

2013-05-21 Thread Alex Rosenbaum
On 5/20/2013 1:15 PM, Eliezer Tamir wrote: updated with the comments I got so far. Thanks, Eliezer -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Hello

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Paul E. McKenney
On Tue, May 21, 2013 at 01:05:48PM +0400, Roman Gushchin wrote: Hi, all! This is a fix for a problem described here: https://lkml.org/lkml/2013/4/16/371 . --- Some network functions (udp4_lib_lookup2(), for instance) use the hlist_nulls_for_each_entry_rcu macro in a way that assumes

Re: [PATCH] ARM: OMAP4: change the device names in usb_bind_phy

2013-05-21 Thread Florian Vaussard
On 05/17/2013 07:23 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [130516 22:45]: Hi, On Thursday 16 May 2013 09:50 PM, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@iki.fi [130516 09:11]: On 16/05/13 18:58, Tony Lindgren wrote: * Tomi Valkeinen

Re: [PATCH 1/1] Staging: bcm: Fix of various code style issues.

2013-05-21 Thread Nikola Pajkovsky
Severin Gsponer svgspo...@gmail.com writes: Changed comment style to C89 in Version.h Fixed some whitespace issues in Typedefs.h Changed comment style to C89 in vendorspecificextn.c All issues found with checkpatch.pl Signed-off-by: Severin Gsponer svgspo...@gmail.com ---

[PATCH V2] drivers: video: mxsfb: clean use of devm_ioremap_resource()

2013-05-21 Thread Laurent Navet
Check of 'res' and calls to dev_err are already done in devm_ioremap_resource, so no need to do them twice. Signed-off-by: Laurent Navet laurent.na...@gmail.com --- drivers/video/mxsfb.c |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/video/mxsfb.c

Re: [PATCH v3 net-next 0/4] net: low latency Ethernet device polling

2013-05-21 Thread Eliezer Tamir
Many of the questions you asked are covered in our RFC cover letter, but I will touch them briefly On 21/05/2013 15:06, Alex Rosenbaum wrote: 1. It seem this patch does not cover epoll/select and such IO muxing APIs? We are thinking about how to implement epoll support as one of the next

Re: dmatest regression in 3.10-rc1

2013-05-21 Thread Andy Shevchenko
On Mon, 2013-05-20 at 10:58 +0100, Will Deacon wrote: Sure. They way I trigger it is to unload the module whilst the DMA is ongoing (I'm using a software model, so I can make the DMA nice and slow -- I guess you could try using some large buffers). Thank you for the script. It looks like I

Re: [PATCH 1/1] Staging: bcm: Fix of various code style issues.

2013-05-21 Thread Denis Kirjanov
On 5/17/13, Severin Gsponer svgspo...@gmail.com wrote: Changed comment style to C89 in Version.h Fixed some whitespace issues in Typedefs.h Changed comment style to C89 in vendorspecificextn.c All issues found with checkpatch.pl Signed-off-by: Severin Gsponer svgspo...@gmail.com ---

[PATCH] dmatest: abort transfers immediately when asked for

2013-05-21 Thread Andy Shevchenko
When thread is going to be stopped we have to unconditionally terminate all ongoing transfers. Otherwise it would be possible that callback function will be called on the next interrupt and will try to access to already freed structures. The patch introduces specific error message for this,

Re: [PATCH] perf: check branch sampling priv level in generic code

2013-05-21 Thread Peter Zijlstra
On Tue, May 21, 2013 at 12:53:37PM +0200, Stephane Eranian wrote: This patch reverts commit 7cc23cd: perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL The check is now implemented in generic code instead of x86 specific code. That way we do not have to repeat the

Re: [PATCH v2 10/10] kernel: might_fault does not imply might_sleep

2013-05-21 Thread Peter Zijlstra
On Sun, May 19, 2013 at 07:40:09PM +0300, Michael S. Tsirkin wrote: OK I get it. So let me correct myself. The simple code that does something like this under a spinlock: preempt_disable pagefault_disable error = copy_to_user pagefault_enable

Re: [PATCH v2 10/10] kernel: might_fault does not imply might_sleep

2013-05-21 Thread Peter Zijlstra
On Sun, May 19, 2013 at 12:35:26PM +0300, Michael S. Tsirkin wrote: --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -198,7 +198,6 @@ void might_fault(void); #else static inline void might_fault(void) { - might_sleep(); This removes potential resched points

Re: [PATCH] perf: check branch sampling priv level in generic code

2013-05-21 Thread Stephane Eranian
On Tue, May 21, 2013 at 1:08 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, May 21, 2013 at 12:53:37PM +0200, Stephane Eranian wrote: This patch reverts commit 7cc23cd: perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL The check is now implemented in

Re: [PATCH v2 10/10] kernel: might_fault does not imply might_sleep

2013-05-21 Thread Peter Zijlstra
On Sun, May 19, 2013 at 12:35:26PM +0300, Michael S. Tsirkin wrote: On Thu, May 16, 2013 at 08:40:41PM +0200, Peter Zijlstra wrote: On Thu, May 16, 2013 at 02:16:10PM +0300, Michael S. Tsirkin wrote: There are several ways to make sure might_fault calling function does not sleep. One

[PATCH] ARC MM Bug Fix

2013-05-21 Thread Vineet Gupta
Hi Linus, I have a ARC MM bug fix, and it seems the best way to CC stable explicitly, is to send a patch to them (and hence you as well - as opposed to regular pull-req). OK with you ? Please merge. Thx, -Vineet Vineet Gupta (1): ARC: [mm] copy_(to|from)_user() to honor usermode-access

[PATCH] ARC: [mm] copy_(to|from)_user() to honor usermode-access permissions

2013-05-21 Thread Vineet Gupta
This manifested as grep failing psuedo-randomly: --8- [ARCLinux]$ ip address show lo | grep inet [ARCLinux]$ ip address show lo | grep inet [ARCLinux]$ ip address show lo | grep inet [ARCLinux]$ [ARCLinux]$ ip address show lo | grep inet inet 127.0.0.1/8 scope

Re: [PATCH 0/2 V3] perf/x86/amd: IOMMU Performance Counter Support

2013-05-21 Thread Peter Zijlstra
On Mon, May 20, 2013 at 10:41:29AM -0500, Suravee Suthikulanit wrote: Peter, Please let me know if you have any questions/concerns regarding the PMU implementation. Looks good, how would you like to go about merging this? Should I push it through Ingo's tree or do you prefer it goes through

Re: [PATCH] ARC MM Bug Fix

2013-05-21 Thread Vineet Gupta
On 05/21/2013 06:14 PM, Vineet Gupta wrote: Hi Linus, I have a ARC MM bug fix, and it seems the best way to CC stable explicitly, is to send a patch to them (and hence you as well - as opposed to regular pull-req). OK with you ? Damn ! Despite the noise, the CC to stable didn't go thru - I

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Roman Gushchin
On 21.05.2013 16:09, Paul E. McKenney wrote: On Tue, May 21, 2013 at 01:05:48PM +0400, Roman Gushchin wrote: Hi, all! This is a fix for a problem described here: https://lkml.org/lkml/2013/4/16/371 . --- Some network functions (udp4_lib_lookup2(), for instance) use the

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Paul E. McKenney
On Tue, May 21, 2013 at 04:46:54PM +0400, Roman Gushchin wrote: On 21.05.2013 16:09, Paul E. McKenney wrote: On Tue, May 21, 2013 at 01:05:48PM +0400, Roman Gushchin wrote: Hi, all! This is a fix for a problem described here: https://lkml.org/lkml/2013/4/16/371 . --- Some network

Re: Patch merge request for STE Snowball build failure on linux-arm-soc-for-next.

2013-05-21 Thread Samuel Ortiz
Hi Botao, On Tue, May 21, 2013 at 09:34:52PM +1000, Botao Sun wrote: Hi, There is a build failure for STE Snowball on linux-arm-soc-for-next branch in Linaro Kernel CI system: https://ci.linaro.org/jenkins/job/linux-arm-soc-for-next/hwpack=snowball,label=kernel_cloud/46/console which

Re: [PATCH 15/19] drivers/net/irda: add missing platform_driver owner

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 6:42, Libo Chen wrote: set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/net/irda/bfin_sir.c |1 + drivers/net/irda/sh_irda.c|1 +

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 01:15 AM, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console 2:update take_over_console to do_take_over_console in comment Commit dc9641895abb (vt: delete unneeded functions register_con_driver|take_over_console) delete take_over_console,

Re: [PATCH 18/19] drivers/net/ethernet/marvell: add missing platform_driver owne

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 6:42, Libo Chen wrote: set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/net/ethernet/marvell/mvneta.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

Re: [PATCH] ARC MM Bug Fix

2013-05-21 Thread Vineet Gupta
On 05/21/2013 06:20 PM, Vineet Gupta wrote: On 05/21/2013 06:14 PM, Vineet Gupta wrote: Hi Linus, I have a ARC MM bug fix, and it seems the best way to CC stable explicitly, is to send a patch to them (and hence you as well - as opposed to regular pull-req). OK with you ? Damn ! Despite

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Catalin Marinas
On Tue, May 21, 2013 at 11:13:08AM +0100, Chen Gang wrote: On 05/21/2013 05:03 PM, Will Deacon wrote: On Tue, May 21, 2013 at 08:51:39AM +0100, Chen Gang wrote: For me, I still recommend add 'ARM64' in the long list of architectures for 'VGA_CONSOLE', I have 3 reasons, please check: a.

Re: [PATCH v3 net-next 0/4] net: low latency Ethernet device polling

2013-05-21 Thread Alex Rosenbaum
On 5/21/2013 3:29 PM, Eliezer Tamir wrote: What benchmarks are you using to test poll/select/epoll? for epoll/select latency tests we are using sockperf as performance latency tool: https://code.google.com/p/sockperf/ It is a client-server based tool and it supported ping-pong, throughput, and

Re: [PATCH] arm64: compiling issue for allmodconfig, need asm/parport.h by drivers/parport/parport_pc.c

2013-05-21 Thread Catalin Marinas
On Mon, May 20, 2013 at 05:19:31AM +0100, Chen Gang wrote: Need add the default file in 'asm/Kbuild' just like arm has done. The build command is: make EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig make EXTRA_CFLAGS=-W ARCH=arm64 menuconfig set aarch64-linux-gnu- as cross compiling

Re: [PATCH] qmi_wwan: Added support for Cinterion's PLxx WWAN Interface

2013-05-21 Thread Bjørn Mork
Schmiedl Christian christian.schmi...@gemalto.com writes: From: Hans-Christoph Schemmel hans-christoph.schem...@gemalto.com Added support for Cinterion's PLxx WWAN Interface by adding QMI_FIXED_INTF with Cinterion's Vendor ID as well as Product ID and WWAN Interface Number. Signed-off-by:

Re: [PATCH tip/core/rcu 6/7] rcu: Drive quiescent-state-forcing delay from HZ

2013-05-21 Thread Peter Zijlstra
On Thu, May 16, 2013 at 06:22:10AM -0700, Paul E. McKenney wrote: But somehow I imagined making a CPU part of the GP would be easier than taking it out. After all, taking it out is dangerous and careful work, one is not to accidentally execute a callback or otherwise end a GP before

Re: [PATCH v3 net-next 1/4] net: implement support for low latency socket polling

2013-05-21 Thread Eric Dumazet
On Tue, 2013-05-21 at 10:28 +0300, Eliezer Tamir wrote: On 20/05/2013 18:29, Eric Dumazet wrote: On Mon, 2013-05-20 at 13:16 +0300, Eliezer Tamir wrote: --- +static inline void skb_mark_ll(struct sk_buff *skb, struct napi_struct *napi) +{ + skb-dev_ref = napi; +} + +static

Re: [PATCH 0/2 V3] perf/x86/amd: IOMMU Performance Counter Support

2013-05-21 Thread Suravee Suthikulanit
On 5/21/2013 4:11 AM, Peter Zijlstra wrote: On Mon, May 20, 2013 at 10:41:29AM -0500, Suravee Suthikulanit wrote: Peter, Please let me know if you have any questions/concerns regarding the PMU implementation. Looks good, how would you like to go about merging this? Should I push it through

Re: [PATCH v3 net-next 0/4] net: low latency Ethernet device polling

2013-05-21 Thread Eric Dumazet
On Tue, 2013-05-21 at 16:15 +0300, Alex Rosenbaum wrote: On 5/21/2013 3:29 PM, Eliezer Tamir wrote: What benchmarks are you using to test poll/select/epoll? for epoll/select latency tests we are using sockperf as performance latency tool: https://code.google.com/p/sockperf/ It is a

Re: Drop WARN on AMD lack of perfctrs

2013-05-21 Thread Peter Zijlstra
On Tue, May 21, 2013 at 10:56:30AM +0200, Robert Richter wrote: On 17.05.13 12:57:30, Peter Zijlstra wrote: So what about something like the below? See my comments below, otherwise it looks fine to me. I've been liberal and read an Ack there, holler if that needs be amended. There is

Re: [PATCH 0/5] perf: net_dropmonitor: Make it work and make it fast

2013-05-21 Thread Neil Horman
On Tue, May 21, 2013 at 01:42:56AM +0100, Ben Hutchings wrote: Somewhat surprisingly, the net_dropmonitor reporting script doesn't work at all. This series fixes it and then makes it slightly more efficient. Ben. It worked fine when I first submitted it. I wonder if there was a paramter

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Eric Dumazet
On Tue, 2013-05-21 at 05:09 -0700, Paul E. McKenney wrote: -#define hlist_nulls_first_rcu(head) \ - (*((struct hlist_nulls_node __rcu __force **)(head)-first)) +#define hlist_nulls_first_rcu(head)\ + (*((struct hlist_nulls_node __rcu __force **) \ +

Re: [PATCH 3/3] perf, x86, lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL

2013-05-21 Thread Peter Zijlstra
On Tue, May 21, 2013 at 03:41:35PM +1000, Michael Neuling wrote: Peter Zijlstra pet...@infradead.org wrote: Can we add your signed-off-by on this? We are cleaning up our series for conditional branches and would like to add this as part of the post. Sure, but its completely untested.. I

Re: Subject : [ PATCH ] pci-reset-error_state-to-pci_channel_io_normal-at-report_slot_reset

2013-05-21 Thread Linas Vepstas
Hi, On 21 May 2013 02:49, Yanmin Zhang yanmin_zh...@linux.intel.com wrote: On Mon, 2013-05-20 at 10:37 -0500, Linas Vepstas wrote: My impression is that maybe the AER driver had been doing not quite the right thing for a long time. Pls. provide evidence/facts. The new patch is to

Re: [Xen-devel] [PATCH] xen: reuse the same pirq allocated when driver load first time

2013-05-21 Thread Konrad Rzeszutek Wilk
Looking at the hypervisor code I couldn't see anything obviously wrong. I think the culprit is physdev_unmap_pirq: if ( is_hvm_domain(d) ) {

RE: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread David Laight
-#define hlist_nulls_first_rcu(head) \ - (*((struct hlist_nulls_node __rcu __force **)(head)-first)) +#define hlist_nulls_first_rcu(head) \ + (*((struct hlist_nulls_node __rcu __force **) \ + ((volatile typeof(*head) *)head)-first)) I'd have thought it

Re: [PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Eric Dumazet
On Tue, 2013-05-21 at 05:09 -0700, Paul E. McKenney wrote: -#define hlist_nulls_first_rcu(head) \ - (*((struct hlist_nulls_node __rcu __force **)(head)-first)) +#define hlist_nulls_first_rcu(head)\ + (*((struct hlist_nulls_node __rcu __force **) \ +

Re: [PATCH 3/3] perf, x86, lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL

2013-05-21 Thread Stephane Eranian
On Tue, May 21, 2013 at 10:50 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, May 21, 2013 at 03:41:35PM +1000, Michael Neuling wrote: Peter Zijlstra pet...@infradead.org wrote: Can we add your signed-off-by on this? We are cleaning up our series for conditional branches and would

Re: linux-next: Tree for May 15 (crypto /crct10dif)

2013-05-21 Thread Herbert Xu
On Mon, May 20, 2013 at 12:09:45PM -0700, Tim Chen wrote: On Mon, 2013-05-20 at 19:47 +0800, Herbert Xu wrote: Nope this is still broken. We need to move the actual crct10dif code into crypto/. I'll fix up the patch in the tree. Also I'm going to get rid of crc_t10dif_update_lib

Re: [RFC PATCH v2 4/4] usb: add usb2 Link PM variables to sysfs and usb_device

2013-05-21 Thread Greg KH
On Tue, May 21, 2013 at 01:43:37PM +0300, Mathias Nyman wrote: Adds abitilty to tune L1 timeout (inactivity timer for usb2 link sleep) and BESL (best effort service latency)via sysfs. If you add/remove/change sysfs files, you also need to do the same in Documentation/ABI/ at the same time.

Re: [PATCH 0/2 V3] perf/x86/amd: IOMMU Performance Counter Support

2013-05-21 Thread Peter Zijlstra
On Tue, May 21, 2013 at 08:29:47AM -0500, Suravee Suthikulanit wrote: On 5/21/2013 4:11 AM, Peter Zijlstra wrote: On Mon, May 20, 2013 at 10:41:29AM -0500, Suravee Suthikulanit wrote: Peter, Please let me know if you have any questions/concerns regarding the PMU implementation. Looks good,

Re: [PATCH 0/5] perf: net_dropmonitor: Make it work and make it fast

2013-05-21 Thread Ben Hutchings
On Tue, 2013-05-21 at 09:33 -0400, Neil Horman wrote: On Tue, May 21, 2013 at 01:42:56AM +0100, Ben Hutchings wrote: Somewhat surprisingly, the net_dropmonitor reporting script doesn't work at all. This series fixes it and then makes it slightly more efficient. Ben. It worked fine

Re: [PATCH 3/3] perf, x86, lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL

2013-05-21 Thread Stephane Eranian
On Thu, May 16, 2013 at 12:15 PM, Michael Neuling mi...@neuling.org wrote: Peter Zijlstra pet...@infradead.org wrote: On Wed, May 15, 2013 at 03:37:22PM +0200, Stephane Eranian wrote: On Fri, May 3, 2013 at 2:11 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: We should always have

[PATCH] ARM: dts: add max77686 node entry for ODROID-X

2013-05-21 Thread Dongjin Kim
ODROID-X board have a max77686 PMIC on i2c channel 0. The properties of used LDO and BUCK are defined according the schematic. Signed-off-by: Dongjin Kim tobet...@gmail.com --- arch/arm/boot/dts/exynos4412-odroidx.dts | 195 ++ 1 file changed, 195 insertions(+) diff

<    3   4   5   6   7   8   9   10   11   12   >