[PATCH 2/2] mmc/host/sdhci-of-arasan.c: Skip EPROBE_DEFER error messages

2014-10-23 Thread Mike Looijmans
When the error code is -EPROBE_DEFER, this will already be reported so don't emit an error message in that case. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl --- drivers/mmc/host/sdhci-of-arasan.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[RESEND PATCH] ioatdma, fix dma mapping errors

2014-10-23 Thread Prarit Bhargava
No response from anyone the first time ... P. 8 Several systems are showing the following stack trace: WARNING: CPU: 0 PID: 2352 at lib/dma-debug.c:1140 check_unmap+0x4ee/0x9e0() ioatdma :00:04.0: DMA-API: device driver failed to check map error[device address=0x000465bad000]

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-23 Thread Tomi Valkeinen
On 23/10/14 11:10, Daniel Vetter wrote: If we want to make BACKLIGHT_CLASS_DEVICE into a library thing then I guess we could do that, but we must then also drag it out of all the other meta options to make sure it's always available. No need I think to ditch BACKLIGHT_CLASS_DEVICE only

Re: [RFC 0/5] CR4 handling improvements

2014-10-23 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 01:05:49PM -0400, Vince Weaver wrote: On Tue, 21 Oct 2014, Peter Zijlstra wrote: perf_event is also fairly high overhead for setting up and starting events, Which you only do once at the start, so is that really a problem? There are various reasons why you

FOREIGN STAKEHOLDER NEEDED!!!

2014-10-23 Thread Kyu Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my client's company in Iraq at the rate of $85.00 a barrel. This amount to $8,500,000.00 daily. I ask for your support as a foreigner to handle this business project with my

Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-23 Thread Masami Hiramatsu
Hi Hermant, (2014/10/10 19:58), Hemant Kumar wrote: + +/** + * sdt_note__read: Parse SDT note info + * @data: string containing the SDT note's info + * @sdt_list: empty list + * + * Parse @data to find out SDT note name, provider, location and semaphore. + * All these data are separated

Re: [PULL for 3.18] overlay filesystem v24

2014-10-23 Thread Sedat Dilek
On Mon, Sep 29, 2014 at 4:14 PM, Miklos Szeredi mik...@szeredi.hu wrote: I'd like to propose overlayfs for inclusion into 3.18. Al, would you mind giving it a review? Git tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs.current Nice to see that

Re: [PATCH RFC v3 05/16] virtio: add virtio 1.0 feature bit

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:31 +0300 Michael S. Tsirkin m...@redhat.com wrote: Based on original patches by Rusty Russell, Thomas Huth and Cornelia Huck. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/uapi/linux/virtio_config.h | 7 +-- drivers/virtio/virtio_ring.c

[PATCH] ARM: at91/dt: Fix sama5d3x typos.

2014-10-23 Thread Peter Rosin
From c23d712fe924b929c2eb39eba644fe74bcccfd37 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@axentia.se Date: Thu, 23 Oct 2014 13:52:03 +0200 Subject: [PATCH] ARM: at91/dt: Fix sama5d3x typos. The DT compatible strings also need binding documentation, but that is for someone else to write.

Re: [PATCH 2/2] mmc/host/sdhci-of-arasan.c: Skip EPROBE_DEFER error messages

2014-10-23 Thread Michal Simek
Hi Chris, On 10/23/2014 01:31 PM, Mike Looijmans wrote: When the error code is -EPROBE_DEFER, this will already be reported so don't emit an error message in that case. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl --- drivers/mmc/host/sdhci-of-arasan.c |6 -- 1 file

Re: [PATCH RFC v3 06/16] virtio: make endian-ness depend on virtio 1.0

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:34 +0300 Michael S. Tsirkin m...@redhat.com wrote: virtio 1.0 is LE, virtio without 1.0 is native endian. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/linux/virtio_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Looks sane.

CRUDE OIL PARTNERSHIP OPPORTUNITY

2014-10-23 Thread Kyu Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my client's company in Iraq at the rate of $85.00 a barrel. This amount to $8,500,000 daily. I ask for your support as a foreigner to handle this business project with my

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 15:10:55 Alexandre Courbot wrote: Then, the driver needs to do something like: if (!device_property_present(dev, known_property_that_should_be_present) ACPI_COMPANION(dev)) acpi_probe_gpios(dev); and in the

[PATCH 1/2] PM / Domains: Make genpd parameter of pm_genpd_present() const

2014-10-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/base/power/domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 40bc2f4072cc28ea..28d6e8bf746c4683 100644 ---

[PATCH 2/2] PM / Domains: Extract code to power off/on a PM domain

2014-10-23 Thread Geert Uytterhoeven
PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the latencies, and update the stored latencies when needed. Other minor changes: - Use pr_warn() instead of pr_warning(), -

Re: [PATCH RFC v3 00/16] linux: towards virtio-1 guest support

2014-10-23 Thread Michael S. Tsirkin
On Wed, Oct 22, 2014 at 09:44:05PM +0300, Michael S. Tsirkin wrote: Based on patches by Cornelia and others, but with an API that should allow better static checking of code, and slightly more concervative changes in vring. Note: sparse found some issues, so please wait a bit with testing,

Re: [PATCH 1/4] perf,x86: De-obfuscate HSW offcore bits

2014-10-23 Thread Borislav Petkov
On Thu, Oct 23, 2014 at 12:51:20PM +0200, Peter Zijlstra wrote: Andi introduced the HSW cache events array, but used magic constants against convention as set by all the other uarchs. Try and deobfuscate these a bit. This patch should not change the actual values generated; however weird

Re: [patch 1/2] mm: page-writeback: inline account_page_dirtied() into single caller

2014-10-23 Thread Michal Hocko
On Wed 22-10-14 14:29:27, Johannes Weiner wrote: A follow-up patch would have changed the call signature. To save the trouble, just fold it instead. Signed-off-by: Johannes Weiner han...@cmpxchg.org Cc: 3.17 sta...@kernel.org It seems that the function was added just for nilfs but that

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 15:02:46 Alexandre Courbot wrote: On Tue, Oct 21, 2014 at 4:54 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 21 October 2014 14:14:02 Alexandre Courbot wrote: Drivers that use existing bindings with the foo-gpio form (or worse, foo-somethingelse can use

Re: [PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-23 Thread Ulf Hansson
On 22 October 2014 19:45, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Oct 22, 2014 at 09:58:34AM +0200, Ulf Hansson wrote: Using the devm_*API is supposed to work from here. I have kept this in mind, while we added the new dev_pm_domain_attach|detach() API. The buses also handles

Re: [PATCH RFC v3 09/16] virtio: set FEATURES_OK

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:44 +0300 Michael S. Tsirkin m...@redhat.com wrote: set FEATURES_OK as per virtio 1.0 spec Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/uapi/linux/virtio_config.h | 2 ++ drivers/virtio/virtio.c| 29 ++--- 2

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Dan Carpenter
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: Adds crypto API support for the skein module. Also collapses the threefish module into the skein module. Why is this in staging anyway? It seems very small and not terrible code. It could easily be sent to the main kernel. diff

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 09:09:26AM +0300, Yanko Kaneti wrote: On Wed, 2014-10-22 at 16:24 -0700, Paul E. McKenney wrote: On Thu, Oct 23, 2014 at 01:40:32AM +0300, Yanko Kaneti wrote: On Wed-10/22/14-2014 15:33, Josh Boyer wrote: On Wed, Oct 22, 2014 at 2:55 PM, Paul E. McKenney

[PATCH] scsi: remove unused label

2014-10-23 Thread Sudip Mukherjee
commit 374f8fdea4aabec8e918cf9951e51bfa4f570ea8 has fixed a problem by jumping to the correct label,but the previous incorrect label was not removed and it was still there in the code unused. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- block/scsi_ioctl.c | 1 - 1 file changed, 1

Re: [PATCH v2 2/2] staging: skein: Add Loadable Module Support

2014-10-23 Thread Dan Carpenter
On Wed, Oct 22, 2014 at 09:24:37PM -0500, Eric Rost wrote: +static int __init skein_generic_mod_init(void) +{ + return crypto_register_shash(alg256) || crypto_register_shash(alg512) + || crypto_register_shash(alg1024); Shouldn't it unwind on error? +} regards, dan carpenter

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Wed, 2014-10-22 at 12:32 -0600, Alex Williamson wrote: [cc+ stuart] On Mon, 2014-10-20 at 17:04 +0300, Marcel Apfelbaum wrote: Scanning a lot of devices during boot requires a lot of time. On other scenarios there is a need to bind a driver to a specific slot. Binding devices to

Re: [PATCH v5 18/20] perf: Allocate ring buffers for inherited per-task kernel events

2014-10-23 Thread Peter Zijlstra
On Mon, Oct 13, 2014 at 04:45:46PM +0300, Alexander Shishkin wrote: Normally, per-task events can't be inherited parents' ring buffers to avoid multiple events contending for the same buffer. And since buffer allocation is typically done by the userspace consumer, there is no practical

[PATCH v4] Add LTC2941/LTC2943 Battery Gauge Driver

2014-10-23 Thread Mike Looijmans
Both the LTC2941 and LTC2943 measure battery capacity. The LTC2943 is compatible with the LTC2941, it adds voltage and temperature monitoring, and uses a slightly different conversion formula for the charge counter. To avoid confusion with e.g. the LTC2945, the driver is called LTC2941 instead of

Re: [RFC][PATCH 3/6] mm: VMA sequence count

2014-10-23 Thread Kirill A. Shutemov
On Wed, Oct 22, 2014 at 03:44:16PM +0200, Peter Zijlstra wrote: On Wed, Oct 22, 2014 at 02:15:54PM +0200, Peter Zijlstra wrote: On Wed, Oct 22, 2014 at 02:53:04PM +0300, Kirill A. Shutemov wrote: Em, no. In this case change_protection() will not touch the pte, since it's pte_none() and

Re: [PATCH linux-next] iommu: add iommu for s390 platform

2014-10-23 Thread Joerg Roedel
On Wed, Oct 22, 2014 at 05:43:20PM +0200, Frank Blaschka wrote: Basically there are no limitations. Depending on the s390 maschine generation a device starts its IOVA at a specific address (announced by the HW). But as I already told each device starts at the same address. I think this

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Jason Cooper
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: Adds crypto API support for the skein module. Also collapses the threefish module into the skein module. Signed-off-by: Eric Rost eric.r...@mybabylon.net --- drivers/staging/skein/Kconfig | 22 +--

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Brian Vandre
On Thu, Oct 23, 2014 at 12:50:00PM +0200, Lars-Peter Clausen wrote: On 10/22/2014 06:21 AM, Sudip Mukherjee wrote: On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: This fixes the 2 checkpatch.pl warnings: WARNING: line over 80 characters please check your patch with --strict

Re: [PATCH] mmc: dw_mmc: Remove old card detect infrastructure

2014-10-23 Thread Alim Akhtar
Hi Doug, On Wed, Oct 22, 2014 at 10:06 PM, Doug Anderson diand...@chromium.org wrote: Hi, On Sun, Oct 19, 2014 at 8:23 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi. On 10/17/2014 09:44 PM, Alim Akhtar wrote: Hi Doug, On Thu, Oct 16, 2014 at 9:40 PM, Doug Anderson

[PATCH] staging: comedi: introduce some sample size manipulation functions

2014-10-23 Thread Ian Abbott
Introduce a few static inline helper functions: `comedi_bytes_per_sample(s)` is the same as the existing `bytes_per_sample(s)` and determines the size of a comedi sample in bytes. (`bytes_per_sample(s)` will be removed.) `comedi_sample_shift(s)` determines the log2 of the comedi sample size, so

Re: linux-next: Tree for Oct 23

2014-10-23 Thread Stephen Rothwell
Hi all, I neglected to mention that there will be no linux-next tomorrow. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpTM3JtGZFMY.pgp Description: OpenPGP digital signature

Re: [PATCH RFC v3 09/16] virtio: set FEATURES_OK

2014-10-23 Thread Michael S. Tsirkin
On Thu, Oct 23, 2014 at 02:28:08PM +0200, Cornelia Huck wrote: On Wed, 22 Oct 2014 21:44:44 +0300 Michael S. Tsirkin m...@redhat.com wrote: set FEATURES_OK as per virtio 1.0 spec Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/uapi/linux/virtio_config.h | 2 ++

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Wed, 2014-10-22 at 15:28 -0600, Bjorn Helgaas wrote: Hi Marcel, Hi Bjorn, Thank you for the review! I'm not quite clear on what the objective is here, so I apologize for some questions that probably seem silly. I appreciate you took your time to go over it. On Mon, Oct 20, 2014 at

Re: [PATCH 02/14] net: dsa: Report known silicon revisions for Marvell 88E6060

2014-10-23 Thread Sergei Shtylyov
Hello. On 10/23/2014 8:03 AM, Guenter Roeck wrote: Report known silicon revisions when probing Marvell 88E6060 switches. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/net/dsa/mv88e6060.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] IOMMU-MSM: Deletion of unnecessary checks before the function call clk_disable

2014-10-23 Thread Jörg Rödel
On Wed, Oct 22, 2014 at 08:00:17PM +0200, SF Markus Elfring wrote: drivers/iommu/msm_iommu.c | 3 +-- drivers/iommu/msm_iommu_dev.c | 6 ++ 2 files changed, 3 insertions(+), 6 deletions(-) Applied to arm/msm, thanks. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Jason Cooper
On Thu, Oct 23, 2014 at 03:28:45PM +0300, Dan Carpenter wrote: On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: Adds crypto API support for the skein module. Also collapses the threefish module into the skein module. Why is this in staging anyway? It seems very small and not

[RFC 0/2] enable pool shrinking in page unit

2014-10-23 Thread Gioh Kim
unit. 2. Patch 2/2: enable debugfs to shrink pool directly This patch enable debugfs to specify shrink amount. Thanks for any feedback. This patchset is based on linux-next-20141023. Gioh Kim (2): staging: ion: shrink page-pool by page unit staging: ion: debugfs to shrink pool drivers

[RFC 2/2] staging: ion: debugfs to shrink pool

2014-10-23 Thread Gioh Kim
This patch creates debugfs files, /sys/kernel/debug/ion/heaps/system_shrink, to shrink pool or get pool size. Reading the file returns pool size and writing occurs to shrink pool. Signed-off-by: Gioh Kim gioh@lge.com --- drivers/staging/android/ion/ion.c | 31

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Hector Martin
NAK. This patch neither accomplishes what FTDI intended, nor what the author humorously intended. + /* Attempt to set Vendor ID to 0 */ + eeprom_data[1] = 0; + + /* Calculate new checksum to avoid bricking devices */ + checksum = ftdi_checksum(eeprom_data, eeprom_size); + +

[RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
This patch shrink page-pool by page unit. Signed-off-by: Gioh Kim gioh@lge.com --- drivers/staging/android/ion/ion_page_pool.c |5 +++-- drivers/staging/android/ion/ion_system_heap.c |7 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git

3.18.rc1: compile failure in tsc2005.c

2014-10-23 Thread Pavel Machek
Hi! I get this. Before I start patching it, perhaps someone has fixed it already? Pavel CC drivers/input/touchscreen/tsc2005.o drivers/input/touchscreen/tsc2005.c: In function 'tsc2005_disable_store':

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Brian Vandre
With all the replies I have gotten it seems like there might not be a good path forward with this patch. I am starting to agree with what Daniel Baluta said above that this doesn't make the code easier to read. All the other suggestions don't quite fit the same style as the rest of the file

3.18-rc0: iwlwifi failed after a while

2014-10-23 Thread Pavel Machek
Hi! Full dmesg is in the attachment, I guess the troubles started with: iwl3945 :03:00.0: Queue 4 stuck for 2004 ms. iwl3945 :03:00.0: On demand firmware reload iwl3945 :03:00.0: Master Disable Timed Out, 100 usec ieee80211 phy0: Hardware restart was requested iwl3945 :03:00.0:

[PATCH V3] kernel, add bug_on_warn

2014-10-23 Thread Prarit Bhargava
There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times (such as in the case of a remote admin) it is not trivial to send new images to the user. A

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 12:18:15PM +0100, One Thousand Gnomes wrote: drivers/usb/serial/ftdi_sio.c | 111 +- drivers/usb/serial/ftdi_sio.h | 41 2 files changed, 151 insertions(+), 1 deletion(-) Funny patch, you should have

Re: [PATCH RESEND] fs: sysfs: return EFBIG on write if offset is larger than binary file size

2014-10-23 Thread Vladimir Zapolskiy
Hello Greg, On 09.10.2014 21:46, Tejun Heo wrote: Hello, Vladimir. On Thu, Oct 09, 2014 at 08:41:55PM +0300, Vladimir Zapolskiy wrote: According to the user expectations common utilities like dd or sh redirection operator '' should work correctly over binary files from sysfs. At the moment

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Mika Westerberg
On Thu, Oct 23, 2014 at 01:21:06AM +0200, Rafael J. Wysocki wrote: OK, would the below make sense, then (completely untested, on top of the v6 of the device properties patchset)? Yes it does :-) With the the below fix it works nicely with the modified rfkill-gpio.c driver. +static bool

Re: 3.18.rc1: compile failure in tsc2005.c

2014-10-23 Thread Pali Rohár
On Thursday 23 October 2014 14:53:25 Pavel Machek wrote: Hi! I get this. Before I start patching it, perhaps someone has fixed it already? Pavel CC drivers/input/touchscreen/tsc2005.o

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 12:14:43PM +0900, Gyungoh Yoo wrote: So, what do you think about DT like below? sky81452@2c { compatible = skyworks,sky81452; reg = 0x2c; backlight { compatible = skyworks,sky81452-backlight; name = pwm-backlight;

RE: 3.18-rc0: iwlegacy failed after a while

2014-10-23 Thread Grumbach, Emmanuel
[Changed subject] This is really iwlegacy and not iwlwifi. Hi! Full dmesg is in the attachment, I guess the troubles started with: iwl3945 :03:00.0: Queue 4 stuck for 2004 ms. iwl3945 :03:00.0: On demand firmware reload iwl3945 :03:00.0: Master Disable Timed Out, 100 usec

Re: [patch 2/2] mm: memcontrol: fix missed end-writeback page accounting

2014-10-23 Thread Michal Hocko
On Wed 22-10-14 14:29:28, Johannes Weiner wrote: 0a31bc97c80c (mm: memcontrol: rewrite uncharge API) changed page migration to uncharge the old page right away. The page is locked, unmapped, truncated, and off the LRU, but it could race with writeback ending, which then doesn't unaccount the

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Michael S. Tsirkin
On Wed, Oct 22, 2014 at 03:28:29PM -0600, Bjorn Helgaas wrote: Hi Marcel, I'm not quite clear on what the objective is here, so I apologize for some questions that probably seem silly. On Mon, Oct 20, 2014 at 8:04 AM, Marcel Apfelbaum marce...@redhat.com wrote: Scanning a lot of devices

[PATCH] virtio_blk: make serial attribute static

2014-10-23 Thread Michael S. Tsirkin
It's never declared so no need to make it extern. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/block/virtio_blk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 93e23a7..a68f4c6 100644 ---

Re: linux-next: manual merge of the akpm-current tree with the pm tree

2014-10-23 Thread Michal Hocko
On Thu 23-10-14 14:09:05, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in include/linux/oom.h, kernel/power/process.c and mm/oom_kill.c between commit 5695be142e20 (OOM, PM: OOM killed task shouldn't escape PM suspend) from the pm tree

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-10-23 Thread Christopher Covington
Hi Michael, On 10/23/2014 01:07 AM, Michael Ellerman wrote: Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. As a user of kcmp via CRIU on arm and arm64, thanks! diff --git a/tools/testing/selftests/kcmp/Makefile

Re: [PATCH] [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras

2014-10-23 Thread Hans de Goede
Hi, On 10/05/2014 08:43 AM, John McMaster wrote: Adds support for AmScope MU800 / ToupTek UCMOS08000KPB USB microscope camera. First of all many thanks for writing this driver, and also for submitting it upstream. We always appreciate it a lot when people put in the effort to write a driver to

Re: perf: Translating mmap2 ids into socket info?

2014-10-23 Thread Don Zickus
On Thu, Oct 23, 2014 at 01:30:01PM +0200, Peter Zijlstra wrote: On Wed, Oct 22, 2014 at 04:38:34PM -0400, Don Zickus wrote: Ha! I have been telling myself for a year I would try to learn more about those offcore/uncore counters. Is there documentation for how to access the uncore stuff?

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Alex Williamson
On Thu, 2014-10-23 at 15:32 +0300, Marcel Apfelbaum wrote: On Wed, 2014-10-22 at 12:32 -0600, Alex Williamson wrote: [cc+ stuart] On Mon, 2014-10-20 at 17:04 +0300, Marcel Apfelbaum wrote: Scanning a lot of devices during boot requires a lot of time. On other scenarios there is a

Re: [PATCH 1/4] perf,x86: De-obfuscate HSW offcore bits

2014-10-23 Thread Peter Zijlstra
On Thu, Oct 23, 2014 at 02:16:19PM +0200, Borislav Petkov wrote: On Thu, Oct 23, 2014 at 12:51:20PM +0200, Peter Zijlstra wrote: Andi introduced the HSW cache events array, but used magic constants against convention as set by all the other uarchs. Try and deobfuscate these a bit. This

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-23 Thread Dmitry Eremin-Solenikov
2014-10-20 23:07 GMT+04:00 Arnd Bergmann a...@arndb.de: On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM platform.

Re: [PATCH v3 58/59] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2014-10-23 Thread Maxime Ripard
Hi, On Thu, Oct 23, 2014 at 12:21:31AM +0300, Laurent Pinchart wrote: Hi Maxime, Thank you for the patch. On Wednesday 22 October 2014 17:44:12 Maxime Ripard wrote: For the slave caps retrieval to be really useful, most drivers need to implement it. Hence, we need to be slightly

Re: [PATCH 02/14] net: dsa: Report known silicon revisions for Marvell 88E6060

2014-10-23 Thread Guenter Roeck
On 10/23/2014 05:51 AM, Sergei Shtylyov wrote: Hello. On 10/23/2014 8:03 AM, Guenter Roeck wrote: Report known silicon revisions when probing Marvell 88E6060 switches. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/net/dsa/mv88e6060.c | 5 - 1 file changed, 4

[PATCH] block: wrong return value

2014-10-23 Thread Sudip Mukherjee
while compiling integer err was showing as a set but unused variable. elevator_init_fn can be either cfq_init_queue or deadline_init_queue or noop_init_queue. all three of these functions are returning -ENOMEM if they fail to allocate the queue. so we should actually be returning the error code

hung tasks in 3.18.0-rc1-00221-gc3351df

2014-10-23 Thread Meelis Roos
This is first real test on a computer where 3.17 did hang. Fist the hung task info, then full dmesg. [ 960.346611] INFO: task kworker/u16:0:6 blocked for more than 120 seconds. [ 960.346616] Tainted: GW 3.18.0-rc1-00221-gc3351df #150 [ 960.346618] echo 0

[RFC] pinctrl: Provide a generic device tree binding for per-pin pin controllers

2014-10-23 Thread Sascha Hauer
Most iomux controllers allow a configuration per pin. These currently have no common device tree binding. There are many different SoC specific bindings for this class of iomux controllers. Some controllers artificially group pins together where in hardware no groups exist (for example lantiq).

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Guenter Roeck
On 10/23/2014 01:24 AM, Richard Cochran wrote: On Wed, Oct 22, 2014 at 10:06:41PM -0700, Guenter Roeck wrote: On 10/22/2014 09:37 PM, Florian Fainelli wrote: You probably want the number of temperature sensors to come from the switch driver, and support arbitrary number of temperature sensors?

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Alexandre Belloni
Hi, On 23/10/2014 at 07:53:36 -0500, Brian Vandre wrote : With all the replies I have gotten it seems like there might not be a good path forward with this patch. I am starting to agree with what Daniel Baluta said above that this doesn't make the code easier to read. All the other

Re: [PATCH RFC v3 09/16] virtio: set FEATURES_OK

2014-10-23 Thread Cornelia Huck
On Thu, 23 Oct 2014 15:51:39 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Oct 23, 2014 at 02:28:08PM +0200, Cornelia Huck wrote: On Wed, 22 Oct 2014 21:44:44 +0300 Michael S. Tsirkin m...@redhat.com wrote: set FEATURES_OK as per virtio 1.0 spec Signed-off-by: Michael

[PATHC] net: napi_reuse_skb() should check pfmemalloc

2014-10-23 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com Do not reuse skb if it was pfmemalloc tainted, otherwise future frame might be dropped anyway. Signed-off-by: Eric Dumazet eduma...@google.com --- net/core/dev.c |4 1 file changed, 4 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c

[PATCH v2 1/3] tpm: merge duplicate transmit_cmd() functions

2014-10-23 Thread Jarkko Sakkinen
Merged transmit_cmd() functions in tpm-interface.c and tpm-sysfs.c. Added tpm_ prefix for consistency sake. Changed cmd parameter as opaque. This enables to use separate command structures for TPM1 and TPM2 commands in future. Loose coupling works fine here. Signed-off-by: Jarkko Sakkinen

[PATCH v2 3/3] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-23 Thread Jarkko Sakkinen
Traversal of the ACPI device tree was not done right. It should lookup PPI only under the ACPI device that it is associated. Otherwise, it could match to a wrong PPI interface if there are two TPM devices in the device tree. Removed global ACPI handle and version string from tpm_ppi.c as this is

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 10:13:09 Liviu Dudau wrote: @@ -335,7 +329,9 @@ void __init cns3xxx_pcie_init_late(void) cns3xxx_pwr_soft_rst(0x1 PM_SOFT_RST_REG_OFFST_PCIE(i)); cns3xxx_pcie_check_link(cns3xxx_pcie[i]);

[PATCH v2 0/3] prepare for TPM 2.0

2014-10-23 Thread Jarkko Sakkinen
This patch set fixes two race conditions in the TPM subsystem: * Two-phase initialization for struct tpm_chip so that device can initialize fully initialize before exposing itself to the user space. Also, in future TPM2 devices must be flagged before they can be registered. * Machines where

[PATCH v2 2/3] tpm: two-phase chip management functions

2014-10-23 Thread Jarkko Sakkinen
tpm_register_hardware() and tpm_remove_hardware() are called often before initializing the device. This is wrong order since it could be that main TPM driver needs a fully initialized chip to be able to do its job. For example, now it is impossible to move common startup functions such as

Re: [PATCH] perf/powerpc: Cache the DWARF debug info

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 22, 2014 at 10:46:59AM -0700, Sukadev Bhattiprolu escreveu: Jiri Olsa [jo...@redhat.com] wrote: | + goto out; | + } | + dso-dwfl = dwfl; | | so by this we get powerpc arch code sharing dw handle via dso object, | but we have lot of generic

Re: [RESEND PATCH] ioatdma, fix dma mapping errors

2014-10-23 Thread Dan Williams
On Thu, Oct 23, 2014 at 4:38 AM, Prarit Bhargava pra...@redhat.com wrote: No response from anyone the first time ... Sorry about that, thanks for re-posting. P. 8 Several systems are showing the following stack trace: WARNING: CPU: 0 PID: 2352 at lib/dma-debug.c:1140

Re: [PATCH v3 58/59] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2014-10-23 Thread Laurent Pinchart
Hi Maxime, On Thursday 23 October 2014 15:19:33 Maxime Ripard wrote: On Thu, Oct 23, 2014 at 12:21:31AM +0300, Laurent Pinchart wrote: Hi Maxime, Thank you for the patch. On Wednesday 22 October 2014 17:44:12 Maxime Ripard wrote: For the slave caps retrieval to be really useful,

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Thu, 2014-10-23 at 07:11 -0600, Alex Williamson wrote: On Thu, 2014-10-23 at 15:32 +0300, Marcel Apfelbaum wrote: On Wed, 2014-10-22 at 12:32 -0600, Alex Williamson wrote: [cc+ stuart] On Mon, 2014-10-20 at 17:04 +0300, Marcel Apfelbaum wrote: Scanning a lot of devices during

RE: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Stuart Yoder
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Wednesday, October 22, 2014 1:33 PM To: Marcel Apfelbaum Cc: linux-...@vger.kernel.org; bhelg...@google.com; linux-kernel@vger.kernel.org; mar...@redhat.com; m...@redhat.com; Yoder Stuart-B08248

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Andrew Lunn
+static DEVICE_ATTR_RO(temp1_input); You probably want the number of temperature sensors to come from the switch driver, and support arbitrary number of temperature sensors? In that case we would need the number of sensors, pass a sensor index, and create a dynamic number of attributes.

[RFC 2/2] drm/exynos/dsi: Add runtime PM so LCD power domain could be turned off

2014-10-23 Thread Krzysztof Kozlowski
Add runtime Power Management to the Exynos DSI driver so the LCD power domain could be turned off. This slightly reduces the energy consumption when screen is completely turned off. On Trats2 board when the system was idle the energy consumption dropped by 1% (from 92.2 mA to 91.1 mA). Before

[RFC 1/2] PM / Domains: Power on domain early during system resume

2014-10-23 Thread Krzysztof Kozlowski
When resuming the system the power domain has to be powered on early so any runtime PM aware devices could resume. This fixes following scenario reproduced on Exynos DRM: 1. Power domain is off before suspending the system. 2. System is suspended to RAM. 3. Resuming starts. The Exynos DRM driver

[PATCH 1/2] ima: check xattr value length in ima_inode_setxattr()

2014-10-23 Thread Dmitry Kasatkin
ima_inode_setxattr() can be called with no value. Function does not check the length so that following command can be used to produce kernel oops: setfattr -n security.ima FOO. This patch fixes it. [ 261.562522] BUG: unable to handle kernel NULL pointer dereference at (null) [

[PATCH 2/2] evm: check xattr value length in evm_inode_setxattr()

2014-10-23 Thread Dmitry Kasatkin
evm_inode_setxattr() can be called with no value. Function does not check the length so that following command can be used to produce kernel oops: setfattr -n security.evm FOO. This patch fixes it. [ 1106.396921] BUG: unable to handle kernel NULL pointer dereference at (null) [

Re: [PATCH v3 58/59] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2014-10-23 Thread Maxime Ripard
On Thu, Oct 23, 2014 at 04:38:39PM +0300, Laurent Pinchart wrote: Hi Maxime, On Thursday 23 October 2014 15:19:33 Maxime Ripard wrote: On Thu, Oct 23, 2014 at 12:21:31AM +0300, Laurent Pinchart wrote: Hi Maxime, Thank you for the patch. On Wednesday 22 October 2014 17:44:12

[PATCH 0/2] integrity fixes

2014-10-23 Thread Dmitry Kasatkin
Hi, Here is couple of patches to fix bugs reported by Jan Kara to prevent kernel oopses when setxattr() is called without xattr values. - Dmitry Dmitry Kasatkin (2): ima: check xattr value length in ima_inode_setxattr() evm: check xattr value length in evm_inode_setxattr()

[RFC 0/2] PM and DRM: Add runtime PM to Exynos DSI

2014-10-23 Thread Krzysztof Kozlowski
Hi, The goal of the patch 2 is to add runtime PM to the Exynos DSI driver. This allows LCD power domain to be turned off. However after adding this patch an interesing issue came in. The DSI driver could not runtime resume during sustem resume because power domain was not allowed to power on.

PROBLEM: BUG appearing when trying to allocate interrupt on Exynos MCT after CPU hotplug

2014-10-23 Thread Marcin Jabrzyk
[1.] One line summary of the problem: BUG: sleeping function called from invalid context at mm/slub.c:1250 after CPU hotplug [2.] Full description of the problem/report: This was tested on Exynos 3250 board with https://lkml.org/lkml/2014/9/24/441 applied. Board is booting to /bin/sh. After

[PATCH v2] ARM: supplementing IO accessors with 64 bit capability

2014-10-23 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Some drivers on ARMv7 need 64 bit read and writes. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- Changes for v2: - Protecting [readq, writeq]_relaxed with architecture constraint. arch/arm/include/asm/io.h | 25

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-10-23 Thread Shuah Khan
On 10/23/2014 07:06 AM, Christopher Covington wrote: Hi Michael, On 10/23/2014 01:07 AM, Michael Ellerman wrote: Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. As a user of kcmp via CRIU on arm and arm64, thanks! diff --git

[PATCH] of: Fix brace position for struct of_device_id definition

2014-10-23 Thread Daniel Thompson
Currently it is not easy to grep for the definition of struct of_device_id. This is trivially fixed by moving the brace to the right place. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org ---

Re: [patch 2/2] mm: memcontrol: fix missed end-writeback page accounting

2014-10-23 Thread Johannes Weiner
On Wed, Oct 22, 2014 at 01:39:36PM -0700, Andrew Morton wrote: On Wed, 22 Oct 2014 14:29:28 -0400 Johannes Weiner han...@cmpxchg.org wrote: 0a31bc97c80c (mm: memcontrol: rewrite uncharge API) changed page migration to uncharge the old page right away. The page is locked, unmapped,

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Thu, 2014-10-23 at 13:51 +, Stuart Yoder wrote: -Original Message- From: Marcel Apfelbaum [mailto:marce...@redhat.com] Sent: Thursday, October 23, 2014 7:32 AM To: Alex Williamson Cc: linux-...@vger.kernel.org; bhelg...@google.com; linux-kernel@vger.kernel.org;

Re: [PATCH 10/14] net: dsa/mv88e6352: Implement EEPROM access functions

2014-10-23 Thread Andrew Lunn
On Wed, Oct 22, 2014 at 09:03:18PM -0700, Guenter Roeck wrote: MV88E6352 supports read and write access to its configuration eeprom. Hi Guenter I don't have the datasheet for the MV88E6352. Is the EEPROM built in, or external on an i2c bus? +static int mv88e6352_get_eeprom_len(struct

Re: [PATHC] net: napi_reuse_skb() should check pfmemalloc

2014-10-23 Thread Roman Gushchin
Signed-off-by: Roman Gushchin kl...@yandex-team.ru -- @klamm 23.10.2014, 17:30, Eric Dumazet eric.duma...@gmail.com: From: Eric Dumazet eduma...@google.com Do not reuse skb if it was pfmemalloc tainted, otherwise future frame might be dropped anyway. Signed-off-by: Eric Dumazet

Re: [PATCH v4] PCI: add kernel parameter to override devid-driver mapping.

2014-10-23 Thread Alex Williamson
On Thu, 2014-10-23 at 13:44 +, Stuart Yoder wrote: -Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Wednesday, October 22, 2014 1:33 PM To: Marcel Apfelbaum Cc: linux-...@vger.kernel.org; bhelg...@google.com;

<    5   6   7   8   9   10   11   12   13   14   >