[PATCH v5 1/7] efi: Use early_mem*() instead of early_io*()

2014-06-13 Thread Daniel Kiper
Use early_mem*() instead of early_io*() because all mapped EFI regions are true RAM not I/O regions. Additionally, I/O family calls do not work correctly under Xen in our case. AIUI, early_io*() maps/unmaps real machine addresses. However, all artificial EFI structures created under Xen live in

[PATCH v5 0/7] xen: Add EFI support

2014-06-13 Thread Daniel Kiper
Hey, This patch series adds EFI support for Xen dom0 guests. It is based on Jan Beulich and Tang Liang work. I was trying to take into account all previous comments, however, if I missed something sorry for that. Daniel arch/x86/kernel/setup.c |4 +- arch/x86/platform/efi/efi.c

Re: [GIT PULL] target updates for v3.16-rc1

2014-06-13 Thread James Bottomley
On Fri, 2014-06-13 at 18:41 +0200, Christoph Hellwig wrote: On Fri, Jun 13, 2014 at 08:21:01AM -0700, James Bottomley wrote: We've been ineffectively trying to split them between target and initiator, since it's effectively both. Now that we seem to have a workable process, why don't we

Re: [PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-13 Thread Mark Brown
On Fri, Jun 13, 2014 at 10:03:50AM -0700, Doug Anderson wrote: On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote: Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. If you want to be a stickler about it, peach-pi actually has a max98091. That

Re: [PATCH 02/12] percpu: introduce arch_raw_cpu_ptr()

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: Currently, archs can override raw_cpu_ptr() directly; however, we wanna build a layer of indirection in the generic part of percpu so that we can implement generic features there without affecting archs. Not sure why one would do this. We already have

Re: [patch V4 08/10] rtmutex: Confine deadlock logic to futex

2014-06-13 Thread Steven Rostedt
On Wed, 11 Jun 2014 18:44:08 - Thomas Gleixner t...@linutronix.de wrote: +/* + * Futex variant with full deadlock detection. + */ +int __rt_mutex_timed_lock(struct rt_mutex *lock, + struct hrtimer_sleeper *timeout) I hate underscores. Although it's commented,

Re: [PATCH] staging: wlan-ng: fix Missing a blank line after declarations warnings

2014-06-13 Thread Greg Kroah-Hartman
On Fri, Jun 13, 2014 at 10:58:14PM +0800, Cheng-Wei Lee wrote: Signed-off-by: Quentin Lee lee.rhaps...@gmail.com --- drivers/staging/wlan-ng/hfa384x_usb.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c

[PATCH] iio: adc: at91_adc: Correct call to input_free_device

2014-06-13 Thread Himangi Saraogi
This error handling code can be reached before st-ts_input is initialized, so it is safer to always use the original name, input_dev. A simplified version of the semantic match that finds this problem is: // smpl @r exists@ local idexpression struct input_dev * x; expression ra,rr; @@ * x =

Re: [PATCH 03/12] percpu: include/asm-generic/percpu.h should contain only arch-overridable parts

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: Let's clear up the situation by making include/asm-generic/percpu.h contain only arch-overridable parts and moving accessors and operations into include/linux/percpu-defs. Note that this patch only moves things from include/asm-generic/percpu.h.

Re: [PATCH 04/12] percpu: move accessors from include/linux/percpu.h to percpu-defs.h

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: so that arch headers can make use of them too without worrying about circular dependency through include/linux/percpu.h. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-13 Thread Doug Anderson
Mark, On Fri, Jun 13, 2014 at 10:05 AM, Mark Brown broo...@kernel.org wrote: On Fri, Jun 13, 2014 at 10:03:50AM -0700, Doug Anderson wrote: On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote: Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. If you

Re: [tip:perf/kprobes] kprobes, x86: Call exception_enter after kprobes handled

2014-06-13 Thread Frederic Weisbecker
Hi Masami, 2014-04-24 12:59 GMT+02:00 tip-bot for Masami Hiramatsu tip...@zytor.com: Commit-ID: ecd50f714c421c759354632dd00f70c718c95b10 Gitweb: http://git.kernel.org/tip/ecd50f714c421c759354632dd00f70c718c95b10 Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com AuthorDate:

[PATCH v4 1/2] mmc: sdhci: Use mmc core regulator infrastucture

2014-06-13 Thread Markus Mayer
From: Tim Kryger tim.kry...@gmail.com Switch the common SDHCI code over to use mmc_host's regulator pointers and remove the ones in the sdhci_host structure. Additionally, use the common mmc_regulator_get_supply function to get the regulators and set the ocr_avail mask. This change sets the

[PATCH v4 0/2] mmc: sdhci: Use mmc core regulator infrastucture

2014-06-13 Thread Markus Mayer
This series switches the common SDHCI code over to use mmc_host's regulator pointers rather than keeping its own set. In addition, we can now re-use the newly introduced local mmc pointer in several function calls in lieu of using host-mmc. The first patch in the series has been posted before

[PATCH v4 2/2] mmc: sdhci: Replace host-mmc with mmc where possible

2014-06-13 Thread Markus Mayer
After the switch to the MMC core regulator infrastucture, we already have a local mmc pointer in various functions. There is no longer a need to access the data structure via host-mmc. Signed-off-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Matt Porter mpor...@linaro.org ---

Re: [PATCH 05/12] percpu: reorganize include/linux/percpu-defs.h

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: +#define __raw_get_cpu_var(var) (*raw_cpu_ptr((var))) +#define __get_cpu_var(var) (*this_cpu_ptr((var))) At the conclusion of the current get_cpu_var patchset these two definitions are scheduled to be removed. Otherwise this looks good. -- To

Re: [PATCH 06/12] percpu: only allow sized arch overrides for {raw|this}_cpu_*() ops

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: This patch removes the support for whole operation overrides. As no arch is using it, this doesn't cause any actual difference. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[BUG] bio_vec-backed iov_iter breaks gcc 4.6.4

2014-06-13 Thread Russell King - ARM Linux
Commit 62a8067a7f35dba2de501c9cb00e4cf36da90bc0 has broken the build with gcc 4.6.4: diff --git a/include/linux/uio.h b/include/linux/uio.h struct iov_iter { ... + union { + const struct iovec *iov; + const struct bio_vec *bvec; + }; ... diff --git

Re: [PATCH 07/12] percpu: move generic {raw|this}_cpu_*_N() definitions to include/asm-generic/percpu.h

2014-06-13 Thread Christoph Lameter
Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch V4 09/10] rtmutex: Cleanup deadlock detector debug logic

2014-06-13 Thread Steven Rostedt
On Wed, 11 Jun 2014 18:44:08 - Thomas Gleixner t...@linutronix.de wrote: The conditions under which deadlock detection is conducted are unclear and undocumented. Add constants instead of using 0/1 and provide a selection function which hides the additional debug dependency from the

Re: [GIT PULL] target updates for v3.16-rc1

2014-06-13 Thread Christoph Hellwig
On Fri, Jun 13, 2014 at 10:04:04AM -0700, James Bottomley wrote: Yes, there is, that's where we get the conflicts. The target tree updates the current SCSI drivers with target pieces. It's hard to separate them out because there's usually some target tree dependency. That's only really the

Re: [PATCH v5] leds: USB: HID: Add support for MSI GT683R led panels

2014-06-13 Thread Janne Kanniainen
Ok, so you decided to continue setting mode on every LED brightness update. That should be fine, but you never answered my question about whether it is necessary? I decided to do it that way because official driver did it as well. I can check if it is necessary. You're almost done. One last

Re: [PATCH 08/12] percpu: move {raw|this}_cpu_*() definitions to include/linux/percpu-defs.h

2014-06-13 Thread Christoph Lameter
Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] ASoC: wm8985: Remove unused pointer in wm8985_remove()

2014-06-13 Thread Christian Engelmayer
Commit a0b148b4 (ASoC: wm8985: Use devm_regulator_bulk_get()) removed the last user of pointer wm8985 to struct wm8985_priv. Thus remove it. Detected by Coverity CID 1222150. Signed-off-by: Christian Engelmayer cenge...@gmx.at --- Compile tested. Applies against branch for-next in tree

Re: [PATCH 09/12] percpu: reorder macros in percpu header files

2014-06-13 Thread Christoph Lameter
Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 10/12] percpu: use raw_cpu_*() to define __this_cpu_*()

2014-06-13 Thread Christoph Lameter
On Thu, 12 Jun 2014, Tejun Heo wrote: Let's layer them so that __this_cpu_*() are defined in terms of raw_cpu_*(). It's simpler and less error-prone this way. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 11/12] percpu: preffity percpu header files

2014-06-13 Thread Christoph Lameter
Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC v3 7/7] shm: isolate pinned pages when sealing files

2014-06-13 Thread Andy Lutomirski
On Fri, Jun 13, 2014 at 8:27 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Fri, Jun 13, 2014 at 5:06 PM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Jun 13, 2014 at 3:36 AM, David Herrmann dh.herrm...@gmail.com wrote: When setting SEAL_WRITE, we must make sure nobody has a

Re: [PATCH v3] x86,vdso: Fix vdso_install

2014-06-13 Thread H. Peter Anvin
On 06/12/2014 10:01 AM, Josh Boyer wrote: On Thu, Jun 12, 2014 at 11:28 AM, Andy Lutomirski l...@amacapital.net wrote: The filenames are different now. Inspired by a patch from Sam Ravnborg. Acked-by: Sam Ravnborg s...@ravnborg.org Reported-by: Josh Boyer jwbo...@fedoraproject.org

Re: [patch V4 10/10] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-06-13 Thread Steven Rostedt
On Wed, 11 Jun 2014 18:44:09 - Thomas Gleixner t...@linutronix.de wrote: In case the dead lock detector is enabled we follow the lock chain to the end in rt_mutex_adjust_prio_chain, even if we could stop earlier due to the priority/waiter constellation. But once we are not longer the

Re: [PATCH v3] x86,vdso: Fix vdso_install

2014-06-13 Thread Andy Lutomirski
On Fri, Jun 13, 2014 at 10:24 AM, H. Peter Anvin h...@zytor.com wrote: On 06/12/2014 10:01 AM, Josh Boyer wrote: On Thu, Jun 12, 2014 at 11:28 AM, Andy Lutomirski l...@amacapital.net wrote: The filenames are different now. Inspired by a patch from Sam Ravnborg. Acked-by: Sam Ravnborg

Re: [PATCH] kbuild: Do not run modules_install and install in paralel

2014-06-13 Thread Andy Lutomirski
On Fri, Jun 13, 2014 at 2:45 AM, Michal Marek mma...@suse.cz wrote: Dne 13.6.2014 11:39, Michal Marek napsal(a): Based on a x86-only patch by Andy Lutomirski l...@amacapital.net With modular kernels, 'make install' is going to need the installed modules at some point to generate the

Re: [PATCH] of: avoid format string parsing in kobject names

2014-06-13 Thread Kees Cook
On Fri, Jun 13, 2014 at 7:55 AM, Rob Herring robherri...@gmail.com wrote: On Tue, Jun 10, 2014 at 11:57 AM, Kees Cook keesc...@chromium.org wrote: This makes sure a format string cannot leak into the kobject name that is constructed. (And splits the 80 character line.) Signed-off-by: Kees

[RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-13 Thread Ming Lei
Firstly this patch supports more than one virtual queues for virtio-blk device. Secondly this patch maps the virtual queue to blk-mq's hardware queue. With this approach, both scalability and performance problem can be improved. Signed-off-by: Ming Lei ming@canonical.com ---

[RFC PATCH 1/2] include/uapi/linux/virtio_blk.h: introduce feature of VIRTIO_BLK_F_MQ

2014-06-13 Thread Ming Lei
Current virtio-blk spec only supports one virtual queue for transfering data between VM and host, and inside VM all kinds of operations on the virtual queue needs to hold one lock, so cause below problems: - no scalability - bad throughput So this patch requests to introduce feature

[RFC PATCH 0/2] block: virtio-blk: support multi vq per virtio-blk

2014-06-13 Thread Ming Lei
Hi, This patches try to support multi virtual queues(multi-vq) in one virtio-blk device, and maps each virtual queue(vq) to blk-mq's hardware queue. With this approach, both scalability and performance problems on virtio-blk device get improved. For verifying the improvement, I implements

Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable

2014-06-13 Thread Kees Cook
On Fri, Jun 13, 2014 at 3:51 AM, Pavel Machek pa...@ucw.cz wrote: Hi! Any way we can make them work together instead? I'm sure there is, but I don't know the solution. :) At the very least this gets us one step closer (we can build them together). But it is really invasive.

Re: [RFC PATCH 0/2] block: virtio-blk: support multi vq per virtio-blk

2014-06-13 Thread Jens Axboe
On 06/13/2014 11:29 AM, Ming Lei wrote: Hi, This patches try to support multi virtual queues(multi-vq) in one virtio-blk device, and maps each virtual queue(vq) to blk-mq's hardware queue. With this approach, both scalability and performance problems on virtio-blk device get improved.

Re: [PATCH] staging: wlan-ng: fix Missing a blank line after declarations warnings

2014-06-13 Thread Joe Perches
On Fri, 2014-06-13 at 10:15 -0700, Greg Kroah-Hartman wrote: On Fri, Jun 13, 2014 at 10:58:14PM +0800, Cheng-Wei Lee wrote: Signed-off-by: Quentin Lee lee.rhaps...@gmail.com [] diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c [] @@ -3533,7 +3533,6 @@ static void

Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable

2014-06-13 Thread H. Peter Anvin
On 06/13/2014 10:32 AM, Kees Cook wrote: x86-64 can resume from different kernel that did the suspend. kASLR should not be too different from that. (You just include kernel text in the hibernation image. It is small enough to do that.) Oooh, that's very exciting! How does that work (what

Re: [PATCH] cpufreq: intel_pstate: Fix rounding of core_pct

2014-06-13 Thread Stratos Karafotis
On 13/06/2014 09:49 πμ, Doug Smythies wrote: On 2014.06.12 13:03 Rafael J. Wysocki wrote: On Thursday, June 12, 2014 05:35:59 PM Stratos Karafotis wrote: On 12/06/2014 12:15 πμ, Doug Smythies wrote: On 2014.06.11 13:20 Stratos Karafotis wrote: On 11/06/2014 06:02 μμ, Doug Smythies wrote:

[PATCH 2/2] blk-mq: merge blk_mq_drain_queue and __blk_mq_drain_queue

2014-06-13 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig h...@lst.de --- block/blk-mq.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 15b3ccd..a719340 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -109,7 +109,7 @@ static void

[PATCH 1/2] blk-mq: properly drain stopped queues

2014-06-13 Thread Christoph Hellwig
If we need to drain a queue we need to run all queues, even if they are marked stopped to make sure the driver has a chance to error out on all queued requests. This fixes surprise removal with scsi-mq. Reported-by: Bart Van Assche bvanass...@acm.org Tested-by: Bart Van Assche bvanass...@acm.org

[PATCH] In the Denali NAND controller driver, use 8 bytes for READID command.

2014-06-13 Thread Graham Moore
The Denali NAND driver reads only 5 bytes of ID, but some Hynix and Samsung have size parameters in the 6th byte. As a result, the page and oob size for a Hynix H27UAG8T2B were calculated incorrectly and the driver failed to load. The solution is to read 8 bytes of ID, as expected by the nand

Re: [RFC] Tux3 for review

2014-06-13 Thread Daniel Phillips
Hi Pavel, On Friday, June 13, 2014 3:32:16 AM PDT, Pavel Machek wrote: Hmm, it seems that merging filesystems is getting harder over time. Soon, it will be impossible to merge new filesystem. My thought exactly, but it carries more weight coming from you. It is getting more unpleasant to

Re: [PATCH 27/38] tools lib traceevent: Add mac80211 plugin

2014-06-13 Thread Johannes Berg
On Thu, 2014-06-12 at 23:13 -0400, Steven Rostedt wrote: While doing my synchronization between trace-cmd and lib traceevent, I noticed that the mac80211 driver is quite different. Johannes, Jiri states that this plugin no longer works with the latest kernels. Is that true? It's very well

Re: net_timedelta() affected by settimeofday() (was: [patch 12/13] net: mac80211: Remove silly timespec dance)

2014-06-13 Thread Johannes Berg
On Thu, 2014-06-12 at 16:09 +0200, Thomas Gleixner wrote: Fair enough. Still the timespec is silly. Here is an updated version. Makes sense, thanks. I've applied this (mac80211-next) johannes -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH v2] net/nxp/lpc_eth: use devm_ functions

2014-06-13 Thread Himangi Saraogi
The various devm_ functions allocate memory that is released when a driver detaches. This patch uses dmam_alloc_coherent, devm_ioremap devm_clk_get etc. for data that is allocated in the probe function of platform device and is only freed in the remove function. The corresponding free functions

Re: [GIT PULL] target updates for v3.16-rc1

2014-06-13 Thread Nicholas A. Bellinger
On Fri, 2014-06-13 at 15:39 +0200, Christoph Hellwig wrote: On Thu, Jun 12, 2014 at 02:05:16PM -0700, Nicholas A. Bellinger wrote: The first is with virtio-scsi between what has been merged in scsi.git for virtio_scsi: use cmd_size, and the virtio-scsi: Enable DIF/DIX modes in SCSI host LLD

Re: [GIT PULL] target updates for v3.16-rc1

2014-06-13 Thread Nicholas A. Bellinger
On Fri, 2014-06-13 at 11:07 -0700, Nicholas A. Bellinger wrote: On Fri, 2014-06-13 at 15:39 +0200, Christoph Hellwig wrote: On Thu, Jun 12, 2014 at 02:05:16PM -0700, Nicholas A. Bellinger wrote: The first is with virtio-scsi between what has been merged in scsi.git for virtio_scsi: use

[PATCH 1/2] mfd: cros_ec: spi: Fix end of transfer on devices with no spi-msg-delay

2014-06-13 Thread Doug Anderson
cros_ec_spi makes the assumption that a 0-length message will put the spi chip select back to normal (non cs_toggle mode). This used to be the case back on kernel-3.8 on the spi-s3c64xx driver but doesn't appear to be true anymore. It seems like it was a pretty questionable assumption to begin

[PATCH 2/2] ARM: dts: Add cros_ec to exynos5420-peach-pit and exynos5800-peach-pi

2014-06-13 Thread Doug Anderson
This adds cros_ec to exynos5420-peach-pit and exynos5800-peach-pi, including: * The keyboard * The i2c tunnel * The tps65090 under the i2c tunnel * The battery under the i2c tunnel To add extra motivation, it should be noted that tps65090 is one of the things needed to get display-related FETs

Re: [PATCH v7] NVMe: conversion to blk-mq

2014-06-13 Thread Jens Axboe
On 06/13/2014 09:16 AM, Keith Busch wrote: On Fri, 13 Jun 2014, Jens Axboe wrote: On 06/13/2014 09:05 AM, Keith Busch wrote: Here are the performance drops observed with blk-mq with the existing driver as baseline: CPU : Drop :. 0 : -6% 8 : -36% 16 : -12% We need the

Re: [PATCH 1/2] blk-mq: properly drain stopped queues

2014-06-13 Thread Jens Axboe
On 06/13/2014 11:43 AM, Christoph Hellwig wrote: If we need to drain a queue we need to run all queues, even if they are marked stopped to make sure the driver has a chance to error out on all queued requests. This fixes surprise removal with scsi-mq. Applied this and 2/2 as well, thanks!

Re: [PATCH 27/38] tools lib traceevent: Add mac80211 plugin

2014-06-13 Thread Steven Rostedt
On Fri, 13 Jun 2014 19:57:44 +0200 Johannes Berg johan...@sipsolutions.net wrote: On Thu, 2014-06-12 at 23:13 -0400, Steven Rostedt wrote: While doing my synchronization between trace-cmd and lib traceevent, I noticed that the mac80211 driver is quite different. Johannes, Jiri states

[tip:x86/vdso] x86/vdso: Fix vdso_install

2014-06-13 Thread tip-bot for Andy Lutomirski
Commit-ID: a934fb5bc9cd1260be89272cfb7a6c9dc71974d7 Gitweb: http://git.kernel.org/tip/a934fb5bc9cd1260be89272cfb7a6c9dc71974d7 Author: Andy Lutomirski l...@amacapital.net AuthorDate: Thu, 12 Jun 2014 08:28:10 -0700 Committer: H. Peter Anvin h...@zytor.com CommitDate: Fri, 13 Jun 2014

[GIT PULL] x86/vdso fixes for v3.16-rc1

2014-06-13 Thread H. Peter Anvin
Hi Linus, Fixes for x86/vdso. One is a simple build fix for bigendian hosts, one is to make make vdso_install work again, and the rest is about working around a bug in Google's Go language -- two are documentation patches that improves the sample code that the Go coders took, modified, and

Re: [RFC v2] printk: allow increasing the ring buffer depending on the number of CPUs

2014-06-13 Thread Luis R. Rodriguez
On Fri, Jun 13, 2014 at 11:14:41AM +0200, Petr Mládek wrote: Beside the cosmetic changes, I really like the patch. It solves the problem an elegant way. Thanks, I've amended all the recommended cosmetic changes. Will submit as patch now. Luis -- To unsubscribe from this list: send the line

Re: Possible netns creation and execution performance/scalability regression since v3.8 due to rcu callbacks being offloaded to multiple cpus

2014-06-13 Thread Rafael Tinoco
Okay, Tests with the same script were done. I'm comparing : master + patch vs 3.15.0-rc5 (last sync'ed rcu commit) and 3.9 last bisect good. Same tests were made. I'm comparing the following versions: 1) master + suggested patch 2) 3.15.0-rc5 (last rcu commit in my clone) 3) 3.9-rc2 (last

[PATCH] usb: gadget: u_ether: synchronize with transmit when stopping queue

2014-06-13 Thread Vicentiu Neagoe
From: Jeff Westfahl jeff.westf...@ni.com When disconnecting, it's possible that another thread has already made it into eth_start_xmit before we call netif_stop_queue. This can lead to a crash as eth_start_xmit tries to use resources that gether_disconnect is freeing. Use netif_tx_lock/unlock

Re: [PATCH 02/12] percpu: introduce arch_raw_cpu_ptr()

2014-06-13 Thread Tejun Heo
On Fri, Jun 13, 2014 at 12:10:36PM -0500, Christoph Lameter wrote: On Thu, 12 Jun 2014, Tejun Heo wrote: Currently, archs can override raw_cpu_ptr() directly; however, we wanna build a layer of indirection in the generic part of percpu so that we can implement generic features there

Re: [PATCH 05/12] percpu: reorganize include/linux/percpu-defs.h

2014-06-13 Thread Tejun Heo
On Fri, Jun 13, 2014 at 12:16:27PM -0500, Christoph Lameter wrote: On Thu, 12 Jun 2014, Tejun Heo wrote: +#define __raw_get_cpu_var(var) (*raw_cpu_ptr((var))) +#define __get_cpu_var(var) (*this_cpu_ptr((var))) At the conclusion of the current get_cpu_var patchset these two

Re: [PATCH] USB: ftdi_sio: add GPIO support

2014-06-13 Thread Greg Kroah-Hartman
On Fri, Jun 13, 2014 at 09:25:07AM +0200, Linus Walleij wrote: On Mon, Jun 9, 2014 at 3:21 PM, Sascha Silbe x-li...@infra-silbe.de wrote: The chips can operate either in regular or in bitbang mode. Care was taken to prevent using GPIOs if the serial device is in use and vice versa.

[PATCH v3] printk: allow increasing the ring buffer depending on the number of CPUs

2014-06-13 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com The default size of the ring buffer is too small for machines with a large amount of CPUs under heavy load. What ends up happening when debugging is the ring buffer overlaps and chews up old messages making debugging impossible unless the size is passed as

RE: [patch V2] wireless: mwifiex: Use the proper interfaces

2014-06-13 Thread Bing Zhao
+ u32 queue_delay = ktime_to_ms(net_timedelta(skb-tstamp)); FWIW, I think the same as patch 12 applies here. net_timedelta() doesn't really seem to be a good way to calculate time deltas. Shall we change net_timedelta to ktime_sub() using ktime_get()? + u32 queue_delay =

[PATCH] perf: Get kernel start address by symbol name

2014-06-13 Thread Simon Que
The function machine__get_kernel_start_addr() was taking the first symbol of kallsyms as the start address. This is incorrect in certain cases where the first symbol is something at 0, while the actual kernel functions begin at a later point (e.g. 0x8020). This patch fixes

[PATCH] rtc: ia64: allow other architectures to use EFI RTC

2014-06-13 Thread Mark Salter
Currently, the rtc-efi driver is restricted to ia64 only. Newer architectures with EFI support may want to also use that driver. This patch moves the platform device setup from ia64 into drivers/rtc and allow any architecture with CONFIG_EFI=y to use the rtc-efi driver. Signed-off-by: Mark Salter

Re: [PATCH 05/12] percpu: reorganize include/linux/percpu-defs.h

2014-06-13 Thread Christoph Lameter
On Fri, 13 Jun 2014, Tejun Heo wrote: On Fri, Jun 13, 2014 at 12:16:27PM -0500, Christoph Lameter wrote: On Thu, 12 Jun 2014, Tejun Heo wrote: +#define __raw_get_cpu_var(var) (*raw_cpu_ptr((var))) +#define __get_cpu_var(var) (*this_cpu_ptr((var))) At the conclusion of the

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

2014-06-13 Thread Paul Walmsley
Hi Roger, On Wed, 23 Apr 2014, Roger Quadros wrote: From: Nikhil Devshatwar nikhil...@ti.com Add hwmods for ocp2scp3 and sata modules. [Roger Q] Clean up. Sorry for the delay on this. Have been corresponding with TI to figure out what to do about these DRA7xx/AM43xx patches, since I

Re: [RESEND PATCH 1/2] ARM: AM43xx: hwmod: add DSS hwmod data

2014-06-13 Thread Paul Walmsley
Hi Felipe, Tomi, On Fri, 13 Jun 2014, Felipe Balbi wrote: On Fri, Jun 13, 2014 at 11:15:46AM -0500, Felipe Balbi wrote: From: Sathya Prakash M R sath...@ti.com Add DSS hwmod data for AM43xx. Cc: Andrew Morton a...@linux-foundation.org Acked-by: Rajendra Nayak rna...@ti.com

Ftrace irqsoff tracer generates strange output

2014-06-13 Thread Marian Posteuca
I was analyzing the interrupt latency in my system( Freescale ARM MX6Q with linux kernel version 3.0.35), I am using the irqsoff tracer, and this is the output I'm getting for the biggest irq off latency: # tracer: irqsoff # # irqsoff latency trace v1.1.5 #

Re: [PATCH] sched: Fast idling of CPU when system is partially loaded

2014-06-13 Thread Jason Low
On Fri, 2014-06-13 at 09:28 -0700, Tim Chen wrote: On Thu, 2014-06-12 at 23:01 -0700, Jason Low wrote: On Thu, 2014-06-12 at 14:25 -0700, Tim Chen wrote: Signed-off-by: Tim Chen tim.c.c...@linux.intel.com --- kernel/sched/core.c | 12 kernel/sched/fair.c | 23

Re: [PATCH v7] NVMe: conversion to blk-mq

2014-06-13 Thread Keith Busch
On Fri, 13 Jun 2014, Jens Axboe wrote: OK, same setup as mine. The affinity hint is really screwing us over, no question about it. We just need a: irq_set_affinity_hint(dev-entry[nvmeq-cq_vector].vector, hctx-cpumask); in the -init_hctx() methods to fix that up. That brings us to roughly the

I am Mrs Ablah Usman From Syria

2014-06-13 Thread ycwang
Dear friend i am Mrs Ablah Usman the wife of one of the military defectors that was killed in Syria by the government force my husband left 10.2Million dollars at the united nation security valut in Syria because of the war going on now I lost my two out three sons now I need somebody I cant

Re: [PATCH v7] NVMe: conversion to blk-mq

2014-06-13 Thread Jens Axboe
On 06/13/2014 01:22 PM, Keith Busch wrote: On Fri, 13 Jun 2014, Jens Axboe wrote: OK, same setup as mine. The affinity hint is really screwing us over, no question about it. We just need a: irq_set_affinity_hint(dev-entry[nvmeq-cq_vector].vector, hctx-cpumask); in the -init_hctx() methods

Re: [patch V4 09/10] rtmutex: Cleanup deadlock detector debug logic

2014-06-13 Thread Thomas Gleixner
On Fri, 13 Jun 2014, Steven Rostedt wrote: On Wed, 11 Jun 2014 18:44:08 - Thomas Gleixner t...@linutronix.de wrote: - rt_mutex_adjust_prio_chain(task, 0, NULL, next_lock, NULL, task); + rt_mutex_adjust_prio_chain(task, RT_MUTEX_MIN_CHAINWALK, NULL, NULL, You dropped next_lock

Re: [patch V4 10/10] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-06-13 Thread Thomas Gleixner
On Fri, 13 Jun 2014, Steven Rostedt wrote: On Wed, 11 Jun 2014 18:44:09 - Thomas Gleixner t...@linutronix.de wrote: Nit pick, but we should be consistent. The requeue path does: next_lock = task_blocked_on_lock(task); /* * Store the top waiter of @lock for

Re: [patch] checkpatch: warn on missing spaces in broken up quoted strings

2014-06-13 Thread Joe Perches
On Fri, 2014-06-13 at 12:46 +0300, Dan Carpenter wrote: On Fri, Jun 13, 2014 at 02:30:22AM -0700, Joe Perches wrote: +# check for missing a space in a string concatination +if ($prevrawline =~ /[^\\][a-zA-Z]$/ $rawline =~ /^\+[\t ]+[a-zA-Z]/) { +

[GIT PULL] Btrfs #2 for 3.16

2014-06-13 Thread Chris Mason
Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This has a few fixes since our last pull and a new ioctl for doing btree searches from userland. It's very similar to the existing ioctl, but lets us return larger items

[PATCH] drm/i915: Fix memory leak in intel_dsi_init() error path

2014-06-13 Thread Christoph Jaeger
intel_dsi_init() bails out without freeing the memory 'intel_dsi' and 'intel_connector' point to. Simply bail out before allocating memory. Picked up by Coverity - CID 1222750. Signed-off-by: Christoph Jaeger christophjae...@linux.com --- drivers/gpu/drm/i915/intel_dsi.c | 14 +++--- 1

[PATCH] ACPI: use kstrto*() instead of simple_strto*()

2014-06-13 Thread Christoph Jaeger
simple_strto*() are obsolete; use kstrto*() instead. Add proper error checking. Signed-off-by: Christoph Jaeger christophjae...@linux.com --- drivers/acpi/battery.c | 5 - drivers/acpi/osl.c | 3 ++- drivers/acpi/tables.c | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff

[PATCH] i2c-taos-evm: Use module_serio_driver()

2014-06-13 Thread Christoph Jaeger
Get rid of some boilerplate code by using module_serio_driver(). Signed-off-by: Christoph Jaeger christophjae...@linux.com --- drivers/i2c/busses/i2c-taos-evm.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/i2c/busses/i2c-taos-evm.c

[PATCH] proc: faster /proc/$PID lookup

2014-06-13 Thread Alexey Dobriyan
Use first character as a hint for /proc/$PID lookup. Currently it takes one spinlock and search through dozens of misc proc entries which can not match /proc/$PID. Signed-off-by: Alexey Dobriyan adobri...@gmail.com --- fs/proc/root.c | 15 +++ 1 file changed, 11 insertions(+), 4

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-13 Thread David Miller
From: Michal Privoznik mpriv...@redhat.com Date: Fri, 13 Jun 2014 11:19:51 +0200 So if I were developing brand new application I could say: I'm dropping all this workaround code and have it clean and require say 3.16 kernel at least. Then your application wouldn't be usable on %99 of systems

Re: [PATCH RFC 00/10] tools: Revamp the unaligned endian access functions

2014-06-13 Thread Sam Ravnborg
A much simpler approach without any fallback to arch specific version etc. is everything we need. It doesn't matter so much for things that are just done for the kernel compile, no, but there are some tools that are built to be used as standalone things, and it could matter there.

[bisected] pre-3.16 regression on open() scalability

2014-06-13 Thread Dave Hansen
Hi Paul, I'm seeing a regression when comparing 3.15 to Linus's current tree. I'm using Anton Blanchard's will-it-scale open1 test which creates a bunch of processes and does open()/close() in a tight loop: https://github.com/antonblanchard/will-it-scale/blob/master/tests/open1.c At about 50

[PATCH] firmware: Add device tree binding for coreboot

2014-06-13 Thread Julius Werner
This patch adds documentation describing a device tree binding for the coreboot firmware project (www.coreboot.org). It is meant to be dynamically added during boot and contains address definitions for the coreboot table (a list of variable-sized descriptors providing information about various

Re: [PATCH] drm/i915: Fix memory leak in intel_dsi_init() error path

2014-06-13 Thread Daniel Vetter
On Fri, Jun 13, 2014 at 09:51:22PM +0200, Christoph Jaeger wrote: intel_dsi_init() bails out without freeing the memory 'intel_dsi' and 'intel_connector' point to. Simply bail out before allocating memory. Picked up by Coverity - CID 1222750. Signed-off-by: Christoph Jaeger

Re: [PATCH] sched: Fast idling of CPU when system is partially loaded

2014-06-13 Thread Tim Chen
On Fri, 2014-06-13 at 12:18 -0700, Jason Low wrote: I see. In that case, if a CPU is going idle, it still needs to call idle_balance() to update rq-idle_stamp and rq-next_balance (even if we skip calling the expensive load_balance). What do you think about moving the overload check to the

Re: Linux 3.15: serial console regression

2014-06-13 Thread Aaro Koskinen
Hi, On Mon, Jun 09, 2014 at 07:48:17PM -0400, Peter Hurley wrote: On 06/09/2014 04:59 PM, Aaro Koskinen wrote: Hi, While testing the final 3.15, I noticed the serial console (sunsab) does not work anymore on Sun Ultra. It will tx fine the console output during the boot. But then I try

Re: [RFC] Tux3 for review

2014-06-13 Thread Pavel Machek
Hi! On Fri 2014-06-13 10:49:39, Daniel Phillips wrote: Hi Pavel, On Friday, June 13, 2014 3:32:16 AM PDT, Pavel Machek wrote: Hmm, it seems that merging filesystems is getting harder over time. Soon, it will be impossible to merge new filesystem. My thought exactly, but it carries more

Re: [PATCH 1/2] ahci: Check and set 64-bit DMA mask for platform AHCI driver

2014-06-13 Thread Hans de Goede
Hi, On 06/12/2014 07:40 PM, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com The current platform AHCI driver does not set the dma_mask correctly for 64-bit DMA capable AHCI controller. This patch checks the AHCI capability bit and set the

[3.13.y.z extended stable] Linux 3.13.11.3

2014-06-13 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11.3 kernel. The updated 3.13.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.13.y;a=shortlog The diff from v3.13.11.2 is

Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable

2014-06-13 Thread Pavel Machek
On Fri 2014-06-13 10:32:56, Kees Cook wrote: On Fri, Jun 13, 2014 at 3:51 AM, Pavel Machek pa...@ucw.cz wrote: Hi! Any way we can make them work together instead? I'm sure there is, but I don't know the solution. :) At the very least this gets us one step closer (we can build

[PATCH] Input - wacom: remove phys field in struct wacom

2014-06-13 Thread Benjamin Tissoires
This field is not used, remove it. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com --- drivers/input/tablet/wacom.h | 1 - drivers/input/tablet/wacom_sys.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h index

[PATCH] Input - wacom: put a flag when the led are initialized

2014-06-13 Thread Benjamin Tissoires
This solves a bug with the wireless receiver: - at plug, the wireless receiver does not know which Wacom device it is connected to, so it does not actually creates all the LEDs - when the tablet connects, wacom-wacom_wac.features.type is set to the proper device so that wacom_wac can

NUMA: untangling workloads on undersubscribed systems

2014-06-13 Thread Rik van Riel
I am still running into a long-standing system with the NUMA code, and I am out of obvious ideas on how to fix it... The scenario: - a larger NUMA system, in this case an 8 core system with 8 15-core/32-thread CPUs (ns-capacity == 18) - 8 16-warehouse SPECjbb2005 instances - two SPECjbb2005

[PATCH v3 0/2] make kASLR vs hibernation boot-time selectable

2014-06-13 Thread Kees Cook
Distros want to be able to offer CONFIG_RANDOMIZE_BASE as well as CONFIG_HIBERNATION in a single kernel. Instead of making kASLR depend on !HIBERNATION at compile time, allow kaslr to be selectable at boot time (via kaslr kernel command line), which will disable hibernation in the kernel. In this

[PATCH v3 2/2] x86, kaslr: boot-time selectable with hibernation

2014-06-13 Thread Kees Cook
Changes kASLR from being compile-time selectable (blocked by CONFIG_HIBERNATION), to being boot-time selectable (with hibernation available by default) via the kaslr kernel command line. Signed-off-by: Kees Cook keesc...@chromium.org --- Documentation/kernel-parameters.txt | 11 +++

[PATCH v3 1/2] hibernate: create nohibernate boot parameter

2014-06-13 Thread Kees Cook
To support using kernel features that are not compatible with hibernation, this creates the nohibernate kernel boot parameter to disable both hibernation and resume. This allows hibernation support to be a boot-time choice instead of only a compile-time choice. Signed-off-by: Kees Cook

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