Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread H. Peter Anvin
On 04/23/2014 07:24 AM, Boris Ostrovsky wrote: Konrad - I really could use some help figuring out what needs to be done for this not to break Xen. This does break Xen PV: I know it does. This is why I asked for help. This is fundamentally the problem with PV and *especially* the way Xen

[PATCH 0/1] uprobes/tracing: uprobe_perf_open() forgets to handle the error from uprobe_apply()

2014-04-23 Thread Oleg Nesterov
Hello, Steven, I am going to ask Ingo to pull this fix along with other pending uprobes changes, but please let me know if you want to take this patch. Oleg. kernel/trace/trace_uprobe.c | 46 +++--- 1 files changed, 25 insertions(+), 21 deletions(-) -- To

[PATCH 1/1] uprobes/tracing: uprobe_perf_open() forgets to handle the error from uprobe_apply()

2014-04-23 Thread Oleg Nesterov
uprobe_perf_open()-uprobe_apply() can fail, but this error is wrongly ignored. Change uprobe_perf_open() to do uprobe_perf_close() and return the error code in this case. Change uprobe_perf_close() to propogate the error from uprobe_apply() as well, although it should not fail. The patch looks

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
On Tue, Apr 15, 2014 at 10:18:26AM -0400, Vivek Goyal wrote: Ok, that's fine. Let us just document the knobs well so that people can find which knob is giving what information and make cfq names better at the expense of inconsistency of names with throttling layer. I've been thinking about it

Re: [PATCH 1/5] clk: berlin: add support for clocks

2014-04-23 Thread Sebastian Hesselbarth
On 04/23/2014 04:01 PM, Alexandre Belloni wrote: Add support for clocks having their own register set. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/berlin/Makefile | 2 +- drivers/clk/berlin/clk.c| 132

[PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Stephane Eranian
This patch fixes a bug introduced by commit 24223657. The rdmsrl_safe() function returns 0 on success. The current code was failing to detect the RAPL PMU on real hardware (missing /sys/devices/power) because the return value of rdmsrl_safe() was misinterpreted. Signed-off-by: Stephane Eranian

Re: [PATCH v2 01/24] input: Add ff-memless-next module

2014-04-23 Thread Oliver Neukum
On Wed, 2014-04-23 at 08:59 -0700, Dmitry Torokhov wrote: On Wed, Apr 23, 2014 at 02:12:59PM +0200, Oliver Neukum wrote: On Tue, 2014-04-22 at 15:59 +0200, Michal Malý wrote: +/* Some devices might have a limit on how many uncombinable effects + * can be played at once */ +static int

Re: randomized placement of x86_64 vdso

2014-04-23 Thread Nathan Lynch
On 04/23/2014 11:30 AM, H. Peter Anvin wrote: On 04/21/2014 09:52 AM, Nathan Lynch wrote: Hi x86/vdso people, I've been working on adding a vDSO to 32-bit ARM, and Kees suggested I look at x86_64's algorithm for placing the vDSO at a randomized offset above the stack VMA. I found that when

Re: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-04-23 Thread Will Deacon
On Wed, Apr 23, 2014 at 11:31:09AM +0100, Neil Zhang wrote: -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年4月22日 18:37 To: Neil Zhang Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Sudeep Holla;

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread Andrew Lutomirski
On Wed, Apr 23, 2014 at 8:53 AM, H. Peter Anvin h...@zytor.com wrote: On 04/23/2014 02:54 AM, One Thousand Gnomes wrote: Ideally the tests should be doable such that on a normal machine the tests can be overlapped with the other things we have to do on that path. The exit branch will be

Re: [PATCH 1/5] clk: berlin: add support for clocks

2014-04-23 Thread Sebastian Hesselbarth
On 04/23/2014 07:03 PM, Sebastian Hesselbarth wrote: On 04/23/2014 04:01 PM, Alexandre Belloni wrote: Add support for clocks having their own register set. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/berlin/Makefile | 2 +-

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Randy Dunlap
On 04/22/14 15:21, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch

Re: [PATCH RFC 3/3] drm/exynos: use pending_components for components tracking

2014-04-23 Thread Russell King - ARM Linux
On Wed, Apr 23, 2014 at 05:43:28PM +0100, Russell King - ARM Linux wrote: So, maybe you would like to finally address *my* point about TDA998x and your solution in a way that provides a satisfactory answer. *Show* how it can be done, or *outline* how it can be done. Let me be absolutely clear

[ANNOUNCE] Linux 3.13.y.z extended stable support

2014-04-23 Thread Kamal Mostafa
On Tue, 2014-04-22 at 17:06 -0700, Greg KH wrote: NOTE This is the LAST 3.13.y release. It is now end-of-life. [...] The Ubuntu kernel team will pick up stable maintenance where Greg KH left off with v3.13.11 (thanks, Greg!)... The Ubuntu kernel team is pleased to announce that we will

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread H. Peter Anvin
On 04/23/2014 10:08 AM, Andrew Lutomirski wrote: The only way I can see to trigger the race is with sigreturn, but it's still there. Sigh. I don't see why sigreturn needs to be involved... all you need is modify_ldt() on one CPU while the other is in the middle of an IRET return. Small

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 01:01:41PM -0400, Tejun Heo wrote: On Tue, Apr 15, 2014 at 10:18:26AM -0400, Vivek Goyal wrote: Ok, that's fine. Let us just document the knobs well so that people can find which knob is giving what information and make cfq names better at the expense of

Re: [PATCH 1/3] crypto: Fix potential leak in test_aead_speed() if aad_size is too big

2014-04-23 Thread Tim Chen
On Mon, 2014-04-21 at 20:45 +0200, Christian Engelmayer wrote: Fix a potential memory leak in the error handling of test_aead_speed(). In case the size check on the associate data length parameter fails, the function goes through the wrong exit label. Reported by Coverity - CID 1163870.

Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

2014-04-23 Thread Andy Lutomirski
On Wed, Apr 23, 2014 at 8:55 AM, Vivek Goyal vgo...@redhat.com wrote: On Tue, Apr 22, 2014 at 04:05:58PM -0400, David Miller wrote: From: Vivek Goyal vgo...@redhat.com Date: Tue, 15 Apr 2014 17:15:44 -0400 This is another version of patchset to add support passing cgroup information of

Re: [PATCH 2/3] crypto: Fix potential leak in test_aead_speed() if crypto_alloc_aead() fails

2014-04-23 Thread Tim Chen
On Mon, 2014-04-21 at 20:46 +0200, Christian Engelmayer wrote: Fix a potential memory leak in the error handling of test_aead_speed(). In case crypto_alloc_aead() fails, the function returns without going through the centralized cleanup path. Reported by Coverity - CID 1163870.

Re: [PATCH 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-04-23 Thread Sebastian Hesselbarth
On 04/23/2014 04:01 PM, Alexandre Belloni wrote: Document the newly added berlin clock driver Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Cc: devicet...@vger.kernel.org Documentation/devicetree/bindings/clock/berlin-clock.txt | 9 - 1 file changed, 8

Re: [PATCH 0/3] of: dts: enable memory@0 quirk for PPC32 only

2014-04-23 Thread Leif Lindholm
On Wed, Apr 23, 2014 at 02:15:08PM +0100, Grant Likely wrote: The reason for me doing that is because we (including you) agreed at the discussion held during LCU13 that this was the safest way of preventing mischief like userland trying to read information from /proc/device-tree... I'm

Re: extcon-next regression ?

2014-04-23 Thread Felipe Balbi
Hi, On Wed, Apr 23, 2014 at 11:40:33AM -0500, Felipe Balbi wrote: Hi Chanwoo, I've been testing extcon-next to make sure USB3 on OMAP5 will work out of the box but I see a regression when I merge your tree on top of v3.15-rc2 + Tony's DT fixes. Here's what I see (trimmed): [

Re: [PATCH v2 01/24] input: Add ff-memless-next module

2014-04-23 Thread Dmitry Torokhov
On Wed, Apr 23, 2014 at 07:06:08PM +0200, Oliver Neukum wrote: On Wed, 2014-04-23 at 08:59 -0700, Dmitry Torokhov wrote: On Wed, Apr 23, 2014 at 02:12:59PM +0200, Oliver Neukum wrote: On Tue, 2014-04-22 at 15:59 +0200, Michal Malý wrote: +/* Some devices might have a limit on how many

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread Andrew Lutomirski
On Wed, Apr 23, 2014 at 10:16 AM, H. Peter Anvin h...@zytor.com wrote: On 04/23/2014 10:08 AM, Andrew Lutomirski wrote: The only way I can see to trigger the race is with sigreturn, but it's still there. Sigh. I don't see why sigreturn needs to be involved... all you need is modify_ldt()

Re: [PATCH 3/3] crypto: Fix leak of struct aead_request in test_aead_speed()

2014-04-23 Thread Tim Chen
On Mon, 2014-04-21 at 20:47 +0200, Christian Engelmayer wrote: Fix leakage of memory for struct aead_request that is allocated via aead_request_alloc() but not released via aead_request_free(). Reported by Coverity - CID 1163869. Signed-off-by: Christian Engelmayer cenge...@gmx.at Acked.

Re: [PATCH v2 2/2] ARM: dts: berlin: enable SD card reader and eMMC for the BG2Q DMP

2014-04-23 Thread Sebastian Hesselbarth
On 04/22/2014 10:27 AM, Antoine Ténart wrote: Enable the SD Card reader and the internal eMMC on the Berlin BG2Q DMP using two of the SDHCI nodes of the Berlin BG2Q. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 11

Re: [PATCH] staging/android: Remove ram_console.h

2014-04-23 Thread Colin Cross
On Tue, Apr 22, 2014 at 2:22 AM, Bintian Wang bintian.w...@huawei.com wrote: ram_console is replaced by pstore and pstore_ram drivers, and there is no code to use this head file, so remove it. Signed-off-by: Bintian Wang bintian.w...@huawei.com --- drivers/staging/android/ram_console.h |

Re: [PATCH 2/2] arm64: topology: add MPIDR-based detection

2014-04-23 Thread Zi Shen Lim
On Wed, Apr 23, 2014 at 11:36:48AM +0100, Mark Brown wrote: On Tue, Apr 22, 2014 at 06:40:14PM -0700, Zi Shen Lim wrote: + /* Multiprocessor system */ + if (mpidr MPIDR_MT_BITMASK) { + /* Multi-threads per core */ +

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread H. Peter Anvin
On 04/23/2014 10:25 AM, Andrew Lutomirski wrote: On Wed, Apr 23, 2014 at 10:16 AM, H. Peter Anvin h...@zytor.com wrote: On 04/23/2014 10:08 AM, Andrew Lutomirski wrote: The only way I can see to trigger the race is with sigreturn, but it's still there. Sigh. I don't see why sigreturn needs

Re: [PATCH 2/2] net: Implement SO_PASSCGROUP to enable passing cgroup path

2014-04-23 Thread David Miller
From: Vivek Goyal vgo...@redhat.com Date: Wed, 23 Apr 2014 12:45:37 -0400 On Tue, Apr 15, 2014 at 08:47:54PM -0700, Andy Lutomirski wrote: [..] Here's an attack against SO_PASSCGROUP, as you implemented it: connect a socket and get someone else to write(2) to it. This isn't very hard.

[PATCH v4 0/4] ARM: OMAP: SATA support for OMAP5 DRA7

2014-04-23 Thread Roger Quadros
Hi Tony, These are the pending HWMOD and DTS patches to get SATA working on OMAP5-uevm and DRA7-evm. Please queue them for -next. Thanks. cheers, -roger --- Balaji T K (2): ARM: dts: omap5: add sata node ARM: dts: dra7: add OCP2SCP3 and SATA nodes Keshava Munegowda (1): ARM: OMAP5:

[PATCH v4 1/4] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-04-23 Thread Roger Quadros
From: Keshava Munegowda keshava_mgo...@ti.com Create hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com Acked-by: Paul Walmsley p...@pwsan.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH v2 2/2] staging: panel: fix sparse warnings in lcd_write

2014-04-23 Thread Bastien Armand
On Tue, Apr 22, 2014 at 01:01:45PM +0300, Dan Carpenter wrote: Out of curiosity, have you tested this patch? On Fri, Apr 18, 2014 at 06:10:57PM +0200, Bastien Armand wrote: This patch fixes two sparse warnings related to lcd_write : warning: incorrect type in argument 1 (different address

Re: [PATCH v1] dma: imx-sdma: add support for sdma memory copy

2014-04-23 Thread Randy Dunlap
On 04/22/14 04:24, Andy Shevchenko wrote: On Tue, 2014-04-22 at 18:51 +0800, Robin Gong wrote: On Tue, Apr 22, 2014 at 10:28:05AM +, Shevchenko, Andriy wrote: On Fri, 2014-04-18 at 17:41 +0800, Robin Gong wrote: On Thu, Apr 17, 2014 at 10:24:50AM +, Shevchenko, Andriy wrote: On Thu,

[PATCH v4 3/4] ARM: DRA7: hwmod: Add ocp2scp3 and sata hwmods

2014-04-23 Thread Roger Quadros
From: Nikhil Devshatwar nikhil...@ti.com Add hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Paul Walmsley p...@pwsan.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Nikhil Devshatwar nikhil...@ti.com Signed-off-by: Roger

Re: [PATCH v2 2/2] ARM: dts: berlin: enable SD card reader and eMMC for the BG2Q DMP

2014-04-23 Thread Antoine Ténart
Sebastian, On Wed, Apr 23, 2014 at 07:26:23PM +0200, Sebastian Hesselbarth wrote: On 04/22/2014 10:27 AM, Antoine Ténart wrote: Enable the SD Card reader and the internal eMMC on the Berlin BG2Q DMP using two of the SDHCI nodes of the Berlin BG2Q. Signed-off-by: Antoine Ténart

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 12:50:55PM +0200, Lee Jones wrote: From: Josh Cartwright jo...@codeaurora.org The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon 800 series SoC family. This driver exists largely as a glue mfd component, it exists to be an owner of an SPMI

[PATCH v4 4/4] ARM: dts: dra7: add OCP2SCP3 and SATA nodes

2014-04-23 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add nodes for OCP2SCP3 bus, SATA controller and SATA PHY. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 39

[PATCH v4 2/4] ARM: dts: omap5: add sata node

2014-04-23 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Add support for sata. [Roger Q] Clean up. CC: Benoit Cousson bcous...@baylibre.com CC: Tony Lindgren t...@atomide.com Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 40

Re: [PATCH 2/4] dt: bindings: Typo s/interrupts-names/interrupt-names/g

2014-04-23 Thread Geert Uytterhoeven
Hi Linus, On Wed, Apr 23, 2014 at 4:11 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Apr 22, 2014 at 8:40 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Linus Walleij linus.wall...@linaro.org Cc: Signed-off-by:

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-23 Thread Russell King - ARM Linux
On Mon, Apr 21, 2014 at 02:01:05PM -0500, Rob Herring wrote: Ah, right. Except for those drivers you need to work with deferred probe would have to use platform_get_irq. That fact makes this solution quite a bit easier. Something like this is what you had in mind? The below is what I had in

[PATCH] staging: panel: fix regression in lcd_write

2014-04-23 Thread Bastien Armand
This patch fix a regression in lcd_write caused by commit 70a8c3eb8546cefe40fb0bc7991e8899b7b91075 Signed-off-by: Bastien Armand armand.bast...@laposte.net --- drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Luiz Capitulino
On Wed, 23 Apr 2014 10:10:29 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/22/14 15:21, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for

Re: [PATCH v2 2/2] ARM: dts: berlin: enable SD card reader and eMMC for the BG2Q DMP

2014-04-23 Thread Sebastian Hesselbarth
On 04/23/2014 07:36 PM, Antoine Ténart wrote: On Wed, Apr 23, 2014 at 07:26:23PM +0200, Sebastian Hesselbarth wrote: On 04/22/2014 10:27 AM, Antoine Ténart wrote: Enable the SD Card reader and the internal eMMC on the Berlin BG2Q DMP using two of the SDHCI nodes of the Berlin BG2Q.

Re: [PATCH 1/3] crypto: Fix potential leak in test_aead_speed() if aad_size is too big

2014-04-23 Thread Christian Engelmayer
On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut ma...@denx.de wrote: On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote: + if (aad_size = PAGE_SIZE) { On an unrelated note ... Won't if (aad_size PAGE_SIZE) be sufficient here? From what I have seen how the buffers are

Re: [PATCH v9 05/19] qspinlock: Optimize for smaller NR_CPUS

2014-04-23 Thread Waiman Long
On 04/23/2014 10:56 AM, Konrad Rzeszutek Wilk wrote: On Wed, Apr 23, 2014 at 10:23:43AM -0400, Waiman Long wrote: On 04/18/2014 05:40 PM, Waiman Long wrote: On 04/18/2014 03:05 PM, Peter Zijlstra wrote: On Fri, Apr 18, 2014 at 01:52:50PM -0400, Waiman Long wrote: I am confused by your

Re: [PATCH 1/3] crypto: Fix potential leak in test_aead_speed() if aad_size is too big

2014-04-23 Thread Marek Vasut
On Wednesday, April 23, 2014 at 07:43:35 PM, Christian Engelmayer wrote: On Wed, 23 Apr 2014 01:33:05 +0200, Marek Vasut ma...@denx.de wrote: On Monday, April 21, 2014 at 08:45:59 PM, Christian Engelmayer wrote: + if (aad_size = PAGE_SIZE) { On an unrelated note ... Won't if (aad_size

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-23 Thread Andrew Lutomirski
On Wed, Apr 23, 2014 at 10:28 AM, H. Peter Anvin h...@zytor.com wrote: On 04/23/2014 10:25 AM, Andrew Lutomirski wrote: On Wed, Apr 23, 2014 at 10:16 AM, H. Peter Anvin h...@zytor.com wrote: On 04/23/2014 10:08 AM, Andrew Lutomirski wrote: The only way I can see to trigger the race is with

Generating .config from device tree [was Re: Hardware dependencies in Kconfig]

2014-04-23 Thread Pavel Machek
Hi! Ideally, the arch doesn't matter at all for a driver, only the infrastructure the driver depends on does. So perhaps the Actually, it would be nice if user was never asked for combination that can be compiled, and kernel would support them, but there's no such hardware. For example, if I

RE: [Bugfix] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-23 Thread Luck, Tony
1) Handle CPU hot-addition event 1.a) gather platform specific information 1.b) associate hot-added CPU with a node 1.c) create CPU device 2) User online hot-added CPUs through sysfs: 2.a) cpu_up() 2.b) -try_online_node() 2.c)

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Randy Dunlap
On 04/23/14 10:41, Luiz Capitulino wrote: On Wed, 23 Apr 2014 10:10:29 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/22/14 15:21, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/

RE: [PATCH 0/2] Eliminate spin locks in the vmbus channel callback path

2014-04-23 Thread KY Srinivasan
-Original Message- From: K. Y. Srinivasan [mailto:k...@microsoft.com] Sent: Tuesday, April 8, 2014 6:45 PM To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com Cc: KY Srinivasan

Re: [PATCH v9 05/19] qspinlock: Optimize for smaller NR_CPUS

2014-04-23 Thread Konrad Rzeszutek Wilk
On Wed, Apr 23, 2014 at 01:43:58PM -0400, Waiman Long wrote: On 04/23/2014 10:56 AM, Konrad Rzeszutek Wilk wrote: On Wed, Apr 23, 2014 at 10:23:43AM -0400, Waiman Long wrote: On 04/18/2014 05:40 PM, Waiman Long wrote: On 04/18/2014 03:05 PM, Peter Zijlstra wrote: On Fri, Apr 18, 2014 at

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread Chung-Lin Tang
On 2014/4/22 07:20 PM, Ley Foon Tan wrote: On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 22 April 2014 18:37:11 Ley Foon Tan wrote: Hi Arnd and Peter Anvin, Other than 64-bit time_t, clock_t and suseconds_t, can you confirm that we don't need to have 64

Re: [PATCH] doc: make clean does not remove some xml files

2014-04-23 Thread Randy Dunlap
On 04/23/14 03:24, Masanari Iida wrote: make clean does not remove following files in Documentations/Docbook. audio.h.xml, ca.h.xml, dmx.h.xml, frontend.h.xml net.h.xml, videodev2.h.xml vide.h.xml. These files are generated when make xmldocs. Signed-off-by: Masanari Iida

Re: 3.15rc2 hanging processes on exit.

2014-04-23 Thread Hugh Dickins
On Wed, 23 Apr 2014, Linus Torvalds wrote: On Wed, Apr 23, 2014 at 7:49 AM, Dave Jones da...@redhat.com wrote: So for reasons I can't figure out, I've not been able to hit it on 3.14 Thanks for trying. Not the reassuring answer that I was hoping for, so I'd better give it a little more

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-23 Thread Courtney Cavin
On Wed, Apr 23, 2014 at 03:19:28PM +0200, Ivan T. Ivanov wrote: Hi, On Tue, 2014-04-22 at 17:31 -0700, Courtney Cavin wrote: From: Josh Cartwright jo...@codeaurora.org The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon 800 series SoC family. This driver exists

Re: [GIT PULL] regulator: First pull of MFD - Regulator IB (v3.16)

2014-04-23 Thread Mark Brown
On Wed, Apr 23, 2014 at 04:00:47PM +0100, Lee Jones wrote: Can you drop the last one please, I've already applied it? I'd have expected just the first two (or probably even just the second one). If you need it in your tree just grab the branch (or I can tag it if you like). I tend to

Re: 3.15rc2 hanging processes on exit.

2014-04-23 Thread Dave Jones
On Wed, Apr 23, 2014 at 11:11:53AM -0700, Hugh Dickins wrote: Very odd. Does anybody see anything I missed? Easily explained (correct me if I'm wrong): Dave is reporting this from his testing of 3.14, correct. but Linus is looking at his 3.15-rc git tree, which now contains

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Luiz Capitulino
On Wed, 23 Apr 2014 10:48:27 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/23/14 10:41, Luiz Capitulino wrote: On Wed, 23 Apr 2014 10:10:29 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/22/14 15:21, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot

Re: [PATCH 8/8] printk: Add config option for disabling printk offloading

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 13:08:47 +0200 Jan Kara j...@suse.cz wrote: If you want reliable crash logging then we need to be able to set a printk level mask per console and just set the serial console for crit/err and the queue console for the rest, with a 'cat /dev/ttywhatever' running if this

Re: [PATCH 5/4] ipc,shm: minor cleanups

2014-04-23 Thread Manfred Spraul
On 04/23/2014 04:53 AM, Davidlohr Bueso wrote: - Breakup long function names/args. - Cleaup variable declaration. s/Cleaup/Cleanup/ - s/current-mm/mm Signed-off-by: Davidlohr Bueso davidl...@hp.com Signed-off-by: Manfred Spraul manf...@colorfullife.com @@ -681,7 +679,8 @@

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Randy Dunlap
On 04/23/14 11:16, Luiz Capitulino wrote: On Wed, 23 Apr 2014 10:48:27 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/23/14 10:41, Luiz Capitulino wrote: On Wed, 23 Apr 2014 10:10:29 -0700 Randy Dunlap rdun...@infradead.org wrote: On 04/22/14 15:21, a...@linux-foundation.org wrote:

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Andrew Morton
On Wed, 23 Apr 2014 14:16:00 -0400 Luiz Capitulino lcapitul...@redhat.com wrote: On Wed, 23 Apr 2014 10:48:27 -0700 You will need quilt to apply these patches to the latest Linus release (3.x or 3.x-rcY). The series file is in broken-out.tar.gz and is duplicated in

Re: [PATCH 2/2] arm64: topology: add MPIDR-based detection

2014-04-23 Thread Mark Brown
On Wed, Apr 23, 2014 at 10:27:20AM -0700, Zi Shen Lim wrote: Or is it likely that some folks may opt to skip aff2, and simply use aff3? Mark, is there precedence for such usage of affinity levels? Not that I'm aware of at the minute myself but of course this code may end up running on some

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread Pinski, Andrew
On Apr 23, 2014, at 10:59 AM, Chung-Lin Tang clt...@codesourcery.com wrote: On 2014/4/22 07:20 PM, Ley Foon Tan wrote: On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 22 April 2014 18:37:11 Ley Foon Tan wrote: Hi Arnd and Peter Anvin, Other than 64-bit

Re: extcon-next regression ?

2014-04-23 Thread Felipe Balbi
Hi, On Wed, Apr 23, 2014 at 12:20:52PM -0500, Felipe Balbi wrote: I've been testing extcon-next to make sure USB3 on OMAP5 will work out of the box but I see a regression when I merge your tree on top of v3.15-rc2 + Tony's DT fixes. Here's what I see (trimmed): [1.805870]

Re: [PATCH net-next,v2,2/2] hyperv: Simplify the send_completion variables

2014-04-23 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com Date: Mon, 21 Apr 2014 14:54:44 -0700 The union contains only one member now, so we use the variables in it directly. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com Also applied, thanks. -- To

Re: [PATCH net-next,v2,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-23 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com Date: Mon, 21 Apr 2014 14:54:43 -0700 Removed recv_pkt_list and lock, and updated related code, so that the locking overhead is reduced especially when multiple channels are in use. The recv_pkt_list isn't actually necessary because the packets are

Re: [PATCH] bridge: simplify a br_multicast_query_received() function call

2014-04-23 Thread David Miller
From: Linus Lüssing linus.luess...@web.de Date: Mon, 21 Apr 2014 20:59:35 +0200 The call from the IPv6 part can be simplified as the beginning of the calling function ensures that we end up here when having a proper IPv6 source address only. Introduced by

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 01:17:20PM -0400, Vivek Goyal wrote: I think we should just require two. One for measuring rate in terms of IOPS and other for measuring rate in terms of [kMG]B/sec. I meant between cfq and blk-throttle. Why do we have separate stats for them to present

Re: [PATCH 1/2] gpio: pl061: get gpio base from alias id

2014-04-23 Thread Rob Herring
On Mon, Apr 21, 2014 at 8:35 PM, Haojian Zhuang haojian.zhu...@linaro.org wrote: If gpio base number isn't specified, the gpio base will be find from the end of gpio number. In order to keep with schematics, use alias to get the ID of gpio chip. NAK. This is an abuse aliases. Signed-off-by:

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 02:52:31PM -0400, Tejun Heo wrote: Hello, On Wed, Apr 23, 2014 at 01:17:20PM -0400, Vivek Goyal wrote: I think we should just require two. One for measuring rate in terms of IOPS and other for measuring rate in terms of [kMG]B/sec. I meant between cfq and

[PATCH] s390/ccwgroup: Fix memory corruption

2014-04-23 Thread Christian Borntraeger
commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 (s390: use device_remove_file_self() instead of device_schedule_callback()) caused random memory corruption on my s390 box. Turns out that the last element of the ccwgroup structure is of dynamic size, so we must move the newly introduced work

Re: [PATCH] net/phy: micrel: fix bugged test on device tree loading for ksz9021

2014-04-23 Thread David Miller
From: Hubert Chaumette hchaume...@adeneo-embedded.com Date: Tue, 22 Apr 2014 15:01:04 +0200 In ksz9021_load_values_from_of() val2 to val4 aren't tested against their initialization value. This causes the test to always succeed, and this value to be used as if it was loaded from the devicetree

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Alfred M. Szmidt
Likewise. You infact write that it does get the lock information later in the document wrt. F_OFD_GETLK. Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK would have been a better name. GETLK are used is to get the first lock. It's a way to test whether a

Re: [PATCH 2/2] nohz: Synchronize sleep time stats with memory barriers

2014-04-23 Thread Denys Vlasenko
On Tue, Apr 15, 2014 at 12:51 PM, Peter Zijlstra pet...@infradead.org wrote: On Wed, Apr 02, 2014 at 10:17:52PM +0200, Denys Vlasenko wrote: When some call site uses get_cpu_*_time_us() to read a sleeptime stat, it deduces the total sleeptime by adding the pending time to the last sleeptime

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 02:58:35PM -0400, Vivek Goyal wrote: Oh, sorry, I had misunderstood your question. - Number of IOs serviced will be different at throttling layer and CFQ layer as throttling accounts IO in terms of bios and CFQ accounts in terms of number of requests. But

Re: [PATCH] s390/ccwgroup: Fix memory corruption

2014-04-23 Thread Tejun Heo
On Wed, Apr 23, 2014 at 08:58:45PM +0200, Christian Borntraeger wrote: commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 (s390: use device_remove_file_self() instead of device_schedule_callback()) caused random memory corruption on my s390 box. Turns out that the last element of the ccwgroup

Re: [PATCH 11/11] ext4: add cross rename support

2014-04-23 Thread Michael Kerrisk (man-pages)
On 04/23/2014 04:21 PM, Miklos Szeredi wrote: On Sat, Apr 19, 2014 at 11:08 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hi Miklos, The code changes are pushed to the git tree and the updated man page is below. Now that renameat2() is in 3.15, I've taken these changes.

[PATCH 3/3] nohz: Fix iowait overcounting if iowait task migrates

2014-04-23 Thread Denys Vlasenko
Before this change, if last IO-blocked task wakes up on a different CPU, the original CPU may stay idle for much longer, and the entire time it stays idle is accounted as iowait time. This change adds struct tick_sched::iowait_exittime member. On entry to idle, it is set to KTIME_MAX. Last

[PATCH 2/3] nohz: Synchronize sleep time stats with memory barriers

2014-04-23 Thread Denys Vlasenko
When some call site uses get_cpu_*_time_us() to read a sleeptime stat, it deduces the total sleeptime by adding the pending time to the last sleeptime snapshot if the CPU target is idle. But this only works if idle_sleeptime, idle_entrytime and idle_active are read and updated under some

[PATCH 1/3] nohz: Only update sleeptime stats locally

2014-04-23 Thread Denys Vlasenko
From: Frederic Weisbecker fweis...@gmail.com The idle and io sleeptime stats can be updated concurrently from callers of get_cpu_idle_time_us(), get_cpu_iowait_time_us() and tick_nohz_stop_idle(). Updaters can easily race and mess up with internal datas coherency, for example when a governor

Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Borislav Petkov
On Wed, Apr 23, 2014 at 07:04:19PM +0200, Stephane Eranian wrote: This patch fixes a bug introduced by commit 24223657. Maybe add Fixes: commit-id tag? The rdmsrl_safe() function returns 0 on success. The current code was failing to detect the RAPL PMU on real hardware (missing

[PATCH] staging: unisys: fix copyright notices

2014-04-23 Thread Benjamin Romer
This patch changes all of the various representations of the copyright symbol to (C). Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com --- drivers/staging/unisys/channels/channel.c | 2 +- drivers/staging/unisys/channels/chanstub.c

Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

2014-04-23 Thread Vivek Goyal
On Tue, Apr 22, 2014 at 01:31:13PM -0700, Andy Lutomirski wrote: [..] Otherwise, without SO_PASSCGROUP, there is no way for datagram sockets to find out the peer's open() time cgroup. Right. I'd still like to know what userspace applications want this feature. The canonical example

Re: [PATCH net-next 1/1] hyperv: Enable sendbuf mechanism on the send path

2014-04-23 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Tue, 22 Apr 2014 11:03:32 -0700 + skb = (struct sk_buff *) + packet-send_completion_tid; As in netvsc_xmit_completion() this must be coded as: skb = (struct sk_buff *) (unsigned

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Michael Kerrisk (man-pages)
On Wed, Apr 23, 2014 at 9:00 PM, Alfred M. Szmidt a...@gnu.org wrote: Likewise. You infact write that it does get the lock information later in the document wrt. F_OFD_GETLK. Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK would have been a better name. I'm

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 03:00:43PM -0400, Tejun Heo wrote: Hello, On Wed, Apr 23, 2014 at 02:58:35PM -0400, Vivek Goyal wrote: Oh, sorry, I had misunderstood your question. - Number of IOs serviced will be different at throttling layer and CFQ layer as throttling accounts IO in

Re: [PATCH 2/2] arm64: topology: add MPIDR-based detection

2014-04-23 Thread Zi Shen Lim
On Wed, Apr 23, 2014 at 07:26:11PM +0100, Mark Brown wrote: On Wed, Apr 23, 2014 at 10:27:20AM -0700, Zi Shen Lim wrote: It will at least ensure that all clusters get assigned a unique ID and we don't end up discarding some of the information and coming out with two identically numbered

Re: [PATCH 0/4 V3] Print traces on softlockup

2014-04-23 Thread Don Zickus
On Tue, Apr 22, 2014 at 11:28:28AM -0700, Andrew Morton wrote: On Tue, 22 Apr 2014 11:17:24 -0400 Don Zickus dzic...@redhat.com wrote: Added more patches to handle the 'uniprocessor' panic case by sending NMIs to every cpu but self. Only affects x86, sparc. Looks OK to me. A couple

Re: [PATCH v2 2/2] staging: panel: fix sparse warnings in lcd_write

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 07:35:02PM +0200, Bastien Armand wrote: On Tue, Apr 22, 2014 at 01:01:45PM +0300, Dan Carpenter wrote: The aim of my patch was basically to add __user annotation. I tried to keep the change minimal to lessen the risk of regression Yes. That's the right approach. These

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread H. Peter Anvin
I think Linuxs said we should just fix POSIX on that front. On April 23, 2014 11:15:34 AM PDT, Pinski, Andrew andrew.pin...@caviumnetworks.com wrote: On Apr 23, 2014, at 10:59 AM, Chung-Lin Tang clt...@codesourcery.com wrote: On 2014/4/22 07:20 PM, Ley Foon Tan wrote: On Tue, Apr 22, 2014

Re: [PATCH] crypto_user: Fix out-of-bounds read

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 08:48:34AM -0700, Andy Lutomirski wrote: BUILD_BUG_ON(NLMSG_MIN_TYPE != CRYPTO_MSG_BASE) might be a better thing to add, then. I don't have a strong opinion. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Jeff Layton
On Wed, 23 Apr 2014 15:00:06 -0400 a...@gnu.org (Alfred M. Szmidt) wrote: Likewise. You infact write that it does get the lock information later in the document wrt. F_OFD_GETLK. Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK would have been a better name.

Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

2014-04-23 Thread Nishanth Aravamudan
On 23.04.2014 [11:24:42 -0700], Andrew Morton wrote: On Wed, 23 Apr 2014 14:16:00 -0400 Luiz Capitulino lcapitul...@redhat.com wrote: On Wed, 23 Apr 2014 10:48:27 -0700 You will need quilt to apply these patches to the latest Linus release (3.x or 3.x-rcY). The series file is

Re: [PATCH v2 0/3] net: via-rhine: add support for on-chip Rhine controllers

2014-04-23 Thread David Miller
From: Alexey Charkov alch...@gmail.com Date: Tue, 22 Apr 2014 19:28:06 +0400 This series introduces platform bus (OpenFirmware) binding for via-rhine, as used in various ARM-based Systems-on-Chip by VIA/WonderMedia. This has been tested in OF configuration by myself on a WM8950-based VIA

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-04-23 Thread Tejun Heo
Hello, On Wed, Apr 23, 2014 at 03:21:09PM -0400, Vivek Goyal wrote: In general this idea makes sense. Exporting both request and bio will solve the problem of io accounting. Also that should allow us to get rid of blkio.io_merged. Yeah, that'd make more sense, I think. IO submitted vs.

Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage

2014-04-23 Thread Venkatesh Srinivas
On Wed, Apr 23, 2014 at 12:00 PM, Borislav Petkov b...@alien8.de wrote: On Wed, Apr 23, 2014 at 07:04:19PM +0200, Stephane Eranian wrote: This patch fixes a bug introduced by commit 24223657. Maybe add Fixes: commit-id tag? The rdmsrl_safe() function returns 0 on success. The current

Re: [PATCH 1/2] KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute()

2014-04-23 Thread Oleg Nesterov
On 04/22, Christian Borntraeger wrote: On 22/04/14 22:15, Christian Borntraeger wrote: On 21/04/14 15:25, Oleg Nesterov wrote: async_pf_execute() has no reasons to adopt apf-mm, gup(current, mm) should work just fine even if current has another or NULL -mm. Recently

  1   2   3   4   5   6   7   8   9   10   >